Revision: 38806 http://trac.macosforge.org/projects/macports/changeset/38806 Author: macsforever2000@macports.org Date: 2008-07-31 15:37:42 -0700 (Thu, 31 Jul 2008) Log Message: ----------- Updated version to 3.0.1. Added new library dependencies. Changes by rjt-gramps@thegrindstone.me.uk. Modified Paths: -------------- trunk/dports/gnome/gramps/Portfile trunk/dports/gnome/gramps/files/patch-configure Modified: trunk/dports/gnome/gramps/Portfile =================================================================== --- trunk/dports/gnome/gramps/Portfile 2008-07-31 22:17:42 UTC (rev 38805) +++ trunk/dports/gnome/gramps/Portfile 2008-07-31 22:37:42 UTC (rev 38806) @@ -3,7 +3,7 @@ PortSystem 1.0 name gramps -version 2.2.8 +version 3.0.1 categories gnome science python genealogy platforms darwin maintainers rjt-gramps@thegrindstone.me.uk @@ -13,26 +13,43 @@ long_description GRAMPS is a genealogy program to store, edit, \ and research genealogical data. It provides \ advanced capabilities for research, analysis, and \ - correlation to potentially fill relationship gaps. + correlation to potentially fill relationship gaps. \ + NOTE 1: Some users have experienced problems importing \ + databases from Gramp version 2. It is advised that \ + databases are exported from Gramps version 2 in \ + Gramps XML format before updating to Gramps version 3. \ + The Gramps XML export from version 2 can then be imported \ + into gramps 3 if the automatic database upgrade does not \ + work.\ + NOTE 2: The WriteCD plugin is unavailable. This relies on \ + GNOME and has not been made to work on OS X. homepage http://www.gramps-project.org/ master_sites sourceforge:gramps -checksums md5 9769ee41ec09d7b55a805940ac20894d -patchfiles patch-configure patch-po-gmsgfmt +checksums md5 95109ffa408bd16870885b4627f357ae + +patchfiles patch-configure configure.args --disable-mime-install \ --disable-scrollkeeper + -configure.env PYTHON=${prefix}/bin/python2.5 +configure.env PYTHON=${prefix}/bin/python2.5 \ + GMSGFMT=${prefix}/bin/msgfmt depends_lib bin:update-mime-database:shared-mime-info \ port:py25-gtk \ port:py25-gnome \ port:py25-bsddb \ - port:py25-hashlib + port:py25-hashlib \ + port:py25-zlib \ + port:gtkspell2 \ + port:aspell-dict-en \ + port:gnome-python-extras + post-activate { system "update-mime-database ${prefix}/share/mime" system "scrollkeeper-update" -} +} Modified: trunk/dports/gnome/gramps/files/patch-configure =================================================================== --- trunk/dports/gnome/gramps/files/patch-configure 2008-07-31 22:17:42 UTC (rev 38805) +++ trunk/dports/gnome/gramps/files/patch-configure 2008-07-31 22:37:42 UTC (rev 38806) @@ -1,35 +1,24 @@ ---- configure.org 2007-01-29 08:56:44.000000000 -0800 -+++ configure 2007-03-28 23:46:35.000000000 -0700 -@@ -6019,8 +6019,8 @@ +--- configure.orig 2008-03-25 04:58:20.000000000 +0000 ++++ configure 2008-03-31 22:48:12.000000000 +0100 +@@ -6519,8 +6519,8 @@ import gnome # Do not import gnome.ui, this can kill python if the # display cannot be opened. Just search it. - import imp - imp.find_module('gnome/ui') -+ # import imp -+ # imp.find_module('gnome/ui') ++ import imp ++ imp.find_module('ui', gnome.__path__) out("gnome.ui") except ImportError: out("NO") -@@ -6073,8 +6073,8 @@ +@@ -6546,8 +6546,8 @@ try: - # Do not import gnome.vfs, this can raise a RuntimeError if the - # display cannot be opened. Just search it. -- import imp -- imp.find_module('gnome/vfs') -+ # import imp -+ # imp.find_module('gnome/vfs') - out("gnome.vfs") - except ImportError: - imp.find_module('gnomevfs') -@@ -6103,8 +6103,8 @@ - try: # Do not import gtk.glade, this can raise a RuntimeError if the # display cannot be opened. Just search it. - import imp - imp.find_module('gtk/glade') -+ # import imp -+ # imp.find_module('gtk/glade') ++ import imp ++ imp.find_module('glade', [imp.find_module('gtk')[1]]) out("gtk.glade") except ImportError: out("NO")