Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 17:15:48 -0700 (PDT)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@pcbsd.org
Subject:   ports/139123: [PATCH] graphics/kipi-plugins-kde4: Update to 0.6.0
Message-ID:  <4abc0bb4.86c3f10a.4a02.1ece@mx.google.com>
Resent-Message-ID: <200909250020.n8P0K6cf003869@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139123
>Category:       ports
>Synopsis:       [PATCH] graphics/kipi-plugins-kde4: Update to 0.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 25 00:20:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD mocha.verizon.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 4 04:03:46 EDT 2009 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA7 i386
KDE 4.3.1
	
>Description:
- Update graphics/kipi-plugins-kde4 to version 0.6.0
- Use LATEST_LINK instead of PKGNAMESUFFIX; 
  this prevents OPTIONS from KDE3 version from being overwritten
- Update patch-CMakeLists.txt since patches for properly finding
  Kipi, Kdcraw, and Kexiv2 were added to kdelibs4
	
>How-To-Repeat:
Use attached diff.
	
>Fix:
	
--- 2009-09-24-kipi-plugins-kde4.diff begins here ---
diff -ruN kipi-plugins-kde4.orig/Makefile kipi-plugins-kde4/Makefile
--- kipi-plugins-kde4.orig/Makefile	2009-09-24 18:44:09.000000000 -0400
+++ kipi-plugins-kde4/Makefile	2009-09-24 18:52:36.000000000 -0400
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	kipi-plugins
-PORTVERSION=	0.5.0
+PORTVERSION=	0.6.0
 PORTEPOCH=	1
 CATEGORIES=	graphics kde
 MASTER_SITES=	SF/kipi/${PORTNAME}/${PORTVERSION}
-PKGNAMESUFFIX=	-kde4
 
 MAINTAINER=	kris@pcbsd.org
 COMMENT=	KDE4 kipi graphics plugins
@@ -19,6 +18,8 @@
 		kipi.6:${PORTSDIR}/graphics/kdegraphics4
 RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
 
+LATEST_LINK=	${PORTNAME}-kde4
+
 USE_BZIP2=	yes
 USE_CMAKE=	yes
 USE_GETTEXT=	yes
