Opened 14 years ago

Closed 13 years ago

#25176 closed update (duplicate)

digikam outdated

Reported by: nerdling (Jeremy Lavergne) Owned by: jgosmann (Jan Gosmann)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cgilles (HumanDynamo), thomas@…, julien@…, nicolabrisotto@…
Port: digikam

Description

Please update digikam.

Attachments (1)

trace.txt (4.0 KB) - added by cgilles (HumanDynamo) 13 years ago.
kdegraphics trace of cmake config with Qt4 detection error

Download all attachments as: .zip

Change History (40)

comment:1 Changed 14 years ago by jgosmann (Jan Gosmann)

digikam 1.3.0 depends on very new versions of libkdcraw and another libary which are not yet included in the kdegraphics4 port. Therefore I am not able to provide a Portfile for the current version until kdegraphics4 gets updated to the next version.

(Maybe there is a possibility to create ports for these two libraries which do not conflict with kdegraphics4, but at the moment I do not have time to figure that out. Especially if it is needed only temporary.)

Moreover I read the digikam.org RSS feed and get therefore notified about new version. Therefore you do not necessarily have to inform me about them. But feel free to do so, if it benefits you for some reason.

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

I'm presently running only on a tethered connection to my phone. I'll hopefully be able to examine the kdegraphics4 port tomorrow and see what you're referencing. Kdegraphics4 is at 4.4.4, though. What version are you referring to?

comment:3 Changed 14 years ago by jgosmann (Jan Gosmann)

The digikam readme says the following:

libkexiv2       >= 1.1.0                      http://www.digikam.org/sharedlibs          Version from trunk KDE svn repository. Will be released with KDE 4.2. Exiv2 >= 0.18.2 s
hared library recommended.
libkdcraw       >= 1.1.0                      http://www.digikam.org/sharedlibs          Version from trunk KDE svn repository. Will be released with KDE 4.4.2.

In fact that is a bit strange, because regarding this the libs should already be included. But for me it seems they are not, because:

  • digikam cmake configuration reports these libs as missing
  • I have kdegraphics4 4.4.4_0 installed
  • When executing "sudo port contents kdegraphics4 | grep libkdcraw." I can locate the following files which seem to me of version 0.8.0:
      /opt/local/lib/libkdcraw.8.0.0.dylib
      /opt/local/lib/libkdcraw.8.dylib
      /opt/local/lib/libkdcraw.dylib
    

(Is there any better way to check the version of a library?)

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Does otool do that for you?

otool -L /opt/local/lib/libkdcraw.dylib

comment:5 Changed 14 years ago by jgosmann (Jan Gosmann)

Thx, for the command. However, it provides not really new information (but supports the information I already had): /opt/local/lib/libkdcraw.8.dylib (compatibility version 8.0.0, current version 8.0.0)

comment:6 Changed 13 years ago by cgilles (HumanDynamo)

Hi all,

I'm lead digiKam developper.

I'm new macbook user now.

I'm new macports user too.

I would like to see digiKam and kipi-plugins 1.5.0 updated to macports repository.

I'm ready to help in this way.

I already installed Kdelibs4 on my macbook, and a lots of digiKam depencies (not yet all). The goal is to be able to compile digiKam & co source code from current KDE4 svn trunk implemention, and test compilation, link, and feature unde MacosX.

digiKam package maintainer, please let's me hear if you have technical questions about digiKam & co, incliding kipi-plugins, libkdcraw, libkipi, libkexiv2 and Exiv2 library.

All the best

Gilles Caulier digiKam coordinator and developer http://www.digikam.org/?q=blog/3

comment:7 Changed 13 years ago by cgilles (HumanDynamo)

Cc: caulier.gilles@… added

Cc Me!

comment:8 Changed 13 years ago by cgilles (HumanDynamo)

One remark:

digiKam and kipi-plugins 1.5.0 depand of kdegraphics/libs from KDE 4.5.x. As KDE 4.5.2 is now in macports, digiKam and kipi-plugins packages can be updated as well...

Gilles Caulier

comment:9 Changed 13 years ago by jgosmann (Jan Gosmann)

Thanks for the offer to help. I will come back to if I have any questions. But reason that I haven't updated the portfiles, yet, is that the winter term has just started at my university. But I suppose I will be able to do the update soon. (It should only require some minor changes to the port files. However the compilation of the newest KDE libs takes quite some time.)

By the way: I am following the digikam.org RSS feed and will therefore be notified about new releases.

comment:10 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

Great to see you...

Currently, on my macbook, all digiKam dependencies are installed, after few days to fight with installation. It's not so simple, compilation is long, but it's work well now.

