Nl:Bouwen vanuit de broncode

From Gramps
Revision as of 17:20, 24 March 2007 by Bmcage (talk | contribs)
Jump to: navigation, search


Live CD

Ben je geïnteresseerd in GRAMPS, maar ben je bang om het effectief te installeren, of ben je niet in de mogelijkheid het te installeren (niet jouw PC, niet ondersteunde OS, geen internet thuis, ...), dan kun je onze Linux Genealogie CD uitproberen. Deze CD laat je toe met GRAMPS te werken, zonder één bit op je harde schijf te copiëren. Verder staat een brede waaier aan OSS programma's op de CD, allemaal vrij om te gebruiken. Je kan indien je dat wil Ubuntu 6.06 LTS (een linux distributie) en GRAMPS vanuit de CD naar je PC installeren.

Merk op dat voor de Live CD je 256Mb geheugen moet hebben. Alles werkt ook wat trager, gezien het vanuit de cdrom werkt.

Eenvoudig downloaden en installeren van GRAMPS 2.2.6

Vooraleer GRAMPS down te loaden, controleer of de versie van GRAMPS in je distributie niet de recentste is:

  • Debian, (K,X,Edu)Ubuntu, Mepis, Suse:
  apt-get install gramps
  • Fedora:
  yum install gramps

Dit in een console/terminal scherm, of via je pakkettenbeheerder.

Upgraden tot de laatste versie

Indien uw versie van GRAMPS niet de recentste is, bieden sommige gebruikers recente pakketten aan voor sommige distributies:

  • Ubuntu: Op sourceforge, download gramps_zzz.deb en gramps-help_zzz.deb downloaden, en installeren via je pakketbeheerder (rechts klikken op de icoon zou je de actie 'installatie' moeten bieden). Je paswoord is nodig om te installeren.
  • SuSE: Richard Bos onderhoudt de GRAMPS releases voor SuSE's apt opslagplaatsen. De meest recente bevinden zich steeds in zijn opslagplaats. Zie ook deze forum discussie.
  • Mandriva: Pakketten voor Mandriva zijn beschikbaar voor gebruik met urpmi via SeerOfSouls.com.
  • Fedora: Het alternatief tot installeren via de broncode (zie beneden) is het bouwen van een pakket via een rpm spec bestand. Je kan echter ook een binair bestand installeren via fedora testing.
  • Debian: De laatste versie van GRAMPS is beschikbaar via unstable en kan zo via je pakketbeheerder geïnstalleerd worden. Testing wordt 10 dagen na unstable aangepast (uitgenome als er een stabliele Debian release aankomt).

Voetnoot: Sommige Linux distributies kunnen licht afwijkende download en installatie methodes hebben. Gelieve de installatieinstructies specifiek voor jouw distributie raad te plegen alvorens GRAMPS down te loaden.

In alle andere gevallen moet je de broncode downloaden. Dat is pakket zzz.tar.gz, wat je dan manueel kunt installeren om GRAMPS op je PC beschikbaar te stellen. Zie beneden voor details.

Windows, BSD, MacOs, Solaris

Voor Windows is er een experimentele Windows installer. Indien de installer niet de meest recente versie van GRAMPS is, dien je te wachten tot de gebruikers die instaan voor dit stukje software de nodige aanpassingen doen. Zelf GRAMPS via broncode op windows installeren is enkel voor experten. Gebruik dus de installeren!

Voor BSD, MacOS en Solaris zijn er experimentele installatieinstructies, zie hieronder.

Gnome en KDE

Je kan beide gebruiken, maar GRAMPS past iets beter in de GNOME omgeving. Voor KDE zijn er enkele kleine probleempjes ten gevolge van (GTK) problemen die buiten de verantwoordelijkheid van GRAMPS liggen. Controleer de KDE pagina om te weten wat die problemen kunnen zijn.

Extra software waar GRAMPS voordeel uit kan halen

