updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alacarte-git / no-pygtk.patch
blobf6c17a9d7595191a006164eae1bc4acf01469b4d
1 diff -Naur alacarte.orig/configure.ac alacarte/configure.ac
2 --- alacarte.orig/configure.ac 2011-09-30 01:51:22.000000000 +0200
3 +++ alacarte/configure.ac 2011-09-30 01:57:47.440809579 +0200
4 @@ -9,7 +9,6 @@
5 AM_MAINTAINER_MODE
7 m4_define(required_pygobject_version, 2.15.1)
8 -m4_define(required_pygtk_version, 2.13.0)
10 dnl put the ACLOCAL flags in the makefile
11 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
12 @@ -28,7 +27,6 @@
13 dnl Check for correctly installed pygobject
14 AC_MSG_CHECKING(for pygobject required_pygobject_version installed for python required_python_abi)
15 prog="
16 -import pygtk; pygtk.require('2.0')
17 import gobject
18 assert gobject.pygobject_version >= tuple(map(int, 'required_pygobject_version'.split('.')))
20 @@ -40,34 +38,6 @@
21 AC_MSG_ERROR(required pygobject version not found)
24 -dnl Check for correctly installed pygtk
25 -AC_MSG_CHECKING(for pygtk required_pygtk_version installed for python ${PYTHON_VERSION})
26 -prog="
27 -import pygtk; pygtk.require('2.0')
28 -import gobject
29 -assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.')))
32 -if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then
33 - AC_MSG_RESULT(found)
34 -else
35 - AC_MSG_RESULT(not found)
36 - AC_MSG_ERROR(required pygtk version not found)
37 -fi
39 -dnl Check for correctly installed python-glade
40 -dnl AC_MSG_CHECKING(for pyglade required_pygtk_version installed for python ${PYTHON_VERSION})
41 -dnl prog="
42 -dnl import pygtk; pygtk.require('2.0')
43 -dnl import gtk.glade
44 -dnl "
45 -dnl if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then
46 -dnl AC_MSG_RESULT(found)
47 -dnl else
48 -dnl AC_MSG_RESULT(not found)
49 -dnl AC_MSG_ERROR(required pyglade version not found)
50 -dnl fi
52 AC_CONFIG_FILES([
53 Makefile
54 po/Makefile.in