https://www.gramps-project.org/wiki/api.php?action=feedcontributions&user=Waider&feedformat=atomGramps - User contributions [en]2024-03-28T15:57:43ZUser contributionsMediaWiki 1.31.3https://www.gramps-project.org/wiki/index.php?title=Download&diff=45963Download2013-05-22T16:17:39Z<p>Waider: /* Mac OS X */</p>
<hr />
<div>__NOTOC__<br />
{{languages}}<br />
== Linux ==<br />
<br />
[[Image:Linux_220x261.png|55px|left]]<br />
<br />
Before upgrading your distribution: Use your '''old version of Gramps''' to [[How_to_make_a_backup#GRAMPS_version_3.3_and_later|backup]] your Family Trees [[#1|[1]]].<br />
<br />
<big><u>[http://sourceforge.net/projects/gramps/files/Stable/{{version}}/gramps-{{version}}.tar.gz Source]</u><br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
<u>[[Download#Linux distributions|via Distributions]]</u><br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
<u>[[Download#Linux:_Install_latest_version|Latest version (advanced users only)]]</u></big><br />
{{-}}<br />
<br />
== MS Windows ==<br />
<br />
[[Image:windows_180x160.png|128px|left]]<br />
<br />
Before download: Use your '''old version of Gramps''' to [[How_to_make_a_backup#GRAMPS_version_3.3_and_later|backup]] your Family Trees [[#1|[1]]].<br />
<br />
<big><u>[http://sourceforge.net/projects/gramps/files/Stable/{{version_windows_AIO32}}/{{filename_windows_AIO32}}.exe Windows Installer (32-bit)]</u><br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
<u>[http://sourceforge.net/projects/gramps/files/Stable/{{version_windows_AIO64}}/{{filename_windows_AIO64}}.exe Windows Installer (64-bit)]</u></big><br />
<br />
After download: double-click to install Gramps.<br />
<br />
Normally, when you try to load your old Family Tree you can allow it to be upgraded if necessary, and it will be opened. However if this fails for any reason, '''Create''' a new Family Tree and '''Import''' the back-up into this new Tree.<br />
<br />
Alternative independent MS Windows version [[#3|[3]]]. <br />
<br />
== Mac OS X ==<br />
<br />
[[Image:macos_200x200.png|128px|left|link=http://sourceforge.net/projects/gramps/files/Stable/{{version_windows_AIO32}}/{{filename_windows_AIO32}}.exe]]<br />
<br />
Before download: Use your '''old version of Gramps''' to [[How_to_make_a_backup#GRAMPS_version_3.3_and_later|backup]] your Family Trees [[#1|[1]]]. Read the [[Mac OS X:Application package|before installation]] instructions.<br />
<br />
Mac OS X 10.5, 10.6 and 10.7&nbsp;&nbsp;&nbsp;&nbsp;<big><u>[http://sourceforge.net/projects/gramps/files/Stable/{{version_Mac}}/Gramps-Intel-{{version_Mac}}-2.dmg Intel]</u></big> <br />
&nbsp;&nbsp;&nbsp;&nbsp; <br />
Mac&nbsp;OS&nbsp;X&nbsp;10.5&nbsp;&nbsp;&nbsp;&nbsp;<big><u>[http://sourceforge.net/projects/gramps/files/Stable/{{version_Mac}}/Gramps-Mac-{{version_Mac}}-2.dmg Power PC]</u></big><br />
<br />
After download: Double-click the .dmg file to mount the disk (note: your browser may do this for you automatically). Next drag the Gramps application to your application folder and double-click to launch it [[#2|[2]]].<br />
<br />
Normally, when you try to load your old Family Tree you can allow it to be upgraded if necessary, and it will be opened. However if this fails for any reason, '''Create''' a new Family Tree and '''Import''' the back-up into this new Tree.<br />
<br />
== Live CD ==<br />
<br />
[[Image:Download_link.png|150px|left|link=http://sourceforge.net/projects/gramps/files/OldFiles/3.2.5/lgenealogy-6.1-desktop-i386.iso]]<br />
'''Linux live CD Demonstration''' [[Linux_Genealogy_CD#Obtaining_the_CD|Obtaining the CD]] (727 MB) [[Linux Genealogy CD|Linux Genealogy CD based on Ubuntu 10.10 (Maverick Meerkat)]]. Allows you to trial a pre-installed Gramps {{Version Linux Live CD}}, without touching anything on the hard drive. To start this boot the Computer with this Live Linux Desktop on a CD in the CD/DVD-ROM Drive. (Requires that you write this image to a CD-ROM using CD-Burner software eg:Nero, Imgburn..). If you are interested in Gramps, but are afraid to actually install it or unable to install it (not your PC, windows, no internet at home, work laptop, ...), then try out our [[Linux Genealogy CD]]. It runs without installing on the hard disk and contains a collection of open source, free, genealogy programs. You can then install [http://www.ubuntulinux.org/ Ubuntu 10.10] and Gramps from the CD anytime you like.<br />
<br />
== Linux distributions ==<br />
<br />
Most linux distributions come bundled with a version of Gramps, though it's not always the most recent version and it may not have been installed by default. Still it is recommended to use the Gramps version that comes with your distribution.<br />
<br />
Below are ways to install Gramps on some of the more popular distributions:<br />
<br />
{| border="1" cellspacing="0"<br />
|Distribution<br />
|GUI pkg manager<br />
|Current versions<br />
|Notes<br />
|-<br />
|'''Linux Mint'''<br />
|Software Manager<br />
|Nadia: Gramps 3.4.0-1<br>Lisa: Gramps 3.3.1-1<br>Isadora: Gramps 3.2.0-1 <br />
|<br />
|-<br />
|''' Mageia '''<br />
|<br />
|<br />
|<br />
|-<br />
|[[Image:Ubuntu_32x32.png]]''' Ubuntu '''<br />
| Software Centre<br />
|Quantal: Gramps 3.4.0-1<br />
|[http://packages.ubuntu.com/quantal/gramps available versions]<br />
|-<br />
|[[Image:Fedora_32x32.png]]''' Fedora ''' <br />
|Add/Remove Software (Gnome) or <br>Software Management (KDE)<br />
|Fedora Rawhide: Gramps 3.4.3<br>Fedora 18: Gramps 3.4.2.<br />
|<br />
|-<br />
|[[Image:Debianopenlogo-32.png]]''' Debian '''<br />
|Add/Remove Software<br />
|squeeze (old stable): Gramps 3.2.3<br>wheezy (stable): Gramps 3.4.0<br>jessie (testing): Gramps 3.4.0<br>[http://packages.debian.org/sid/gramps sid (unstable)]: Gramps 3.4.0<br />
|[http://packages.debian.org/search?keywords=gramps available versions]<br />
|-<br />
|[[Image:Mandriva_32x32.png]]''' Mandriva '''<br />
|Software Management in the <br><br />
Mandriva Linux Control Center<br />
|<br />
|Mandriva 2010.1: Gramps 3.3.1<br>Mandriva 2011: Gramps 3.2.6<br>See also [http://wiki.mandriva.com/en/Docs/Basic_tasks/Installing_and_removing_software#Advanced_use:_Backports_and_candidate_updates backports] and contrib repository<br />
|-<br />
|[[Image:Redhat_32x32.png]]''' Redhat '''<br />
|<br />
|<br />
|<br />
|-<br />
|''' openSUSE ''' <br />
|YaST ??<br />
|openSUSE 12.3: Gramps 3.4.2<br />
|[http://software.opensuse.org/package/gramps available versions]<br />
|-<br />
|'''Slackware'''<br />
|<br />
|Slackware 14.0: Gramps 3.4.2<br />
|[http://pkgs.org/search/?keyword=gramps available versions]<br />
|}<br />
<br />
{{-}}<br />
<br />
== Linux: Install latest version ==<br />
<br />
If your distribution doesn't ship with Gramps or you wish to install a different version than it ships with, you could try to install the latest version of Gramps manually. Instructions are given below for a number of distributions.<br />
<br />
{{man warn|1=Warning|2=This should only be attempted by experienced users, and after you have backed up your Family Tree.<br />
<br />
The version of Gramps that has been included in your distribution will have been tested to work with the components in that distribution. If you try to install a different version of Gramps there is a possibility that the components needed for the new version of Gramps are not available for your distribution, or they are available, but don't work properly. You might not discover that there is a problem till you have already done some work with the new version of Gramps.<br />
<br />
If you already have Gramps installed, and you are only making a 'point' upgrade (i.e. from Gramps x.y.z to x.y.z+1, e.g. from 3.4.3 to 3.4.4), then it is likely but not certain that Gramps will continue to work. However, if the change is much greater, especially if it is a major version change (e.g. from 2.y.z to 3.y.z), then the danger that it does not work properly is much greater.}}<br />
<br />
[[Image:Debianopenlogo-32.png]]'''Debian''' and [[Image:Ubuntu_32x32.png]]''' Ubuntu ''' [http://sourceforge.net/projects/gramps/files/Stable/{{version}}/gramps_{{version}}_all.deb Download the .deb file]. Double-click on the downloaded .deb file<br />
<br />
For other distributions, [http://sourceforge.net/projects/gramps/files/Stable/{{version}}/gramps-{{version}}.tar.gz download the source] and follow the instructions for [[Linux:Build from source]]<br />
<br />
== Notes ==<br />
<br />
[<span id="1">1</span>]<br />
Backup to Gramps XML. You will find backup in the Family Tree menu of recent Gramps versions, otherwise use export in the same menu but '''uncheck privacy options''' in the Exporter Assistant in order to export all data<br />
<br />
[<span id="2">2</span>]<br />
Alternatively, you can click and hold on the disk icon at the top of the window of the mounted disk, and then option-drag to the Applications folder. This will create a new folder containing all the files, including the README and NEWS.<br />
<br />
[<span id="3">3</span>]<br />
An alternative independent version is [http://sourceforge.net/projects/portableapps/files/Gramps%20Portable/ GrampsPortable_{{version_windows_portable}}.paf.exe] (20.3 MB) <br />
[http://portableapps.com/apps/education/gramps_portable Portable Gramps from PortableApps.com] includes all dependencies required for Windows. ''Note:You can install it on C: then to run Gramps type C:\PortableApps\GrampsPortable\GrampsPortable.exe (Or the path you installed it to) or make a shortcut to that file on your desktop or start-menu.'' By Bart.S - '''[http://portableapps.com/blog/84601 Please report issues to the author.]''' (2012-09-07)<br />
<br />
[[Category:Documentation]]</div>Waiderhttps://www.gramps-project.org/wiki/index.php?title=Mac_OS_X:Build_from_source:Application_package&diff=45735Mac OS X:Build from source:Application package2013-05-15T22:12:20Z<p>Waider: Fix trunk svn URL</p>
<hr />
<div>==Building GRAMPS from Scratch==<br />
<br />
Building Gramps from scratch is useful to produce a version not currently available as a binary (for example, a PPC version) or to produce a complete environment for debugging and further development, including debugging of all the C libraries Gramps uses, like gtk.<br />
<br />
This is a command-line process. It's not too difficult, but you'll be using Terminal.app, not XCode. Unfortunately, Gtk has so far resisted efforts to get it to successfully cross-compile PPC on Intel or vice-versa, so the whole process must be repeated on machines of each architecture. '''''WebKit will not build on 10.4 (Tiger) or earlier systems, nor will it build against a 10.4 SDK. You must be running 10.5 (Leopard) or newer for this procedure to succeed!'''''<br />
<br />
You'll need XCode, Apple's development environment. There's a copy on your OS X distribution DVD, or you can download the latest version from [http://developer.apple.com/technologies/xcode.html Apple], though you must register as a Mac developer. For Lion users, XCode is available for free from the App Store.<br />
<br />
Next, read [http://live.gnome.org/GTK%2B/OSX/Building the build instructions for Gtk-OSX], '''''especially the Prerequisites'''''. Download and run the [http://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh gtk-osx-build-install.sh] script, which will set up jhbuild for you.<br />
<br />
''It's important that jhbuild is not confused by any existing MacPorts or Fink installation.'' For this reason, it can be convenient to create a new Mac User account and log in to that account.<br />
<br />
If you are building for distribution, you'll need to set up your build system to build for Leopard (OS X 10.5) and later. For those using Leopard or Snow Leopard, this is straightforward: Just set up for SDK 10.5 in .jhbuildrc-custom. With more recent OS X versions, you'll need to [https://live.gnome.org/GTK%2B/OSX/Building#Installing_XCode_3_on_XCode_4_systems use Xcode 3].<br />
<br />
If you're not familiar with using the unix command line, you might find the frequent use of "~" below puzzling. It refers to the user's home directory (mine is /Users/john; if your name is John, then yours probably is too.) You can use it that way in commands if your current directory is somewhere else.<br />
<br />
jhbuild is installed in ~/Source/jhbuild, and produces a binary which appears in ~/.local/bin. You'll want to add ~/.local/bin to your path:<br />
export PATH=~/.local/bin:$PATH<br />
<br />
Next, you'll need to get a local copy of the gramps mac configuration stuff from svn (if you already have a gramps svn sandbox, then skip this step and substitute the path to it where appropriate below). This varies by version. For the current release branch at the time of this writing:<br />
svn co https://gramps.svn.sourceforge.net/svnroot/gramps/branches/maintenance/3.4/mac gramps-mac<br />
That will make a current copy from the repository in your current directory, which we'll assume to be ~.<br />
<br />
The Gtk-OSX build instructions are very straightforward, but we need to deviate from them a bit to keep from doing things more than once. Run the following commands from the terminal:<br />
<br />
jhbuild bootstrap<br />
jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-bootstrap berkeleydb python meta-gtk-osx-core meta-gtk-osx-python gramps<br />
<br />
jhbuild by default puts everything it is building in ~/gtk (controlled by the hidden files ~/.jhbuildrc and ~/.jhbuildrc-custom ). ~/gtk/source contains the downloaded sources, and ~/gtk/inst contains the built libraries and applications. More is built than is needed in the final Gramps application - for example, the build tools are themselves built.<br />
<br />
At this point, you can do<br />
<br />
jhbuild shell<br />
gramps<br />
<br />
at the command line and run gramps. Most everything will work (see the note about spelling dictionaries above).<br />
<br />
Once you've done this once, you can generally get away with just running <br />
jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-core meta-gtk-osx-python gramps<br />
to update everything that has been changed since the previous build. Most of the time nothing will have changed except gramps itself.<br />
<br />
If you want to build the svn trunk, you should use the trunk setup files:<br />
svn co http://sourceforge.net/p/gramps/code/HEAD/tree/trunk/mac/ gramps-mac-svn<br />
and a different set of targets:<br />
jhbuild --moduleset=~/gramps-mac/gramps.modules build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 berkeleydb4.8 python2.7 meta-gtk-osx-python-gtk3 gramps-svn<br />
Should you want both installed, you'll need to set up separate prefixes in .jhbuildrc-custom; gramps doesn't version its installations, so the most recent will overwrite the previous build.<br />
<br />
== Gramps 3.3 and EXIF Editing ==<br />
<br />
Gramps 3.3.0 introduced a new module, EXIF Editing, which has two tricky dependencies, which JHBuild doesn't know how to handle yet. In order to evade the persnickityness of jhbuild's dependencies, they're given as "soft" dependencies -- you have to add them to your modules list. If you don't, Gramps will still build fine, you'll just get a warning notice about Exiv2 not being installed.<br />
<br />
'''Warning:'''Boost-python will not successfully build with either the 10.6 (Snow Leopard) or 10.7 (Lion) SDKs. With 10.7 it won't build at all; with 10.6, it will build but will crash Python on import. Consequently you can't build EXIF editing using Lion, since earlier SDKs are not available.<br />
<br />
The first is [http://www.boost.org/libs/python/doc/ Boost-python], a python interface for C++ provided as part of [http://www.boost.org/ Boost]. It uses its own build system, bjam. Since jhbuild doesn't know how to use bjam, it will download the package for you, then error out. Select item 4, "start a shell", and do the following:<br />
cd tools/build/v2<br />
./bootstrap.sh --with-toolset=darwin<br />
./bjam --prefix="$PREFIX" install<br />
cd ../../..<br />
bjam toolset=darwin address-model=32 --prefix=$PREFIX --with-python --cmd-or-prefix=$PYTHON cxxflags="$CXXFLAGS" cflags="$CFLAGS" linkflags="$LDFLAGS" install<br />
<br />
Once that's done, quit the shell and select "2" (ignore error) twice to move on to the next library, [http://tilloy.net/dev/pyexiv2/ PyExiv2], which also uses a different build system, [http://www.scons.org/ SCons]. The SCons folks are bright enough to use distutils, which JHBuild ''can'' handle, so that gets built and installed for you. JHBuild will stop again after downloading and extracting PyExiv for you, so once again select "4" to start a shell and run the following:<br />
export CXXFLAGS="$CXXFLAGS -I$PREFIX/include"<br />
export CFLAGS="$CFLAGS -I$PREFIX/include"<br />
export LDFLAGS="$LDFLAGS -lpython2.7"<br />
scons<br />
scons install<br />
ln $PREFIX/lib/python2.7/site-packages/libexiv2python.dylib $PREFIX/lib/python2.7/site-packages/libexiv2python.so<br />
install_name_tool -id python2.7/site-packages/libexiv2python.dylib $PREFIX/lib/python2.7/site-packages/libexiv2python.dylib<br />
Quit the shell and pick "2" a few more times to move on to the next module.<br />
<br />
== Bundling ==<br />
The next step is to create an application bundle. You'll need gtk-mac-bundler, so follow the instructions in the [http://live.gnome.org/GTK%2B/OSX/Bundling Gtk-OSX Wiki] to download and install it.<br />
<br />
You may need to edit <tt>~/gramps-mac/Info.plist</tt> to update the version number and copyright information.<br />
<br />
Now open a jhbuild shell and run the bundler:<br />
jhbuild shell<br />
chmod +w $PREFIX/lib/libpython2.6.dylib<br />
gtk-mac-bundler ~/gramps-mac/gramps.bundle<br />
<br />
<br />
You'll have an application bundle named Gramps.app on your desktop.<br />
<br />
== Packaging ==<br />
<br />
To make an uploadable disk image, create a folder named "Gramps-arch-version", replacing "arch" with either Intel or PPC and "version" with the current version number. Drag your app bundle to this directory. Open your build directory and copy (option-drag) the files "FAQ", "COPYING", "README", and "NEWS" to the Gramps folder you just made. Rename each to have a ".txt" extension so that they're readable with QuickLook. You might also rename COPYING to License.txt so that it's meaning is more clear to users who aren't familiar with the GPL.<br />
<br />
Now open Applications>Utilities>Disk Utility and select File>New Image From Folder and select your folder, then approve the name and location. You'll have a dmg ready for distribution.<br />
<br />
Good Luck!<br />
<br />
'''Note:''' The 3.1.2 installer left out two files:<br />
#''_strptime.py''. You can get the file from [http://www.gramps-project.org/bugs/view.php?id=3177 here].<br />
#''keysyms.py''. You can get the file from [http://www.gramps-project.org/bugs/view.php?id=3157 here].</div>Waiderhttps://www.gramps-project.org/wiki/index.php?title=User_talk:Waider&diff=45734User talk:Waider2013-05-15T22:04:02Z<p>Waider: Blanked the page</p>
<hr />
<div></div>Waider