2010-02-04 01:52:24 +00:00
|
|
|
Name: mutter
|
2010-11-30 00:33:36 +00:00
|
|
|
Version: 2.91.3
|
2010-12-03 17:15:26 +00:00
|
|
|
Release: 2%{?dist}
|
2010-02-04 01:52:24 +00:00
|
|
|
Summary: Window and compositing manager based on Clutter
|
|
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
License: GPLv2+
|
2010-07-06 17:53:37 +00:00
|
|
|
#VCS: git:git://git.gnome.org/mutter
|
2010-10-04 20:51:30 +00:00
|
|
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.91/%{name}-%{version}.tar.bz2
|
2009-07-23 16:53:14 +00:00
|
|
|
|
2010-11-30 00:33:36 +00:00
|
|
|
BuildRequires: clutter-devel >= 1.5.8
|
2009-07-23 16:53:14 +00:00
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: startup-notification-devel
|
2010-10-04 20:51:30 +00:00
|
|
|
BuildRequires: gtk3-devel >= 2.91.0
|
2009-07-23 16:53:14 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: GConf2-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
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: zenity
|
|
|
|
BuildRequires: gnome-doc-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
2010-07-06 17:53:37 +00:00
|
|
|
# Bootstrap requirements
|
|
|
|
BuildRequires: gtk-doc gnome-common intltool
|
2010-02-04 01:52:24 +00:00
|
|
|
|
2009-07-23 16:53:14 +00:00
|
|
|
Requires: control-center-filesystem
|
|
|
|
Requires: startup-notification
|
|
|
|
Requires: GConf2
|
|
|
|
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 or
|
|
|
|
Moblin. 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} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files and libraries for developing Mutter plugins. Also includes
|
|
|
|
utilities for testing Metacity/Mutter themes.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-02-04 01:52:24 +00:00
|
|
|
|
2009-07-23 16:53:14 +00:00
|
|
|
%build
|
2010-07-06 17:53:37 +00:00
|
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
2010-07-12 22:18:26 +00:00
|
|
|
%configure --disable-static --with-gtk=3.0)
|
2009-07-23 16:53:14 +00:00
|
|
|
|
|
|
|
SHOULD_HAVE_DEFINED="HAVE_SM HAVE_XINERAMA HAVE_XFREE_XINERAMA HAVE_SHAPE HAVE_RANDR HAVE_STARTUP_NOTIFICATION HAVE_COMPOSITE_EXTENSION"
|
|
|
|
|
|
|
|
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
|
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_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
|
|
|
|
|
|
|
|
%pre
|
|
|
|
if [ "$1" -gt 1 ]; then
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/mutter.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
2009-08-29 22:05:13 +00:00
|
|
|
if [ "$1" -eq 0 ]; then
|
2009-07-23 16:53:14 +00:00
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/mutter.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-install-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/mutter.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt
|
|
|
|
%doc %{_mandir}/man1/mutter.1.gz
|
|
|
|
%doc %{_mandir}/man1/mutter-message.1.gz
|
|
|
|
%{_bindir}/mutter
|
|
|
|
%{_bindir}/mutter-message
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
|
|
|
%{_sysconfdir}/gconf/schemas/mutter.schemas
|
|
|
|
%{_datadir}/mutter
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/mutter/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/mutter-theme-viewer
|
|
|
|
%{_bindir}/mutter-window-demo
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%doc %{_mandir}/man1/mutter-theme-viewer.1.gz
|
|
|
|
%doc %{_mandir}/man1/mutter-window-demo.1.gz
|
|
|
|
|
|
|
|
%changelog
|
2010-12-03 17:15:26 +00:00
|
|
|
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.3-2
|
|
|
|
- Rebuild against new gtk
|
|
|
|
- Drop no longer needed %%clean etc
|
|
|
|
|
2010-11-30 00:33:36 +00:00
|
|
|
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.3-1
|
|
|
|
- Update to 2.91.3
|
|
|
|
|
2010-11-09 18:22:28 +00:00
|
|
|
* Tue Nov 9 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
|
|
|
|
- Update to 2.91.2
|
|
|
|
|
2010-11-02 05:00:44 +00:00
|
|
|
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.1-2
|
|
|
|
- Rebuild against newer gtk3
|
|
|
|
|
2010-10-29 19:20:32 +00:00
|
|
|
* Fri Oct 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.1-1
|
|
|
|
- Update to 2.91.1
|
|
|
|
|
2010-10-04 20:51:30 +00:00
|
|
|
* Mon Oct 4 2010 Owen Taylor <otaylor@redhat.com> - 2.91.0-1
|
|
|
|
- Update to 2.91.0
|
|
|
|
|
2010-09-22 18:06:26 +00:00
|
|
|
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.5-4
|
|
|
|
- Rebuild against newer gobject-introspection
|
|
|
|
|
2010-07-14 18:08:04 +00:00
|
|
|
* Wed Jul 14 2010 Colin Walters <walters@verbum.org> - 2.31.5-3
|
|
|
|
- Rebuild for new gobject-introspection
|
|
|
|
|
2010-07-12 22:18:26 +00:00
|
|
|
* Tue Jul 13 2010 Adel Gadllah <adel.gadllah@gmail.com> - 2.31.5-2
|
|
|
|
- Build against gtk3
|
|
|
|
|
2010-07-12 19:31:05 +00:00
|
|
|
* Mon Jul 12 2010 Colin Walters <walters@pocket> - 2.31.5-1
|
|
|
|
- New upstream version
|
|
|
|
|
2010-07-12 19:08:45 +00:00
|
|
|
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 2.31.2-5
|
|
|
|
- Rebuild against new gobject-introspection
|
|
|
|
|
2010-07-06 17:53:37 +00:00
|
|
|
* Tue Jul 6 2010 Colin Walters <walters@verbum.org> - 2.31.2-4
|
|
|
|
- Changes to support snapshot builds
|
|
|
|
|
2010-06-25 19:30:35 +00:00
|
|
|
* Fri Jun 25 2010 Colin Walters <walters@megatron> - 2.31.2-3
|
|
|
|
- drop gir-repository-devel dep
|
|
|
|
|
2010-05-26 16:20:22 +00:00
|
|
|
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-2
|
|
|
|
- removed "--with-clutter" as configure is claiming it to be an unknown option
|
|
|
|
|
2010-05-26 15:21:20 +00:00
|
|
|
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-1
|
|
|
|
- New upstream 2.31.2 release
|
|
|
|
|
2010-03-25 12:20:01 +00:00
|
|
|
* Thu Mar 25 2010 Peter Robinson <pbrobinson@gmail.com> 2.29.1-1
|
|
|
|
- New upstream 2.29.1 release
|
|
|
|
|
2010-03-17 12:31:18 +00:00
|
|
|
* Wed Mar 17 2010 Peter Robinson <pbrobinson@gmail.com> 2.29.0-1
|
|
|
|
- New upstream 2.29.0 release
|
|
|
|
|
2010-02-16 23:58:35 +00:00
|
|
|
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 2.28.1-0.2
|
|
|
|
- mutter-2.28.1-add-needed.patch: Fix FTBFS from --no-add-needed
|
|
|
|
|
2010-02-04 01:52:24 +00:00
|
|
|
* Thu Feb 4 2010 Peter Robinson <pbrobinson@gmail.com> 2.28.1-0.1
|
|
|
|
- Move to git snapshot
|
|
|
|
|
2009-10-08 01:01:18 +00:00
|
|
|
* Wed Oct 7 2009 Owen Taylor <otaylor@redhat.com> - 2.28.0-1
|
|
|
|
- Update to 2.28.0
|
|
|
|
|
2009-09-15 21:44:53 +00:00
|
|
|
* Tue Sep 15 2009 Owen Taylor <otaylor@redhat.com> - 2.27.5-1
|
|
|
|
- Update to 2.27.5
|
|
|
|
|
2009-09-04 23:10:09 +00:00
|
|
|
* Fri Sep 4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.4-1
|
|
|
|
- Remove workaround for #520209
|
|
|
|
- Update to 2.27.4
|
|
|
|
|
2009-08-29 22:05:13 +00:00
|
|
|
* Sat Aug 29 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-3
|
|
|
|
- Fix %%preun GConf script to properly be for package removal
|
|
|
|
|
2009-08-29 00:01:48 +00:00
|
|
|
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-2
|
|
|
|
- Add a workaround for Red Hat bug #520209
|
|
|
|
|
2009-08-28 23:39:15 +00:00
|
|
|
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-1
|
|
|
|
- Update to 2.27.3, remove mutter-metawindow.patch
|
|
|
|
|
2009-08-21 19:50:25 +00:00
|
|
|
* Fri Aug 21 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.2-2
|
|
|
|
- Add upstream patch needed by latest mutter-moblin
|
|
|
|
|
2009-08-11 16:28:22 +00:00
|
|
|
* Tue Aug 11 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.2-1
|
|
|
|
- New upstream 2.27.2 release. Drop upstreamed patches.
|
|
|
|
|
2009-07-29 20:43:30 +00:00
|
|
|
* Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-5
|
|
|
|
- Add upstream patches for clutter 1.0
|
|
|
|
|
2009-07-29 11:33:00 +00:00
|
|
|
* Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-4
|
|
|
|
- Add patch to fix mutter --replace
|
|
|
|
|
2009-07-25 15:27:13 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-23 16:53:14 +00:00
|
|
|
* Sat Jul 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-2
|
|
|
|
- Updates from review request
|
|
|
|
|
|
|
|
* Fri Jul 17 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.1-1
|
|
|
|
- Update to official 2.27.1 and review updates
|
|
|
|
|
|
|
|
* Thu Jun 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.0-0.2
|
|
|
|
- Updates from initial reviews
|
|
|
|
|
|
|
|
* Thu Jun 18 2009 Peter Robinson <pbrobinson@gmail.com> 2.27.0-0.1
|
|
|
|
- Initial packaging
|