Difference between revisions of "Mac OS X:Build from source"

From Gramps
Jump to: navigation, search
(MacPorts)
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Developers/Packaging]]
+
A fully packaged binary application for Gramps on Mac is available for both Intel and PPC and its use is described at [[Mac OS X:Application package]].
There are three different ways of installing Gramps on Mac OS X. The two linked pages provide step by step instructions.
+
 
 +
This page describes a number of different ways of building and installing Gramps from source on Mac OS X. The linked pages provide step by step instructions.
 +
 
 +
=== GTK-OSX version ===
 +
The fully packaged binary application uses [http://live.gnome.org/GTK%2b/OSX GTK-OSX] and is the newest port. It installs as an app bundle which you can double-click in Finder to launch. The build process is almost fully automated, just follow the [[Mac OS X:Build from source:Application package|step-by-step instructions]]. Your mac came with everything you need except [http://developer.apple.com/TOOLS/Xcode/ Apple Xcode], which is free from the App Store for Lion users and is on your distribution DVD for earlier versions of OS X.
 +
 
 +
=== MacPorts X11 version ===
 +
MacPorts is a packaging system for automatically downloading, compiling and installing Unix software on Mac OS X.  It makes the process simple and almost entirely automatic.
 +
 
 +
See [[Mac OS X:Build from source:MacPorts]] on the installation process.
 +
 
 +
=== Fink X11 version ===
 +
Similar to MacPorts, see [[Mac OS X:Build from source:fink]].
 +
 
 +
=== Native version ===
  
=== Native Mac OS X ===
+
An older attempt on PPC mac is described [[Mac OS X:Build from source:Native OS X|here]]
  
You can install it as a [[native Mac OS X]] application which means that Gramps windows have the normal appearance of Macintosh Windows. This choice has fewer dependencies on installing other components. However, it has the disadvantage that drag and drop does not work, and there are issues with mouse clicks going missing, which make it much more difficult to enter information like sources which apply to many different people in your family tree. This is also in some ways a less mainstream approach so it may be harder to find help if you get into difficulties.
+
=== Questions ===
  
=== Mac OS X / X11 ===
+
==== Are there any other options? ====
  
The other choice is to install it as a [[Mac OS X X11]] application which means that the Gramps windows have an X11 appearance. You could download and install [http://www.openoffice.org/ OpenOffice] which is very easy to do and will show you what an X11 application looks like. Installing OpenOffice will not be wasted, because you will need it to be able to open reports from Gramps.
+
=====(1) Virtual Server=====
  
Another option is to download [http://www.neooffice.org/ NeoOffice], which is a port of OpenOffice using Java so that it looks like a native Mac OS X application.
+
Another option is to install a virtual server on your Mac (like VMware Fusion), create a virtual machine running Linux, and install Gramps in there.  A Gnome based distro like Ubuntu would be a good choice for the Linux system.
  
=== Source Install Options ===
+
=====(2) Compile Gramps from source without a package manager =====
  
One can always install Gramps from scratch using the source code. This cane be done in one of three ways:
+
If you have all of the dependent libraries installed already, this should be possible. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.
# manually
 
# using fink
 
# using [http://www.macports.org/ macports]
 
  
==== Source Code ====
+
=====(3) Bootcamp =====
If you have all of the dependent libraries installed already, this should be straightforward. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.
 
  
If, however, you do not have the dependencies installed, I would recommend installing Gramps through either Fink or Macports.
+
If you have Bootcamp installed, you can use the Windows version of Gramps.
  
==== Fink ====
+
==== Is this going to be too complicated for me? ====
Installing Gramps as an X11 application is achieved by downloading and installing the packages on which Gramps depends using software called fink. The process is a bit longwinded, but most of the features of Gramps work, and drag and drop and mouse clicks work very well. If you choose this route, you may be able to get some help both from the Gramps community and the fink community. Detailed instructions can be found here: [[Mac OS X X11]].
 
  
==== MacPorts ====
+
The GTK-OSX option can build Gramps from source on the Desktop without typing a single character! The X11 MacPorts option is very straight forward. The other options may be more complicated.
MacPorts is essentially a similar type of program to fink. However, it was created (I believe) specifically for the darwin operating system base, upon which Mac OS X is based.  
 
  
See [[Mac_OS_X_X11#Installing_gramps_for_X11_using_MacPorts|detailed instructions ]] on the installation process.
+
[[Category:Developers/Packaging]]

Latest revision as of 07:46, 3 October 2014

A fully packaged binary application for Gramps on Mac is available for both Intel and PPC and its use is described at Mac OS X:Application package.

This page describes a number of different ways of building and installing Gramps from source on Mac OS X. The linked pages provide step by step instructions.

GTK-OSX version

The fully packaged binary application uses GTK-OSX and is the newest port. It installs as an app bundle which you can double-click in Finder to launch. The build process is almost fully automated, just follow the step-by-step instructions. Your mac came with everything you need except Apple Xcode, which is free from the App Store for Lion users and is on your distribution DVD for earlier versions of OS X.

MacPorts X11 version

MacPorts is a packaging system for automatically downloading, compiling and installing Unix software on Mac OS X. It makes the process simple and almost entirely automatic.

See Mac OS X:Build from source:MacPorts on the installation process.

Fink X11 version

Similar to MacPorts, see Mac OS X:Build from source:fink.

Native version

An older attempt on PPC mac is described here

Questions

Are there any other options?

(1) Virtual Server

Another option is to install a virtual server on your Mac (like VMware Fusion), create a virtual machine running Linux, and install Gramps in there. A Gnome based distro like Ubuntu would be a good choice for the Linux system.

(2) Compile Gramps from source without a package manager

If you have all of the dependent libraries installed already, this should be possible. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.

(3) Bootcamp

If you have Bootcamp installed, you can use the Windows version of Gramps.

Is this going to be too complicated for me?

The GTK-OSX option can build Gramps from source on the Desktop without typing a single character! The X11 MacPorts option is very straight forward. The other options may be more complicated.