svn: r2580
This commit is contained in:
Don Allingham 2004-01-01 22:12:50 +00:00
parent 1cc91d1d70
commit 5e135e7f49
3 changed files with 31 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2004-01-01 Don Allingham <dallingham@users.sourceforge.net>
* src/PedView.py (PedigreeView.load_canvas): switched anchor label from a label
to a CanvasText
* src/const.py.in: eliminate zipcmd
* src/docgen/OpenSpreadSheet.py: eliminate the need for ZIP, use python
zipfile module instead

27
gramps2/configure vendored
View File

@ -3274,6 +3274,33 @@ fi
echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
echo "$as_me:$LINENO: checking Python bindings for GNOME VFS" >&5
echo $ECHO_N "checking Python bindings for GNOME VFS... $ECHO_C" >&6
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
{ { echo "$as_me:$LINENO: error:
**** The python bindings for GNOME canvas (gnome-python2-canvas) could not be found." >&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 <<EOF

View File

@ -1,5 +1,5 @@
%define ver 1.0.0
%define rel 0.CVS20031230
%define rel 0.CVS20040101
%define prefix /usr
%define localstatedir /var/lib
# Ensure that internal RPM macros for configure & makeinstall
@ -22,6 +22,7 @@ Requires: python >= 2.2
Requires: gnome-python2 >= 1.99
Requires: gnome-python2-gconf >= 1.99
Requires: gnome-python2-canvas >= 1.99
Requires: gnome-python2-gnomevfs >= 1.99
Requires: pygtk2 >= 1.99
Requires: pygtk2-libglade >= 1.99