Macports 1.9
Download Digikam for SnowLeopard
Install Macports by double clicking the downloaded file.
Click the “next” buttons until the installation is finished. Macports will be installed in /opt/local/ .
This may take a while.
# FIND ALL PACKAGES NEEDED BY DIGIKAM sudo port deps digikam # FETCH THOSE PACKAGES sudo port fetch automoc qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff libpng sqlite3 readline kdegraphics4 chmlib djvulibre ImageMagick bzip2 fontconfig freetype libxml2 p7zip xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice exiv2 kdebase4-runtime bison hicolor-icon-theme kdelibs4 aspell texinfo lzmautils aspell-dict-en attica avahi dbus-python26 dbus-glib glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes libxslt p5-xml-parser py26-libxml2 python26 db46 gdbm tk Xft2 xrender xorg-renderproto tcl xorg-libXScrnSaver xorg-scrnsaverproto rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils py26-gobject libffi libdaemon libglade2 gtk2 atk jasper pango cairo libpixman shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto py26-gtk py26-cairo py26-numpy atlas gcc44 gmp mpfr gzip fftw-3 gcc43 py26-nose py26-distribute cyrus-sasl2 enchant hunspell flex giflib gmake libart_lgpl liblzma openexr ilmbase gsed pcre shared-desktop-ontologies soprano clucene libiodbc redland curl curl-ca-bundle raptor rasqal strigi virtuoso gawk oxygen-icons qimageblitz libspectre ghostscript libpaper poppler openjpeg poppler-data qca sane-backends libusb-compat libusb kipi-plugins gdk-pixbuf glib1 gtk1 libgpod mesa glut makedepend xorg-dri2proto xorg-glproto xorg-libXmu libgphoto2 libexif liblqr
Working Portfile for Macports 1.9, xCode 3.2.2, kipi-plugins 1.1
Start dbus and setup permissions for your user
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist sudo chown -R $USER ~/Library/Preferences/KDE
Donwload kipi-plugins 1.2 from http://prdownloads.sourceforge.net/kipi/ and copy the file into
/opt/local/var/macports/distfiles/kipi-plugins/
Download Portfile for kipi-plugins-1.2 and replace the existing Portfile for kipi-plugins-1.1 to compile the correct version and setting the right checksum for the *tar.gz-File in
/opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/kipi-plugins/
Try to install kipi-plugins to get the work/build directory (this will fail)
sudo port -d upgrade kipi-plugins
Download patch for kipi-plugins-1.2
Put Patch-file in this directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kipi-plugins/work/kipi-plugins-1.2.0/
and apply the patch
sudo patch -p0 < patch-dng_flags.h
reference: http://trac.macports.org/ticket/24319
Install kipi-plugins (this time it will run without any error )
sudo port -d upgrade kipi-plugins
Set permissions
sudo chown -R $USER ~/Library/Preferences/KDE