Manual for compiling digikam on Mac OS X 10.8

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

Manual for compiling digikam on Mac OS X 10.8

Sander de Kievit
Hi!

I just joined this mailing list, so I don't know how many mac users there are. Nonetheless, it seemed the best place to share my findings on compiling digikam on Mac OS X 10.8.

MacPort issues:
Basically, one can follow Gilles' tutorial apart from two lines:
sudo port install qt4-mac +mysql
sudo port install kde-baseapps

qt4-mac doesn't accept the +mysql flag any longer. I am unsure whether one needs to install mysql separately (I did) or whether you can simply leave it out.
kdelibs4 (part of kde-baseapps) doesn't compile without the flag: configure.compiler=llvm-gcc-4.2

So, in my case the dependencies were installed using the following lines:
sudo port install q4-mac
sudo port install mysql5 mysql5-server
sudo port install kdelibs4 configure.compiler=llvm-gcc-4.2
sudo port install opencv
sudo port install marble
sudo port install oxygen-icons
sudo port install sane-backends
sudo port install libgpod
sudo port install libgphoto2

I also added ImageMagick, but I don't think that is strictly necessary.

From here on you can install the latest tar ball (2.9). The version from the repository (unstable 3.0) does not compile currently, so don't run ./download-repositories, but start from ./bootstrap-macports.

One final thing that threw we off was that I was missing the kipi-plugins when I first ran digikam. Solution was easy: start kbuildsycoca4 and restart digikam!

Good luck building!

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

Re: Manual for compiling digikam on Mac OS X 10.8

brad

On Sep 14, 2012, at 6:39 PM, Sander de Kievit <[hidden email]> wrote:

> sudo port install qt4-mac +mysql

on 10.8, i believe there is no port variant for qt4 mysql.

try:  
sudo port install qt4-mac
sudo port install qt4-mac-mysql55-plugin

Good Luck, cheers,
 - b


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

Re: Manual for compiling digikam on Mac OS X 10.8

Gilles Caulier-4
Sander, Brad,

Please give me a patch against my tutorial to update file in Git repository.

https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/README.MACOSX

Thanks in advance

Gilles Caulier

2012/9/15 brad <[hidden email]>:

>
> On Sep 14, 2012, at 6:39 PM, Sander de Kievit <[hidden email]> wrote:
>
>> sudo port install qt4-mac +mysql
>
> on 10.8, i believe there is no port variant for qt4 mysql.
>
> try:
> sudo port install qt4-mac
> sudo port install qt4-mac-mysql55-plugin
>
> Good Luck, cheers,
>  - b
>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Manual for compiling digikam on Mac OS X 10.8

brad
Hi Gilles,

I attached a small patch for the read me. Changes are what i mentioned in my last email, and an update to download Xcode from the app store. I don't know if this is the full list of necessary ports and i don't know how to test that w/o having to completely reinstall my entire port system, which could probably take days. Next time i build a system, i'll make note on the needed ports.

I wonder if this kind of documentation might be more useful in a wiki or some kind of user-generated content.

Cheers,
 - b





On Sep 15, 2012, at 2:18 AM, Gilles Caulier <[hidden email]> wrote:

> Sander, Brad,
>
> Please give me a patch against my tutorial to update file in Git repository.
>
> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/README.MACOSX
>
> Thanks in advance
>
> Gilles Caulier
>
> 2012/9/15 brad <[hidden email]>:
>>
>> On Sep 14, 2012, at 6:39 PM, Sander de Kievit <[hidden email]> wrote:
>>
>>> sudo port install qt4-mac +mysql
>>
>> on 10.8, i believe there is no port variant for qt4 mysql.
>>
>> try:
>> sudo port install qt4-mac
>> sudo port install qt4-mac-mysql55-plugin
>>
>> Good Luck, cheers,
>> - b
>>
>>
>> _______________________________________________
>> 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

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

README.MACOSX.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Manual for compiling digikam on Mac OS X 10.8

Gilles Caulier-4
Patch applied.
Thanks

Gilles Caulier

2012/9/16 brad <[hidden email]>:

> Hi Gilles,
>
> I attached a small patch for the read me. Changes are what i mentioned in my last email, and an update to download Xcode from the app store. I don't know if this is the full list of necessary ports and i don't know how to test that w/o having to completely reinstall my entire port system, which could probably take days. Next time i build a system, i'll make note on the needed ports.
>
> I wonder if this kind of documentation might be more useful in a wiki or some kind of user-generated content.
>
> Cheers,
>  - b
>
>
>
>
>
> On Sep 15, 2012, at 2:18 AM, Gilles Caulier <[hidden email]> wrote:
>
>> Sander, Brad,
>>
>> Please give me a patch against my tutorial to update file in Git repository.
>>
>> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/README.MACOSX
>>
>> Thanks in advance
>>
>> Gilles Caulier
>>
>> 2012/9/15 brad <[hidden email]>:
>>>
>>> On Sep 14, 2012, at 6:39 PM, Sander de Kievit <[hidden email]> wrote:
>>>
>>>> sudo port install qt4-mac +mysql
>>>
>>> on 10.8, i believe there is no port variant for qt4 mysql.
>>>
>>> try:
>>> sudo port install qt4-mac
>>> sudo port install qt4-mac-mysql55-plugin
>>>
>>> Good Luck, cheers,
>>> - b
>>>
>>>
>>> _______________________________________________
>>> 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
>
>
> _______________________________________________
> 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