(Beginning of) a (mini mini) "Howto build Digikam on Mac"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

(Beginning of) a (mini mini) "Howto build Digikam on Mac"

Gerard Milhaud
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 ---


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: (Beginning of) a (mini mini) "Howto build Digikam on Mac"

Gilles Caulier-4
Thanks. I will take a look to your doc (i use also a macbook). 

digiKam is already compiled using macports on my computer (current implementation from git master)

I will look if all is right here and put this document to git repository

Gilles Caulier

2011/8/1 G <g.is@free.fr>
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 ---


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users