SOURCES: gedit2-python.patch - merged from DEVEL

megabajt megabajt at pld-linux.org
Thu Oct 9 22:44:15 CEST 2008


Author: megabajt                     Date: Thu Oct  9 20:44:15 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
SOURCES:
   gedit2-python.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gedit2-python.patch
diff -u /dev/null SOURCES/gedit2-python.patch:1.2
--- /dev/null	Thu Oct  9 22:44:15 2008
+++ SOURCES/gedit2-python.patch	Thu Oct  9 22:44:09 2008
@@ -0,0 +1,34 @@
+--- gedit-2.23.92/configure.ac~	2008-09-12 23:25:45.000000000 +0200
++++ gedit-2.23.92/configure.ac	2008-09-12 23:29:40.082029119 +0200
+@@ -220,31 +220,6 @@
+ 	AC_SUBST([PYTHON_LIB_LOC])
+ 	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 -no-undefined $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" != "xyes"; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/gedit2-python.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list