diff -ruN kipi-plugins-kde4.orig/distinfo kipi-plugins-kde4/distinfo
--- kipi-plugins-kde4.orig/distinfo	2009-09-24 18:44:09.000000000 -0400
+++ kipi-plugins-kde4/distinfo	2009-09-24 18:48:15.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (kipi-plugins-0.5.0.tar.bz2) = f82c95b85f2b434fd03b99451ec5081e
-SHA256 (kipi-plugins-0.5.0.tar.bz2) = 6d349d7b156617603dadfe88d6a62b42bea083d9e15ef200f40d7f4d7d64c6e9
-SIZE (kipi-plugins-0.5.0.tar.bz2) = 3711696
+MD5 (kipi-plugins-0.6.0.tar.bz2) = 105cc1f802db4b082c0ad8ee31262fd5
+SHA256 (kipi-plugins-0.6.0.tar.bz2) = b219a1b0d63849563bf87fade0cd107aa8cdeb6fafa0bc10734beaf812cf9a6a
+SIZE (kipi-plugins-0.6.0.tar.bz2) = 3731330
diff -ruN kipi-plugins-kde4.orig/files/patch-CMakeLists.txt kipi-plugins-kde4/files/patch-CMakeLists.txt
--- kipi-plugins-kde4.orig/files/patch-CMakeLists.txt	2009-09-24 18:44:09.000000000 -0400
+++ kipi-plugins-kde4/files/patch-CMakeLists.txt	2009-09-24 19:02:02.000000000 -0400
@@ -1,79 +1,11 @@
---- ./CMakeLists.txt.orig	2009-03-17 04:59:48.000000000 -0400
-+++ ./CMakeLists.txt	2009-06-08 04:36:50.000000000 -0400
-@@ -32,15 +32,53 @@
- INCLUDE(FindPackageHandleStandardArgs)
- INCLUDE(KDE4Defaults)
- INCLUDE(MacroLibrary)
-+INCLUDE(FindPkgConfig)
- 
- # Depencies detection required by all plugins
--FIND_PACKAGE(Kexiv2 REQUIRED)
--FIND_PACKAGE(Kdcraw REQUIRED)
--FIND_PACKAGE(Kipi REQUIRED)
- FIND_PACKAGE(JPEG REQUIRED)
- FIND_PACKAGE(PNG REQUIRED)
- FIND_PACKAGE(TIFF REQUIRED)
- 
-+# Check for KExiv2
-+PKG_CHECK_MODULES(LIBKEXIV2 libkexiv2-kde4>=0.5.0)
-+FIND_PATH(KEXIV2_INCLUDE_DIR NAMES libkexiv2/version.h
-+  PATHS ${LIBKEXIV2_INCLUDE_DIRS} ${KDE4_INCLUDE_DIR} NO_DEFAULT_PATH)
-+FIND_LIBRARY(KEXIV2_LIBRARY NAMES kexiv2
-+  PATHS ${LIBKEXIV2_LIBRARY_DIRS} ${KDE4_LIB_DIR} NO_DEFAULT_PATH)
-+
-+FIND_PACKAGE_HANDLE_STANDARD_ARGS(KEXIV2 DEFAULT_MSG KEXIV2_LIBRARY KEXIV2_INCLUDE_DIR)
-+
-+IF(KEXIV2_FOUND)
-+  SET(KEXIV2_LIBRARIES ${KEXIV2_LIBRARY})
-+ENDIF(KEXIV2_FOUND)
-+
-+# Check for Kdcraw
-+PKG_CHECK_MODULES(LIBKDCRAW libkdcraw-kde4>=0.4.0)
-+FIND_PATH(KDCRAW_INCLUDE_DIR NAMES libkdcraw/version.h
-+  PATHS ${LIBKDCRAW_INCLUDE_DIRS} ${KDE4_INCLUDE_DIR} NO_DEFAULT_PATH)
-+FIND_LIBRARY(KDCRAW_LIBRARY NAMES kdcraw
-+  PATHS ${LIBKDCRAW_LIBRARY_DIRS} ${KDE4_LIB_DIR} NO_DEFAULT_PATH)
-+
-+FIND_PACKAGE_HANDLE_STANDARD_ARGS(KDCRAW DEFAULT_MSG KDCRAW_LIBRARY KDCRAW_INCLUDE_DIR)
-+
-+IF(KDCRAW_FOUND)
-+  SET(KDCRAW_LIBRARIES ${KDCRAW_LIBRARY})
-+  SET(KDCRAW_FOR_DNGCONVERTER TRUE)
-+ENDIF(KDCRAW_FOUND)
-+
-+# Check for Kipi
-+PKG_CHECK_MODULES(LIBKIPI libkipi-kde4>=0.2.0)
-+FIND_PATH(KIPI_INCLUDE_DIR NAMES libkipi/version.h
-+  PATHS ${LIBKIPI_INCLUDE_DIRS} ${KDE4_INCLUDE_DIR} NO_DEFAULT_PATH)
-+FIND_LIBRARY(KIPI_LIBRARY NAMES kipi
-+  PATHS ${LIBKIPI_LIBRARY_DIRS} ${KDE4_LIB_DIR} NO_DEFAULT_PATH)
-+
-+FIND_PACKAGE_HANDLE_STANDARD_ARGS(KIPI DEFAULT_MSG KIPI_LIBRARY KIPI_INCLUDE_DIR)
-+
-+IF(KIPI_FOUND)
-+  SET(KIPI_LIBRARIES ${KIPI_LIBRARY})
-+ENDIF(KIPI_FOUND)
-+
- # Optional depencies detection required by some plugins
- 
- SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
-@@ -63,19 +101,6 @@
-     MACRO_OPTIONAL_FIND_PACKAGE(X11)   # For AdvancedSlideshow and ImageViewer.
- ENDIF(NOT WIN32 AND NOT APPLE)
- 
--IF(NOT WIN32)
--    # Check KDcraw version installed to compile fine DngConverter plugin.
--    FIND_PACKAGE(PkgConfig)
+--- ./CMakeLists.txt.orig	2009-09-24 19:01:31.000000000 -0400
++++ ./CMakeLists.txt	2009-09-24 19:01:48.000000000 -0400
+@@ -69,7 +69,7 @@
+ IF(NOT WIN32)
+     # Check KDcraw version installed to compile fine DngConverter plugin.
+     FIND_PACKAGE(PkgConfig)
 -    PKG_CHECK_MODULES(Kdcraw libkdcraw>=0.4.0)
