fix the fix
authorMarinus Schraal <foser@gentoo.org>
Mon, 29 Nov 2004 14:22:40 +0000 (14:22 +0000)
committerMarinus Schraal <foser@gentoo.org>
Mon, 29 Nov 2004 14:22:40 +0000 (14:22 +0000)
media-video/totem/ChangeLog
media-video/totem/Manifest
media-video/totem/files/totem-0.99.22-reorder_includes.patch [deleted file]
media-video/totem/files/totem-0.99.22-x_includes.patch [new file with mode: 0644]
media-video/totem/totem-0.99.19.ebuild
media-video/totem/totem-0.99.22-r1.ebuild

index 3d4c05bad2e5bbbad49f420059a01ab81de27512..6e1561599aa8ac3d321fa2bb0bea8545ac7d4625 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for media-video/totem
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.38 2004/11/22 14:57:14 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.39 2004/11/29 14:22:40 foser Exp $
+
+  29 Nov 2004; foser <foser@gentoo.org> totem-0.99.{19,22-r1}.ebuild :
+  Do the compile fix right #71960 -> #72124, thanks the Ed Catmur for the patch
 
 *totem-0.99.22-r1 (22 Nov 2004)
 
index a5148912de9de33db5d9691afd87b2dfc8dd86ef..1eb94aba95d1f4d80b21aedbb90223a6d88ec027 100644 (file)
@@ -1,14 +1,14 @@
-MD5 6d4402f87be251454bcc8644c3a13056 totem-0.99.19.ebuild 1703
-MD5 03402f524f247d2212cd2dfcd3508322 totem-0.99.22-r1.ebuild 1878
+MD5 c0571eee0b0d032b60f6416abb838665 totem-0.99.19.ebuild 1714
+MD5 f60fa20c0ec33e77195cf67606984062 totem-0.99.22-r1.ebuild 1899
 MD5 d491742489c165c2321c610b8abbdd68 totem-0.99.8-r2.ebuild 2023
 MD5 3a099802658c8b0f280b577253e04088 totem-0.99.15.1.ebuild 1585
-MD5 303970c2ae77debda9f13d70ee211592 ChangeLog 5458
+MD5 9daead0529a713fc78e554276567d5fb ChangeLog 5610
 MD5 74b9bd3cc5015b286abc33eb51408252 metadata.xml 521
 MD5 8c12406bb21e95feaeb34355f9fd301b files/totem-0.99.22-gst_object_rename.patch 1290
 MD5 ffee6132520a471d092c6101e2cfcfc4 files/totem-0.99.8-curl.patch 762
-MD5 9e38423894eaf7762dc1790bcf1ad543 files/totem-0.99.22-reorder_includes.patch 392
 MD5 eeba2ab1c3ed87a4a630addd709262ea files/digest-totem-0.99.19 67
 MD5 1c2c4aab10d4dbff69612b377a4aba0a files/digest-totem-0.99.22-r1 67
 MD5 f19c916fffc4e302cb84b4d6f50c8c03 files/totem-0.99.8-nvidia.patch 526
+MD5 572a285ceed98dcaa61cf9520e7e59f7 files/totem-0.99.22-x_includes.patch 1330
 MD5 3d9e7881aa0ec7d110c1487cd95d6c40 files/digest-totem-0.99.15.1 69
 MD5 5555967d2623a7a6476864d9294bf323 files/digest-totem-0.99.8-r2 65
