]> git.pld-linux.org Git - packages/mutter.git/blobdiff - mutter.spec
- added no-xwayland patch (don't require Xwayland binary at configure time)
[packages/mutter.git] / mutter.spec
index 067897e3461b8590f4983f8b1c065d6addf52b37..3af74f3829aed2d21781fcd688419467c5d2a0ee 100644 (file)
@@ -1,3 +1,4 @@
+# TODO: -Dxwayland_initfd=enabled when available in Xwayland release
 #
 # Conditional build
 %bcond_without pipewire        # remote desktop via pipewire
@@ -7,16 +8,17 @@
 Summary:       Window and compositing manager based on Clutter
 Summary(pl.UTF-8):     Zarządca okien i składania oparty na bibliotece Clutter
 Name:          mutter
-Version:       3.36.3
+Version:       3.38.2
 Release:       1
 License:       GPL v2+
 Group:         X11/Window Managers
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/mutter/3.36/%{name}-%{version}.tar.xz
-# Source0-md5: 2efbbd1f0fe36bb2e6071aa24eb2bcfc
+Source0:       https://download.gnome.org/sources/mutter/3.38/%{name}-%{version}.tar.xz
+# Source0-md5: 07307571f9f2bdb433894741222773e1
+Patch0:                %{name}-no-xwayland.patch
 URL:           https://gitlab.gnome.org/GNOME/mutter
 BuildRequires: EGL-devel
 BuildRequires: OpenGL-GLX-devel
-BuildRequires: Mesa-libgbm-devel >= 10.3
+BuildRequires: Mesa-libgbm-devel >= 17.3
 BuildRequires: atk-devel >= 1:2.6
 BuildRequires: cairo-devel >= 1.10.0
 BuildRequires: cairo-gobject-devel >= 1.14.0
@@ -29,7 +31,7 @@ BuildRequires:        gnome-desktop-devel >= 3.0
 BuildRequires: gnome-settings-daemon-devel
 BuildRequires: gobject-introspection-devel >= 1.40.0
 BuildRequires: graphene-devel >= 1.9.3
-BuildRequires: gsettings-desktop-schemas-devel >= 3.33.0
+BuildRequires: gsettings-desktop-schemas-devel >= 3.37.2
 BuildRequires: gtk+3-devel >= 3.20.0
 BuildRequires: json-glib-devel >= 0.12.0
 BuildRequires: libcanberra-gtk3-devel >= 0.26
@@ -39,20 +41,20 @@ BuildRequires:      libinput-devel >= 1.7
 BuildRequires: libwacom-devel >= 0.13
 # xcb-randr, xcb-res
 BuildRequires: libxcb-devel
-BuildRequires: meson >= 0.50.0
+BuildRequires: meson >= 0.51.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pango-devel >= 1:1.30
 %{?with_pipewire:BuildRequires:        pipewire-devel >= 0.3.0}
 BuildRequires: pkgconfig >= 1:0.21
 BuildRequires: rpmbuild(macros) >= 1.736
 BuildRequires: startup-notification-devel >= 0.7
-%{?with_sysprof:BuildRequires: sysprof-devel >= 3.35.2}
+%{?with_sysprof:BuildRequires: sysprof-devel >= 3.37.2}
 # or elogind-devel
 BuildRequires: systemd-devel >= 1:209
 BuildRequires: tar >= 1:1.22
 BuildRequires: udev-devel >= 1:228
 BuildRequires: upower-devel >= 0.99.0
-BuildRequires: wayland-devel >= 1.13.0
+BuildRequires: wayland-devel >= 1.18
 BuildRequires: wayland-egl-devel
 BuildRequires: wayland-protocols >= 1.19
 BuildRequires: xkeyboard-config
@@ -76,7 +78,7 @@ BuildRequires:        xorg-lib-libxkbfile-devel
 BuildRequires: xz
 Requires(post,postun): glib2 >= 1:2.61.1
 Requires:      %{name}-libs = %{version}-%{release}
-Requires:      gsettings-desktop-schemas >= 3.33.0
+Requires:      gsettings-desktop-schemas >= 3.37.2
 Requires:      zenity
 Provides:      gnome-wm
 Obsoletes:     mutter-apidocs < 3.18
@@ -84,7 +86,7 @@ Obsoletes:    mutter-wayland < 3.14
 Obsoletes:     mutter-wayland-apidocs < 3.14
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                apiver          6
+%define                apiver          7
 
 %description
 Mutter is a window and compositing manager that displays and manages
@@ -102,7 +104,7 @@ odziedziczoną z zarządcy okien Metacity.
 Summary:       Mutter shared library
 Summary(pl.UTF-8):     Biblioteka współdzielona zarządcy okien Mutter
 Group:         Libraries
-Requires:      Mesa-libgbm >= 10.3
+Requires:      Mesa-libgbm >= 17.3
 Requires:      atk >= 1:2.6
 Requires:      cairo >= 1.10.0
 Requires:      cairo-gobject >= 1.14.0
@@ -121,7 +123,7 @@ Requires:   startup-notification >= 0.7
 Requires:      libgudev >= 232
 Requires:      udev-libs >= 1:228
 Requires:      upower-libs >= 0.99.0
-Requires:      wayland >= 1.13.0
+Requires:      wayland >= 1.18
 Requires:      xorg-lib-libXcomposite >= 0.4
 Requires:      xorg-lib-libXfixes >= 3
 Requires:      xorg-lib-libXi >= 1.7.4
@@ -141,7 +143,7 @@ Summary(pl.UTF-8):  Pakiet programistyczny do wtyczek zarządcy okien Mutter
 Group:         X11/Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      EGL-devel
-Requires:      Mesa-libgbm-devel >= 10.3
+Requires:      Mesa-libgbm-devel >= 17.3
 Requires:      cairo-devel >= 1.10.0
 Requires:      cairo-gobject-devel >= 1.14.0
 Requires:      gdk-pixbuf2-devel >= 2.0
@@ -151,7 +153,7 @@ Requires:   gtk+3-devel >= 3.20.0
 Requires:      libcanberra-gtk3-devel >= 0.26
 Requires:      libdrm-devel
 Requires:      startup-notification-devel >= 0.7
-Requires:      wayland-devel >= 1.6.90
+Requires:      wayland-devel >= 1.8
 Requires:      wayland-egl-devel
 Requires:      xorg-lib-libX11-devel
 Requires:      xorg-lib-libXau-devel
@@ -176,6 +178,7 @@ Mutter.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
@@ -184,7 +187,7 @@ Mutter.
        -Dprofiler=%{__true_false sysprof} \
        %{!?with_pipewire:-Dremote_desktop=false} \
        -Dtests=%{__true_false tests} \
-       -Dxwayland_initfd=enabled \
+       -Dxwayland_initfd=disabled \
        -Dxwayland_path=/usr/bin/Xwayland
 
 %ninja_build -C build
@@ -215,6 +218,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/mutter-%{apiver}/plugins
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/plugins/libdefault.so
 %attr(755,root,root) %{_libexecdir}/mutter-restart-helper
+/lib/udev/rules.d/61-mutter.rules
 %{_desktopdir}/mutter.desktop
 %{_datadir}/GConf/gsettings/mutter-schemas.convert
 %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
@@ -234,8 +238,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-clutter-%{apiver}.so.0
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-pango-%{apiver}.so.*.*.*
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-pango-%{apiver}.so.0
-%attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-path-%{apiver}.so.*.*.*
-%attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-path-%{apiver}.so.0
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-%{apiver}.so.*.*.*
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-%{apiver}.so.0
 # intentionally installed in package-private dir
@@ -251,7 +253,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libmutter-%{apiver}.so
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-clutter-%{apiver}.so
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-pango-%{apiver}.so
-%attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-path-%{apiver}.so
 %attr(755,root,root) %{_libdir}/mutter-%{apiver}/libmutter-cogl-%{apiver}.so
 %{_includedir}/mutter-%{apiver}
 # intentionally installed in package-private dir
@@ -266,4 +267,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/mutter-clutter-x11-%{apiver}.pc
 %{_pkgconfigdir}/mutter-cogl-%{apiver}.pc
 %{_pkgconfigdir}/mutter-cogl-pango-%{apiver}.pc
-%{_pkgconfigdir}/mutter-cogl-path-%{apiver}.pc
This page took 0.033142 seconds and 4 git commands to generate.