* configure.in: Require pygtk 2.10.0 or higher.
svn: r8701
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
2007-07-05  Alex Roitman  <shura@gramps-project.org>
 | 
			
		||||
	* configure.in: Require pygtk 2.10.0 or higher.
 | 
			
		||||
	* src/GrampsDbUtils/_WriteGedcom.py
 | 
			
		||||
	(GedcomWriter.write_long_text): Remove definition;
 | 
			
		||||
	(GedcomWriter.__init__): Define write_long_text based on self.conc.
 | 
			
		||||
 
 | 
			
		||||
@@ -70,13 +70,13 @@ def out(line):
 | 
			
		||||
    f.close()
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
AC_MSG_CHECKING(Python bindings for gtk2.4 (pygtk2>=2.3.4))
 | 
			
		||||
AC_MSG_CHECKING(Python bindings for gtk2.10 (pygtk2>=2.10.0))
 | 
			
		||||
cat > conftest.py <<EOF
 | 
			
		||||
$pygtk_require
 | 
			
		||||
try:
 | 
			
		||||
    import gobject
 | 
			
		||||
    version = gobject.pygtk_version
 | 
			
		||||
    if version >= (2,3,4):
 | 
			
		||||
    if version >= (2,10,0):
 | 
			
		||||
        print_version = '.'.join([[str(i) for i in version]])
 | 
			
		||||
        out(print_version)
 | 
			
		||||
    else:
 | 
			
		||||
@@ -93,7 +93,7 @@ if test NO = "$has_pygtk"
 | 
			
		||||
then
 | 
			
		||||
   AC_MSG_ERROR([
 | 
			
		||||
 | 
			
		||||
**** The python bindings for gtk 2.4 (pygtk2>=2.3.4) could not be found.])
 | 
			
		||||
**** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found.])
 | 
			
		||||
fi
 | 
			
		||||
AC_MSG_RESULT($has_pygtk)
 | 
			
		||||
 | 
			
		||||
@@ -116,7 +116,7 @@ rm -f conftest.out conftest.py
 | 
			
		||||
if test NO = "$has_pygnome"
 | 
			
		||||
then
 | 
			
		||||
   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
 | 
			
		||||
AC_MSG_RESULT($has_pygnome)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user