diff options
| author | Dennis Schridde <devurandom@gmx.net> | 2011-01-30 01:13:32 +0100 |
|---|---|---|
| committer | Dennis Schridde <devurandom@gmx.net> | 2011-01-30 01:14:27 +0100 |
| commit | cbf3d470baef26b0f05f81dacf869e7f005d8465 (patch) | |
| tree | 47969df6baea51c2b01356acaf40a6ae6ead9e84 /dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch | |
| parent | ebf1803c76933056efe3516e0658e419bda86b00 (diff) | |
| download | kde-cbf3d470baef26b0f05f81dacf869e7f005d8465.tar.gz kde-cbf3d470baef26b0f05f81dacf869e7f005d8465.tar.bz2 kde-cbf3d470baef26b0f05f81dacf869e7f005d8465.zip | |
[dev-libs/libindicate] Version bump to 0.4.91, fix patches to preserve SUBDIR order, update metadata.xml, fix parallel-build for mono bindings
(Portage version: 2.2.0_alpha19/git/Linux x86_64, signed Manifest commit with key 50ED256E)
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch')
| -rw-r--r-- | dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch new file mode 100644 index 00000000000..cb058bc7e25 --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch @@ -0,0 +1,35 @@ +--- configure.ac.orig 2011-01-29 21:51:17.724952231 +0100 ++++ configure.ac 2011-01-29 21:52:29.969745013 +0100 +@@ -153,4 +153,14 @@ + # Check for Python support + ########################### + ++AC_ARG_ENABLE([python], ++ AC_HELP_STRING([--disable-python], [Disable Python bindings generation]), ++ [enable_python=$enableval], enable_python=auto) ++AM_CONDITIONAL([WANT_PYTHON], [test "x$enable_python" != "xno"]) ++ ++if test "x$enable_python" != "xno" ; then ++if test "x$enable_gtk" = "xno" ; then ++ AC_MSG_ERROR([Python bindings require GTK support, please --enable-gtk]) ++fi ++ + AM_PATH_PYTHON(2.3.5) +@@ -179,6 +185,7 @@ + PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py" + AC_SUBST(PYGTK_CODEGEN) + AC_MSG_RESULT($PYGTK_CODEGEN) ++fi + + ########################### + # GTK Doc +--- bindings/Makefile.am.orig 2011-01-29 21:53:17.826282713 +0100 ++++ bindings/Makefile.am 2011-01-29 21:53:52.951209371 +0100 +@@ -1,2 +1,6 @@ ++if WANT_PYTHON ++PYTHON_SUBDIR = python ++endif ++ +-SUBDIRS = mono python ++SUBDIRS = mono $(PYTHON_SUBDIR) + |
