pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kcoreaddons: build on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Sun Jan 31 23:46:10 2016 +1300
Changeset:	5fb0b5467f9bbaec66c36eb1d56f93fbc17254f2

Modified Files:
	kcoreaddons/PLIST
	kcoreaddons/distinfo
Added Files:
	kcoreaddons/buildlink3.mk
	kcoreaddons/patches/patch-src_lib_caching_kshareddatacache_p.h

Log Message:
kcoreaddons: build on NetBSD

Build where KSDC_TIMEOUTS_SUPPORTED is not defined.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5fb0b5467f9bbaec66c36eb1d56f93fbc17254f2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 kcoreaddons/PLIST                                  | 172 +++++++++++++++++++++
 kcoreaddons/buildlink3.mk                          |  14 ++
 kcoreaddons/distinfo                               |   1 +
 .../patch-src_lib_caching_kshareddatacache_p.h     |  20 +++
 4 files changed, 207 insertions(+)

diffs:
diff --git a/kcoreaddons/PLIST b/kcoreaddons/PLIST
index e69de29..9eba531 100644
--- a/kcoreaddons/PLIST
+++ b/kcoreaddons/PLIST
@@ -0,0 +1,172 @@
+@comment $NetBSD$
+bin/desktoptojson
+include/KF5/KCoreAddons/KAboutData
+include/KF5/KCoreAddons/KAutoSaveFile
+include/KF5/KCoreAddons/KBackup
+include/KF5/KCoreAddons/KCompositeJob
+include/KF5/KCoreAddons/KDirWatch
+include/KF5/KCoreAddons/KExportPlugin
+include/KF5/KCoreAddons/KFileSystemType
+include/KF5/KCoreAddons/KFormat
+include/KF5/KCoreAddons/KJob
+include/KF5/KCoreAddons/KJobTrackerInterface
+include/KF5/KCoreAddons/KJobUiDelegate
+include/KF5/KCoreAddons/KMacroExpander
+include/KF5/KCoreAddons/KMessage
+include/KF5/KCoreAddons/KPluginFactory
+include/KF5/KCoreAddons/KPluginLoader
+include/KF5/KCoreAddons/KPluginMetaData
+include/KF5/KCoreAddons/KProcess
+include/KF5/KCoreAddons/KRandom
+include/KF5/KCoreAddons/KRandomSequence
+include/KF5/KCoreAddons/KSharedDataCache
+include/KF5/KCoreAddons/KShell
+include/KF5/KCoreAddons/KStringHandler
+include/KF5/KCoreAddons/KTextToHTML
+include/KF5/KCoreAddons/KTextToHTMLEmoticonsInterface
+include/KF5/KCoreAddons/KUrlMimeData
+include/KF5/KCoreAddons/KUser
+include/KF5/KCoreAddons/Kdelibs4ConfigMigrator
+include/KF5/KCoreAddons/Kdelibs4Migration
+include/KF5/KCoreAddons/kaboutdata.h
+include/KF5/KCoreAddons/kautosavefile.h
+include/KF5/KCoreAddons/kbackup.h
+include/KF5/KCoreAddons/kcompositejob.h
+include/KF5/KCoreAddons/kcoreaddons_export.h
+include/KF5/KCoreAddons/kdelibs4configmigrator.h
+include/KF5/KCoreAddons/kdelibs4migration.h
+include/KF5/KCoreAddons/kdirwatch.h
+include/KF5/KCoreAddons/kexportplugin.h
+include/KF5/KCoreAddons/kfilesystemtype.h
+include/KF5/KCoreAddons/kformat.h
+include/KF5/KCoreAddons/kjob.h
+include/KF5/KCoreAddons/kjobtrackerinterface.h
+include/KF5/KCoreAddons/kjobuidelegate.h
+include/KF5/KCoreAddons/kmacroexpander.h
+include/KF5/KCoreAddons/kmessage.h
+include/KF5/KCoreAddons/kpluginfactory.h
+include/KF5/KCoreAddons/kpluginloader.h
+include/KF5/KCoreAddons/kpluginmetadata.h
+include/KF5/KCoreAddons/kprocess.h
+include/KF5/KCoreAddons/krandom.h
+include/KF5/KCoreAddons/krandomsequence.h
+include/KF5/KCoreAddons/kshareddatacache.h
+include/KF5/KCoreAddons/kshell.h
+include/KF5/KCoreAddons/kstringhandler.h
+include/KF5/KCoreAddons/ktexttohtml.h
+include/KF5/KCoreAddons/ktexttohtmlemoticonsinterface.h
+include/KF5/KCoreAddons/kurlmimedata.h
+include/KF5/KCoreAddons/kuser.h
+include/KF5/kcoreaddons_version.h
+lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsConfigVersion.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsTargets-noconfig.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsTargets.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsToolingTargets-noconfig.cmake
+lib/cmake/KF5CoreAddons/KF5CoreAddonsToolingTargets.cmake
+lib/libKF5CoreAddons.so
+lib/libKF5CoreAddons.so.5
+lib/libKF5CoreAddons.so.${PKGVERSION}
+qt5/mkspecs/modules/qt_KCoreAddons.pri
+share/locale/af/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ar/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/as/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ast/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/be/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/be@latin/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/bg/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/bn/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/bn_IN/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/br/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/bs/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ca/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/crh/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/cs/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/csb/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/cy/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/da/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/de/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/el/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/en_GB/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/eo/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/es/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/et/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/eu/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/fa/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/fi/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/fr/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/fy/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ga/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/gd/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/gl/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/gu/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ha/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/he/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hi/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hne/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hr/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hsb/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hu/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/hy/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ia/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/id/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/is/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/it/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ja/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ka/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/kk/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/km/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/kn/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ko/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ku/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/lb/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/lt/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/lv/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/mai/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/mk/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ml/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/mr/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ms/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/nb/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/nds/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ne/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/nl/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/nn/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/oc/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/or/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/pa/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/pl/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ps/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/pt/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/pt_BR/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ro/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ru/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/se/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/si/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sk/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sl/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sq/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sr/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sr@ijekavian/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sr@ijekavianlatin/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sr@latin/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/sv/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ta/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/te/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/tg/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/th/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/tr/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/tt/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/ug/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/uk/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/uz/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/uz@cyrillic/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/vi/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/wa/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/xh/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/zh_CN/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/zh_HK/LC_MESSAGES/kcoreaddons5_qt.qm
+share/locale/zh_TW/LC_MESSAGES/kcoreaddons5_qt.qm
+share/mime/packages/kde5.xml
diff --git a/kcoreaddons/buildlink3.mk b/kcoreaddons/buildlink3.mk
new file mode 100644
index 0000000..e1b2080
--- /dev/null
+++ b/kcoreaddons/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	kcoreaddons
+
+.if !defined(KCOREADDONS_BUILDLINK3_MK)
+KCOREADDONS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kcoreaddons+=	kcoreaddons>=5.18.0
+BUILDLINK_PKGSRCDIR.kcoreaddons?=	../../wip/kcoreaddons
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif	# KCOREADDONS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-kcoreaddons
diff --git a/kcoreaddons/distinfo b/kcoreaddons/distinfo
index e68a20a..67eb582 100644
--- a/kcoreaddons/distinfo
+++ b/kcoreaddons/distinfo
@@ -4,3 +4,4 @@ SHA1 (kcoreaddons-5.18.0.tar.xz) = 7c41dbcc217d0e93cb276c84b23a55ad803e80a3
 RMD160 (kcoreaddons-5.18.0.tar.xz) = 8b2a07d0415ab5a3047549c3ef3e3ddb83279a0d
 SHA512 (kcoreaddons-5.18.0.tar.xz) = 1a1fcd2ac01b54c2d95eaa62119642d392aaeaa79aab4f36fb926e22342e30a4e6dd73cf5ea386eb7c04fc0f3aba54818a213c47b88f91a5a2ae31bcbc679bcd
 Size (kcoreaddons-5.18.0.tar.xz) = 312104 bytes
