Source code for Gramps Genealogical program
Go to file
Vassilii Khachaturov 32b559c623 Reviving RunAllTests.py on gramps40/trunk
Porting from gramps34 my fix for 6935, 6937, 6938.

Import with full "gramps." qualification from the tests,
to overcome the relative import problem (see bug# 6938 for context).

All testing code has been adjusted to the filename and paths
changes since gramps34.
Same as on gramps34, one test fails still, will investigate if
it is a test or a code bug:
    ERROR: test_buffer_recall
    (ErrorReportAssistant_Test.ErrorReportAssistantTest)
    Test that simple recall of messages works.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./GrampsLogger/ErrorReportAssistant_Test.py", line 60, in
    test_buffer_recall
        rotate_handler=rh)
      File "../gramps/gui/logger/_errorreportassistant.py", line 81, in
    __init__
        self.build_page1()
      File "../gramps/gui/logger/_errorreportassistant.py", line 267, in
    build_page1
        self._reset_error_details()
      File "../gramps/gui/logger/_errorreportassistant.py", line 178, in
    _reset_error_details
        self._error_detail.get_record()))
    AttributeError: 'str' object has no attribute 'get_record'

svn: r22729
2013-07-24 06:23:33 +00:00
data [r22576]Move the HTML resources from gramps/plugins/webstuff 2013-06-23 23:13:13 +00:00
debian existing name for gexiv2 package 2013-04-09 13:45:48 +00:00
docs [r21180]Fix platform detection on OSX 2013-02-24 00:54:18 +00:00
example add some more names to data.gramps (more modern: divorces, etc.) 2013-06-03 20:17:24 +00:00
gramps CLI --config values should be enterable in gramps.ini form (e.g. 0 or 1) 2013-07-24 00:01:12 +00:00
help
images [r22576]Move the HTML resources from gramps/plugins/webstuff 2013-06-23 23:13:13 +00:00
mac Update for Gramps-4.0.1 2013-06-24 18:14:11 +00:00
po updated german translation 2013-07-23 16:34:12 +00:00
scripts 6283: Re-enable optimization flag (-O) for python 2013-02-25 07:26:36 +00:00
test Reviving RunAllTests.py on gramps40/trunk 2013-07-24 06:23:33 +00:00
windows
.get_packages_list.py
.gitignore [r21613]Determine Paths at Runtime 2013-03-11 22:54:20 +00:00
AUTHORS
COPYING
FAQ
Gramps.py [r21613]Determine Paths at Runtime 2013-03-11 22:54:20 +00:00
INSTALL slight tweaks to text, add text property 2013-03-09 17:48:00 +00:00
LICENSE
MANIFEST.in need const.py into source tarball 2013-04-06 09:40:49 +00:00
NEWS ready for 4.0.1 2013-06-24 09:10:05 +00:00
README clarify and qualify release information 2013-04-06 16:56:57 +00:00
RELEASE_NOTES road to 4.0.0 2013-05-21 09:15:43 +00:00
setup.py [r22576]Move the HTML resources from gramps/plugins/webstuff 2013-06-23 23:13:13 +00:00
TestPlan.txt
TODO replace with a link to GEPS page 2012-10-27 13:51:56 +00:00

$Id$

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.7 or greater, Python 3.2 or greater (or both python versions)
   GTK 3.0 or greater
   pygobject 3.3.2 or greater
   cairo, pango, pangocairo with introspection bindings (the gi packages)
   librsvg2 (svg icon view)
   xdg-utils
   bsddb3 is required for Python 3.2 (not python 2.7)

The following package is needed for full translation of the interface
to your language:
   language-pack-gnome-xx 
                    Translation of GTK elements to your language, with
                    xx your language code; e.g. for Dutch you need
                    language-pack-gnome-nl. The translation of the
                    Gramps strings is included with the gramps source.


The following packages are *STRONGLY RECOMMENDED* to be installed:

   osmgpsmap        Used to show maps in the geography view. 
                    It may be osmgpsmap, osm-gps-map, or python-osmgpsmap,
                    but the Python bindings for this must also be present.
                    Without this the GeoView will not be active, see
                    http://gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Main_Window#Geography_Category
                    !! PACKAGERS: unfortunately, at the moment (March 2013),
                    the patches which gramps 4.0 needs osm-gps-map to have
                    are not yet released (as a new osm-gps-map version). The
                    osm-gps-map sources must be dated 6 February 2013 (or
                    later) to have the necessary patches.  You may obtain
                    it from: http://nzjrs.github.com/osm-gps-map/ or else
                    http://sourceforge.net/projects/gramps/files/Dependencies
                    (The necessary version seems to be 0.8 -- or later.)

   GraphViz         Enable creation of graphs using GraphViz engine.
                    Without this, three reports cannot be run.
                    Obtain it from: http://www.graphviz.org

   PyICU            Improves localised sorting in Gramps. In particular, this
                    applies to sorting in the various views and in the
                    Narrative Web output. It is particularly helpful for
                    non-Latin characters, for non-English locales and on MS
                    Windows and Mac OS X platforms. If it is not available,
                    sorting is done through built-in libraries. PyICU is
                    fairly widely available through the package managers of
                    distributions. See http://pyicu.osafoundation.org/
                    (These are Python bindings for the ICU package.)

The following packages are optional

   gtkspell         Enable spell checking in the notes. Gtkspell depends on 
                    enchant. A version of gtkspell with gobject introspection
                    is needed, so minimally version 3.0.0

   rcs              The GNU Revision Control System (RCS) can be used to manage
                    multiple revisions of your family trees. See info at
                    http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree
                    Only rcs is needed, NO python bindings are required

   PIL              Python Image Library is needed to crop
                    images and also to convert non-JPG images to
                    JPG so as to include them in LaTeX output.
                    (For Python3 a different source may be needed.)

   GExiv2           Enables Gramps to manage Exif metadata embedded in your
                    media. Gramps needs version 0.5 or greater.
                    See http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#GExiv2_for_Image_metadata

   ttf-freefont     More font support in the reports

   gir-webkit       GObject introspection data of WebKit is required for the
                    hidden view 'Htmlview', which allows websites to be
                    opened in Gramps. Users can unhide the view in the
                    plugin manager.  A html renderer must be installed to
                    use the view.
                    !! PACKAGERS, Test if on your distribution
                    webkit and Gramps is stable. If you obtain crashes, patch 
                    src/plugins/view/htmlrenderer.py and
                    src/plugins/view/geoview.gpr.py, so as to remove:
                       from gi.repository import WebKit as webkit

   goocanvas2:
                    Required for the (user-downloadable) Graphview plugin

No longer needed in 4.0:
   pygoocanvas, pygtk, pyexiv2
No longer needed in 3.3:
   python-enchant Enchant
No longer needed in 3.2:
   python glade bindings
No longer needed in 3.1:
   yelp             Gnome help browser. At the moment no help is shipped


Documentation
---------------------------------
The User Manual is now maintained on the gramps website,
http://www.gramps-project.org/wiki/index.php?title=User_manual

--------------------------------
The Gramps Project
http://gramps-project.org