Ticket #27349: kipi-plugins-1.5.0.diff

File kipi-plugins-1.5.0.diff, 3.3 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

combined patch

  • files/disable-gtk-dependencies-CMakeLists.txt.diff

     
     1--- ../kipi-plugins-1.5.0/CMakeLists.txt.orig   2010-06-11 22:12:59.000000000 +0200
     2+++ ../kipi-plugins-1.5.0/CMakeLists.txt        2010-06-11 22:12:23.000000000 +0200
     3@@ -116,10 +116,10 @@
     4 MACRO_OPTIONAL_FIND_PACKAGE(LibXslt)    # For Htmlexport.
     5 MACRO_OPTIONAL_FIND_PACKAGE(OpenGL)     # For AdvancedSlideshow and ImageViewer.
     6 MACRO_OPTIONAL_FIND_PACKAGE(OpenCV)     # For RemoveRedEyes.
     7-MACRO_OPTIONAL_FIND_PACKAGE(Gpod)       # For ipodexport.
     8-MACRO_OPTIONAL_FIND_PACKAGE(Gdk)        # For ipodexport.
     9-MACRO_OPTIONAL_FIND_PACKAGE(GLIB2)      # For ipodexport.
     10-MACRO_OPTIONAL_FIND_PACKAGE(GObject)    # For ipodexport.
     11+#MACRO_OPTIONAL_FIND_PACKAGE(Gpod)       # For ipodexport.
     12+#MACRO_OPTIONAL_FIND_PACKAGE(Gdk)        # For ipodexport.
     13+#MACRO_OPTIONAL_FIND_PACKAGE(GLIB2)      # For ipodexport.
     14+#MACRO_OPTIONAL_FIND_PACKAGE(GObject)    # For ipodexport.
     15 MACRO_OPTIONAL_FIND_PACKAGE(KdepimLibs) # For Calendar (libkcal).
     16 MACRO_OPTIONAL_FIND_PACKAGE(QCA2)       # For Shwup.
     17 MACRO_OPTIONAL_FIND_PACKAGE(KSane)      # For AcquireImages.
  • Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
    5 PortGroup           kde4 1.0
     5PortGroup           kde4 1.1
    66
    77name                kipi-plugins
    8 version             1.1.0
     8version             1.5.0
    99categories          kde kde4
    1010maintainers         hyper-world.de:jan
    1111
     
    1919platforms           darwin
    2020master_sites        sourceforge:kipi
    2121distname            kipi-plugins-${version}
    22 checksums           md5     f1a92d0fe29bd68de08551a5e607015e \
    23                     sha1    e65c9b6df70651c5cc10a1c7ec16e167b33a991f
    2422
     23checksums           md5     7eae767af8c38b6f0220aca2189a2c7a \
     24                    sha1    047b7d70bb0b6f8afc916857db61ab51a466aaa4
     25
    2526use_bzip2           yes
    2627
    2728depends_lib         port:kdelibs4 \
    2829                    port:kdebase4-runtime \
    2930                    port:kdegraphics4 \
     31                    port:phonon \
    3032                    port:ImageMagick \
    3133                    port:mesa \
    3234                    port:libgpod \
    33                     port:gdk-pixbuf
    34 #port:opencv # This package does not build at the moment on Snow Leopard. If it is not installed, the removeRedEyes plugin will not get build automatically.
     35                    port:gdk-pixbuf \
     36                    port:opencv
     37
    3538configure.args-append ../${distname}
    3639configure.pkg_config_path-append ${qt_dir}/lib/pkgconfig
    3740
     
    4245        reinplace "/#include/s@Phonon@phonon@" ${item}
    4346    }
    4447}
     48
     49variant no_ipod_export description {Install without iPod export plugin. This variant removes also the gtk dependency. Some had problems installing this port. Use this variant if this applies also for you, but you want to install kipi-plugins anyway.} {
     50    depends_lib-delete \
     51        port:gdk-pixbuf \
     52        port:libgpod
     53    patchfiles-append       disable-gtk-dependencies-CMakeLists.txt.diff
     54}
     55
     56# kdelibs4 is not universal
     57universal_variant   no