pkgsrc-WIP-changes archive

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

plasma-desktop: Install lookandfeel.knsrc properly



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Sat Jan 27 18:00:34 2018 +1300
Changeset:	07f831b8fba8f2af72b25a0daf825475c52e20a3

Modified Files:
	plasma-desktop/Makefile
	plasma-desktop/PLIST
	plasma-desktop/distinfo
Added Files:
	plasma-desktop/patches/patch-kcms_lookandfeel_CMakeLists.txt

Log Message:
plasma-desktop: Install lookandfeel.knsrc properly

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

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

diffstat:
 plasma-desktop/Makefile                                   |  2 ++
 plasma-desktop/PLIST                                      |  1 +
 plasma-desktop/distinfo                                   |  1 +
 .../patches/patch-kcms_lookandfeel_CMakeLists.txt         | 15 +++++++++++++++
 4 files changed, 19 insertions(+)

diffs:
diff --git a/plasma-desktop/Makefile b/plasma-desktop/Makefile
index c4ea1135db..5593f4afa8 100644
--- a/plasma-desktop/Makefile
+++ b/plasma-desktop/Makefile
@@ -28,6 +28,8 @@ CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/icons.knsrc \
 		${PKG_SYSCONFDIR}/xdg/icons.knsrc
 CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/kfontinst.knsrc \
 		${PKG_SYSCONFDIR}/xdg/kfontinst.knsrc
+CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/lookandfeel.knsrc \
+		${PKG_SYSCONFDIR}/xdg/lookandfeel.knsrc
 CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/plasma-themes.knsrc \
 		${PKG_SYSCONFDIR}/xdg/plasma-themes.knsrc
 CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/xcursor.knsrc \
diff --git a/plasma-desktop/PLIST b/plasma-desktop/PLIST
index 7bacfcc3be..c376ae3e17 100644
--- a/plasma-desktop/PLIST
+++ b/plasma-desktop/PLIST
@@ -868,6 +868,7 @@ share/examples/kde-xdg/colorschemes.knsrc
 share/examples/kde-xdg/emoticons.knsrc
 share/examples/kde-xdg/icons.knsrc
 share/examples/kde-xdg/kfontinst.knsrc
+share/examples/kde-xdg/lookandfeel.knsrc
 share/examples/kde-xdg/plasma-themes.knsrc
 share/examples/kde-xdg/xcursor.knsrc
 share/examples/plasma-desktop/org.kde.fontinst.conf
diff --git a/plasma-desktop/distinfo b/plasma-desktop/distinfo
index aeb9f21e58..4413d63584 100644
--- a/plasma-desktop/distinfo
+++ b/plasma-desktop/distinfo
@@ -10,3 +10,4 @@ SHA1 (patch-kcms_desktoptheme_CMakeLists.txt) = 18f73dcc1b00f71f7485c8154d9a8840
 SHA1 (patch-kcms_emoticons_CMakeLists.txt) = d2edd60b36e27102efdb0d78986483c4c782633c
 SHA1 (patch-kcms_icons_CMakeLists.txt) = b6433da0618da4e099e88b06a359db698e9820b6
 SHA1 (patch-kcms_kfontinst_kcmfontinst_CMakeLists.txt) = a54f4f140227e15134d5b3d231c1f35652921df4
+SHA1 (patch-kcms_lookandfeel_CMakeLists.txt) = 69c453e8f8201b85674ad1267500b1fd8c1859b6
diff --git a/plasma-desktop/patches/patch-kcms_lookandfeel_CMakeLists.txt b/plasma-desktop/patches/patch-kcms_lookandfeel_CMakeLists.txt
new file mode 100644
index 0000000000..8fd6e2285b
--- /dev/null
+++ b/plasma-desktop/patches/patch-kcms_lookandfeel_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Install via examples dir
+
+--- kcms/lookandfeel/CMakeLists.txt.orig	2018-01-02 16:45:43.855464107 +0000
++++ kcms/lookandfeel/CMakeLists.txt
+@@ -49,7 +49,7 @@ kcoreaddons_desktop_to_json(kcm_lookandf
+ #this desktop file is installed only for retrocompatibility with sycoca
+ install(FILES kcm_lookandfeel.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+ install(TARGETS kcm_lookandfeel DESTINATION ${PLUGIN_INSTALL_DIR}/kcms)
+-install(FILES lookandfeel.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
++install(FILES lookandfeel.knsrc DESTINATION ${KDE_INSTALL_XDG_EX_DIR})
+ 
+ if(BUILD_TESTING)
+    find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED)


Home | Main Index | Thread Index | Old Index