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

From Gramps
Jump to: navigation, search
(Removed all the out-dated instructions and wrote current ones that work)
(MacPorts version)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{languages}}
 
{{languages}}
== Installing gramps for X11 using MacPorts ==
+
==Installing Gramps using MacPorts==
# Install Mac OS X Leopard and update to the latest version.  (X11 will be installed by default on Leopard - older OSes may require it to be manually installed.)
+
 
 +
Current version available from MacPorts is: {{version_MacPort}}
 +
 
 
# Download and install the latest Xcode tools from http://developer.apple.com/technology/Xcode.html  
 
# Download and install the latest Xcode tools from http://developer.apple.com/technology/Xcode.html  
 
# Download and install Macports from http://www.macports.org/install.php
 
# Download and install Macports from http://www.macports.org/install.php
 
# Open Terminal.app from /Applications/Utilities and enter these commands:
 
# Open Terminal.app from /Applications/Utilities and enter these commands:
  sudo port -v selfupdate
+
  sudo port selfupdate
sudo port install gtk2
+
 
  sudo port install gramps
 
  sudo port install gramps
sudo port install python_select
+
 
sudo python_select python25
+
If you are running a recent version of OS X (Snow Leopard, Lion or Mountain Lion, at this point), much of the support software is pre-compiled and will install as quickly as it is downloaded.
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
+
 
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
+
==Running Gramps==
# Now wait 5 minutes to be sure that launchctl has finished
+
 
# When you want to run GRAMPS, enter these commands
+
Use Terminal to start gramps:
open /Applications/Utilities/X11.app
+
 
  gramps
 
  gramps
On older OSes it may be necessary to instead use
+
 
  open-x11 gramps
+
==GraphViz==
 +
 
 +
You may wish to install GraphViz to handle some of the graphical reports that Gramps can produce.  MacPorts can provide you with either graphical or command-line based versions of either a 'stable' or 'development' release of GraphViz.  'graphviz-gui' is recommended unless you know that you have a need for the development version.  Install with:
 +
 
 +
  sudo port install graphviz-gui
 +
 
 +
==Issues==
 +
 
 +
You can search the MacPorts bug tracker for any issues related to the Gramps port:
 +
 
 +
https://trac.macports.org/search?portsummarysearch=on
 +
 
 +
Please don't hesitate to create a ticket if you find a problem that you believe is related to the MacPorts build process.
 +
 
 +
 
 
[[Category:Developers/Packaging]]
 
[[Category:Developers/Packaging]]

Latest revision as of 12:30, 19 February 2013

Installing Gramps using MacPorts

Current version available from MacPorts is: 3.4.7

  1. Download and install the latest Xcode tools from http://developer.apple.com/technology/Xcode.html
  2. Download and install Macports from http://www.macports.org/install.php
  3. Open Terminal.app from /Applications/Utilities and enter these commands:
sudo port selfupdate
sudo port install gramps

If you are running a recent version of OS X (Snow Leopard, Lion or Mountain Lion, at this point), much of the support software is pre-compiled and will install as quickly as it is downloaded.

Running Gramps

Use Terminal to start gramps:

gramps

GraphViz

You may wish to install GraphViz to handle some of the graphical reports that Gramps can produce. MacPorts can provide you with either graphical or command-line based versions of either a 'stable' or 'development' release of GraphViz. 'graphviz-gui' is recommended unless you know that you have a need for the development version. Install with:

sudo port install graphviz-gui

Issues

You can search the MacPorts bug tracker for any issues related to the Gramps port:

https://trac.macports.org/search?portsummarysearch=on

Please don't hesitate to create a ticket if you find a problem that you believe is related to the MacPorts build process.