* src/const.py.in: eliminate zipcmd
* src/docgen/OpenSpreadSheet.py: eliminate the need for ZIP, use python zipfile module instead * src/plugins/EventCmp.py (DisplayChart.on_save_clicked): fix rows, double lines no longer used * configure.in: add check for vfs bindings, eliminate the check for swig and zip * gramps.spec.in (Requires): Added gnome-python2-gnomevfs dependency svn: r2577
This commit is contained in:
24
configure.in
24
configure.in
@@ -45,8 +45,6 @@ pkgpythondir=\${prefix}/share/\${PACKAGE}
|
||||
pkgpyexecdir=\${prefix}/share/\${PACKAGE}
|
||||
|
||||
AC_PATH_PROG(BINSH, sh)
|
||||
AC_PATH_PROG(SWIG, swig)
|
||||
|
||||
AC_PATH_PROG(ZIP, zip)
|
||||
|
||||
AC_PROG_CC
|
||||
@@ -159,6 +157,28 @@ then
|
||||
fi
|
||||
AC_MSG_RESULT(ok)
|
||||
|
||||
AC_MSG_CHECKING(Python bindings for GNOME VFS)
|
||||
cat > conftest.py <<EOF
|
||||
$pygtk_require
|
||||
try:
|
||||
# Do not import gnome.canvas, this can raise a RuntimeError if the
|
||||
# display cannot be opened. Just search it.
|
||||
import imp
|
||||
imp.find_module('gnome/vfs')
|
||||
out("YES")
|
||||
except ImportError:
|
||||
out("NO")
|
||||
EOF
|
||||
$PYTHON conftest.py
|
||||
has_vfs=`cat conftest.out`
|
||||
rm -f conftest.out conftest.py
|
||||
if test YES != "$has_vfs"
|
||||
then
|
||||
AC_MSG_ERROR([
|
||||
**** The python bindings for GNOME canvas (gnome-python2-canvas) could not be found.])
|
||||
fi
|
||||
AC_MSG_RESULT(ok)
|
||||
|
||||
AC_MSG_CHECKING(Python bindin for glade)
|
||||
cat > conftest.py <<EOF
|
||||
$pygtk_require
|
||||
|
Reference in New Issue
Block a user