+SHA1 (patch-src_lib_caching_kshareddatacache_p.h) = 7683c70dad2d244aee2a60b3c1630335a40e18d3
diff --git a/kcoreaddons/patches/patch-src_lib_caching_kshareddatacache_p.h b/kcoreaddons/patches/patch-src_lib_caching_kshareddatacache_p.h
new file mode 100644
index 0000000..802d3c1
--- /dev/null
+++ b/kcoreaddons/patches/patch-src_lib_caching_kshareddatacache_p.h
@@ -0,0 +1,20 @@
+$NetBSD$
+
+semaphoreTimedLock use must be wrapped by KSDC_TIMEOUTS_SUPPORTED
+
+--- src/lib/caching/kshareddatacache_p.h.orig	2016-01-02 16:27:51.000000000 +0000
++++ src/lib/caching/kshareddatacache_p.h
+@@ -395,9 +395,12 @@ static SharedLockId findBestSharedLock()
+     {
+         sem_t tempSemaphore;
+         QSharedPointer<KSDCLock> tempLock(0);
++#ifdef KSDC_TIMEOUTS_SUPPORTED
+         if (timeoutsSupported) {
+             tempLock = QSharedPointer<KSDCLock>(new semaphoreTimedLock(tempSemaphore));
+-        } else {
++        } else
++#endif
++        {
+             tempLock = QSharedPointer<KSDCLock>(new semaphoreLock(tempSemaphore));
+         }
+ 


Home | Main Index | Thread Index | Old Index