I checkout code from Kdegraphics/libs and digiKam/kipi-plugins and try to configure cmake script as well. No chance, there is an error to setup QT4 variable. I will post a trace soon, if you can guide me a little bits to tune cmake settings with Macports environment.

Gilles Caulier

Changed 13 years ago by cgilles (HumanDynamo)

Attachment: trace.txt added

kdegraphics trace of cmake config with Qt4 detection error

comment:11 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

I added a trace of cmake configuration with an error of QT4 detection. The code come from trunk KDE svn repository. I checkout kdegraphics to compile digiKam shared libraries (libkipi, libkdcraw, and libkexiv2)

If you have some tips...

Gilles Caulier

comment:12 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

I also created this little script to setup variables. No more sucess :

http://websvn.kde.org/trunk/extragear/graphics/digikam/project/scripts/bootstrap.macports?revision=1191112&view=markup

Gilles Caulier

comment:13 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

I fixed my bootstrap script to configure cmake with kdegraphic/libs and digiKam/kipi-plugins.

Kdegraphics/libs is configured and compiled fine... GREAT...

digiKam/kipi-plugins :

1/ i adjusted cmake to handle mysql bin and script required now with version > 1.3.0 2/ digiKam ask that marble widget from kdeedu4 is not found. marble is map world tool from KDE4. I installed kdeedu4 of course, but thereis no trace of marble in this package. Why ? My solution is to checkout marble code and compile as well. Note that marble is optional for digiKam, but it's a very important feature. I think it's important to provide marble in Macports project. 3/ kipi-plugins ask that libgpod and GDK are not present in my computer, but both are installed. What's wrong ? Note that it's also an optional depency.

Look below the cmake configure result :

