Bug 212295

Summary: Do not compile under Mac OS X
Product: [Applications] digikam Reporter: Jan Gosmann <jan>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, jan, languitar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fink Packages   
OS: Other   
Latest Commit: Version Fixed In: 0.8.0
Attachments: Patch for CMakeLists.txt adding if-clause to prevent acquireimages from being build on Mac OS.

Description Jan Gosmann 2009-10-29 16:37:57 UTC
Version:           0.2.0 (using KDE 4.3.2)
Compiler:          i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) 
OS:                OS X
Installed from:    Mac OS X (Fink) Packages

kipi-plugins does not compile under Mac OS X. I tried it under Snow Leopard, but it will probably effect all Mac OS versions.

The problem is, that kipi-plugins get in a way configured, that it tries to build the aquireimages plugin which uses ksane. Ksane is not available for Mac OS as far as I know.

It seems to me that a if-clause was forgotten in the CMakeLists.txt for excluding aquireimages on Mac systems. I will attach a patch to this bug report adding the missing if-clause to CMakeLists.txt.

However this patch is not sufficient to compile kipi-plugins under Mac OS X, because dngconverter fails also to build. But that seems to be another problem and I will file another bug report for that.
Comment 1 Johannes Wienke 2009-10-29 16:40:54 UTC
Are you sure about version 0.2.0? That version is really old.
Comment 2 Jan Gosmann 2009-10-29 16:41:28 UTC
Created attachment 37949 [details]
Patch for CMakeLists.txt adding if-clause to prevent acquireimages from being build on Mac OS.
Comment 3 Jan Gosmann 2009-10-29 16:44:41 UTC
Yes, I'm sure about the version. It's the newest (stable) version of kipi-plugins for KDE 4 released at March 22nd. See the topmost post at http://www.kipi-plugins.org/drupal/
Comment 4 caulier.gilles 2009-10-29 16:46:11 UTC
I'm not agree with this patch. AcquireImages plugin compile fine under Linux too

Also, libksane from trunk use Twain for windows. Twain iterface also exist from MAC, so current code from svn of libksane must compile fine under MAC, and AcquireImage too...

Gilles Caulier
Comment 5 caulier.gilles 2009-10-29 16:47:42 UTC
No. kipi-plugins web site is fully outdated. all fresh news are posted to digikam.org web site. Please, update...

http://www.digikam.org/drupal/node/481

Gilles Caulier
Comment 6 Jan Gosmann 2009-10-29 16:51:12 UTC
I just noticed, that I filled in the wrong platform. Normally I use the Macports packages (therefore I was a bit to quick to chose this option). In fact I used the source tarball to compile it.

Can someone change the platform of the bug report?

I'm sorry for this mistake.
Comment 7 Jan Gosmann 2009-10-29 16:55:38 UTC
Ok, probably you can close this bug. I did not know that http://www.kipi-plugins.org/drupal/ is outdated. It would be good to make this clear at that website, because it is also the first hit if you use Google. But thanks for pointing me to the right version!