aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2016-11-23 20:15:38 +0800
committertcberner <tcberner@FreeBSD.org>2016-11-23 20:15:38 +0800
commitb7a3ef513a020331686197f86addceb7a3a25d6c (patch)
treedbbda119c58b35b7c2785a1adb3fda927e8f2139 /deskutils
parenta63ca99ac40a0b88651787f0c61530fb28cdc2a1 (diff)
downloadfreebsd-ports-gnome-b7a3ef513a020331686197f86addceb7a3a25d6c.tar.gz
freebsd-ports-gnome-b7a3ef513a020331686197f86addceb7a3a25d6c.tar.zst
freebsd-ports-gnome-b7a3ef513a020331686197f86addceb7a3a25d6c.zip
Fix conflict between libqgpgme from deskutils/kdepimlibs4 and security/qgpgme-qt5
Install the kde4 version of libqgpgme as libqgpgme4. * Bump revision in affected dependencies -- not all ports using USE_KDE=pimlibs actually link against libqgpgme. * Remove conflict from security/gpgme-qt5 * Drop KDE3 hunks from patch-cmake__modules__FindQGpgme.cmake PR: 212886 Reviewed by: rakuco Approved by: rakuco (mentor)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/kdepim4/Makefile1
-rw-r--r--deskutils/kdepimlibs4/Makefile2
-rw-r--r--deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake23
-rw-r--r--deskutils/kdepimlibs4/files/patch-qgpgme_CMakeLists.txt12
-rw-r--r--deskutils/kdepimlibs4/pkg-plist6
5 files changed, 27 insertions, 17 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile
index 3f8397cf00ee..a2093f976a2c 100644
--- a/deskutils/kdepim4/Makefile
+++ b/deskutils/kdepim4/Makefile
@@ -3,6 +3,7 @@
PORTNAME= kdepim
PORTVERSION= ${KDE4_KDELIBS_VERSION}
+PORTREVISION= 1
CATEGORIES= deskutils kde
MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
diff --git a/deskutils/kdepimlibs4/Makefile b/deskutils/kdepimlibs4/Makefile
index 62ed005eff3d..8afc72249318 100644
--- a/deskutils/kdepimlibs4/Makefile
+++ b/deskutils/kdepimlibs4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kdepimlibs
PORTVERSION= ${KDE4_KDELIBS_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils kde
MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
diff --git a/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake b/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
index 67d17cc2334c..c0fed2a7b252 100644
--- a/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
+++ b/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
@@ -1,16 +1,13 @@
---- ./cmake/modules/FindQGpgme.cmake.orig 2009-05-06 14:13:19.000000000 +0400
-+++ ./cmake/modules/FindQGpgme.cmake 2010-05-21 23:58:20.499901479 +0400
-@@ -17,11 +17,11 @@
+As we install libqgpgme as libqgpgme4, we have to search for 'gpgme4'.
+
+--- cmake/modules/FindQGpgme.cmake.orig 2015-06-24 12:43:14 UTC
++++ cmake/modules/FindQGpgme.cmake
+@@ -20,7 +20,7 @@ if(GPGME_FOUND)
HINTS ${GPGME_LIBRARY_DIR})
- else ( WIN32 )
- find_library(_QGPGME_EXTRA_LIBRARY gpgme++-pthread
-- HINTS ${GPGME_LIBRARY_DIR})
-+ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib)
endif()
-
- find_library(QGPGME_LIBRARY qgpgme
-- HINTS ${GPGME_LIBRARY_DIR})
-+ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib)
-
+
+- find_library(QGPGME_LIBRARY qgpgme
++ find_library(QGPGME_LIBRARY qgpgme4
+ HINTS ${GPGME_LIBRARY_DIR})
+
if (QGPGME_LIBRARY)
- # get the libdirectory and then go one up
diff --git a/deskutils/kdepimlibs4/files/patch-qgpgme_CMakeLists.txt b/deskutils/kdepimlibs4/files/patch-qgpgme_CMakeLists.txt
new file mode 100644
index 000000000000..d129049b2f55
--- /dev/null
+++ b/deskutils/kdepimlibs4/files/patch-qgpgme_CMakeLists.txt
@@ -0,0 +1,12 @@
+Install libqgpgme as libqgpgme4 to not conflict with security/gpgme-qt5
+
+--- qgpgme/CMakeLists.txt.orig 2016-11-19 14:44:57 UTC
++++ qgpgme/CMakeLists.txt
+@@ -49,6 +49,7 @@ if ( _any_gpgme_found )
+ set_target_properties( qgpgme PROPERTIES
+ VERSION ${_qgpgme_version}
+ SOVERSION ${_qgpgme_soversion}
++ OUTPUT_NAME qgpgme4
+ )
+
+ install( TARGETS qgpgme EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/deskutils/kdepimlibs4/pkg-plist b/deskutils/kdepimlibs4/pkg-plist
index 134e03723f62..80b494af56a0 100644
--- a/deskutils/kdepimlibs4/pkg-plist
+++ b/deskutils/kdepimlibs4/pkg-plist
@@ -1209,9 +1209,9 @@ lib/libmailtransport.so.%%KDE4_KDELIBS_VERSION%%
lib/libmicroblog.so
lib/libmicroblog.so.4
lib/libmicroblog.so.%%KDE4_KDELIBS_VERSION%%
-lib/libqgpgme.so
-lib/libqgpgme.so.1
-lib/libqgpgme.so.1.0.1
+lib/libqgpgme4.so
+lib/libqgpgme4.so.1
+lib/libqgpgme4.so.1.0.1
lib/libsyndication.so
lib/libsyndication.so.4
lib/libsyndication.so.%%KDE4_KDELIBS_VERSION%%