bash-3.2$ ./bootstrap.macports -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for QT_MAC_USE_COCOA -- Looking for QT_MAC_USE_COCOA - found -- Found Qt-Version 4.7.0 (using /opt/local/bin/qmake) -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /opt/local/lib/libssl.dylib -- Found Automoc4: /opt/local/bin/automoc4 -- Found Perl: /opt/local/bin/perl -- Found Phonon: /opt/local/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test KDE_HAVE_GCC_VISIBILITY -- Performing Test KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE 4.5 include dir: /opt/local/include -- Found KDE 4.5 library dir: /opt/local/lib -- Found the KDE4 kconfig_compiler preprocessor: /opt/local/bin/kconfig_compiler -- Found automoc4: /opt/local/bin/automoc4 -- Found Freetype: -L/opt/local/lib -lfreetype -lz -- Boost version: 1.44.0 -- optional cmake package FindIMLIB.cmake (for Imlib) was not found. -- Found libksane: /opt/local/lib/libksane.dylib -- Check Kexiv2 library in local sub-folder... -- Check Kexiv2 library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkexiv2 release >= 0.2.0 -- Found libkexiv2: /opt/local/lib/libkexiv2.dylib -- Check Kdcraw library in local sub-folder... -- Check Kdcraw library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkdcraw release >= 0.2.0 -- Found libkdcraw: /opt/local/lib/libkdcraw.dylib -- Check Kipi library in local sub-folder... -- Check Kipi library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkipi release >= 0.2.0 -- Found libkipi: /opt/local/lib/libkipi.dylib -- Found JPEG: /opt/local/lib/libjpeg.dylib -- Found ZLIB: /opt/local/include -- Found PNG: /opt/local/lib/libpng.dylib -- Found TIFF: /opt/local/lib/libtiff.dylib -- Looking for include files HAVE_CRT_EXTERNS_H -- Looking for include files HAVE_CRT_EXTERNS_H - found -- Looking for include files HAVE_DIRENT_H -- Looking for include files HAVE_DIRENT_H - found -- Looking for include files HAVE_STDLIB_H -- Looking for include files HAVE_STDLIB_H - found -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- Looking for include files HAVE_FCNTL_H -- Looking for include files HAVE_FCNTL_H - found -- Looking for include files HAVE_ICONV_H -- Looking for include files HAVE_ICONV_H - found -- Looking for include files HAVE_NDIR_H -- Looking for include files HAVE_NDIR_H - not found. -- Looking for C++ include sstream -- Looking for C++ include sstream - found -- Looking for include files HAVE_SYS_DIR_H -- Looking for include files HAVE_SYS_DIR_H - found -- Looking for include files HAVE_SYS_MMAN_H -- Looking for include files HAVE_SYS_MMAN_H - found -- Looking for include files HAVE_SYS_NDIR_H -- Looking for include files HAVE_SYS_NDIR_H - not found. -- Looking for include files HAVE_SYS_TIME_H -- Looking for include files HAVE_SYS_TIME_H - found -- Looking for include files HAVE_WCHAR_H -- Looking for include files HAVE_WCHAR_H - found -- Looking for include files HAVE_WCTYPE_H -- Looking for include files HAVE_WCTYPE_H - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mkstemps -- Looking for mkstemps - found -- Looking for _NSGetEnviron -- Looking for _NSGetEnviron - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mmap -- Looking for mmap - found -- Looking for setenv -- Looking for setenv - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for usleep -- Looking for usleep - found -- Looking for gethostname -- Looking for gethostname - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for iswspace -- Looking for iswspace - found -- Looking for res_init -- Looking for res_init - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Performing Test HAVE_RES_INIT_PROTO -- Performing Test HAVE_RES_INIT_PROTO - Success -- Performing Test HAVE_INITGROUPS_PROTO -- Performing Test HAVE_INITGROUPS_PROTO - Success -- Performing Test HAVE_SETENV_PROTO -- Performing Test HAVE_SETENV_PROTO - Success -- Performing Test HAVE_MKSTEMPS_PROTO -- Performing Test HAVE_MKSTEMPS_PROTO - Success -- Performing Test HAVE_UNSETENV_PROTO -- Performing Test HAVE_UNSETENV_PROTO - Success -- Performing Test HAVE_USLEEP_PROTO -- Performing Test HAVE_USLEEP_PROTO - Success -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int -- Check size of int - done -- Check size of char * -- Check size of char * - done -- Check size of long -- Check size of long - done -- Check size of short -- Check size of short - done -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- checking for module 'lcms' -- found lcms, version 1.19 -- Found lcms version 1.19, /opt/local/lib/liblcms.dylib -- Found Jasper: /opt/local/lib/libjasper.dylib -- Found Kdcraw library in cache: /opt/local/lib/libkdcraw.dylib -- Found Kexiv2 library in cache: /opt/local/lib/libkexiv2.dylib -- Found Kipi library in cache: /opt/local/lib/libkipi.dylib -- checking for module 'libpgf' -- package 'libpgf' not found -- Found clapack includes: /System/Library/Frameworks/vecLib.framework/Headers -- Found clapack library: /usr/lib/libclapack.dylib -- Identified libjpeg version: 80 -- checking for module 'libkdcraw>=1.1.0' -- found libkdcraw, version 1.2.0 -- checking for module 'libkexiv2>=1.1.0' -- found libkexiv2, version 1.2.0 -- Found MySQL server executable at: /opt/local/libexec/mysqld -- Found MySQL install_db executable at: /opt/local/bin/mysql_install_db5 -- Found gphoto2: -L/opt/local/lib -lgphoto2_port;-L/opt/local/lib -lgphoto2 -lgphoto2_port -lm -- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake -- Found GLIB2: /opt/local/lib/libglib-2.0.dylib -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lensfun is not installed (install the package which contains lensfun.pc if you want to support this feature) -- Could NOT find LensFun (missing: LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES) -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lqr-1 is not installed (install the package which contains lqr-1.pc if you want to support this feature) -- Could NOT find Lqr-1 (missing: LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES) -- Found Soprano: /opt/local/include -- Found SharedDesktopOntologies: /opt/local/share/ontology -- Found Nepomuk: /opt/local/lib/libnepomuk.dylib -- Found Doxygen: /opt/local/bin/doxygen -- -- ---------------------------------------------------------------------------------- -- digiKam 1.6.0 dependencies results <http://www.digikam.org> -- -- Qt4 SQL module found..................... YES -- MySQL Server found....................... YES -- MySQL install_db tool found.............. YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libjasper library found.................. YES -- liblcms library found.................... YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libpgf library found..................... NO (optional - internal version used instead) -- libclapack library found................. YES (optional) -- libgphoto2 library found................. YES (optional) -- libkdepimlibs library found.............. YES (optional) -- libmarblewidget library found............ NO (optional) -- -- digiKam will be compiled without geolocation using Marble widget support. -- -- Nepomuk libraries found.................. YES (optional) -- libglib2 library found................... YES (optional) -- liblqr-1 library found................... NO (optional - internal version used instead) -- liblensfun library found................. NO (optional - internal version used instead) -- Doxygen found............................ YES (optional) -- digiKam can be compiled.................. YES -- ---------------------------------------------------------------------------------- -- -- Found Kexiv2 library in cache: /opt/local/lib/libkexiv2.dylib -- Found Kdcraw library in cache: /opt/local/lib/libkdcraw.dylib -- Found Kipi library in cache: /opt/local/lib/libkipi.dylib -- Found EXPAT: /opt/local/lib/libexpat.dylib -- Found LibXml2: /opt/local/lib/libxml2.dylib -- Found LibXslt: /opt/local/lib/libxslt.dylib -- checking for module 'libgpod-1.0' -- package 'libgpod-1.0' not found -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Could NOT find Gdk (missing: GDK_INCLUDE_DIR) -- checking for module 'gobject-2.0' -- found gobject-2.0, version 2.26.0 -- Found GObject libraries: /opt/local/lib/libgobject-2.0.dylib;/opt/local/lib/libgmodule-2.0.dylib;/opt/local/lib/libgthread-2.0.dylib;/opt/local/lib/libglib-2.0.dylib -- Found GObject includes : /opt/local/include/glib-2.0/gobject -- Found QCA2: /opt/local/lib/libqca.dylib -- Found libksane: /opt/local/lib/libksane.dylib -- CMake version: cmake version 2.8.2

