SOURCES (DEVEL): totem-configure.patch - fix python support
patrys
patrys at pld-linux.org
Wed Aug 6 13:01:21 CEST 2008
Author: patrys Date: Wed Aug 6 11:01:21 2008 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- fix python support
---- Files affected:
SOURCES:
totem-configure.patch (1.5 -> 1.5.2.1)
---- Diffs:
================================================================
Index: SOURCES/totem-configure.patch
diff -u SOURCES/totem-configure.patch:1.5 SOURCES/totem-configure.patch:1.5.2.1
--- SOURCES/totem-configure.patch:1.5 Sat Mar 10 00:12:43 2007
+++ SOURCES/totem-configure.patch Wed Aug 6 13:01:16 2008
@@ -40,3 +40,37 @@
fi
if test x$ENABLE_XINE = xno && test x$HAVE_GSTREAMER = xno; then
+@@ -331,33 +331,6 @@
+ AC_SUBST([PYTHON_CFLAGS])
+ AC_SUBST([PYTHON_EXTRA_LIBS])
+
+- dnl FIXME: do we really need this test?
+- AC_MSG_CHECKING([whether we can build a shared library depending on libpython])
+- rm -rf testpython
+- mkdir testpython
+- cd testpython
+- cat > testpython.c <<EOF
+-#include <Python.h>
+-int testpython (void)
+-{
+-Py_Exit (0);
+-}
+-EOF
+-
+- if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
+- /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath `pwd` -module -avoid-version $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
+- grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
+- result=yes
+- else
+- result=no
+- have_python=no
+- fi
+- cd ..
+- rm -rf testpython
+- AC_MSG_RESULT([$result])
+-fi
+-
+-if test "x$have_python" != "xno"; then
+ PYGTK_REQUIRED=2.12.0
+
+ PKG_CHECK_MODULES([PYGTK], [
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/totem-configure.patch?r1=1.5&r2=1.5.2.1&f=u
More information about the pld-cvs-commit
mailing list