%global clutter_version 1.19.6-3 Name: mutter Version: 3.15.3 Release: 3%{?dist} Summary: Window and compositing manager based on Clutter Group: User Interface/Desktops License: GPLv2+ #VCS: git:git://git.gnome.org/mutter URL: http://www.gnome.org Source0: http://download.gnome.org/sources/%{name}/3.15/%{name}-%{version}.tar.xz Patch0: dont-depend-on-unreleased-wayland.patch BuildRequires: clutter-devel >= %{clutter_version} BuildRequires: pango-devel BuildRequires: startup-notification-devel BuildRequires: gnome-desktop3-devel BuildRequires: gtk3-devel >= 3.9.11 BuildRequires: pkgconfig BuildRequires: gobject-introspection-devel >= 1.41.0 BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXcursor-devel BuildRequires: libXcomposite-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: libxkbfile-devel BuildRequires: pam-devel BuildRequires: upower-devel BuildRequires: xkeyboard-config-devel BuildRequires: zenity BuildRequires: desktop-file-utils # Bootstrap requirements BuildRequires: gtk-doc gnome-common intltool BuildRequires: libcanberra-devel BuildRequires: gsettings-desktop-schemas-devel BuildRequires: automake, autoconf, libtool BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(clutter-egl-1.0) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(clutter-wayland-1.0) BuildRequires: pkgconfig(clutter-wayland-compositor-1.0) BuildRequires: pkgconfig(wayland-server) Obsoletes: mutter-wayland < 3.13.0 Obsoletes: mutter-wayland-devel < 3.13.0 # Make sure yum updates gnome-shell as well; otherwise we might end up with # broken gnome-shell installations due to mutter ABI changes. Conflicts: gnome-shell < 3.14.1 Requires: clutter%{?_isa} >= %{clutter_version} Requires: control-center-filesystem Requires: startup-notification Requires: dbus-x11 Requires: zenity %description Mutter is a window and compositing manager that displays and manages your desktop via OpenGL. Mutter combines a sophisticated display engine using the Clutter toolkit with solid window-management logic inherited from the Metacity window manager. While Mutter can be used stand-alone, it is primarily intended to be used as the display core of a larger system such as GNOME Shell. For this reason, Mutter is very extensible via plugins, which are used both to add fancy visual effects and to rework the window management behaviors to meet the needs of the environment. %package devel Summary: Development package for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and libraries for developing Mutter plugins. Also includes utilities for testing Metacity/Mutter themes. %package tests Summary: Tests for the %{name} package Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description tests The %{name}-tests package contains tests that can be used to verify the functionality of the installed %{name} package. %prep %setup -q %patch0 -p1 -b .dont-depend-on-unreleased-wayland %build autoreconf -f -i (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi; %configure --disable-static --enable-compile-warnings=maximum --enable-installed-tests) SHOULD_HAVE_DEFINED="HAVE_SM HAVE_RANDR HAVE_STARTUP_NOTIFICATION" for I in $SHOULD_HAVE_DEFINED; do if ! grep -q "define $I" config.h; then echo "$I was not defined in config.h" grep "$I" config.h exit 1 else echo "$I was defined as it should have been" grep "$I" config.h fi done make %{?_smp_mflags} V=1 %install %make_install #Remove libtool archives. rm -rf %{buildroot}/%{_libdir}/*.la %find_lang %{name} # Mutter contains a .desktop file so we just need to validate it desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %post -p /sbin/ldconfig %postun /sbin/ldconfig if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %doc COPYING NEWS doc/theme-format.txt %doc %{_mandir}/man1/mutter.1.gz %{_bindir}/mutter %{_datadir}/applications/*.desktop %{_libdir}/lib*.so.* %{_libdir}/mutter/ %{_libexecdir}/mutter-restart-helper %{_datadir}/GConf/gsettings/mutter-schemas.convert %{_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 %files devel %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/* # exclude as these should be in a devel package (if packaged at all) %exclude %{_datadir}/gtk-doc %files tests %{_libexecdir}/installed-tests/mutter %{_datadir}/installed-tests/mutter %{_datadir}/mutter/tests %changelog * Mon Jan 19 2015 Peter Hutterer 3.15.3-3 - Rebuild for libinput soname bump * Mon Jan 12 2015 Ray Strode 3.15.3-2 - Add specific BuildRequires for wayland bits, so we don't get wayland support by happenstance. - Add BuildRequires for autogoo since ./autogen.sh is run as part of the build process * Fri Dec 19 2014 Florian Müllner - 3.15.3-1 - Revert unsatisfiable wayland requirement * Fri Dec 19 2014 Florian Müllner - 3.15.3-1 - Update to 3.15.3 * Thu Nov 27 2014 Florian Müllner - 3.15.2-1 - Update to 3.15.2 * Wed Nov 12 2014 Vadim Rutkovsky - 3.15.1-2 - Build installed tests * Thu Oct 30 2014 Florian Müllner - 3.15.1-1 - Update to 3.15.1 * Tue Oct 21 2014 Florian Müllner - 3.14.1-2 - Fix regression in handling raise-on-click option (rhbz#1151918) * Tue Oct 14 2014 Florian Müllner - 3.14.1-1 - Update to 3.14.1 * Fri Oct 03 2014 Adam Williamson - 3.14.0-3 - backport fix for BGO #737233 / RHBZ #1145952 (desktop right click broken) * Mon Sep 22 2014 Kalev Lember - 3.14.0-2 - Bump gnome-shell conflicts version * Mon Sep 22 2014 Florian Müllner - 3.14.0-1 - Update to 3.14.0 * Wed Sep 17 2014 Florian Müllner - 3.13.92-1 - Update to 3.13.92 * Fri Sep 12 2014 Peter Hutterer - 3.13.91-2 - Rebuild for libinput soname bump * Wed Sep 03 2014 Florian Müllner - 3.31.91-1 - Update to 3.13.91, drop downstream patches * Tue Aug 26 2014 Adel Gadllah - 3.13.90-4 - Apply fix for RH #1133166 * Mon Aug 25 2014 Hans de Goede - 3.13.90-3 - Add a patch from upstream fixing gnome-shell crashing non stop on multi monitor setups (rhbz#1103221) * Fri Aug 22 2014 Kevin Fenzi 3.13.90-2 - Rebuild for new wayland * Wed Aug 20 2014 Florian Müllner - 3.13.90-1 - Update to 3.13.90 * Mon Aug 18 2014 Kalev Lember - 3.13.4-3 - Rebuilt for upower 0.99.1 soname bump * Sun Aug 17 2014 Fedora Release Engineering - 3.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Wed Jul 23 2014 Florian Müllner - 3.13.4-1 - Update to 3.13.4 * Tue Jul 22 2014 Kalev Lember - 3.13.3-2 - Rebuilt for gobject-introspection 1.41.4 * Fri Jun 27 2014 Florian Müllner - 3.13.3-1 - New gobject-introspection has been built, drop the last patch again * Wed Jun 25 2014 Florian Müllner - 3.13.3-1 - Revert annotation updates until we get a new gobject-introspection build * Wed Jun 25 2014 Florian Müllner - 3.13.3-1 - Update to 3.13.1 * Wed Jun 11 2014 Florian Müllner - 3.13.2-2 - Backport fix for legacy fullscreen check * Sat Jun 07 2014 Fedora Release Engineering - 3.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Florian Müllner - 3.13.2-1 - Update to 3.13.2, drop upstreamed patches * Thu May 8 2014 Matthias Clasen - 3.13.1-5 - Fix shrinking terminals * Wed May 07 2014 Kalev Lember - 3.13.1-4 - Backport an upstream fix for a Wayland session crash * Wed May 07 2014 Kalev Lember - 3.13.1-3 - Install mutter-launch as setuid root * Thu May 01 2014 Kalev Lember - 3.13.1-2 - Obsolete mutter-wayland * Wed Apr 30 2014 Florian Müllner - 3.13.1-1 - Update to 3.13.1 * Tue Apr 15 2014 Florian Müllner - 3.12.1-1 - Update to 3.12.1 * Sat Apr 05 2014 Kalev Lember - 3.12.0-2 - Update dep versions * Tue Mar 25 2014 Florian Müllner - 3.12.0-1 - Update to 3.12.0 * Wed Mar 19 2014 Florian Müllner - 3.11.92-1 - Update to 3.11.92 * Thu Mar 06 2014 Florian Müllner - 3.11.91-1 - Update to 3.11.91 * Thu Feb 20 2014 Kalev Lember - 3.11.90-2 - Rebuilt for cogl soname bump * Wed Feb 19 2014 Florian Müllner - 3.11.90-1 - Update to 3.11.90 * Wed Feb 19 2014 Richard Hughes - 3.11.5-4 - Rebuilt for gnome-desktop soname bump * Mon Feb 10 2014 Peter Hutterer - 3.11.5-3 - Rebuild for libevdev soname bump * Wed Feb 05 2014 Richard Hughes - 3.11.5-2 - Rebuilt for cogl soname bump * Wed Feb 05 2014 Florian Müllner - 3.11.5-1 - Update to 3.11.5 * Wed Jan 15 2014 Florian Müllner - 3.11.4-1 - Update to 3.11.4 * Fri Dec 20 2013 Florian Müllner - 3.11.3-1 - Update to 3.11.3 * Wed Nov 13 2013 Florian Müllner - 3.11.2-1 - Update to 3.11.2 * Wed Oct 30 2013 Florian Müllner - 3.11.1-1 - Update to 3.11.1 * Tue Oct 15 2013 Florian Müllner - 3.10.1.1-1 - Update to 3.10.1.1 * Mon Oct 14 2013 Florian Müllner - 3.10.1-1 - Update to 3.10.1 * Wed Sep 25 2013 Florian Müllner - 3.10.0.1-1 - Update to 3.10.0.1 * Mon Sep 23 2013 Florian Müllner - 3.10.0-1 - Update to 3.10.0 * Tue Sep 17 2013 Kalev Lember - 3.9.92-2 - Update the description and URL - Tighten -devel subpackage deps with _isa - Use the make_install macro * Mon Sep 16 2013 Florian Müllner - 3.9.92-1 - Update to 3.9.92 * Tue Sep 03 2013 Kalev Lember - 3.9.91-2 - Rebuilt for libgnome-desktop soname bump * Tue Sep 03 2013 Florian Müllner - 3.9.91-1 - Update to 3.9.91 * Thu Aug 22 2013 Florian Müllner - 3.9.90-1 - Update to 3.9.90 * Fri Aug 09 2013 Kalev Lember - 3.9.5-2 - Rebuilt for cogl 1.15.4 soname bump * Tue Jul 30 2013 Florian Müllner - 3.9.5-1 - Update to 3.9.5 * Wed Jul 10 2013 Florian Müllner - 3.9.4-1 - Update to 3.9.4 * Tue Jun 18 2013 Florian Müllner - 3.9.3-1 - Update to 3.9.3 * Tue May 28 2013 Florian Müllner - 3.9.2-1 - Update to 3.9.2 * Wed May 01 2013 Florian Müllner - 3.9.1-1 - Update to 3.9.1 * Tue Apr 23 2013 Florian Müllner - 3.8.1-1 - Update to 3.8.1 * Tue Mar 26 2013 Florian Müllner - 3.8.0-1 - Update to 3.8.0 * Tue Mar 19 2013 Florian Müllner - 3.7.92-1 - Update to 3.7.92 * Mon Mar 04 2013 Florian Müllner - 3.7.91-1 - Update to 3.7.91 * Wed Feb 20 2013 Florian Müllner - 3.7.90-1 - Update to 3.7.90 * Tue Feb 05 2013 Florian Müllner - 3.7.5-1 - Update to 3.7.5 * Fri Jan 25 2013 Peter Robinson 3.7.4-2 - Rebuild for new cogl * Tue Jan 15 2013 Florian Müllner - 3.7.4-1 - Update to 3.7.4 * Tue Dec 18 2012 Florian Müllner - 3.7.3-1 - Update to 3.7.3 * Mon Nov 19 2012 Florian Müllner - 3.7.2-1 - Update to 3.7.2 * Fri Nov 09 2012 Kalev Lember - 3.7.1-1 - Update to 3.7.1 * Mon Oct 15 2012 Florian Müllner - 3.6.1-1 - Update to 3.6.1 * Tue Sep 25 2012 Florian Müllner - 3.6.0-1 - Update to 3.6.0 * Wed Sep 19 2012 Florian Müllner - 3.5.92-1 - Update to 3.5.92 * Tue Sep 04 2012 Debarshi Ray - 3.5.91-2 - Rebuild against new cogl * Tue Sep 04 2012 Debarshi Ray - 3.5.91-1 - Update to 3.5.91 * Tue Aug 28 2012 Matthias Clasen - 3.5.90-2 - Rebuild against new cogl/clutter * Tue Aug 21 2012 Richard Hughes - 3.5.90-1 - Update to 3.5.90 * Tue Aug 07 2012 Richard Hughes - 3.5.5-1 - Update to 3.5.5 * Fri Jul 27 2012 Fedora Release Engineering - 3.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 17 2012 Richard Hughes - 3.5.4-1 - Update to 3.5.4 * Tue Jun 26 2012 Matthias Clasen - 3.5.3-1 - Update to 3.5.3 * Fri Jun 8 2012 Matthias Clasen - 3.5.2-3 - Make resize grip area larger * Thu Jun 07 2012 Matthias Clasen - 3.5.2-2 - Don't check for Xinerama anymore - it is now mandatory * Thu Jun 07 2012 Richard Hughes - 3.5.2-1 - Update to 3.5.2 - Remove upstreamed patches * Wed May 09 2012 Adam Jackson 3.4.1-3 - mutter-never-slice-shape-mask.patch, mutter-use-cogl-texrect-api.patch: Fix window texturing on hardware without ARB_texture_non_power_of_two (#813648) * Wed Apr 18 2012 Kalev Lember - 3.4.1-2 - Silence glib-compile-schemas scriplets * Wed Apr 18 2012 Kalev Lember - 3.4.1-1 - Update to 3.4.1 - Conflict with gnome-shell versions older than 3.4.1 * Tue Mar 27 2012 Richard Hughes - 3.4.0-1 - Update to 3.4.0 * Wed Mar 21 2012 Kalev Lember - 3.3.92-1 - Update to 3.3.92 * Sat Mar 10 2012 Matthias Clasen - 3.3.90-2 - Rebuild against new cogl * Sat Feb 25 2012 Matthias Clasen - 3.3.90-1 - Update to 3.3.90 * Tue Feb 7 2012 Matthias Clasen - 3.3.5-1 - Update to 3.3.5 * Fri Jan 20 2012 Matthias Clasen - 3.3.4-1 - Update to 3.3.4 * Thu Jan 19 2012 Matthias Clasen - 3.3.3-2 - Rebuild against new cogl * Thu Jan 5 2012 Matthias Clasen - 3.3.3-1 - Update to 3.3.3 * Wed Nov 23 2011 Matthias Clasen - 3.3.2-2 - Rebuild against new clutter * Tue Nov 22 2011 Matthias Clasen - 3.3.2-1 - Update to 3.3.2 * Wed Oct 26 2011 Fedora Release Engineering - 3.2.1-2 - Rebuilt for glibc bug#747377 * Wed Oct 19 2011 Matthias Clasen - 3.2.1-1 - Update to 3.2.1 * Mon Sep 26 2011 Owen Taylor - 3.2.0-1 - Update to 3.2.0 * Tue Sep 20 2011 Matthias Clasen - 3.1.92-1 - Update to 3.1.92 * Wed Sep 14 2011 Owen Taylor - 3.1.91.1-1 - Update to 3.1.91.1 * Wed Aug 31 2011 Matthias Clasen - 3.1.90.1-1 - Update to 3.1.90.1 * Wed Jul 27 2011 Matthias Clasen - 3.1.4-1 - Update to 3.1.4 * Wed Jul 27 2011 Matthias Clasen - 3.1.3.1-3 - Rebuild * Mon Jul 4 2011 Peter Robinson - 3.1.3.1-2 - rebuild against new clutter/cogl * Mon Jul 04 2011 Adam Williamson - 3.1.3.1-1 - Update to 3.1.3.1 * Thu Jun 30 2011 Owen Taylor - 3.1.3-1 - Update to 3.1.3 * Wed May 25 2011 Owen Taylor - 3.0.2.1-1 - Update to 3.0.2.1 * Fri Apr 29 2011 Matthias Clasen - 3.0.1-3 - Actually apply the patch for #700276 * Thu Apr 28 2011 Matthias Clasen - 3.0.1-2 - Make session saving of gnome-shell work * Mon Apr 25 2011 Owen Taylor - 3.0.1-1 - Update to 3.0.1 * Mon Apr 4 2011 Owen Taylor - 3.0.0-1 - Update to 3.0.0 * Mon Mar 28 2011 Matthias Clasen - 2.91.93-1 - Update to 2.91.93 * Wed Mar 23 2011 Matthias Clasen - 2.91.92-1 - Update to 2.91.92 * Mon Mar 7 2011 Owen Taylor - 2.91.91-1 - Update to 2.91.91 * Tue Mar 1 2011 Matthias Clasen - 2.91.90-2 - Build against libcanberra, to enable AccessX feedback features * Tue Feb 22 2011 Matthias Clasen - 2.91.90-1 - Update to 2.91.90 * Thu Feb 10 2011 Matthias Clasen - 2.91.6-4 - Rebuild against newer gtk * Tue Feb 08 2011 Fedora Release Engineering - 2.91.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 2 2011 Matthias Clasen - 2.91.6-2 - Rebuild against newer gtk * Tue Feb 1 2011 Owen Taylor - 2.91.6-1 - Update to 2.91.6 * Tue Jan 11 2011 Matthias Clasen - 2.91.5-1 - Update to 2.91.5 * Fri Jan 7 2011 Matthias Clasen - 2.91.4-1 - Update to 2.91.4 * Fri Dec 3 2010 Matthias Clasen - 2.91.3-2 - Rebuild against new gtk - Drop no longer needed %%clean etc * Mon Nov 29 2010 Owen Taylor - 2.91.3-1 - Update to 2.91.3 * Tue Nov 9 2010 Owen Taylor - 2.91.2-1 - Update to 2.91.2 * Tue Nov 2 2010 Matthias Clasen - 2.91.1-2 - Rebuild against newer gtk3 * Fri Oct 29 2010 Owen Taylor - 2.91.1-1 - Update to 2.91.1 * Mon Oct 4 2010 Owen Taylor - 2.91.0-1 - Update to 2.91.0 * Wed Sep 22 2010 Matthias Clasen - 2.31.5-4 - Rebuild against newer gobject-introspection * Wed Jul 14 2010 Colin Walters - 2.31.5-3 - Rebuild for new gobject-introspection * Tue Jul 13 2010 Adel Gadllah - 2.31.5-2 - Build against gtk3 * Mon Jul 12 2010 Colin Walters - 2.31.5-1 - New upstream version * Mon Jul 12 2010 Colin Walters - 2.31.2-5 - Rebuild against new gobject-introspection * Tue Jul 6 2010 Colin Walters - 2.31.2-4 - Changes to support snapshot builds * Fri Jun 25 2010 Colin Walters - 2.31.2-3 - drop gir-repository-devel dep * Wed May 26 2010 Adam Miller - 2.31.2-2 - removed "--with-clutter" as configure is claiming it to be an unknown option * Wed May 26 2010 Adam Miller - 2.31.2-1 - New upstream 2.31.2 release * Thu Mar 25 2010 Peter Robinson 2.29.1-1 - New upstream 2.29.1 release * Wed Mar 17 2010 Peter Robinson 2.29.0-1 - New upstream 2.29.0 release * Tue Feb 16 2010 Adam Jackson 2.28.1-0.2 - mutter-2.28.1-add-needed.patch: Fix FTBFS from --no-add-needed * Thu Feb 4 2010 Peter Robinson 2.28.1-0.1 - Move to git snapshot * Wed Oct 7 2009 Owen Taylor - 2.28.0-1 - Update to 2.28.0 * Tue Sep 15 2009 Owen Taylor - 2.27.5-1 - Update to 2.27.5 * Fri Sep 4 2009 Owen Taylor - 2.27.4-1 - Remove workaround for #520209 - Update to 2.27.4 * Sat Aug 29 2009 Owen Taylor - 2.27.3-3 - Fix %%preun GConf script to properly be for package removal * Fri Aug 28 2009 Owen Taylor - 2.27.3-2 - Add a workaround for Red Hat bug #520209 * Fri Aug 28 2009 Owen Taylor - 2.27.3-1 - Update to 2.27.3, remove mutter-metawindow.patch * Fri Aug 21 2009 Peter Robinson 2.27.2-2 - Add upstream patch needed by latest mutter-moblin * Tue Aug 11 2009 Peter Robinson 2.27.2-1 - New upstream 2.27.2 release. Drop upstreamed patches. * Wed Jul 29 2009 Peter Robinson 2.27.1-5 - Add upstream patches for clutter 1.0 * Wed Jul 29 2009 Peter Robinson 2.27.1-4 - Add patch to fix mutter --replace * Sat Jul 25 2009 Fedora Release Engineering - 2.27.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 18 2009 Peter Robinson 2.27.1-2 - Updates from review request * Fri Jul 17 2009 Peter Robinson 2.27.1-1 - Update to official 2.27.1 and review updates * Thu Jun 18 2009 Peter Robinson 2.27.0-0.2 - Updates from initial reviews * Thu Jun 18 2009 Peter Robinson 2.27.0-0.1 - Initial packaging