11 Star 0 Fork 16

src-openEuler/metacity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
metacity.spec 3.55 KB
一键复制 编辑 原始数据 按行查看 历史
张攀 提交于 2024-02-22 08:02 . remove window shading
Name: metacity
Version: 3.37.1
Release: 6
Summary: Window Manager for the MATE and GNOME Flashback desktops
License: GPLv2+
URL: https://download.gnome.org/sources/metacity/
Source0: https://download.gnome.org/sources/metacity/3.37/%{name}-%{version}.tar.xz
BuildRequires: libXinerama-devel libSM-devel libICE-devel libX11-devel desktop-file-utils itstool
BuildRequires: autoconf, automake, gettext-devel, libtool, gnome-common yelp-tools zenity
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0 pkgconfig(gio-2.0) >= 2.44.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) pkgconfig(pango)
%if %{?openEuler:1}0
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(xres) vulkan-devel
%endif
BuildRequires: pkgconfig(libstartup-notification-1.0) pkgconfig(xcomposite) pkgconfig(xfixes) pkgconfig(xrender)
BuildRequires: pkgconfig(xdamage) pkgconfig(xrender) pkgconfig(xcursor) pkgconfig(libgtop-2.0)
Requires: startup-notification gsettings-desktop-schemas zenity
Provides: firstboot(windowmanager) = metacity
Patch6000: backport-compositor-vulkan-fix-build.patch
Patch6001: backport-remove-window-shading.patch
%if !0%{?openEuler}
Patch9000: huawei-remove-XResQueryClientIds-to-get-pid.patch
%endif
%description
Metacity is a small window manager, using GTK+ to do everything.
It is developed mainly for the MATE and GNOME Flashback desktops.
%package devel
Summary: Development files and Header files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
rm -f src/org.gnome.metacity.gschema.valid
%build
CPPFLAGS="$CPPFLAGS -I%{_builddir}/%{_includedir}"
export CPPFLAGS
rm -f configure
(if ! test -x configure; then autoreconf -i -f; fi;
%configure \
%if !0%{?openEuler}
--disable-canberra \
%endif
--disable-schemas-compile)
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags}
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
%{_bindir}/metacity*
%{_libdir}/libmetacity.so.*
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/gnome-control-center/keybindings/*
%{_datadir}/locale/*
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/metacity/libmetacity/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libmetacity.so
%files help
%defattr(-,root,root)
%doc HACKING NEWS rationales.txt README
%{_mandir}/man1/*.gz
%changelog
* Thu Feb 22 2024 zhangpan <zhangpan103@h-partners.com> - 3.37.1-6
- remove window shading
* Mon Aug 14 2023 liyunfei <liyunfei33@huawei.com> - 3.37.1-5
- fix install error with clang toolchain
* Mon Aug 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.37.1-4
- fix build error
* Fri Apr 1 2022 wuchaochao <wuchaochao4@h-partres.com> - 3.37.1-3
- remove XResQueryClientIds to get pid and remove BuildRequires:vulkan-devel
* Sat Mar 05 2022 hanhui <hanhui15@h-partners.com> - 3.37.1-2
- custom installation depend on libcanberra
* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 3.37.1-1
- update to 3.37.1
* Thu Jul 30 2020 hanhui <hanhui15@huawei.com> - 3.37.1-1
- update to 3.36.1
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license files
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/metacity.git
git@gitee.com:src-openeuler/metacity.git
src-openeuler
metacity
metacity
master

搜索帮助