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)
(Installing Gramps using MacPorts)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages}}
+
MacPorts is a package manager for Apple Mac providing access to thousands of open source packages. It allows you to easily install, upgrade or even uninstall software onto your Mac.
== Installing gramps for X11 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.)
+
==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}} ( https://ports.macports.org/port/gramps/ )
 +
 
 +
# 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 macOS / 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
+
==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==
 +
 
 +
Please don't hesitate to create a macports [https://ports.macports.org/port/gramps/tickets 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 05:38, 24 March 2022

MacPorts is a package manager for Apple Mac providing access to thousands of open source packages. It allows you to easily install, upgrade or even uninstall software onto your Mac.

Installing Gramps using MacPorts

Gramps version available from MacPorts is: 5.1.6 ( https://ports.macports.org/port/gramps/ )

  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 macOS / 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.

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

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