--    IF(Kdcraw_FOUND)
--        SET(KDCRAW_FOR_DNGCONVERTER TRUE)
--    ELSE(Kdcraw_FOUND)
--        SET(KDCRAW_FOR_DNGCONVERTER FALSE)
--    ENDIF(Kdcraw_FOUND)
--ELSE(NOT WIN32)
--    SET(KDCRAW_FOR_DNGCONVERTER TRUE)
--ENDIF(NOT WIN32)
--
- INCLUDE(MacroOptionalDependPackage)
- 
- # LINUX Only.
++    PKG_CHECK_MODULES(Kdcraw libkdcraw-kde4>=0.4.0)
+     IF(Kdcraw_FOUND)
+         SET(KDCRAW_FOR_DNGCONVERTER TRUE)
+     ELSE(Kdcraw_FOUND)
diff -ruN kipi-plugins-kde4.orig/pkg-plist kipi-plugins-kde4/pkg-plist
--- kipi-plugins-kde4.orig/pkg-plist	2009-09-24 18:44:10.000000000 -0400
+++ kipi-plugins-kde4/pkg-plist	2009-09-24 19:29:42.000000000 -0400
@@ -344,13 +344,25 @@
 share/locale/en_GB/LC_MESSAGES/kipiplugins.mo
 share/locale/es/LC_MESSAGES/kipiplugin_acquireimages.mo
 share/locale/es/LC_MESSAGES/kipiplugin_advancedslideshow.mo
+share/locale/es/LC_MESSAGES/kipiplugin_batchprocessimages.mo
+share/locale/es/LC_MESSAGES/kipiplugin_calendar.mo
+share/locale/es/LC_MESSAGES/kipiplugin_dngconverter.mo
+share/locale/es/LC_MESSAGES/kipiplugin_facebook.mo
 share/locale/es/LC_MESSAGES/kipiplugin_flashexport.mo
+share/locale/es/LC_MESSAGES/kipiplugin_flickrexport.mo
+share/locale/es/LC_MESSAGES/kipiplugin_galleryexport.mo
 share/locale/es/LC_MESSAGES/kipiplugin_gpssync.mo
 share/locale/es/LC_MESSAGES/kipiplugin_htmlexport.mo
+share/locale/es/LC_MESSAGES/kipiplugin_imageviewer.mo
+share/locale/es/LC_MESSAGES/kipiplugin_ipodexport.mo
 share/locale/es/LC_MESSAGES/kipiplugin_jpeglossless.mo
 share/locale/es/LC_MESSAGES/kipiplugin_metadataedit.mo
+share/locale/es/LC_MESSAGES/kipiplugin_picasawebexport.mo
+share/locale/es/LC_MESSAGES/kipiplugin_printimages.mo
 share/locale/es/LC_MESSAGES/kipiplugin_rawconverter.mo
+share/locale/es/LC_MESSAGES/kipiplugin_removeredeyes.mo
 share/locale/es/LC_MESSAGES/kipiplugin_sendimages.mo
+share/locale/es/LC_MESSAGES/kipiplugin_smug.mo
 share/locale/es/LC_MESSAGES/kipiplugin_timeadjust.mo
 share/locale/es/LC_MESSAGES/kipiplugin_wallpaper.mo
 share/locale/es/LC_MESSAGES/kipiplugins.mo
@@ -381,6 +393,7 @@
 share/locale/fi/LC_MESSAGES/kipiplugin_gpssync.mo
 share/locale/fi/LC_MESSAGES/kipiplugin_jpeglossless.mo
 share/locale/fi/LC_MESSAGES/kipiplugin_metadataedit.mo
+share/locale/fi/LC_MESSAGES/kipiplugin_printimages.mo
 share/locale/fi/LC_MESSAGES/kipiplugin_rawconverter.mo
 share/locale/fi/LC_MESSAGES/kipiplugin_sendimages.mo
 share/locale/fi/LC_MESSAGES/kipiplugin_wallpaper.mo
--- 2009-09-24-kipi-plugins-kde4.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4abc0bb4.86c3f10a.4a02.1ece>