2023-11-22 14:13:52 +08:00
|
|
|
%global glib_version 2.71.0
|
2022-06-09 13:49:30 +08:00
|
|
|
%global gtk3_version 3.19.8
|
2023-02-01 18:58:09 +08:00
|
|
|
%global gsettings_desktop_schemas_version 40
|
2022-06-09 13:49:30 +08:00
|
|
|
%global json_glib_version 0.12.0
|
2023-02-01 18:58:09 +08:00
|
|
|
%global libinput_version 1.19.0
|
2022-06-09 13:49:30 +08:00
|
|
|
%global pipewire_version 0.3.33
|
2023-02-01 18:58:09 +08:00
|
|
|
%global lcms2_version 2.6
|
|
|
|
|
%global colord_version 1.4.5
|
2023-11-22 14:13:52 +08:00
|
|
|
%global mutter_api_version 12
|
2022-06-09 13:49:30 +08:00
|
|
|
|
2019-09-30 11:09:23 -04:00
|
|
|
Name: mutter
|
2023-11-22 14:13:52 +08:00
|
|
|
Version: 44.6
|
2024-04-19 16:47:07 +08:00
|
|
|
Release: 3
|
2019-09-30 11:09:23 -04:00
|
|
|
Summary: Window and compositing manager based on Clutter
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://www.gnome.org
|
2023-11-22 14:13:52 +08:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
|
2021-06-03 18:22:56 +08:00
|
|
|
|
|
|
|
|
Patch0: 0001-window-actor-Special-case-shaped-Java-windows.patch
|
2023-11-22 14:13:52 +08:00
|
|
|
Patch1: mutter-42.alpha-disable-tegra.patch
|
2022-06-09 13:49:30 +08:00
|
|
|
|
|
|
|
|
BuildRequires: meson pam-devel zenity sysprof-devel gtk-doc gettext-devel git-core
|
|
|
|
|
BuildRequires: xorg-x11-server-Xorg xorg-x11-server-Xvfb desktop-file-utils
|
|
|
|
|
BuildRequires: mesa-libEGL-devel mesa-libGLES-devel mesa-libGL-devel mesa-libgbm-devel
|
|
|
|
|
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
|
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
|
|
|
|
|
BuildRequires: pkgconfig(libinput) >= %{libinput_version}
|
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
|
2023-02-01 18:58:09 +08:00
|
|
|
BuildRequires: pkgconfig(lcms2) >= %{lcms2_version}
|
|
|
|
|
BuildRequires: pkgconfig(colord) >= %{colord_version}
|
2022-06-09 13:49:30 +08:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.0
|
|
|
|
|
BuildRequires: pkgconfig(sm)
|
|
|
|
|
BuildRequires: pkgconfig(libwacom)
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
|
BuildRequires: pkgconfig(xkbcommon-x11)
|
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
|
BuildRequires: pkgconfig(graphene-gobject-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
|
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
|
|
|
|
BuildRequires: pkgconfig(xkeyboard-config)
|
|
|
|
|
BuildRequires: pkgconfig(libcanberra)
|
|
|
|
|
BuildRequires: pkgconfig(gnome-settings-daemon)
|
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(libdrm)
|
|
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-eglstream)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
|
BuildRequires: xorg-x11-server
|
2022-06-26 12:40:57 +08:00
|
|
|
BuildRequires: pkgconfig(xwayland)
|
2023-03-15 02:10:51 +00:00
|
|
|
BuildRequires: chrpath
|
2022-06-09 13:49:30 +08:00
|
|
|
|
|
|
|
|
Requires: gnome-control-center-filesystem
|
|
|
|
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
|
|
|
|
Requires: gnome-settings-daemon
|
|
|
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
|
|
|
|
Requires: json-glib%{?_isa} >= %{json_glib_version}
|
|
|
|
|
Requires: libinput%{?_isa} >= %{libinput_version}
|
|
|
|
|
Requires: pipewire%{_isa} >= %{pipewire_version}
|
|
|
|
|
Requires: startup-notification
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: zenity
|
|
|
|
|
Recommends: mesa-dri-drivers%{?_isa}
|
|
|
|
|
Provides: firstboot(windowmanager) = mutter
|
|
|
|
|
Provides: bundled(cogl) = 1.22.0
|
|
|
|
|
Provides: bundled(clutter) = 1.26.0
|
2020-01-14 18:25:21 +08:00
|
|
|
|
2019-09-30 11:09:23 -04:00
|
|
|
%description
|
|
|
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
|
|
|
from Metacity.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files and Header files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2022-06-09 13:49:30 +08:00
|
|
|
Requires: mesa-libEGL-devel
|
2020-01-14 18:25:21 +08:00
|
|
|
Provides: %{name}-tests
|
2021-06-03 18:22:56 +08:00
|
|
|
Obsoletes: %{name}-tests < %{version}-%{release}
|
2019-09-30 11:09:23 -04:00
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
%build
|
2023-02-01 18:58:09 +08:00
|
|
|
%meson -Degl_device=true -Dwayland_eglstream=true
|
|
|
|
|
#-Dxwayland_initfd=disabled
|
2021-06-03 18:22:56 +08:00
|
|
|
%meson_build
|
2019-09-30 11:09:23 -04:00
|
|
|
|
|
|
|
|
%install
|
2021-06-03 18:22:56 +08:00
|
|
|
%meson_install
|
2023-03-15 02:10:51 +00:00
|
|
|
chrpath -d %{buildroot}%{_bindir}/mutter
|
|
|
|
|
chrpath -d %{buildroot}%{_libdir}/mutter-%{mutter_api_version}/*.so.*
|
|
|
|
|
chrpath -d %{buildroot}%{_libdir}/lib*.so.*
|
|
|
|
|
|
2020-01-14 18:25:21 +08:00
|
|
|
%delete_la_and_a
|
2021-06-03 18:22:56 +08:00
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
2019-09-30 11:09:23 -04:00
|
|
|
|
2021-09-16 19:47:54 +08:00
|
|
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
2022-12-15 11:19:56 +08:00
|
|
|
%ifarch sw_64
|
2024-04-19 16:47:07 +08:00
|
|
|
echo "/usr/lib/mutter-12" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
2022-12-15 11:19:56 +08:00
|
|
|
%else
|
2024-04-19 16:47:07 +08:00
|
|
|
echo "/usr/lib64/mutter-12" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
2022-12-15 11:19:56 +08:00
|
|
|
%endif
|
2023-02-01 18:58:09 +08:00
|
|
|
|
2019-09-30 11:09:23 -04:00
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
2021-06-03 18:22:56 +08:00
|
|
|
%files -f %{name}.lang
|
2019-09-30 11:09:23 -04:00
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/mutter
|
2022-06-09 13:49:30 +08:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
%{_libdir}/mutter-%{mutter_api_version}/
|
|
|
|
|
%{_libexecdir}/mutter-restart-helper
|
2023-11-22 14:13:52 +08:00
|
|
|
%{_libexecdir}/mutter-x11-frames
|
2020-01-14 18:25:21 +08:00
|
|
|
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
2022-06-09 13:49:30 +08:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
|
|
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-mutter-*.xml
|
|
|
|
|
%{_udevrulesdir}/61-mutter.rules
|
|
|
|
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
%{_libexecdir}/installed-tests/mutter-%{mutter_api_version}
|
|
|
|
|
%{_datadir}/installed-tests/mutter-%{mutter_api_version}
|
|
|
|
|
%{_datadir}/mutter-%{mutter_api_version}/tests
|
2019-09-30 11:09:23 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2023-02-01 18:58:09 +08:00
|
|
|
%doc NEWS
|
2020-01-14 18:25:21 +08:00
|
|
|
%{_mandir}/man1/*.1.gz
|
2019-09-30 11:09:23 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2024-04-19 16:47:07 +08:00
|
|
|
* Fri Apr 19 2024 liyanan <liyanan61@h-partners.com> - 44.6-3
|
|
|
|
|
- Fix libmutter-clutter-12.so.0 cannot be loaded
|
|
|
|
|
|
2024-02-19 14:23:51 +08:00
|
|
|
* Mon Feb 19 2024 hanhuihui <hanhuihui5@huawei.com> - 44.6-2
|
|
|
|
|
- rebuild for glib2 without sysprof
|
|
|
|
|
|
2023-11-22 14:13:52 +08:00
|
|
|
* Wed Nov 22 2023 lwg <liweiganga@uniontech.com> - 44.6-1
|
|
|
|
|
- update to version 44.6
|
|
|
|
|
|
2023-03-15 02:10:51 +00:00
|
|
|
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-2
|
|
|
|
|
- remove rpath
|
|
|
|
|
|
2023-02-01 18:58:09 +08:00
|
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-1
|
|
|
|
|
- Update to 43.2
|
|
|
|
|
|
2022-12-15 11:19:56 +08:00
|
|
|
* Wed Dec 14 2022 wuzx<wuzx1226@qq.com> - 42.2-3
|
|
|
|
|
- Add sw64 architecture
|
|
|
|
|
|
2022-06-26 12:40:57 +08:00
|
|
|
* Sun Jun 26 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-2
|
|
|
|
|
- Add BuildRequires pkgconfig(xwayland)
|
|
|
|
|
|
2022-06-09 13:49:30 +08:00
|
|
|
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
|
|
|
|
|
- Update to 42.2
|
|
|
|
|
|
2022-06-26 12:40:57 +08:00
|
|
|
* Fri Sep 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-3
|
2021-09-16 19:47:54 +08:00
|
|
|
- Add concrete dynamic library search path
|
|
|
|
|
|
2021-08-25 07:52:38 +00:00
|
|
|
* Wed Aug 25 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.38.4-2
|
|
|
|
|
- DESC: remove unnecessary BuildRequires
|
|
|
|
|
|
2021-06-03 18:22:56 +08:00
|
|
|
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-1
|
|
|
|
|
- Upgrade to 3.38.4
|
|
|
|
|
- Update Version, Release, BuildRequires, Obsoletes
|
|
|
|
|
- Delete patches which existed in new version, add one patch
|
|
|
|
|
- Use meson rebuild. update stage 'install', 'files'
|
|
|
|
|
|
2020-08-05 20:23:33 +08:00
|
|
|
* Wed Aug 5 2020 orange-snn <songnannan2@huawei.com> - 3.30.1-8
|
|
|
|
|
- change mesa-libEGL-devel to libglvnd-devel in buildrequires
|
|
|
|
|
|
2019-12-13 15:50:29 +08:00
|
|
|
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the files
|
|
|
|
|
|
2019-09-30 11:09:23 -04:00
|
|
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-6
|
|
|
|
|
- Package init
|