[Digikam-users] (Beginning of) a (mini mini) "Howto build Digikam on Mac"

G g.is at free.fr
Mon Aug 1 16:38:50 BST 2011


Hi,

As I have promised when i ask some help on this mailing list, here's a 
first attempt to build a little howto to compile digikam on macosx via 
macports...

It works for me on my Mac Book Pro Snow Leopard.

--- INSTALL DIGIKAM on MAC OSX mini mini howto ---

There is no dmg package for digikam, you have to build it using the 
Macports system, derivated from BSD port system.
So the first thing is installing Macports
(the definitive way to know what you have to know about Macports is here 
: http://guide.macports.org/, especially the "using macports" section : 
http://guide.macports.org/#using)
For installaing Macports you have to :
- Install X11 : http://guide.macports.org/#installing.x11
- Install xcode : http://guide.macports.org/#installing.xcode
Then you can install Macports : 
http://guide.macports.org/#installing.macports.binary

You are ready to install digikam :
cd /opt/local/var/macports/
sudo port install digikam

Now, you can go to have 10 or 15 coffees, write a PHD thesis, travel 
some months and you're done, digikam and ALL these dependancies have 
been built... (10h on a MacBook Pro 2009 4GB RAM).

At the end of process, you have the following message
> ##########################################################
> # Don't forget that dbus needs to be started as the local
> # user (not with sudo) before any KDE programs will launch
> # To start it run the following command:
> # launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
> ##########################################################
>
> ######################################################
> #  Programs will not start until you run the command
> #  'sudo chown -R $USER ~/Library/Preferences/KDE'
> #  replacing $USER with your username.
> ######################################################

So you have to do what Mister Mac tells to you :
But, warning, the following command (the one Mister Mac wants you to 
launch...) outputs "nothing to load"

launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist

You have to add the "-w" option
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

My username is "g", so
sudo chown -R g ~/Library/Preferences/KDE
sudo chown -R g /Library/LaunchAgents/org.freedesktop.dbus-session.plist

You can launch digikam via double click in App 
Folder->MacPorts->KDE4->digikam

ENJOY !!!!!!!!!!

--- END OF INSTALL DIGIKAM on MAC OSX mini mini howto ---





More information about the Digikam-users mailing list