Add fix for composite version for modular X.
authorDaniel Ostrow <dostrow@gentoo.org>
Sun, 6 Nov 2005 00:48:14 +0000 (00:48 +0000)
committerDaniel Ostrow <dostrow@gentoo.org>
Sun, 6 Nov 2005 00:48:14 +0000 (00:48 +0000)
Package-Manager: portage-2.0.53_rc6

xfce-base/xfce-utils/Manifest
xfce-base/xfwm4/ChangeLog
xfce-base/xfwm4/Manifest
xfce-base/xfwm4/files/x-modular-composite-version.patch [new file with mode: 0644]
xfce-base/xfwm4/xfwm4-4.2.2-r1.ebuild

index 280513a92897988f1081878721164724b9e535db..2e900986a3e2201c092e5e86cbb1fde2ced06321 100644 (file)
@@ -1,4 +1,4 @@
-MD5 7ae2195b0bccafda8c20a75d8bee55ed ChangeLog 6803
+MD5 7dae5a2fadb9d9051329daa1a140a7af ChangeLog 6817
 MD5 1769451c4836775c50d544c89d652a2f files/digest-xfce-utils-4.2.1 68
 MD5 aa9d857dda85eef063aa95799c7d4e3e files/digest-xfce-utils-4.2.2 69
 MD5 aa9d857dda85eef063aa95799c7d4e3e files/digest-xfce-utils-4.2.2-r1 69
index 665af182c9b14dbc966025245d740dc00590c29c..a75ee85d2c7572aea7045fb1ba79188b6da0488a 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for xfce-base/xfwm4
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfwm4/ChangeLog,v 1.57 2005/10/06 06:44:05 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfwm4/ChangeLog,v 1.58 2005/11/06 00:48:14 dostrow Exp $
+
+  06 Nov 2005; Daniel Ostrow <dostrow@gentoo.org>
+  +files/x-modular-composite-version.patch, xfwm4-4.2.2-r1.ebuild:
+  Add fix for composite version for modular X.
 
 *xfwm4-4.2.2-r1 (06 Oct 2005)
 
index f910bd31749691a41bc335867741f5daf08f666a..aa1e609cbbce1e1de7f3e00d7af280b8a4d2da17 100644 (file)
@@ -1,18 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 f2540ac3571ddeaedbcb1538770e5dd9 ChangeLog 6484
+MD5 8855d86a57757f1fd67a5b7fedb0dcf3 ChangeLog 6650
 MD5 f433bed794a0723e01fefebc6f76c00b files/digest-xfwm4-4.2.1 64
 MD5 f726c307cf362f000682fb4954c9b52d files/digest-xfwm4-4.2.2 64
 MD5 f726c307cf362f000682fb4954c9b52d files/digest-xfwm4-4.2.2-r1 64
+MD5 de9e7cce72361127a24dc569bc41da0d files/x-modular-composite-version.patch 575
 MD5 c390804e060ffd11a5bbb143434b2b2d metadata.xml 157
 MD5 eb0a3773150331bf96f0f3568a034136 xfwm4-4.2.1.ebuild 433
-MD5 007a058c236ca871888bede9c699f08b xfwm4-4.2.2-r1.ebuild 798
+MD5 59b6ad95e49a6dbf83bc48ab779f9ede xfwm4-4.2.2-r1.ebuild 1024
 MD5 25a63b62d347f1267e9db113d8edafcb xfwm4-4.2.2.ebuild 424
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDRs4NI1lqEGTUzyQRAn39AJ424JRkxXkiAJP/GOsdCgnVUcylWQCg0rTz
-yTTpsef08RE00Q6DFzfVy2M=
-=s+Ld
------END PGP SIGNATURE-----
diff --git a/xfce-base/xfwm4/files/x-modular-composite-version.patch b/xfce-base/xfwm4/files/x-modular-composite-version.patch
new file mode 100644 (file)
index 0000000..9cdc183
--- /dev/null
@@ -0,0 +1,11 @@
+--- xfwm4-4.2.2.orig/configure.ac      2005-05-15 04:43:29.000000000 -0400
++++ xfwm4-4.2.2/configure.ac   2005-10-05 23:30:40.527185680 -0400
+@@ -92,7 +92,7 @@
+
+ if test x"$enable_compositor" = x"yes"; then
+     if $PKG_CONFIG --exists xcomposite xfixes xdamage xrender 2> /dev/null; then
+-        PKG_CHECK_MODULES(COMPOSITOR, xcomposite >= 1.0 xfixes xdamage xrender)
++        PKG_CHECK_MODULES(COMPOSITOR, xcomposite >= 0.2 xfixes xdamage xrender)
+         AC_DEFINE([HAVE_COMPOSITOR], [1], [Define to enable compositor])
+         ENABLE_COMPOSITOR="--enable-compositor"
+     fi
index 2dfd48590726969e8201229929b54e86d459f183..4e462f18f17e90781c32433b61f74abeab90d7b6 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfwm4/xfwm4-4.2.2-r1.ebuild,v 1.3 2005/10/07 19:35:16 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfwm4/xfwm4-4.2.2-r1.ebuild,v 1.4 2005/11/06 00:48:14 dostrow Exp $
 
-inherit xfce42
+inherit xfce42 eutils
 
 DESCRIPTION="Xfce 4 window manager"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
@@ -24,7 +24,20 @@ DEPEND="${RDEPEND}
        || ( ( x11-proto/xproto
        x11-proto/xextproto
        x11-libs/libXt )
-       virtual/x11 )"
+       virtual/x11 )
+       sys-devel/autoconf"
 
 XFCE_CONFIG="--enable-randr --enable-compositor"
-core_package
\ No newline at end of file
+core_package
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/x-modular-composite-version.patch
+}
+
+src_compile() {
+       autoconf || die "autoconf failed"
+       econf ${XFCE_CONFIG} || die
+       emake ${JOBS} || die
+}