forked from pool/mutter
Accepting request 519448 from GNOME:Next
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/519448 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=250
This commit is contained in:
139
mutter.spec
139
mutter.spec
@@ -21,45 +21,46 @@
|
||||
%else
|
||||
%bcond_without wayland
|
||||
%endif
|
||||
|
||||
Name: mutter
|
||||
Version: 3.24.4
|
||||
Version: 3.25.91
|
||||
Release: 0
|
||||
Summary: Window and compositing manager based on Clutter
|
||||
License: GPL-2.0+
|
||||
Group: System/GUI/GNOME
|
||||
Url: http://www.gnome.org
|
||||
Source: http://download.gnome.org/sources/mutter/3.24/%{name}-%{version}.tar.xz
|
||||
# PATCH-FEATURE-SLE mutter-bell.patch FATE#316042 bnc#889218 idonmez@suse.com -- make audible bell work out of the box.
|
||||
Patch1: mutter-bell.patch
|
||||
# PATCH-FIX-SLE relax-some-constraints-on-CSD-windows-in-sle-classic.patch bnc#883491 cxiong@suse.com -- Relax some constraints on window positioning for CSD windows s.t. they can be placed at the very top of the monitor.
|
||||
Patch2: relax-some-constraints-on-CSD-windows-in-sle-classic.patch
|
||||
# PATCH-FIX-UPSTREAM mutter-bsc984738-grab-display.patch bsc#984738 bgo#769387 hpj@suse.com -- Revert a upstream commit to avoid X11 race condition that results in wrong dialog sizes.
|
||||
Patch3: mutter-bsc984738-grab-display.patch
|
||||
Source: https://download.gnome.org/sources/mutter/3.25/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM mutter-fix-startup.patch bgo#768531 zaitor@opensuse.org -- Fix slow startup notification on wayland
|
||||
Patch6: mutter-fix-startup.patch
|
||||
Patch0: mutter-fix-startup.patch
|
||||
# PATCH-FEATURE-UPSTREAM mutter-iconcache-Support-RGB16_565-format-for-16-bit-color-.patch FATE#323412 bgo#781704 bsc#1024748 vliaskovitis@suse.com -- iconcache: Support RGB16_565 format for 16-bit sessions
|
||||
Patch7: mutter-iconcache-Support-RGB16_565-format-for-16-bit-color-.patch
|
||||
Patch1: mutter-iconcache-Support-RGB16_565-format-for-16-bit-color-.patch
|
||||
# PATCH-FIX-UPSTREAM mutter-no-mandatory-eglGetPlatformDisplayEXT.patch bgo#786619 zaitor@opensuse.org -- egl: Don't require eglGetPlatformDisplayEXT
|
||||
Patch2: mutter-no-mandatory-eglGetPlatformDisplayEXT.patch
|
||||
# SLE only patches start at 1000
|
||||
# PATCH-FEATURE-SLE mutter-SLE-bell.patch FATE#316042 bnc#889218 idonmez@suse.com -- make audible bell work out of the box.
|
||||
Patch1000: mutter-SLE-bell.patch
|
||||
# PATCH-FIX-SLE mutter-SLE-relax-some-constraints-on-CSD-windows.patch bnc#883491 cxiong@suse.com -- Relax some constraints on window positioning for CSD windows s.t. they can be placed at the very top of the monitor.
|
||||
Patch1001: mutter-SLE-relax-some-constraints-on-CSD-windows.patch
|
||||
# PATCH-FIX-UPSTREAM mutter-SLE-bsc984738-grab-display.patch bsc#984738 bgo#769387 hpj@suse.com -- Revert a upstream commit to avoid X11 race condition that results in wrong dialog sizes.
|
||||
Patch1002: mutter-SLE-bsc984738-grab-display.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gobject-introspection-devel >= 0.9.5
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
%if !0%{?is_opensuse}
|
||||
BuildRequires: translation-update-upstream
|
||||
%endif
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zenity
|
||||
BuildRequires: pkgconfig(cairo) >= 1.10.0
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(gbm)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.25.10
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.2
|
||||
BuildRequires: pkgconfig(glesv2)
|
||||
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.19.3
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.7
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(libcanberra-gtk3)
|
||||
BuildRequires: pkgconfig(libinput)
|
||||
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||
BuildRequires: pkgconfig(libudev) >= 136
|
||||
BuildRequires: pkgconfig(libwacom)
|
||||
@@ -80,27 +81,28 @@ BuildRequires: pkgconfig(xkeyboard-config)
|
||||
BuildRequires: pkgconfig(xrandr) >= 1.5.0
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
%if %{with wayland}
|
||||
BuildRequires: pkgconfig(gbm) >= 10.3
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.7
|
||||
BuildRequires: pkgconfig(wayland-server) >= 1.1.90
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libinput)
|
||||
Requires: zenity
|
||||
Recommends: %{name}-lang
|
||||
Provides: windowmanager
|
||||
# Obsolete the now private typelib.
|
||||
Obsoletes: typelib-1_0-Meta-3_0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if !0%{?is_opensuse}
|
||||
BuildRequires: translation-update-upstream
|
||||
%endif
|
||||
%if %{with wayland}
|
||||
BuildRequires: pkgconfig(gbm) >= 10.3
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.9
|
||||
BuildRequires: pkgconfig(wayland-server) >= 1.13.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
Mutter is a window and compositing manager based on Clutter, forked
|
||||
from Metacity.
|
||||
|
||||
%package -n libmutter-0-0
|
||||
%package -n libmutter-1-0
|
||||
Summary: Window and compositing manager based on Clutter
|
||||
# we need the gsettings schema; hopefully, they'll stay backwards compatible
|
||||
# (since we can't require = version, to not break SLPP)
|
||||
@@ -108,7 +110,7 @@ Group: System/Libraries
|
||||
Requires: %{name}-data >= %{version}
|
||||
Obsoletes: libmutter0
|
||||
|
||||
%description -n libmutter-0-0
|
||||
%description -n libmutter-1-0
|
||||
Mutter is a window and compositing manager based on Clutter, forked
|
||||
from Metacity.
|
||||
|
||||
@@ -130,23 +132,26 @@ This package contains data files needed by mutter and its library.
|
||||
Summary: Development files for mutter, a window and compositing manager
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libmutter-0-0 = %{version}
|
||||
Requires: libmutter-1-0 = %{version}
|
||||
|
||||
%description devel
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of the mutter library.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if !0%{?is_opensuse}
|
||||
translation-update-upstream
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
# SLE only patches and translations.
|
||||
%if !0%{?is_opensuse}
|
||||
translation-update-upstream
|
||||
%patch1000 -p1
|
||||
%patch1001 -p1
|
||||
%patch1002 -p1
|
||||
%endif
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@@ -169,50 +174,38 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%post
|
||||
%desktop_database_post
|
||||
%post -n libmutter-1-0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
|
||||
%post -n libmutter-0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libmutter-0-0 -p /sbin/ldconfig
|
||||
|
||||
%post data
|
||||
%glib2_gsettings_schema_post
|
||||
|
||||
%postun data
|
||||
%glib2_gsettings_schema_postun
|
||||
%postun -n libmutter-1-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc COPYING NEWS
|
||||
%doc %{_mandir}/man1/mutter.1%{?ext_man}
|
||||
%{_mandir}/man1/mutter.1%{?ext_man}
|
||||
%{_bindir}/mutter
|
||||
# These so files are not split out since they are private to mutter
|
||||
%{_libdir}/mutter/libmutter-clutter-0.so
|
||||
%{_libdir}/mutter/libmutter-cogl-pango-0.so
|
||||
%{_libdir}/mutter/libmutter-cogl-path-0.so
|
||||
%{_libdir}/mutter/libmutter-cogl-0.so
|
||||
%{_libdir}/mutter/libmutter-clutter-1.so
|
||||
%{_libdir}/mutter/libmutter-cogl-pango-1.so
|
||||
%{_libdir}/mutter/libmutter-cogl-path-1.so
|
||||
%{_libdir}/mutter/libmutter-cogl-1.so
|
||||
%{_libdir}/mutter/plugins/default.so
|
||||
#
|
||||
%{_libexecdir}/mutter-restart-helper
|
||||
%{_datadir}/applications/mutter.desktop
|
||||
# These typelibs are not split out since they are private to mutter
|
||||
%{_libdir}/mutter/Cally-0.typelib
|
||||
%{_libdir}/mutter/Clutter-0.typelib
|
||||
%{_libdir}/mutter/ClutterX11-0.typelib
|
||||
%{_libdir}/mutter/Cogl-0.typelib
|
||||
%{_libdir}/mutter/Cally-1.typelib
|
||||
%{_libdir}/mutter/Clutter-1.typelib
|
||||
%{_libdir}/mutter/ClutterX11-1.typelib
|
||||
%{_libdir}/mutter/Cogl-1.typelib
|
||||
#{_libdir}/mutter/Cogl-2.0.typelib
|
||||
%{_libdir}/mutter/CoglPango-0.typelib
|
||||
%{_libdir}/mutter/CoglPango-1.typelib
|
||||
#{_libdir}/mutter/CoglPango-2.0.typelib
|
||||
%{_libdir}/mutter/Meta-0.typelib
|
||||
%{_libdir}/mutter/Meta-1.typelib
|
||||
#
|
||||
|
||||
%files -n libmutter-0-0
|
||||
%files -n libmutter-1-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmutter-0.so.*
|
||||
%{_libdir}/libmutter-1.so.*
|
||||
%dir %{_libdir}/mutter/
|
||||
# users of libmutter need this directory
|
||||
%dir %{_libdir}/mutter/plugins/
|
||||
@@ -234,20 +227,20 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/mutter/
|
||||
%{_libdir}/libmutter-0.so
|
||||
%{_libdir}/mutter/Meta-0.gir
|
||||
%{_libdir}/mutter/Cally-0.gir
|
||||
%{_libdir}/mutter/Clutter-0.gir
|
||||
%{_libdir}/mutter/ClutterX11-0.gir
|
||||
%{_libdir}/mutter/Cogl-0.gir
|
||||
%{_libdir}/libmutter-1.so
|
||||
%{_libdir}/mutter/Meta-1.gir
|
||||
%{_libdir}/mutter/Cally-1.gir
|
||||
%{_libdir}/mutter/Clutter-1.gir
|
||||
%{_libdir}/mutter/ClutterX11-1.gir
|
||||
%{_libdir}/mutter/Cogl-1.gir
|
||||
#{_libdir}/mutter/Cogl-2.0.gir
|
||||
%{_libdir}/mutter/CoglPango-0.gir
|
||||
%{_libdir}/mutter/CoglPango-1.gir
|
||||
#{_libdir}/mutter/CoglPango-2.0.gir
|
||||
%{_libdir}/pkgconfig/libmutter-0.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-0.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-x11-0.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-0.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-pango-0.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-path-0.pc
|
||||
%{_libdir}/pkgconfig/libmutter-1.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-1.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-x11-1.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-1.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-pango-1.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-path-1.pc
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user