[Digikam-devel] [Bug 257679] Build a package for Digikam on MacOSX

Julien Narboux Julien at narboux.fr
Tue Dec 28 17:10:46 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=257679





--- Comment #5 from Julien Narboux <Julien narboux fr>  2010-12-28 18:10:42 ---
In fact, after reading the code it seems that the port mdmg command does not
include the build dependencies, only the runtime dependencies. But the list of
dependencies of digikam using macports is very large, in fact it is a larger
set than digikam dependencies, here is the list:

libgphoto2
    dbus
      expat
    gettext
      libiconv
      ncurses
        ncursesw
    jpeg
    libexif
    libusb-compat
      libusb
    libtool
  liblqr
    glib2
      zlib
      perl5
        perl5.8
      python_select
  kdegraphics4
    qt4-mac
      openssl
      sqlite3
        readline
      tiff
      libpng
      libmng
        lcms
    phonon
    kdebase4-runtime
      kdelibs4
        bzip2
        soprano
          clucene
          strigi
            libxml2
          redland
            curl
              libidn
              curl-ca-bundle
            libxslt
            raptor
            rasqal
              mpfr
                gmp
            pkgconfig
           db46
          libiodbc
          virtuoso
        cyrus-sasl2
        pcre
        shared-mime-info
        giflib
          xorg-libsm
            xorg-libice
              xorg-xproto
          xorg-libX11
            xorg-libXdmcp
            xorg-libXau
            xorg-libxcb
              xorg-xcb-proto
                python26
                  gdbm
              xorg-libpthread-stubs
            xorg-kbproto
        jasper
        openexr
          ilmbase
        libart_lgpl
        enchant
          aspell
            texinfo
          hunspell
        aspell-dict-en
        attica
        liblzma
        avahi
          libdaemon
          libglade2
            fontconfig
              freetype
            gtk2
              atk
              pango
                Xft2
                  xrender
                    xorg-renderproto
                cairo
                  libpixman
              gdk-pixbuf2
              xorg-libXi
                xorg-libXext
                  xorg-xextproto
                xorg-inputproto
              xorg-libXrandr
                xorg-randrproto
              xorg-libXcursor
                xorg-libXfixes
                  xorg-fixesproto
              xorg-libXinerama
                xorg-xineramaproto
              xorg-libXdamage
                xorg-damageproto
              xorg-libXcomposite
                xorg-compositeproto
          dbus-python26
            dbus-glib
            py26-gobject
              libffi
          py26-gtk
            py26-cairo
              py26-numpy
                fftw-3
                py26-nose
                  py26-distribute
                gcc44
                atlas
                  gzip
          intltool
            p5-xml-parser
            p5-getopt-long
            p5-pathtools
            p5-scalar-list-utils
        qca
        dbusmenu-qt
          qjson
        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
        grantlee
        shared-desktop-ontologies
      qimageblitz
      oxygen-icons
      hicolor-icon-theme
      exiv2
      openslp
      bison
        m4
    poppler
      openjpeg
      poppler-data
    djvulibre
    chmlib
    libspectre
      ghostscript
        xorg-libXt
        libpaper
    sane-backends
    gphoto2
      popt
  kdeedu4
    kdebase4
      kdepimlibs4
        akonadi
          boost
          mysql5-server
            mysql5
        libical
        openldap
          icu
        gpgme
          gnupg
          pth
          libgpg-error
          libassuan
    ocaml
    openbabel
    cfitsio
    libqalculate
      cln
    gsl
    xplanet
      xorg-libXScrnSaver
        xorg-scrnsaverproto
    eigen
    gpsd
  kipi-plugins
    ImageMagick
      urw-fonts
    mesa
      xorg-glproto
      xorg-dri2proto
      xorg-libXmu
    opencv
      ffmpeg
        lame
        libvorbis
          libogg
        libtheora
        dirac
          cppunit
        schroedinger
          orc
        faac
        faad2
        speex
        XviD
        x264
        libvpx
        libsdl
      liboil
      libdc1394
    libgpod
      libplist
        swig-python
          swig
      taglib
      py26-mutagen
    gdk-pixbuf



So we need to simplify this.
One solution could be to change by hand some port files to remove dependencies
which are not needed for digiKam.

Another solution could be to try working in the opposite direction, from
digiKam.
otool -L digikam gives a list dynlib. But I guess this is not enough to
actually run digiKam.
What about trying to link statically all libraries ? but we need some bin files
such as kio, ...

Julien

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list