forked from pool/mutter
Accepting request 635400 from GNOME:Next
- Update to version 3.30.0: + Updated translations. OBS-URL: https://build.opensuse.org/request/show/635400 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=304
This commit is contained in:
90
mutter.spec
90
mutter.spec
@@ -16,26 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%define mutter_major 2
|
||||
%define mutter_minor 0
|
||||
%define api_major 3
|
||||
%define api_minor 0
|
||||
%define libmutter libmutter-%{api_major}-%{api_minor}
|
||||
Name: mutter
|
||||
Version: 3.28.3+20180719.62660bbd1
|
||||
Version: 3.30.0
|
||||
Release: 0
|
||||
Summary: Window and compositing manager based on Clutter
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/GUI/GNOME
|
||||
URL: https://www.gnome.org
|
||||
#Source0: http://download.gnome.org/sources/mutter/3.28/%%{name}-%%{version}.tar.xz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM mutter-fix-startup.patch bgo#768531 zaitor@opensuse.org -- Fix slow startup notification on wayland
|
||||
Source0: https://download.gnome.org/sources/mutter/3.30/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM mutter-fix-startup.patch bgo#768531 -- Fix slow startup notification on wayland
|
||||
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
|
||||
Patch1: mutter-iconcache-Support-RGB16_565-format-for-16-bit-color-.patch
|
||||
# PATCH-FIX-OPENSUSE mutter-xwayland-create-xauthority.patch bsc#1084737 hpj@suse.com -- Create and pass an Xauthority file to Xwayland and session
|
||||
Patch2: mutter-xwayland-create-xauthority.patch
|
||||
# PATCH-FIX-UPSTREAM mutter-left-right-rotation-fix.patch boo#1105268 glgo#gnome/mutter#216 badshah400@opensuse.org -- Fix blank screen when rotating it left/right; patch taken from upstream bug report
|
||||
Patch3: mutter-left-right-rotation-fix.patch
|
||||
# SLE-only patches start at 1000
|
||||
## 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.
|
||||
@@ -44,7 +42,6 @@ Patch1001: mutter-SLE-relax-some-constraints-on-CSD-windows.patch
|
||||
Patch1002: mutter-SLE-bsc984738-grab-display.patch
|
||||
BuildRequires: Mesa-libGLESv3-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: translation-update-upstream
|
||||
@@ -63,7 +60,7 @@ BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(libcanberra-gtk3)
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.83
|
||||
BuildRequires: pkgconfig(libinput)
|
||||
BuildRequires: pkgconfig(libpipewire-0.1)
|
||||
BuildRequires: pkgconfig(libpipewire-0.2)
|
||||
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(libudev) >= 136
|
||||
@@ -100,7 +97,7 @@ Obsoletes: typelib-1_0-Meta-3_0
|
||||
Mutter is a window and compositing manager based on Clutter, forked
|
||||
from Metacity.
|
||||
|
||||
%package -n libmutter-%{mutter_major}-%{mutter_minor}
|
||||
%package -n %{libmutter}
|
||||
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)
|
||||
@@ -112,7 +109,7 @@ Requires: %{name}-data >= %{version}
|
||||
Obsoletes: libmutter-1-0
|
||||
Obsoletes: libmutter0
|
||||
|
||||
%description -n libmutter-%{mutter_major}-%{mutter_minor}
|
||||
%description -n %{libmutter}
|
||||
Mutter is a window and compositing manager based on Clutter, forked
|
||||
from Metacity.
|
||||
|
||||
@@ -132,8 +129,8 @@ This package contains data files needed by mutter and its library.
|
||||
%package devel
|
||||
Summary: Development files for mutter, a window and compositing manager
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{libmutter} = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libmutter-%{mutter_major}-%{mutter_minor} = %{version}
|
||||
|
||||
%description devel
|
||||
This subpackage contains libraries and header files for developing
|
||||
@@ -146,7 +143,6 @@ applications that want to make use of the mutter library.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# SLE-only patches and translations.
|
||||
translation-update-upstream
|
||||
@@ -157,7 +153,7 @@ translation-update-upstream
|
||||
%endif
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--enable-wayland \
|
||||
--enable-native-backend \
|
||||
@@ -175,8 +171,8 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%post -n libmutter-%{mutter_major}-%{mutter_minor} -p /sbin/ldconfig
|
||||
%postun -n libmutter-%{mutter_major}-%{mutter_minor} -p /sbin/ldconfig
|
||||
%post -n %{libmutter} -p /sbin/ldconfig
|
||||
%postun -n %{libmutter} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
@@ -187,23 +183,23 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%{_datadir}/applications/mutter.desktop
|
||||
|
||||
# These so files are not split out since they are private to mutter
|
||||
%{_libdir}/mutter/libmutter-clutter-%{mutter_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-gles2-%{mutter_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-pango-%{mutter_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-path-%{mutter_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-%{mutter_major}.so
|
||||
%{_libdir}/mutter/libmutter-clutter-%{api_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-gles2-%{api_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-pango-%{api_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-path-%{api_major}.so
|
||||
%{_libdir}/mutter/libmutter-cogl-%{api_major}.so
|
||||
%{_libdir}/mutter/plugins/default.so
|
||||
|
||||
# These typelibs are not split out since they are private to mutter
|
||||
%{_libdir}/mutter/Cally-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/Clutter-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/ClutterX11-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/Cogl-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/CoglPango-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/Meta-%{mutter_major}.typelib
|
||||
%{_libdir}/mutter/Cally-%{api_major}.typelib
|
||||
%{_libdir}/mutter/Clutter-%{api_major}.typelib
|
||||
%{_libdir}/mutter/ClutterX11-%{api_major}.typelib
|
||||
%{_libdir}/mutter/Cogl-%{api_major}.typelib
|
||||
%{_libdir}/mutter/CoglPango-%{api_major}.typelib
|
||||
%{_libdir}/mutter/Meta-%{api_major}.typelib
|
||||
|
||||
%files -n libmutter-%{mutter_major}-%{mutter_minor}
|
||||
%{_libdir}/libmutter-%{mutter_major}.so.*
|
||||
%files -n %{libmutter}
|
||||
%{_libdir}/libmutter-%{api_major}.so.*
|
||||
%dir %{_libdir}/mutter/
|
||||
# users of libmutter need this directory
|
||||
%dir %{_libdir}/mutter/plugins/
|
||||
@@ -220,23 +216,23 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files devel
|
||||
%{_includedir}/mutter/
|
||||
%{_libdir}/libmutter-%{mutter_major}.so
|
||||
%{_libdir}/mutter/Meta-%{mutter_major}.gir
|
||||
%{_libdir}/mutter/Cally-%{mutter_major}.gir
|
||||
%{_libdir}/mutter/Clutter-%{mutter_major}.gir
|
||||
%{_libdir}/mutter/ClutterX11-%{mutter_major}.gir
|
||||
%{_libdir}/mutter/Cogl-%{mutter_major}.gir
|
||||
%{_libdir}/mutter/CoglPango-%{mutter_major}.gir
|
||||
%{_libdir}/pkgconfig/libmutter-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-x11-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-gles2-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-pango-%{mutter_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-path-%{mutter_major}.pc
|
||||
%{_libdir}/libmutter-%{api_major}.so
|
||||
%{_libdir}/mutter/Meta-%{api_major}.gir
|
||||
%{_libdir}/mutter/Cally-%{api_major}.gir
|
||||
%{_libdir}/mutter/Clutter-%{api_major}.gir
|
||||
%{_libdir}/mutter/ClutterX11-%{api_major}.gir
|
||||
%{_libdir}/mutter/Cogl-%{api_major}.gir
|
||||
%{_libdir}/mutter/CoglPango-%{api_major}.gir
|
||||
%{_libdir}/pkgconfig/libmutter-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-x11-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-gles2-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-pango-%{api_major}.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-path-%{api_major}.pc
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user