diff --git a/media-video/totem/files/totem-0.99.22-reorder_includes.patch b/media-video/totem/files/totem-0.99.22-reorder_includes.patch
deleted file mode 100644 (file)
index 9f6f3de..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur totem-0.99.22/src/video-utils.c totem-0.99.22.new/src/video-utils.c
---- totem-0.99.22/src/video-utils.c    2004-10-14 14:55:46.000000000 +0200
-+++ totem-0.99.22.new/src/video-utils.c        2004-11-21 01:08:54.553510768 +0100
-@@ -3,8 +3,8 @@
- 
- #include "video-utils.h"
- 
--#include <glib/gi18n.h>
- #include <libintl.h>
-+#include <glib/gi18n.h>
- 
- #include <gdk/gdk.h>
- #include <gdk/gdkx.h>
diff --git a/media-video/totem/files/totem-0.99.22-x_includes.patch b/media-video/totem/files/totem-0.99.22-x_includes.patch
new file mode 100644 (file)
index 0000000..7eaac06
--- /dev/null
@@ -0,0 +1,43 @@
+--- configure.in       2004/11/22 21:41:20     1.1
++++ configure.in       2004/11/22 22:04:49
+@@ -199,15 +199,21 @@ AC_SUBST(REMOTE_LIBS)
+ 
+ AC_PATH_X
+ 
+-CFLAGS="-I$x_includes $CFLAGS"
+-LIBS="-L$x_libraries $LIBS"
++if test x"$x_includes" != x"NONE" && test -n "$x_includes" ; then
++      X_INCLUDES=-L`echo $x_includes | sed -e "s/:/ -I/g"`
++fi
++if test x"$x_libraries" != x"NONE" && test -n "$x_libraries" ; then
++      X_LIBRARIES=-L`echo $x_libraries | sed -e "s/:/ -L/g"`
++fi
++CFLAGS="$X_INCLUDES $CFLAGS"
++LIBS="$X_LIBRARIES $LIBS"
+ 
+ XTEST_LIBS=""
+ AC_CHECK_LIB(Xtst, XTestFakeKeyEvent,
+-              XTEST_LIBS="-lX11 -lXtst -L$x_libraries"
++              XTEST_LIBS="-lX11 -lXtst $X_LIBRARIES"
+               AC_DEFINE(HAVE_XTEST, 1, [defined if you have XTest library]),
+               ,
+-              -L$x_libraries)
++              $X_LIBRARIES)
+ AC_SUBST(XTEST_LIBS)
+ 
+ have_randr=no
+@@ -217,12 +223,12 @@ AC_CHECK_LIB(Xrandr, XRRUpdateConfigurat
+               RANDR_LIBS="-lX11 -lXrandr -lXrender"
+               AC_DEFINE(HAVE_RANDR, 1, Have the Xrandr extension library),
+               :, [#include <X11/Xlib.h>])], : ,
+-      -L$x_libraries -lXrandr -lXrender)
++      $X_LIBRARIES -lXrandr -lXrender)
+ AM_CONDITIONAL(HAVE_RANDR, [test $have_randr = yes])
+ AC_SUBST(RANDR_LIBS)
+ 
+ dnl Explicitely link against libX11 to avoid problems with crappy linkers
+-X_LIBS="-L$x_libraries -lX11"
++X_LIBS="$X_LIBRARIES -lX11"
+ AC_SUBST(X_LIBS)
+ 
+ dnl Multimedia keys
index bed54bc008f2effd29e963f91a38a01aba6a4c41..bd9e0db4e0128a749f947221048250941839121b 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.19.ebuild,v 1.4 2004/11/22 01:07:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.19.ebuild,v 1.5 2004/11/29 14:22:40 foser Exp $
 
 inherit gnome2 eutils
 
@@ -57,7 +57,8 @@ src_unpack() {
        # violations, see bug #48800 <obz@gentoo.org>
        gnome2_omf_fix
 
-       epatch ${FILESDIR}/${PN}-0.99.22-reorder_includes.patch
+       epatch ${FILESDIR}/${PN}-0.99.22-x_includes.patch
+       autoconf || die
 
 }
 
index c5129f571ce60afe150599e7066d8ec0819f2ebd..104041a07ac44cd10b7a18576f842c93b244ce31 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.22-r1.ebuild,v 1.1 2004/11/22 14:57:14 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.99.22-r1.ebuild,v 1.2 2004/11/29 14:22:40 foser Exp $
 
 inherit gnome2 eutils
 
@@ -59,7 +59,7 @@ src_unpack() {
 
        cd ${S}
        # fix #71863
-       epatch ${FILESDIR}/${P}-reorder_includes.patch
+       epatch ${FILESDIR}/${P}-x_includes.patch
        # use the omf_fix for scrollkeeper sandbox
        # violations, see bug #48800 <obz@gentoo.org>
        gnome2_omf_fix
@@ -68,6 +68,9 @@ src_unpack() {
        cd ${S}/src
        epatch ${FILESDIR}/${P}-gst_object_rename.patch
 
+       cd ${S}
+       autoconf || die
+
 }
 
 USE_DESTDIR="1"