pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   markd
Date:           Sun May 26 13:12:39 UTC 2024

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/kf6-syntax-highlighting: DESCR Makefile PLIST
            buildlink3.mk distinfo
        pkgsrc/textproc/kf6-syntax-highlighting/patches:
            patch-autotests_input_highlight.sh

Log Message:
kf6-syntax-highlighting: add version 6.2.0

KDE Frameworks 6 syntax-highlighting.

This is a stand-alone implementation of the Kate syntax highlighting engine.
It's meant as a building block for text editors as well as for simple
highlighted text rendering (e.g. as HTML), supporting both integration with a
custom editor as well as a ready-to-use QSyntaxHighlighter sub-class.


To generate a diff of this commit:
cvs rdiff -u -r1.1474 -r1.1475 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/kf6-syntax-highlighting/DESCR \
    pkgsrc/textproc/kf6-syntax-highlighting/Makefile \
    pkgsrc/textproc/kf6-syntax-highlighting/PLIST \
    pkgsrc/textproc/kf6-syntax-highlighting/buildlink3.mk \
    pkgsrc/textproc/kf6-syntax-highlighting/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/kf6-syntax-highlighting/patches/patch-autotests_input_highlight.sh

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

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1474 pkgsrc/textproc/Makefile:1.1475
--- pkgsrc/textproc/Makefile:1.1474     Sun May 26 13:09:39 2024
+++ pkgsrc/textproc/Makefile    Sun May 26 13:12:38 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1474 2024/05/26 13:09:39 markd Exp $
+# $NetBSD: Makefile,v 1.1475 2024/05/26 13:12:38 markd Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -488,6 +488,7 @@ SUBDIR+=    kf6-kcodecs
 SUBDIR+=       kf6-kcompletion
 SUBDIR+=       kf6-ktexttemplate
 SUBDIR+=       kf6-sonnet
+SUBDIR+=       kf6-syntax-highlighting
 SUBDIR+=       kpimtextedit
 SUBDIR+=       ktextaddons
 SUBDIR+=       latex2html

Added files:

Index: pkgsrc/textproc/kf6-syntax-highlighting/DESCR
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/DESCR:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/DESCR       Sun May 26 13:12:38 2024
@@ -0,0 +1,4 @@
+This is a stand-alone implementation of the Kate syntax highlighting engine.
+It's meant as a building block for text editors as well as for simple
+highlighted text rendering (e.g. as HTML), supporting both integration with a
+custom editor as well as a ready-to-use QSyntaxHighlighter sub-class.
Index: pkgsrc/textproc/kf6-syntax-highlighting/Makefile
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/Makefile:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/Makefile    Sun May 26 13:12:38 2024
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2024/05/26 13:12:38 markd Exp $
+
+DISTNAME=      syntax-highlighting-${KF6VER}
+CATEGORIES=    textproc
+
+HOMEPAGE=      https://community.kde.org/Frameworks
+COMMENT=       Syntax highlighting engine for structured text and code
+LICENSE=       gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kde/kf6.mk"
+
+USE_TOOLS+=    perl pkg-config
+
+CHECK_PORTABILITY_SKIP+=       autotests/input/highlight.sh
+CHECK_PORTABILITY_SKIP+=       autotests/folding/highlight.sh.fold
+
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../lang/qt6-qtdeclarative/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/atomic64.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/kf6-syntax-highlighting/PLIST
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/PLIST:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/PLIST       Sun May 26 13:12:39 2024
@@ -0,0 +1,123 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/26 13:12:39 markd Exp $
+bin/ksyntaxhighlighter6
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/AbstractHighlighter
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/Definition
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/DefinitionDownloader
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/FoldingRegion
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/Format
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/Repository
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/State
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/SyntaxHighlighter
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/Theme
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/WildcardMatcher
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/abstracthighlighter.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/definition.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/definitiondownloader.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/foldingregion.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/format.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/ksyntaxhighlighting_export.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/repository.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/state.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/syntaxhighlighter.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/theme.h
+include/KF6/KSyntaxHighlighting/KSyntaxHighlighting/wildcardmatcher.h
+include/KF6/KSyntaxHighlighting/ksyntaxhighlighting_version.h
+lib/cmake/KF6SyntaxHighlighting/KF6SyntaxHighlightingConfig.cmake
+lib/cmake/KF6SyntaxHighlighting/KF6SyntaxHighlightingConfigVersion.cmake
+lib/cmake/KF6SyntaxHighlighting/KF6SyntaxHighlightingTargets-noconfig.cmake
+lib/cmake/KF6SyntaxHighlighting/KF6SyntaxHighlightingTargets.cmake
+lib/libKF6SyntaxHighlighting.so
+lib/libKF6SyntaxHighlighting.so.6
+lib/libKF6SyntaxHighlighting.so.${PKGVERSION}
+qt6/qml/org/kde/syntaxhighlighting/kde-qmlmodule.version
+qt6/qml/org/kde/syntaxhighlighting/kquicksyntaxhighlightingplugin.qmltypes
+qt6/qml/org/kde/syntaxhighlighting/libkquicksyntaxhighlightingplugin.so
+qt6/qml/org/kde/syntaxhighlighting/qmldir
+share/locale/af/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ar/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ast/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/az/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/be/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/bg/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/bn/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/br/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/bs/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ca/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/cs/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/cy/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/da/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/de/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/el/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/en_GB/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/eo/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/es/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/et/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/eu/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/fa/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/fi/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/fr/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/fy/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ga/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/gl/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/gu/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/he/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/hi/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/hr/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/hsb/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/hu/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ia/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/id/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/is/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/it/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ja/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ka/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/kk/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/km/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ko/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ku/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/lb/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/lt/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/lv/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/mai/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/mk/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ml/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/mr/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ms/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/nb/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/nds/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ne/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/nl/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/nn/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/oc/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/pa/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/pl/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/pt/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/pt_BR/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ro/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ru/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/se/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/si/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sk/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sl/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sq/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sr/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sr@ijekavian/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sr@ijekavianlatin/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sr@latin/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/sv/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ta/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/tg/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/th/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/tr/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/ug/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/uk/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/uz/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/uz@cyrillic/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/vi/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/wa/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/xh/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/zh_CN/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/locale/zh_TW/LC_MESSAGES/syntaxhighlighting6_qt.qm
+share/qlogging-categories6/ksyntaxhighlighting.categories
+share/qlogging-categories6/ksyntaxhighlighting.renamecategories
Index: pkgsrc/textproc/kf6-syntax-highlighting/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/buildlink3.mk:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/buildlink3.mk       Sun May 26 13:12:39 2024
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/05/26 13:12:39 markd Exp $
+
+BUILDLINK_TREE+=       kf6-syntax-highlighting
+
+.if !defined(KF6_SYNTAX_HIGHLIGHTING_BUILDLINK3_MK)
+KF6_SYNTAX_HIGHLIGHTING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kf6-syntax-highlighting+=        kf6-syntax-highlighting>=6.2.0
+BUILDLINK_PKGSRCDIR.kf6-syntax-highlighting?=  ../../textproc/kf6-syntax-highlighting
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif # KF6_SYNTAX_HIGHLIGHTING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -kf6-syntax-highlighting
Index: pkgsrc/textproc/kf6-syntax-highlighting/distinfo
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/distinfo:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/distinfo    Sun May 26 13:12:39 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/05/26 13:12:39 markd Exp $
+
+BLAKE2s (syntax-highlighting-6.2.0.tar.xz) = 33a8d3f9a474885eb63ce07a495b9e0e1c2b437c9d529f2d9b35efe19accf9de
+SHA512 (syntax-highlighting-6.2.0.tar.xz) = 4578d145bccbb269e0cf29b934b035d0dad8c22938e98c31a49e2982372d5ad66bd76c85794a5e1231ded7d6ba6399e487eb28e2aefb76867b0d2aa37e8f23af
+Size (syntax-highlighting-6.2.0.tar.xz) = 3531776 bytes
+SHA1 (patch-autotests_input_highlight.sh) = a03c2d3a389b066d914a1c1aab97977013af4626

Index: pkgsrc/textproc/kf6-syntax-highlighting/patches/patch-autotests_input_highlight.sh
diff -u /dev/null pkgsrc/textproc/kf6-syntax-highlighting/patches/patch-autotests_input_highlight.sh:1.1
--- /dev/null   Sun May 26 13:12:39 2024
+++ pkgsrc/textproc/kf6-syntax-highlighting/patches/patch-autotests_input_highlight.sh  Sun May 26 13:12:39 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-autotests_input_highlight.sh,v 1.1 2024/05/26 13:12:39 markd Exp $
+
+--- autotests/input/highlight.sh.orig  2017-12-02 20:10:35.000000000 +0000
++++ autotests/input/highlight.sh
+@@ -159,9 +159,9 @@ make  destdir=/usr/
+ 
+ # [[ and [ correctly need spaces to be regarded as structure,
+ # otherwise they are patterns (currently treated as normal text)
+-if [ "$p" == "" ] ; then
++if [ "$p" = "" ] ; then
+       ls /usr/bin/[a-z]*
+-elif [[ $p == 0 ]] ; then
++elif [[ $p = 0 ]] ; then
+       ls /usr/share/$p
+ fi
+ 



Home | Main Index | Thread Index | Old Index