-- CMake version (cleaned): cmake version 2.8.2

-- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp -- -- ---------------------------------------------------------------------------------- -- kipi-plugins 1.6.0 dependencies results <http://www.kipi-plugins.org> -- -- libjpeg library found.................... YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libxml2 library found.................... YES (optional) -- libxslt library found.................... YES (optional) -- libexpat library found................... YES (optional) -- native threads support library found..... YES (optional) -- libopengl library found.................. YES (optional) -- Qt4 OpenGL module found.................. YES -- libopencv library found.................. YES (optional) -- libgpod library found.................... NO (optional) -- Gdk library found........................ NO (optional) -- libkdepim library found.................. YES (optional) -- qca2 library found....................... YES (optional) -- libkdcraw >= 1.1.0 library found......... YES (optional) -- libkexiv2 >= 1.1.0 library found......... YES (optional) -- OpenMP library found..................... YES (optional) -- libksane library found................... YES (optional) -- -- kipi-plugins will be compiled............ YES -- Shwup will be compiled................... YES (optional) -- HtmlExport will be compiled.............. YES (optional) -- AdvancedSlideshow will be compiled....... YES (optional) -- ImageViewer will be compiled............. YES (optional) -- AcquireImages will be compiled........... YES (optional) -- DNGConverter will be compiled............ YES (optional) -- RemoveRedEyes will be compiled........... YES (optional) -- IpodExport will be compiled.............. NO (optional - Look README file for more details about dependencies) -- Calendar will be compiled................ YES (optional) -- ---------------------------------------------------------------------------------- -- -- Unable to find an 128x128 icon for target hdrgui - application will not have an application icon! -- Unable to find an 128x128 icon for target scangui - application will not have an application icon! -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- GraphViz was not found, cannot build kgraphviewer


-- The following external packages were located on your system. -- This installation will have the extra features provided by these packages.


  • libopengl - OpenGL lib is needed to build the kpovmodeler project
  • Soprano - Semantic Desktop Storing
  • Shared desktop ontologies - Desktop ontologies
  • Nepomuk - The Nepomuk libraries
  • Shared desktop ontologies - Desktop ontologies

-- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software.



-- Configuring done -- Generating done -- Build files have been written to: /Users/agnes/Devel/trunk/graphics

Gilles Caulier

comment:14 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

Using standard MACOS-X CLapack as external digiKam depency faild compilation. I turned off external clapack support for the moment. digiKam internal implementation is used instead...

http://websvn.kde.org/trunk/extragear/graphics/digikam/CMakeLists.txt?r1=1191307&r2=1191306&pathrev=1191307

Gilles Caulier

comment:15 Changed 13 years ago by cgilles (HumanDynamo)

digiKam and kipi-plugins are now fully compiled under my macbook...

But, when i try to run digiKam, or Showfoto, system return this error :

bash-3.2$ pwd

/Applications/MacPorts/KDE4/digikam.app/Contents/MacOS bash-3.2$ ls -al total 17464 drwxr-xr-x 4 root admin 136 Oct 30 17:07 . drwxr-xr-x 5 root admin 170 Oct 30 17:07 .. -rwxr-xr-x 1 root admin 8936152 Oct 30 16:21 digikam -rwxr-xr-- 1 root admin 271 Oct 30 16:21 digikam.shell bash-3.2$ ./digikam.shell dyld: Library not loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib

Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib Reason: Incompatible library version: vecLib requires version 1.0.0 or later, but libLAPACK.dylib provides version 0.0.0