GRAMPS steunt niet op de volgende programma's, maar als je ze hebt kun je je productiviteit zeker verhogen. Extra opties in GRAMPS zijn soms beschikbaar indien ze aanwezig zijn op je PC:

  • Gnome-print: Heeft je de rechtstreekse print en preview mogelijkheden in GRAMPS. Ook kun je volledig geïnternationalizeerde PS en PDF afdrukken bekomen (slavische karakters, ...). Op dit moment moet je het pakket gnome-python-desktop installeren (het kan anders noemen in andere distributies, bv. in Debian python-gnome2-desktop).
  • Spellingscontrole: Installatie van python-gnome2-extras maakt de gtkspell module beschikbaar, met dewelke spellingscontrole gebeurt in de nota's die je in GRAMPS aanmaakt.
  • Graphviz, Inkscape: GRAMPS kan mooie genealogische stambomen maken (relatiegrafieken). Deze worden gegenereerd met het Graphviz pakket, dewelke een schema (dot) specifiëerd, alsook programma's om de gemaakte grafieken te editeren (dotty, beschikbaar vanuit een terminal). Dit heeft jou als onderzoeker meer macht over hoe je stamboom eruit zal zien (reken wel op enkele dagen om het schema goed te begrijpen). Een alternatief is om een grafisch rapport te maken en je stamboom om te vormen in een svg bestand. Dit kun je dan openen/aanpassen/verbeteren via bv Inkscape.
  • ttf-freefont: een handig font dat een grote subset van unicode omvat, en een echt true type font is. Dit font werkt goed met zowel gnomeprint als graphviz afdrukken.

Andere pakketten die ook nuttig kunnen zijn:

  • Yelp: Gnome help browser. Dit laat je toe de GRAMPS handleiding op te roepen en te lezen op je computer (zonder internet connectie).

Installatie via de broncode

General Requirements

GRAMPS 2.0 requires python 2.3 and the gnome-python and pygtk2 packages. The gnome-python module should be 2.6.0 or greater. The pygtk package should be version 2.5.0 or greater.

Obtaining the source

  • The lastest stable version of GRAMPS can be downloaded from the GRAMPS SourceForge page. As of this writing, this is gramps-2.2.6.tar.gz. Extract this file into a directory:
  tar xzvf gramps-zzz.tar.gz

and then go into this directory:

  cd gramps-zzz

  • If you are interested in testing out the latest development version of GRAMPS, it can be obtained from SVN, see Brief introduction to SVN. The SVN version of GRAMPS is potentially very dangerous as it has not been extensively tested. It may be prone to crashing and cause extensive data loss. Please use with caution.

Please, now is the time to read the INSTALL and README files accompanying the code. They come with the most recent information.

Installing from source code on Linux

GRAMPS provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:

  ./autogen.sh

This script will report any missing dependencies. Install these (see also INSTALL file). Building from source code typically requires that the development versions of the required libraries be installed. You might consider setting a prefix path with autogen.sh, see the INSTALL file for instructions. Standard install is in

Once a successful run of autogen.sh has been completed, you can run the typical make procedure.

  make
  make install

Installing from source code on BSD

Installing on BSD is as straithforward as on linux, apart from some minor issues like tools having different names. See the BSD page for details.

Installing from source code on Mac OS X

Some users have successfully installed GRAMPS on Mac OS X. See the Mac OS X page for details. Please, add to the wiki if you successfully installed GRAMPS on OS X.

Installing from source code on Windows

Due to the dependencies, it is difficult to install GRAMPS on Windows. Fortunately some users have made an installer hiding all these details. See the Windows installer page for details. Use this at your own risk! The developers of GRAMPS provide the space for this install page, but are not responsible for it!

Installing from source code on Solaris

Previous versions of GRAMPS have run on Solaris. No recent cases are know to us however. Should you have successfully installed GRAMPS on solaris, please update the Solaris page.