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)
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{languages}}
 
{{languages}}
== Installing gramps for X11 using MacPorts ==
+
MacPorts is a package manager for Mac. It allows you to easily install and uninstall open-source software onto your Mac.
# 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.)
+
==Installing Gramps using MacPorts==
# Download and install the latest Xcode tools from http://developer.apple.com/technology/Xcode.html
+
 
 +
Gramps version available from MacPorts is: {{version_MacPort}}
 +
 
 +
# Download and install the latest Xcode tools from https://developer.apple.com/xcode/
 
# 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, or later, 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
+
{{stub}}
# Now wait 5 minutes to be sure that launchctl has finished
+
 
# When you want to run GRAMPS, enter these commands
+
If you have been using Version 3 of Gramps and are not ready to upgrade, the last version available was 3.49. You can install it with:
open /Applications/Utilities/X11.app
+
 
 +
  sudo port install gramps3
 +
 
 +
{{man warn|Note|That gramps3 and gramps4 are obsolete.}}
 +
 
 +
==Running Gramps==
 +
 
 +
Use Terminal to start gramps:
 
  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]]

Revision as of 07:51, 9 February 2019

MacPorts is a package manager for Mac. It allows you to easily install and uninstall open-source software onto your Mac.

Installing Gramps using MacPorts

Gramps version available from MacPorts is: 5.1.6

  1. Download and install the latest Xcode tools from https://developer.apple.com/xcode/
  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, or later, at this point), much of the support software is pre-compiled and will install as quickly as it is downloaded.

Gramps-notes.png

This article's content is incomplete or a placeholder stub.
Please update or expand this section.


If you have been using Version 3 of Gramps and are not ready to upgrade, the last version available was 3.49. You can install it with:

sudo port install gramps3
Gnome-important.png
Note

That gramps3 and gramps4 are obsolete.

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.