--- a/metacity.spec Wed Sep 27 18:17:35 2006 +0000
+++ b/metacity.spec Wed Sep 27 21:12:08 2006 +0000
@@ -29,6 +29,7 @@
Patch9: metacity-09-branding-hack.diff
Patch10: metacity-10-trusted-extensions.diff
Patch11: metacity-11-empty-struct.diff
+Patch12: metacity-12-composite.diff
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/doc
@@ -63,7 +64,7 @@
%patch9 -p1
##FIXME: Needs engineer rework: %patch10 -p1
%patch11 -p1
-
+%patch12 -p1
%build
%ifos linux
@@ -83,6 +84,11 @@
autoheader
automake -a -c -f
autoconf
+# Note, you need to install SFElibcm (from spec-files-extra) and
+# add --enable-compositor to the configure call to use metacity
+# with compositing mode. Note SFElibcm requires Xorg 7.1
+# Xcomposite library.
+#
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--mandir=%{_mandir} \
@@ -135,6 +141,11 @@
%{_mandir}/man1/*
%changelog
+* Wed Sep 27 2006 - [email protected]
+- Add patch metacity-12-composite.diff so that if pkg-config
+ finds cm.pc on the system, that it will build with
+ composite support.
+
* Tue Sep 26 2006 - [email protected]
- Bump to 2.16.2.