aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kf5-kwallet
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2016-11-15 00:12:56 +0800
committertcberner <tcberner@FreeBSD.org>2016-11-15 00:12:56 +0800
commit6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf (patch)
treedbe08499461c3eea79dce8b1eca87e2699ef0d1c /sysutils/kf5-kwallet
parentbf14630d264a9160dc837c514f487902a2f64259 (diff)
downloadfreebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.tar.gz
freebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.tar.zst
freebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.zip
Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE that serve as technological foundation for KDE Plasma 5 and KDE Applications distributed under the GNU Lesser General Public License (LGPL) [1]. The work is based on what we have in the KDE testing repo [2]. This is the next big step in updating the KDE Desktop and its Applications to anything less dusty. With this change, `USES=kde:5` is now a valid option. Ports that need to depend on KDE Framework can now set: USES=kde:5 USE_KDE=<framework1> <framework2> ... <frameworkX> For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via: KWALLET_USE= KDE=wallet I would like to thank Raphael and Adriaan for reviewing the ports in the testing repo :) [1] https://en.wikipedia.org/wiki/KDE_Frameworks [2] http://src.mouf.net/area51/log/branches/plasma5 Reviewed by: rakuco, mat, groot_kde.org Approved by: rakuco (maintainer) Differential Revision: https://reviews.freebsd.org/D8329
Diffstat (limited to 'sysutils/kf5-kwallet')
-rw-r--r--sysutils/kf5-kwallet/Makefile25
-rw-r--r--sysutils/kf5-kwallet/distinfo3
-rw-r--r--sysutils/kf5-kwallet/files/patch-git_211e150140
-rw-r--r--sysutils/kf5-kwallet/pkg-descr6
-rw-r--r--sysutils/kf5-kwallet/pkg-plist136
5 files changed, 310 insertions, 0 deletions
diff --git a/sysutils/kf5-kwallet/Makefile b/sysutils/kf5-kwallet/Makefile
new file mode 100644
index 000000000000..079626ca10ae
--- /dev/null
+++ b/sysutils/kf5-kwallet/Makefile
@@ -0,0 +1,25 @@
+# Created by: tcberner
+# $FreeBSD$
+
+PORTNAME= kwallet
+PORTVERSION= ${KDE_FRAMEWORKS_VERSION}
+CATEGORIES= sysutils kde kde-frameworks
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KF5 secure and unified container for user passwords
+
+LIB_DEPENDS= libassuan.so:security/libassuan \
+ libboost_system.so:devel/boost-libs \
+ libgcrypt.so:security/libgcrypt \
+ libgpg-error.so:security/libgpg-error \
+ libgpgme.so:security/gpgme \
+ libqgpgme.so:security/gpgme-qt5 \
+ libgpgmepp.so:security/gpgme-cpp
+
+USES= cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
+USE_KDE= auth codecs config configwidgets coreaddons dbusaddons \
+ doctools ecm i18n iconthemes notifications service \
+ widgetsaddons windowsystem
+USE_QT5= buildtools_build core dbus gui qmake_build widgets xml
+
+.include <bsd.port.mk>
diff --git a/sysutils/kf5-kwallet/distinfo b/sysutils/kf5-kwallet/distinfo
new file mode 100644
index 000000000000..5d21b1206b38
--- /dev/null
+++ b/sysutils/kf5-kwallet/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475424081
+SHA256 (KDE/frameworks/5.27.0/kwallet-5.27.0.tar.xz) = 822d78d43ec4dbf1ceabe7ba2046933f2f63989666ef8cfd20d94cbcf69f99d6
+SIZE (KDE/frameworks/5.27.0/kwallet-5.27.0.tar.xz) = 308212
diff --git a/sysutils/kf5-kwallet/files/patch-git_211e150 b/sysutils/kf5-kwallet/files/patch-git_211e150
new file mode 100644
index 000000000000..d6f9f2fd057c
--- /dev/null
+++ b/sysutils/kf5-kwallet/files/patch-git_211e150
@@ -0,0 +1,140 @@
+From 211e150f1ccbc1ac2a6e74575535dd6858cdbeaf Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 25 Sep 2016 14:58:22 +0200
+Subject: [PATCH] Use Gpgmepp from GpgME-1.7.0
+
+REVIEW: 129071
+---
+ src/runtime/kwalletd/CMakeLists.txt | 18 ++++++++----------
+ src/runtime/kwalletd/backend/CMakeLists.txt | 10 +++++-----
+ tests/kwalletd/CMakeLists.txt | 12 ++++++------
+ 3 files changed, 19 insertions(+), 21 deletions(-)
+
+diff --git a/src/runtime/kwalletd/CMakeLists.txt b/src/runtime/kwalletd/CMakeLists.txt
+index d7e9ca2..a883af7 100644
+--- src/runtime/kwalletd/CMakeLists.txt
++++ src/runtime/kwalletd/CMakeLists.txt
+@@ -13,16 +13,14 @@ find_package(KF5WidgetsAddons ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5WindowSystem ${KF5_DEP_VERSION} REQUIRED)
+
+ ########### find needed packages ######
+-find_package(Gpgme) # Called by KF5Gpgmepp, but since we call some gpgme
+- # functions ourselves we need to link against it directly.
+-find_package(KF5Gpgmepp) # provided by kdepimlibs
++find_package(Gpgmepp) # provided by GpgME
+
+-if (KF5Gpgmepp_FOUND)
++if (Gpgmepp_FOUND)
+ message("GPG support enabled")
+ add_definitions(-DHAVE_QGPGME)
+ add_definitions(-DBOOST_NO_EXCEPTIONS)
+ include_directories(${GPGME_INCLUDES})
+-endif(KF5Gpgmepp_FOUND)
++endif(Gpgmepp_FOUND)
+
+
+ ########### build backends #########
+@@ -67,7 +65,7 @@ ki18n_wrap_ui(kwalletd_SRCS
+ migrationwizard2.ui
+ )
+
+-if (KF5Gpgmepp_FOUND)
++if (Gpgmepp_FOUND)
+ set(kwalletd_SRCS
+ ${kwalletd_SRCS}
+ knewwalletdialog.cpp
+@@ -78,7 +76,7 @@ if (KF5Gpgmepp_FOUND)
+ knewwalletdialogintro.ui
+ knewwalletdialoggpg.ui
+ )
+-endif(KF5Gpgmepp_FOUND)
++endif(Gpgmepp_FOUND)
+
+ find_file(kwallet_xml org.kde.KWallet.xml HINTS ${CMAKE_CURRENT_SOURCE_DIR}/../../api/KWallet)
+
+@@ -112,10 +110,10 @@ target_link_libraries(kwalletd5
+ KF5::WidgetsAddons
+ KF5::WindowSystem
+ KF5::Notifications)
+-if (KF5Gpgmepp_FOUND)
+- target_link_libraries(kwalletd5 KF5::Gpgmepp )
++if (Gpgmepp_FOUND)
++ target_link_libraries(kwalletd5 Gpgmepp)
+ kde_target_enable_exceptions(kwalletd5 PRIVATE)
+-endif(KF5Gpgmepp_FOUND)
++endif(Gpgmepp_FOUND)
+
+ install(TARGETS kwalletd5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
+
+diff --git a/src/runtime/kwalletd/backend/CMakeLists.txt b/src/runtime/kwalletd/backend/CMakeLists.txt
+index 20bd4d9..310953e 100644
+--- src/runtime/kwalletd/backend/CMakeLists.txt
++++ src/runtime/kwalletd/backend/CMakeLists.txt
+@@ -5,10 +5,10 @@ include(GenerateExportHeader)
+
+ check_include_files(stdint.h HAVE_STDINT_H)
+ check_include_files(sys/bitypes.h HAVE_SYS_BITYPES_H)
+-if (KF5Gpgmepp_FOUND)
++if (Gpgmepp_FOUND)
+ add_definitions(-DHAVE_QGPGME)
+ add_definitions(-DBOOST_NO_EXCEPTIONS)
+-endif(KF5Gpgmepp_FOUND)
++endif(Gpgmepp_FOUND)
+
+ configure_file (config-kwalletbackend.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwalletbackend.h )
+
+@@ -48,9 +48,9 @@ generate_export_header(kwalletbackend5)
+ ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KWALLETBACKEND SOVERSION 5)
+
+ target_link_libraries(kwalletbackend5 Qt5::Widgets KF5::WidgetsAddons KF5::CoreAddons KF5::Notifications KF5::I18n ${LIBGCRYPT_LIBRARIES})
+-if(KF5Gpgmepp_FOUND)
+-target_link_libraries(kwalletbackend5 KF5::Gpgmepp)
+-endif(KF5Gpgmepp_FOUND)
++if(Gpgmepp_FOUND)
++ target_link_libraries(kwalletbackend5 Gpgmepp)
++endif(Gpgmepp_FOUND)
+
+ # link with advapi32 on windows
+ if(WIN32 AND NOT WINCE)
+diff --git a/tests/kwalletd/CMakeLists.txt b/tests/kwalletd/CMakeLists.txt
+index c84c1db..1bb32d9 100644
+--- tests/kwalletd/CMakeLists.txt
++++ tests/kwalletd/CMakeLists.txt
+@@ -11,7 +11,7 @@ find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5IconThemes ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5WidgetsAddons ${KF5_DEP_VERSION} REQUIRED)
+-find_package(KF5Gpgmepp) # provided by kdepimlibs
++find_package(Gpgmepp) # provided by GpgME
+
+ remove_definitions(-DQT_NO_CAST_FROM_ASCII)
+ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
+@@ -29,10 +29,10 @@ qt5_wrap_ui(kwalletwizardtest_SRCS
+ ../../src/runtime/kwalletd/kwalletwizardpagegpgkey.ui
+ )
+
+-if (KF5Gpgmepp_FOUND)
++if (Gpgmepp_FOUND)
+ qt5_wrap_ui(kwalletwizardtest_SRCS
+ ../../src/runtime/kwalletd/kwalletwizardpagepasswordgpg.ui)
+-endif(KF5Gpgmepp_FOUND)
++endif(Gpgmepp_FOUND)
+
+ add_executable(kwalletwizardtest ${kwalletwizardtest_SRCS})
+ ecm_mark_as_test(kwalletwizardtest)
+@@ -43,9 +43,9 @@ target_link_libraries(kwalletwizardtest
+ KF5::I18n
+ KF5::IconThemes
+ KF5::WidgetsAddons)
+-if (KF5Gpgmepp_FOUND)
+- target_link_libraries(kwalletwizardtest KF5::Gpgmepp)
+-endif(KF5Gpgmepp_FOUND)
++if (Gpgmepp_FOUND)
++ target_link_libraries(kwalletwizardtest Gpgmepp)
++endif(Gpgmepp_FOUND)
+
+ set(kwallettestlib_SRCS kwallettest.cpp)
+ add_library(kwallettestlib STATIC ${kwallettestlib_SRCS})
+--
+2.10.1
+
diff --git a/sysutils/kf5-kwallet/pkg-descr b/sysutils/kf5-kwallet/pkg-descr
new file mode 100644
index 000000000000..a44740b335fe
--- /dev/null
+++ b/sysutils/kf5-kwallet/pkg-descr
@@ -0,0 +1,6 @@
+This framework contains two main components:
+ * Interface to KWallet, the safe desktop-wide storage for passwords
+ on KDE work spaces.
+ * The kwalletd used to safely store the passwords on KDE work spaces.
+
+WWW: http://api.kde.org/frameworks-api/frameworks5-apidocs/kwallet/html/index.html
diff --git a/sysutils/kf5-kwallet/pkg-plist b/sysutils/kf5-kwallet/pkg-plist
new file mode 100644
index 000000000000..b77d925d5d2b
--- /dev/null
+++ b/sysutils/kf5-kwallet/pkg-plist
@@ -0,0 +1,136 @@
+bin/kwalletd5
+bin/kwallet-query
+include/KF5/KWallet/KWallet
+include/KF5/KWallet/kwallet.h
+include/KF5/KWallet/kwallet_export.h
+include/KF5/kwallet_version.h
+lib/cmake/KF5Wallet/KF5WalletConfig.cmake
+lib/cmake/KF5Wallet/KF5WalletConfigVersion.cmake
+lib/cmake/KF5Wallet/KF5WalletTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/KF5Wallet/KF5WalletTargets.cmake
+lib/libKF5Wallet.so
+lib/libKF5Wallet.so.5
+lib/libKF5Wallet.so.%%KDE_FRAMEWORKS_VERSION%%
+lib/libkwalletbackend5.so
+lib/libkwalletbackend5.so.5
+lib/libkwalletbackend5.so.%%KDE_FRAMEWORKS_VERSION%%
+man/man1/kwallet-query.1.gz
+%%QT_MKSPECDIR%%/modules/qt_KWallet.pri
+share/dbus-1/interfaces/kf5_org.kde.KWallet.xml
+share/dbus-1/services/org.kde.kwalletd.service
+share/dbus-1/services/org.kde.kwalletd5.service
+share/knotifications5/kwalletd.notifyrc
+share/kservices5/kwalletd5.desktop
+share/locale/ar/LC_MESSAGES/kwalletd5.mo
+share/locale/ast/LC_MESSAGES/kwallet-query.mo
+share/locale/ast/LC_MESSAGES/kwalletd5.mo
+share/locale/be/LC_MESSAGES/kwalletd5.mo
+share/locale/bg/LC_MESSAGES/kwalletd5.mo
+share/locale/bn/LC_MESSAGES/kwalletd5.mo
+share/locale/bn_IN/LC_MESSAGES/kwalletd5.mo
+share/locale/bs/LC_MESSAGES/kwalletd5.mo
+share/locale/ca/LC_MESSAGES/kwallet-query.mo
+share/locale/ca/LC_MESSAGES/kwalletd5.mo
+share/locale/ca@valencia/LC_MESSAGES/kwalletd5.mo
+share/locale/ca@valencia/LC_MESSAGES/kwallet-query.mo
+share/locale/cs/LC_MESSAGES/kwallet-query.mo
+share/locale/cs/LC_MESSAGES/kwalletd5.mo
+share/locale/da/LC_MESSAGES/kwallet-query.mo
+share/locale/da/LC_MESSAGES/kwalletd5.mo
+share/locale/de/LC_MESSAGES/kwallet-query.mo
+share/locale/de/LC_MESSAGES/kwalletd5.mo
+share/locale/el/LC_MESSAGES/kwalletd5.mo
+share/locale/en_GB/LC_MESSAGES/kwallet-query.mo
+share/locale/en_GB/LC_MESSAGES/kwalletd5.mo
+share/locale/eo/LC_MESSAGES/kwalletd5.mo
+share/locale/es/LC_MESSAGES/kwallet-query.mo
+share/locale/es/LC_MESSAGES/kwalletd5.mo
+share/locale/et/LC_MESSAGES/kwallet-query.mo
+share/locale/et/LC_MESSAGES/kwalletd5.mo
+share/locale/eu/LC_MESSAGES/kwalletd5.mo
+share/locale/fa/LC_MESSAGES/kwalletd5.mo
+share/locale/fi/LC_MESSAGES/kwallet-query.mo
+share/locale/fi/LC_MESSAGES/kwalletd5.mo
+share/locale/fr/LC_MESSAGES/kwallet-query.mo
+share/locale/fr/LC_MESSAGES/kwalletd5.mo
+share/locale/fy/LC_MESSAGES/kwalletd5.mo
+share/locale/ga/LC_MESSAGES/kwalletd5.mo
+share/locale/gd/LC_MESSAGES/kwallet-query.mo
+share/locale/gd/LC_MESSAGES/kwalletd5.mo
+share/locale/gl/LC_MESSAGES/kwallet-query.mo
+share/locale/gl/LC_MESSAGES/kwalletd5.mo
+share/locale/gu/LC_MESSAGES/kwalletd5.mo
+share/locale/he/LC_MESSAGES/kwalletd5.mo
+share/locale/hi/LC_MESSAGES/kwalletd5.mo
+share/locale/hr/LC_MESSAGES/kwalletd5.mo
+share/locale/hsb/LC_MESSAGES/kwalletd5.mo
+share/locale/hu/LC_MESSAGES/kwalletd5.mo
+share/locale/ia/LC_MESSAGES/kwallet-query.mo
+share/locale/ia/LC_MESSAGES/kwalletd5.mo
+share/locale/id/LC_MESSAGES/kwalletd5.mo
+share/locale/is/LC_MESSAGES/kwalletd5.mo
+share/locale/it/LC_MESSAGES/kwallet-query.mo
+share/locale/it/LC_MESSAGES/kwalletd5.mo
+share/locale/ja/LC_MESSAGES/kwallet-query.mo
+share/locale/ja/LC_MESSAGES/kwalletd5.mo
+share/locale/kk/LC_MESSAGES/kwalletd5.mo
+share/locale/km/LC_MESSAGES/kwalletd5.mo
+share/locale/kn/LC_MESSAGES/kwalletd5.mo
+share/locale/ko/LC_MESSAGES/kwallet-query.mo
+share/locale/ko/LC_MESSAGES/kwalletd5.mo
+share/locale/ku/LC_MESSAGES/kwalletd5.mo
+share/locale/lt/LC_MESSAGES/kwallet-query.mo
+share/locale/lt/LC_MESSAGES/kwalletd5.mo
+share/locale/lv/LC_MESSAGES/kwalletd5.mo
+share/locale/mai/LC_MESSAGES/kwalletd5.mo
+share/locale/mk/LC_MESSAGES/kwalletd5.mo
+share/locale/ml/LC_MESSAGES/kwalletd5.mo
+share/locale/mr/LC_MESSAGES/kwalletd5.mo
+share/locale/ms/LC_MESSAGES/kwalletd5.mo
+share/locale/nb/LC_MESSAGES/kwalletd5.mo
+share/locale/nds/LC_MESSAGES/kwalletd5.mo
+share/locale/nl/LC_MESSAGES/kwallet-query.mo
+share/locale/nl/LC_MESSAGES/kwalletd5.mo
+share/locale/nn/LC_MESSAGES/kwallet-query.mo
+share/locale/nn/LC_MESSAGES/kwalletd5.mo
+share/locale/or/LC_MESSAGES/kwalletd5.mo
+share/locale/pa/LC_MESSAGES/kwalletd5.mo
+share/locale/pl/LC_MESSAGES/kwallet-query.mo
+share/locale/pl/LC_MESSAGES/kwalletd5.mo
+share/locale/pt/LC_MESSAGES/kwallet-query.mo
+share/locale/pt/LC_MESSAGES/kwalletd5.mo
+share/locale/pt_BR/LC_MESSAGES/kwallet-query.mo
+share/locale/pt_BR/LC_MESSAGES/kwalletd5.mo
+share/locale/ro/LC_MESSAGES/kwalletd5.mo
+share/locale/ru/LC_MESSAGES/kwallet-query.mo
+share/locale/ru/LC_MESSAGES/kwalletd5.mo
+share/locale/si/LC_MESSAGES/kwalletd5.mo
+share/locale/sk/LC_MESSAGES/kwallet-query.mo
+share/locale/sk/LC_MESSAGES/kwalletd5.mo
+share/locale/sl/LC_MESSAGES/kwallet-query.mo
+share/locale/sl/LC_MESSAGES/kwalletd5.mo
+share/locale/sq/LC_MESSAGES/kwalletd5.mo
+share/locale/sr/LC_MESSAGES/kwallet-query.mo
+share/locale/sr/LC_MESSAGES/kwalletd5.mo
+share/locale/sr@ijekavian/LC_MESSAGES/kwallet-query.mo
+share/locale/sr@ijekavian/LC_MESSAGES/kwalletd5.mo
+share/locale/sr@ijekavianlatin/LC_MESSAGES/kwallet-query.mo
+share/locale/sr@ijekavianlatin/LC_MESSAGES/kwalletd5.mo
+share/locale/sr@latin/LC_MESSAGES/kwallet-query.mo
+share/locale/sr@latin/LC_MESSAGES/kwalletd5.mo
+share/locale/sv/LC_MESSAGES/kwallet-query.mo
+share/locale/sv/LC_MESSAGES/kwalletd5.mo
+share/locale/te/LC_MESSAGES/kwalletd5.mo
+share/locale/tg/LC_MESSAGES/kwalletd5.mo
+share/locale/th/LC_MESSAGES/kwalletd5.mo
+share/locale/tr/LC_MESSAGES/kwalletd5.mo
+share/locale/ug/LC_MESSAGES/kwalletd5.mo
+share/locale/uk/LC_MESSAGES/kwallet-query.mo
+share/locale/uk/LC_MESSAGES/kwalletd5.mo
+share/locale/vi/LC_MESSAGES/kwalletd5.mo
+share/locale/wa/LC_MESSAGES/kwalletd5.mo
+share/locale/zh_CN/LC_MESSAGES/kwallet-query.mo
+share/locale/zh_CN/LC_MESSAGES/kwalletd5.mo
+share/locale/zh_TW/LC_MESSAGES/kwallet-query.mo
+share/locale/zh_TW/LC_MESSAGES/kwalletd5.mo
+