./digikam.shell: line 4: 2842 Trace/BPT trap DYLD_LIBRARY_PATH=/Users/agnes/Devel/trunk/graphics/lib/./:/opt/local/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH} "/Users/agnes/Devel/trunk/graphics/digikam/digikam/digikam.app/Contents/MacOS/digikam" "$@" bash-3.2$

what is that ?

Gilles Caulier

comment:16 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

I found the problem. All these operations must be done to start digiKam:

%% sudo chown -R $USER ~/Library/Preferences/KDE %% sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist %% sudo chown $USER /Library/LaunchAgents/org.freedesktop.dbus-session.plist %% launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist %% open -a kdeinit4 %% open -a digikam

And look the result :

http://www.flickr.com/photos/digikam/5129238658/sizes/o/in/photostream/

Gilles Caulier

comment:17 Changed 13 years ago by thomas@…

Cc: thomas@… added

Cc Me!

comment:18 in reply to:  10 Changed 13 years ago by thomas@…

Replying to caulier.gilles@…:

Currently, on my macbook, all digiKam dependencies are installed, after few days to fight with installation.

Gilles - Did you do this via macports, or by getting the code in some other way?

If another way, can you tell us which ports in macports need to be updated?

I would very much like to have the latest digikam and the ability to do reverse geoencoding on my MacBook.

Thank you Thomas

comment:19 Changed 13 years ago by cgilles (HumanDynamo)

Hi Thomas,

I don't play with macports port files. I use macports to solve a lots of dependencies. That all...

I checkout Exiv2, kdeedu/marble, kdegraphics/libs, digiKam, and kipi-plugins source code from svn trunk, and recompiled all by hand.

About macports ports which need to be updated, look below :

  • Exiv2 => 0.20 (a lots a bug fix). macports have 0.19. I recommend to use cmake instead automake. I personnaly ported Exiv2 to cmake. In the future, autoconf will be removed.
  • Kdeedu : marble is not available in this package. digiKam need marble for all geolocation features. 2 way : include marble in KDEedu, as all Linux distro, or provide marble as a separate ports. To compile marble as well, just checkout marble dir from kdeedu, and compile it as well. I fixed marble code to be compiled with macports...
  • kdegraphics/libs : libkipi, libkdcraw, libkexiv2 are provided normally by this package. I don't have used it, but if current kdegraphics provide these libraries with KDE 4.5.2, all is fine.
  • digiKam and kipi-plugins : use current 1.5.0 release. I fixed some stuff in current implementation of digiKam from trunk to be compiled with macports, but it's about external Clapack dependecy which is become optional with current implementation.

About reverse geocoding and digiKam, it's planed with next 2.0.0. It's not yet stable, you need to wait a little bit.

Best

Gilles Caulier

comment:20 Changed 13 years ago by cgilles (HumanDynamo)

Thomas,

I tried today to install kdegraphics4 package, to check if shared libs (likipi, libkdcraw, and libkexiv2) provided by digiKam team and used by digiKam and kipi-plugins compile fine : the compilation stop to KSane component.

Check file #26943 where i will post a trace to hack

Gilles Caulier

comment:21 Changed 13 years ago by jgosmann (Jan Gosmann)

Gilles,

you said above that cmake was not able to find the Qt installation. The easiest way to fix that is with the following configure (cmake) options: -DQT_QMAKE_EXECUTABLE:FILEPATH=/opt/local/bin/qmake -DQT_QT_INCLUDE_DIR=/opt/local/include/

I started working on the Digikam 1.5 portfile, but it does not compile, yet. Especially some MySQL stuff cannot be found. You said that you adjusted cmake to handle that stuff for the kipi-plugins. Can you provide some more details what you did exactly? That could prove helpful.

Another ticket related to this one was just opened: #27178

As it seems in ticket #26943 the whole MacPorts KDE stuff is a bit "messy" right now, because phonon comes not with Qt anymore (but with its own port) and the KDE port group has been update. Using the current port group version in the portfile might already solve some problems ... I will try that in the next few days.

comment:22 Changed 13 years ago by cgilles (HumanDynamo)

comment:23 Changed 13 years ago by julien@…

Cc: julien@… added

Cc Me!

comment:24 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

I hacked for some days digiKam and kipi-plugins.

Code is stabilized now under macosx and work very well:

http://www.flickr.com/photos/digikam/5173867607/

So, i recommend to use current implementation from svn (future 1.6.0 planed for Christmas)

All compile fine here, excepted one component from kipi-plugins : IpodExport.

