9e7e630de001e91f14292ae39fd4c046976e42d3
GrampsDbBase; (_get_obj_from_gramps_id,_find_from_handle): Only read data if the key exists. * src/GrampsDb/_GrampsDbBase.py (get_gramps_ids,has_gramps_id): Add methods; (check_*_from_handle): Add methods that make sure that object exists in the db, create as necessary, but do not read if it exists; (_check_from_handle): Add lower-level method; (_find_from_handle): Only read data if the key exists. * src/GrampsDb/_GrampsInMemDB.py (get_gramps_ids): Move to GrampsDbBase. * src/GrampsDb/_ReadXML.py: Multiple improvements. svn: r5858
Please read the COPYING file first.
If building from source, also read the INSTALL file (at least through the
"SUPER-SHORT VERSION") before going further.
Requirements
--------------------------------
The following packages *MUST* be installed in order for Gramps to work:
Python 2.3 or greater
Gnome 2.8 or greater
PyGTK2 2.4 or greater
Gnome-python 2.6 or greater
The following packages are *STRONGLY RECOMMENDED* to be installed:
Reportlab Enable creation of PDF documents
http://www.reportlab.com
GraphViz Enable creation of graphs using GraphViz engine
http://www.graphviz.org
Documentation
---------------------------------
Gramps documentation is supplied in the form of XML files, which will be
installed in the GNOME help path(*). Gnome help browser (Yelp) uses these
(properly installed) XML files to display the documentation.
Of course, current HTML documentation can also be found on the gramps website,
http://gramps-project.org/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=7
(*) More precisely, they are installed
in ${prefix}/share/gramps/gnome/help/gramps,
where ${prefix} is given by the --prefix= option
to configure (defaults to /usr).
Building on non-Linux systems: i18n support and GNU make
--------------------------------------------------------
Linux has libintl (GNU gettext) built-in the C library. Other systems
are likely to have libintl as a separate or optional library. Also,
other systems may have a different make utility.
On those systems, like FreeBSD, you must tell configure where to find
the libintl library and the libintl.h include file:
CPPFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure --prefix=/usr/local
Once you have done this, if make fails, use gmake (the name FreeBSD
gives to GNU make) instead.
--------------------------------
Donald Allingham
dallingham@users.sourceforge.net
Description
Languages
Python
96.1%
CSS
2.6%
Roff
0.7%
HTML
0.3%
Genero Forms
0.1%
Other
0.2%