2007-07-05 Alex Roitman <shura@gramps-project.org>

* configure.in: Require pygtk 2.8.0 or higher.



svn: r8702
This commit is contained in:
Alex Roitman 2007-07-06 04:23:26 +00:00
parent 916d3dd8d8
commit dc185b12ac
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,6 @@
2007-07-05 Alex Roitman <shura@gramps-project.org>
* configure.in: Require pygtk 2.8.0 or higher.
2007-07-02 Brian Matherly <brian@gramps-project.org> 2007-07-02 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportDialog.py (size_changed): * src/ReportBase/_ReportDialog.py (size_changed):
* src/ReportBase/_CommandLineReprot.py (parse_option_str): * src/ReportBase/_CommandLineReprot.py (parse_option_str):

View File

@ -76,13 +76,13 @@ def out(line):
f.close() f.close()
" "
AC_MSG_CHECKING(Python bindings for gtk2.4 (pygtk2>=2.3.4)) AC_MSG_CHECKING(Python bindings for gtk2.8 (pygtk2>=2.8.0))
cat > conftest.py <<EOF cat > conftest.py <<EOF
$pygtk_require $pygtk_require
try: try:
import gobject import gobject
version = gobject.pygtk_version version = gobject.pygtk_version
if version >= (2,3,4): if version >= (2,8,0):
print_version = '.'.join([[str(i) for i in version]]) print_version = '.'.join([[str(i) for i in version]])
out(print_version) out(print_version)
else: else:
@ -99,7 +99,7 @@ if test NO = "$has_pygtk"
then then
AC_MSG_ERROR([ AC_MSG_ERROR([
**** The python bindings for gtk 2.4 (pygtk2>=2.3.4) could not be found.]) **** The python bindings for gtk 2.8 (pygtk2>=2.8.0) could not be found.])
fi fi
AC_MSG_RESULT($has_pygtk) AC_MSG_RESULT($has_pygtk)
@ -122,7 +122,7 @@ rm -f conftest.out conftest.py
if test NO = "$has_pygnome" if test NO = "$has_pygnome"
then then
AC_MSG_ERROR([ AC_MSG_ERROR([
**** The python bindings for gnome 2.0 (gnome2-python) could not be found.]) **** The python bindings for gnome2 (gnome2-python) could not be found.])
fi fi
AC_MSG_RESULT($has_pygnome) AC_MSG_RESULT($has_pygnome)