pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/syntax-highlighting



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Jan 27 04:09:12 UTC 2018

Modified Files:
        pkgsrc/textproc/syntax-highlighting: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/syntax-highlighting/patches: patch-CMakeLists.txt

Log Message:
syntax-highlighting: Install org_kde_ksyntaxhighlighting.categories properly


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/syntax-highlighting/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/syntax-highlighting/PLIST \
    pkgsrc/textproc/syntax-highlighting/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/syntax-highlighting/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/textproc/syntax-highlighting/Makefile
diff -u pkgsrc/textproc/syntax-highlighting/Makefile:1.2 pkgsrc/textproc/syntax-highlighting/Makefile:1.3
--- pkgsrc/textproc/syntax-highlighting/Makefile:1.2    Wed Jan 24 19:06:10 2018
+++ pkgsrc/textproc/syntax-highlighting/Makefile        Sat Jan 27 04:09:12 2018
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/01/24 19:06:10 markd Exp $
+# $NetBSD: Makefile,v 1.3 2018/01/27 04:09:12 markd Exp $
 
 DISTNAME=      syntax-highlighting-${KF5VER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -12,6 +12,10 @@ LICENSE=     gnu-lgpl-v2.1
 
 USE_TOOLS+=    perl
 
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/org_kde_ksyntaxhighlighting.categories \
+               ${PKG_SYSCONFDIR}/xdg/org_kde_ksyntaxhighlighting.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 BUILDLINK_DEPMETHOD.qt5-qttools= build
 .include "../../x11/qt5-qttools/buildlink3.mk"

Index: pkgsrc/textproc/syntax-highlighting/PLIST
diff -u pkgsrc/textproc/syntax-highlighting/PLIST:1.1 pkgsrc/textproc/syntax-highlighting/PLIST:1.2
--- pkgsrc/textproc/syntax-highlighting/PLIST:1.1       Wed Jan 17 20:11:06 2018
+++ pkgsrc/textproc/syntax-highlighting/PLIST   Sat Jan 27 04:09:12 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/01/17 20:11:06 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/27 04:09:12 markd Exp $
 bin/kate-syntax-highlighter
 include/KF5/KSyntaxHighlighting/AbstractHighlighter
 include/KF5/KSyntaxHighlighting/Definition
@@ -26,6 +26,7 @@ lib/libKF5SyntaxHighlighting.so
 lib/libKF5SyntaxHighlighting.so.5
 lib/libKF5SyntaxHighlighting.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri
+share/examples/kde-xdg/org_kde_ksyntaxhighlighting.categories
 share/locale/af/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/ar/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/ast/LC_MESSAGES/syntaxhighlighting5_qt.qm
Index: pkgsrc/textproc/syntax-highlighting/distinfo
diff -u pkgsrc/textproc/syntax-highlighting/distinfo:1.1 pkgsrc/textproc/syntax-highlighting/distinfo:1.2
--- pkgsrc/textproc/syntax-highlighting/distinfo:1.1    Wed Jan 17 20:11:06 2018
+++ pkgsrc/textproc/syntax-highlighting/distinfo        Sat Jan 27 04:09:12 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2018/01/17 20:11:06 markd Exp $
+$NetBSD: distinfo,v 1.2 2018/01/27 04:09:12 markd Exp $
 
 SHA1 (syntax-highlighting-5.41.0.tar.xz) = ad61d8625a5bcc7d20dabe73509b3db53536d5f1
 RMD160 (syntax-highlighting-5.41.0.tar.xz) = 49913b2f58f39d9d61ffe7b1080e2f4622103076
 SHA512 (syntax-highlighting-5.41.0.tar.xz) = 86ed50766c9c0a3ef9e71421f5e7b9248ab1f28d0ecd424af57d643e613f488e572d001c55c58ab0ef501d6160b2db75dec0b325447132a5f49ff6dc6c52afea
 Size (syntax-highlighting-5.41.0.tar.xz) = 1108580 bytes
+SHA1 (patch-CMakeLists.txt) = 74daf57002d9a9fea008888f9510cdde293789ae
 SHA1 (patch-autotests_input_highlight.sh) = a03c2d3a389b066d914a1c1aab97977013af4626

Added files:

Index: pkgsrc/textproc/syntax-highlighting/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/syntax-highlighting/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sat Jan 27 04:09:12 2018
+++ pkgsrc/textproc/syntax-highlighting/patches/patch-CMakeLists.txt    Sat Jan 27 04:09:12 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/27 04:09:12 markd Exp $
+
+Install via examples dir
+
+--- CMakeLists.txt.orig        2018-01-27 03:59:04.323745347 +0000
++++ CMakeLists.txt
+@@ -109,6 +109,6 @@ endif()
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ksyntaxhighlighting_version.h"
+         DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}"
+         COMPONENT Devel)
+-install(FILES org_kde_ksyntaxhighlighting.categories DESTINATION ${KDE_INSTALL_CONFDIR})
++install(FILES org_kde_ksyntaxhighlighting.categories DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg)
+ 
+ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)



Home | Main Index | Thread Index | Old Index