I installed libgpod and GDK from macports, but cmake cannot find it.

I can see that libgpod is installed in a special place relevant of Python (why ???). It's not at the usual C lib dir :

new-host-3:~ agnes$ sudo port contents libgpod Port libgpod contains:

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ipod-read-sysinfo-extended /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/gpod-1.0/gpod/itdb.h /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/libgpod.4.dylib /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/libgpod.a /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/libgpod.dylib /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/libgpod.la /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/libgpod-1.0.pc /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/libgpod-sharp.pc /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/ch01.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/home.png /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/index.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/index.sgml /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/itunesdb.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/left.png /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Artwork.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Chapter-Data.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Device.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-File-handling-functions.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Low-level-functions.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Photo-database.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Playlists.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Smart-Playlists.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-The-Itdb-iTunesDB-structure.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Time-handling.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod-Tracks.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod.devhelp /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/libgpod.devhelp2 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/photodb.html /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/right.png /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/style.css /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/gtk-doc/html/libgpod/up.png /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/de/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/es/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/fr/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/he/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/it/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/ja/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/ro/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/sv/LC_MESSAGES/libgpod.mo /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/locale/zh_CN/LC_MESSAGES/libgpod.mo

GDK is there:

new-host-3:~ agnes$ sudo port contents gdk-pixbuf2 Port gdk-pixbuf2 contains:

/opt/local/bin/gdk-pixbuf-csource /opt/local/bin/gdk-pixbuf-query-loaders /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.la /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so /opt/local/lib/libgdk_pixbuf-2.0.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.la /opt/local/lib/pkgconfig/gdk-pixbuf-2.0.pc /opt/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html /opt/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-10.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html /opt/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html /opt/local/share/gtk-doc/html/gdk-pixbuf/composite.png /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-animation.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-creating.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-loading.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-saving.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-inline.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-refcounting.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-scaling.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-util.html /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp /opt/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 /opt/local/share/gtk-doc/html/gdk-pixbuf/home.png /opt/local/share/gtk-doc/html/gdk-pixbuf/index.html /opt/local/share/gtk-doc/html/gdk-pixbuf/index.sgml /opt/local/share/gtk-doc/html/gdk-pixbuf/left.png /opt/local/share/gtk-doc/html/gdk-pixbuf/license.html /opt/local/share/gtk-doc/html/gdk-pixbuf/right.png /opt/local/share/gtk-doc/html/gdk-pixbuf/rn01.html /opt/local/share/gtk-doc/html/gdk-pixbuf/rn02.html /opt/local/share/gtk-doc/html/gdk-pixbuf/style.css /opt/local/share/gtk-doc/html/gdk-pixbuf/up.png /opt/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo /opt/local/share/man/man1/gdk-pixbuf-csource.1.gz /opt/local/share/man/man1/gdk-pixbuf-query-loaders.1.gz

But both cannot be found :

-- Found lcms version 1.19, /opt/local/lib/liblcms.dylib -- Found Kdcraw library in cache: /opt/local/lib/libkdcraw.dylib -- Found Kexiv2 library in cache: /opt/local/lib/libkexiv2.dylib -- Found Kipi library in cache: /opt/local/lib/libkipi.dylib -- checking for module 'libpgf' -- package 'libpgf' not found -- Identified libjpeg version: 80 -- Found MySQL server executable at: /opt/local/libexec/mysqld -- Found MySQL install_db executable at: /opt/local/bin/mysql_install_db5 -- Found gphoto2: -L/opt/local/lib -lgphoto2_port;-L/opt/local/lib -lgphoto2 -lgphoto2_port -lm -- Can build Marble plugin: yes -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lensfun is not installed (install the package which contains lensfun.pc if you want to support this feature) -- Could NOT find LensFun (missing: LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES) -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lqr-1 is not installed (install the package which contains lqr-1.pc if you want to support this feature) -- Could NOT find Lqr-1 (missing: LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES) -- -- ---------------------------------------------------------------------------------- -- digiKam 1.6.0 dependencies results <http://www.digikam.org> -- -- Qt4 SQL module found..................... YES -- MySQL Server found....................... YES -- MySQL install_db tool found.............. YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libjasper library found.................. YES -- liblcms library found.................... YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libpgf library found..................... NO (optional - internal version used instead) -- libclapack library found................. NO (optional - internal version used instead) -- libgphoto2 library found................. YES (optional) -- libkdepimlibs library found.............. YES (optional) -- libmarblewidget library found............ YES (optional) -- Can build Marble plugin.................. YES (optional) -- Nepomuk libraries found.................. YES (optional) -- libglib2 library found................... YES (optional) -- liblqr-1 library found................... NO (optional - internal version used instead) -- liblensfun library found................. NO (optional - internal version used instead) -- Doxygen found............................ YES (optional) -- digiKam can be compiled.................. YES -- ---------------------------------------------------------------------------------- -- -- Found Kexiv2 library in cache: /opt/local/lib/libkexiv2.dylib -- Found Kdcraw library in cache: /opt/local/lib/libkdcraw.dylib -- Found Kipi library in cache: /opt/local/lib/libkipi.dylib -- checking for module 'libgpod-1.0' -- package 'libgpod-1.0' not found -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Could NOT find Gdk (missing: GDK_INCLUDE_DIR) -- Found GObject libraries: /opt/local/lib/libgobject-2.0.dylib;/opt/local/lib/libgmodule-2.0.dylib;/opt/local/lib/libgthread-2.0.dylib;/opt/local/lib/libglib-2.0.dylib -- Found GObject includes : /opt/local/include/glib-2.0/gobject -- Found libksane: /opt/local/lib/libksane.dylib -- CMake version: cmake version 2.8.3

