[Digikam-users] building it for Mac OS / Windows
Stefan Aschenbach
stefan at binaervarianz.de
Mon Aug 3 13:50:25 BST 2009
Hi there,
I've also managed to build on OS X.
I had to jump just some more hoops to get it going. Some dependencies
of kde need a ggc 4.2 to compile,
while on Mac OS 10.4 (Tiger) the newest one to be delivered with
xcode is 4.0.
So you have to get the apple-gcc42 package of macports and then start
the compilation by typing
sudo port install digikam configure.compiler = apple-gcc-4.2
After that (and of course patching lqr as mentioned) digikam builds.
Before starting it you have to register some processes and start some
daemons as told
be the notes to all the kde packages you installed with macports.
One file to load was a .plist which actually won't load right away.
There was a active=no line in it which I had to change to make it work.
Digikam starts then if you manage to locate the executable in
/opt/local/var/macports/software/digikam/1.0.0-beta3_0+darwin_8/
Applications/MacPorts/KDE4
But it's unstable as hell. I usually get about 5 clicks until
something makes it go down. Last time it took quite an amount of OS X
with it, leaving me at a new login window.
Therefor my unsaved notes in a text editor were lost and the command
line given above is made up from memory.
If I just be very carefully with my clicks it just stops loading
preview thumbnails after about 5 pictures.
As the whole build with all the dependencies took about two days, I
gave it a try on a windows machine while waiting.
Of course there is no prebuild binary either. The website says so,
but just redirects to the kde-on-windows site offering in 'kde
installer', which just as macports compiles things from source.
Albeit said on the website, there is no beta3 package availiable
within the 'kde installer', so I took the beta1.
It actually builds and starts! But it kept spitting error messages
about not being able to connect to the dbus server with every other
dialog box. That's probably the kde installers fault, which just
didn't succeeded in preparing the whole kde environment.
If this is the state of being for the final release of digikam 1.0.0,
you better scratch that 'multi platform' off the website. Digikam is
strictly mono-platform, and this platform is KDE.
Whatever the KDE guys are saying, just because QT4 would enable it to
run on other platforms than a KDE-based linux desktop theoretically,
it is just not true at the moment.
So, while giving the older, non-beta releases another try, I have two
questions:
Is anybody testing and developing on Mac OS X or even windows
machines and therefor interested in bug reports?
Will the whole multi platform thing in general be actively supported
by digikam, or just used as a sort of marketing buzzword and then
rolled off to the KDE guys?
Thanks for the work done anyway, and willing to deliver those bug
reports if wanted,
Stefan
Am 30.07.2009 um 23:20 schrieb Vlado Plaga:
> Am Thu, 30 Jul 2009 18:25:01 +0200
> schrieb Vlado Plaga <rechner at vlado-do.de>:
>
>> I haven't finished compiling "beta 3" on Mac OS yet, but since that
>> might take a few hours, I'm already sending this e-mail now. At least
>> it downloaded the sources and started compiling.
>
> Now compilation finished, but the program again crashes immediately
> after startup.
>
> Note: I had to manually patch
> digikam-1.0.0-beta3/libs/3rdparty/lqr/lqr_energy_priv.h
>
> like this:
> http://trac.macports.org/browser/trunk/dports/graphics/liblqr/files/
> patch-lqr__lqr_energy_priv.h?rev=51312
>
> The author of liblqr is aware of the problem, so in the next
> release it
> should be fixed:
> http://liblqr.wikidot.com/forum/t-169529/small-patch-needed-to-
> compile-liblqr-on-mac-os:change-upstream-package
>
> I guess it is something of a philosophical question why digiKam brings
> its own private version of a library, instead of using the system
> version (which in MacOS/MacPorts is already patched)... or why
> functionality such as this is included at all, although everyone using
> digiKam might as well use the Gimp for complex image editing
> functions.
>
> Regards,
> Vlado
>
> --
>
> Vlado Plaga __o
> http://vlado-do.de _o/\<,_
> update: 14.03.2009 (U)/ (u)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
More information about the Digikam-users
mailing list