From a475f293083f36dfc723677faeb72d5d91eaad01 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 8 Nov 2002 04:10:31 +0000 Subject: [PATCH] Updated configure script svn: r1170 --- gramps2/configure | 143 +++++++++++++++++-------------------- gramps2/configure.in | 117 ++++++++++++++---------------- gramps2/gramps.spec | 4 +- gramps2/src/ImageSelect.py | 16 ++--- gramps2/src/const.py | 2 +- 5 files changed, 127 insertions(+), 155 deletions(-) diff --git a/gramps2/configure b/gramps2/configure index 8d331ddcc..9b1671f28 100755 --- a/gramps2/configure +++ b/gramps2/configure @@ -1441,7 +1441,7 @@ fi # Define the identity of the package. PACKAGE=gramps - VERSION=0.9.0pre2 + VERSION=0.9.0 cat >>confdefs.h <<_ACEOF @@ -1567,7 +1567,7 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -RELEASE=rc4 +RELEASE=pre3 VERSIONSTRING=$VERSION if test x"$RELEASE" != "x" @@ -3638,44 +3638,6 @@ GNOMEINC=`pkg-config --cflags gnome-vfs-module-2.0` GNOMELIB=`pkg-config --libs gnome-vfs-module-2.0` -echo "$as_me:$LINENO: checking Python bindings for sax/xml" >&5 -echo $ECHO_N "checking Python bindings for sax/xml... $ECHO_C" >&6 - -cat > conftest.py <&5 -echo "$as_me: error: - -**** The python interpreter can't find the SAX/XML bindings." >&2;} - { (exit 1); exit 1; }; } -fi -echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 - echo "$as_me:$LINENO: checking Python bindings for gtk" >&5 echo $ECHO_N "checking Python bindings for gtk... $ECHO_C" >&6 @@ -3698,10 +3660,10 @@ if test "YES" != $has_pygtk then { { echo "$as_me:$LINENO: error: -**** The python interpreter can't find the python bindings for gtk 2.0." >&5 +**** The python bindings for gtk 2.0 (pygtk2) could not be found." >&5 echo "$as_me: error: -**** The python interpreter can't find the python bindings for gtk 2.0." >&2;} +**** The python bindings for gtk 2.0 (pygtk2) could not be found." >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: ok" >&5 @@ -3728,40 +3690,9 @@ rm -f conftest.out conftest.py if test "YES" != $has_pygnome then { { echo "$as_me:$LINENO: error: -**** The python interpreter can't find the python bindings for GNOME." >&5 +**** The python bindings for GNOME 2.0 (gnome-python2) could not be found." >&5 echo "$as_me: error: -**** The python interpreter can't find the python bindings for GNOME." >&2;} - { (exit 1); exit 1; }; } -fi -echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 - -echo "$as_me:$LINENO: checking Python/libglade bindings" >&5 -echo $ECHO_N "checking Python/libglade bindings... $ECHO_C" >&6 - -cat > conftest.py <&5 -echo "$as_me: error: - -**** The python interpreter can't find the python bindings for libglade." >&2;} +**** The python bindings for GNOME 2.0 (gnome-python2) could not be found." >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: ok" >&5 @@ -3788,11 +3719,69 @@ rm -f conftest.out conftest.py if test "YES" != $has_gconf then { { echo "$as_me:$LINENO: error: +**** The python bindings for gconf (gnome-python2-gconf) could not be found." >&5 +echo "$as_me: error: +**** The python bindings for gconf (gnome-python2-gconf) could not be found." >&2;} + { (exit 1); exit 1; }; } +fi +echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 -**** The python interpreter can't find the python bindings for gconf." >&5 +echo "$as_me:$LINENO: checking Python bindings for GNOME canvas" >&5 +echo $ECHO_N "checking Python bindings for GNOME canvas... $ECHO_C" >&6 + +cat > conftest.py <&5 +echo "$as_me: error: +**** The python bindings for GNOME canvas (gnome-python2-canvas) could not be found." >&2;} + { (exit 1); exit 1; }; } +fi +echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 + +echo "$as_me:$LINENO: checking Python bindin for glade" >&5 +echo $ECHO_N "checking Python bindin for glade... $ECHO_C" >&6 + +cat > conftest.py <&5 echo "$as_me: error: -**** The python interpreter can't find the python bindings for gconf." >&2;} +**** The python bindings for glade (pytgk2-libglade) could not be found." >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: ok" >&5 diff --git a/gramps2/configure.in b/gramps2/configure.in index 30be3da82..1cced9e4d 100644 --- a/gramps2/configure.in +++ b/gramps2/configure.in @@ -1,8 +1,8 @@ dnl Process this file with autoconf to produce a configure script. dnl May need to run automake && aclocal first AC_INIT(src/gramps.py) -AM_INIT_AUTOMAKE(gramps, 0.9.0pre2) -RELEASE=rc4 +AM_INIT_AUTOMAKE(gramps, 0.9.0) +RELEASE=pre3 VERSIONSTRING=$VERSION if test x"$RELEASE" != "x" @@ -32,7 +32,7 @@ AC_SUBST(POFILES) AC_SUBST(MOFILES) dnl Checks for programs. -dnl We first only check for python >= 1.5 +dnl We first only check for python >= 2.2 AM_PATH_PYTHON(2.2) dnl override automatic python detection with our own place @@ -78,38 +78,6 @@ GNOMELIB=`pkg-config --libs gnome-vfs-module-2.0` dnl Check if python bindings for gtk are installed -AC_MSG_CHECKING(Python bindings for sax/xml) -changequote(,) -cat > conftest.py < conftest.py < conftest.py < conftest.py < conftest.py <=0: - photo = self.dataobj.getPhotoList()[self.selectedIcon] - LocalMediaProperties(photo,self.path,self) + photo = obj.get_data('o') + LocalMediaProperties(photo,self.path,self) #------------------------------------------------------------------------- # diff --git a/gramps2/src/const.py b/gramps2/src/const.py index 70bc739e5..13cf55089 100644 --- a/gramps2/src/const.py +++ b/gramps2/src/const.py @@ -96,7 +96,7 @@ startup = 1 # #------------------------------------------------------------------------- progName = "GRAMPS" -version = "0.9.0pre2-rc4" +version = "0.9.0-pre3" copyright = "© 2001-2002 Donald N. Allingham" authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"] comments = _("GRAMPS (Genealogical Research and Analysis "