-- CMake version (cleaned): cmake version 2.8.3

-- -- ---------------------------------------------------------------------------------- -- kipi-plugins 1.6.0 dependencies results <http://www.kipi-plugins.org> -- -- libjpeg library found.................... YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libxml2 library found.................... YES (optional) -- libxslt library found.................... YES (optional) -- libexpat library found................... YES (optional) -- native threads support library found..... YES (optional) -- libopengl library found.................. YES (optional) -- Qt4 OpenGL module found.................. YES -- libopencv library found.................. YES (optional) -- libgpod library found.................... NO (optional) -- Gdk library found........................ NO (optional) -- libkdepim library found.................. YES (optional) -- qca2 library found....................... YES (optional) -- libkdcraw >= 1.1.0 library found......... YES (optional) -- libkexiv2 >= 1.1.0 library found......... YES (optional) -- OpenMP library found..................... YES (optional) -- libksane library found................... YES (optional) -- -- kipi-plugins will be compiled............ YES -- Shwup will be compiled................... YES (optional) -- HtmlExport will be compiled.............. YES (optional) -- AdvancedSlideshow will be compiled....... YES (optional) -- ImageViewer will be compiled............. YES (optional) -- AcquireImages will be compiled........... YES (optional) -- DNGConverter will be compiled............ YES (optional) -- RemoveRedEyes will be compiled........... YES (optional) -- IpodExport will be compiled.............. NO (optional - Look README file for more details about dependencies) -- Calendar will be compiled................ YES (optional) -- ---------------------------------------------------------------------------------- --

What's wrong ?

Gilles Caulier

comment:25 Changed 13 years ago by julien@…

Hi,

To have marble in kdeedu the switch should be changed at line 27 in : http://trac.macports.org/browser/trunk/dports/kde/kdeedu4/Portfile but maybe it does not build with current mac ports and one need svn version of marble.

To build a portfile of 1.6.0 svn we could get the sources using svn but the problem is to get digikam source without whole kdegraphics we need several svn commands see here : http://www.digikam.org/drupal/download?q=download/KDE4

Julien

comment:26 Changed 13 years ago by jgosmann (Jan Gosmann)

Quick status update from my side: I also discovered that marble has been excluded from the kdeedu4 port, because it does not build. I tried to fix that problem (which was a missing include), but run into other compilation problems after that.

Therefore I will concentrate on updating the digikam/kipi-plugins port first. After that I might take a second look at kdeedu4 or we have to wait for the next version where marble is hopefully included again.

I already could build Digikam once, however it was crashing on startup. I uninstalled it again and now I have some problems during the configuration:

:info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
:info:configure   ERROR: cmake/modules/FindKDE4Internal.cmake not found in

Maybe I will try the svn version.

Jan

comment:27 Changed 13 years ago by cgilles (HumanDynamo)

To Julien and Jan :

1/ No need to use kdegraphics/libs from trunk, because MacPorts has already KDE 4.5 code which can be used against digiKam code.

http://www.flickr.com/photos/digikam/5178986141/sizes/o/in/photostream/

2/ Marble compile fine here. I fixed some code in trunk for that. I don't have tested 4.5 branch. Look my commit :

http://web.archiveorange.com/archive/v/bZBuSGczaW7C4v2y3d1z

Gilles Caulier

comment:28 Changed 13 years ago by jgosmann (Jan Gosmann)

Marble from the 4.5 branch does not compile with OS X. At least the changes of your commit are needed. The "#include <math.h>" line was the line which I already tried. It was fairly obvious. But the other lines were not so obvious. I will try to compile marble again with them. If that works, I can create a patch file for that fix and include it into the portfile of kdeedu4.

I am expecting to have some more time dealing with this stuff the next two days and hoping to get finished with it soon. Nevertheless, things things tend to take more time than you expect.

Jan

comment:29 Changed 13 years ago by jgosmann (Jan Gosmann)

It's done!
Patch for kdeedu4 to build marble: #27348
Update of kipi-plugins: #27349
Update of digikam: #27350

I suppose this ticket can be closed now. (I have not the permissions to change the ticket state.)

comment:30 Changed 13 years ago by jgosmann (Jan Gosmann)

PS: Another upgrade of the ports solved most of the problems. :)

comment:31 Changed 13 years ago by cgilles (HumanDynamo)

Excelent !!!

It will have some little fix in the future before 1.6.0 release planed for Christmas.

Please take a care to update digiKam and kipi-plugins tarball with this deadline to be sure that all last fixes have been included.

Thanks Jan for your Job.

I'm still available in this room for all questions. Don't hesitate. Polishing digiKam under Macports is important.

My best

Gilles Caulier

PS: I don't have right to close this file (:=)))

comment:32 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

Why this file is always set to 1.2.0 release ?

http://trac.macports.org/browser/trunk/dports/kde/digikam/Portfile

I read it from the KDE4 list in ports browser : http://www.macports.org/ports.php?by=category&substr=kde4

Also, if you have only used official digiKam/kipi-plugins 1.5.0 to set macport tarballs, it's not enough.

digiKam will crash quickly due to a bug in blur filter based on CImg. Patche is there :

http://websvn.kde.org/?view=revision&revision=1196146

You must used last blurfilter.cpp/.h from trunk to compile fine. This patch is not enough :

http://websvn.kde.org/*checkout*/trunk/extragear/graphics/digikam/libs/dimg/filters/fx/blurfilter.cpp?revision=1196620 http://websvn.kde.org/*checkout*/trunk/extragear/graphics/digikam/libs/dimg/filters/fx/blurfilter.h?revision=1196491

Also, in kipi-plugins, Openmp is used in expoblending tool. OpenMP must be disabled as well under macosx due to the non support of multithreading with it :

http://websvn.kde.org/?view=revision&revision=1197859

I recommend to export code from svn trunk as well for digiKam and kipi-plugins and make tarballs.

Or perhaps you prefer that i do it for you officially (as make an official 1.6.0 release) ?

Gilles Caulier

comment:33 Changed 13 years ago by jgosmann (Jan Gosmann)

The port has not been updated in the ports tree, yet. I only submitted the patch for the Portfile as trac ticket (see ticket numbers above), because I have no SVN access.

I had not the time to look into the mentioned problems, yet. I myself did not notice any crashes on my system except one when I was closing the application anyway.

However, I probably would prefer an official release. That would make it easier to write the portfile, because I do not need to add all these patches. Checking out single files from SVN seems to me also a bit complicated. Moreover, I think it is preferred to use stable versions for the port instead of SVN versions (though I would use a specific revision).

Jan

comment:34 Changed 13 years ago by cgilles (HumanDynamo)

Ok,

i will plan soon digiKam 1.6.0. There is already a lots of bugs fixed in digiKam and kipi-plugins this can justify it, outside macports...

Gilles Caulier

comment:35 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

digiKam and Kipi-plugins 1.6.0 are just released for you !

http://sourceforge.net/projects/digikam/files/digikam/1.6.0/digikam-1.6.0.tar.bz2/download http://sourceforge.net/projects/kipi/files/kipi-plugins/1.6.0/kipi-plugins-1.6.0.tar.bz2/download

Please, update Port files. These tarballs are dedicated to Macports support...

My best

Gilles Caulier

comment:36 Changed 13 years ago by cgilles (HumanDynamo)

Jan,

Official announcements are done, promoting MacPorts project:

digiKam : http://www.digikam.org/node/550

Kipi-plugins : http://www.digikam.org/node/551

Gilles Caulier

comment:37 Changed 13 years ago by nicolabrisotto@…

Cc: nicolabrisotto@… added

Cc Me!

comment:38 Changed 13 years ago by jgosmann (Jan Gosmann)

Just attached updated portfiles for version 1.6.0 to the tickets already mentioned above:

Update of kipi-plugins: #27349 Update of digikam: #27350

comment:39 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Superseded as per comment:38.

Note: See TracTickets for help on using tickets.