diff options
Diffstat (limited to 'kde-frameworks/syntax-highlighting')
8 files changed, 178 insertions, 61 deletions
diff --git a/kde-frameworks/syntax-highlighting/Manifest b/kde-frameworks/syntax-highlighting/Manifest index 0f069d960ef8..347a25dd6b4e 100644 --- a/kde-frameworks/syntax-highlighting/Manifest +++ b/kde-frameworks/syntax-highlighting/Manifest @@ -1,2 +1,3 @@ -DIST syntax-highlighting-5.82.0.tar.xz 2290880 BLAKE2B 14a98534b4e0ec85bd3bb3603c6330f665b5d2a3958f1b9034e48fdc542aca0c0eca80a1bc5c75179c480ffb40189dd94a847093e81ab4af91442a9e323f7d32 SHA512 4487fece4b144fcdc3b03bc0c11573dcdb0bb073218f25a98a7d08fe55db0fde027f32b5614fa5083097136310cae46d7d28288f7f874eaa2fbd930af2d9fb16 -DIST syntax-highlighting-5.84.0.tar.xz 2328668 BLAKE2B e1df65b9897a391e2c0e33db7e48839a493b781d4904f16b4c6657603a79957fa21a08113afd386d036690754caf302127a721b9dfc71bd2dea36ef11564c6c1 SHA512 0eef420b8aa3917f28bfd64cbe046ebbfe34e9e537c7641666921d26931b3e5eab671b7b104857930fd35981f55bdce9d114b318b4bad2106479e1c3328b690b +DIST syntax-highlighting-5.115.0.tar.xz 3432708 BLAKE2B 3ecfda27588509e5b791f3a78806c6fc3d898807157edef9e574c73f26069b1d92093d8c760da785cc9d769504a13f261c340fa4829857f37e158ade81a96dee SHA512 6a25a6c3be6258e956663065864ec177d05d91c817e79922ba599e45d4738813746a7c751c5043135d2c7255d341a60a6152e1d02ad90136e00a97ecb2ecd479 +DIST syntax-highlighting-5.116.0.tar.xz 3432360 BLAKE2B 588924dfe0192d2538068e5b622ce2f8bec16d4203409dd99d7597024a4dfbcfefac070a022d48bb82717fb47dce9d8683405da818be7c624662b91656b0b86c SHA512 e8d0f424ad0349ef1a97fa6cb6a785ef9f2d20ca116b92ad4455bb87a61f868197cbb40e014a4eb0778aee12f40cf892af12717ebbd3545adf76afc05657d5a5 +DIST syntax-highlighting-6.2.0.tar.xz 3531776 BLAKE2B e71c3b0203713aa4e5133f94f6b37bb1c04f1113b029f92ef88ba32c5fbd88f6d573dc7f137ab3ad3243cb03b31cb4f0f74cc2a5af30236cdf4344338fea6815 SHA512 4578d145bccbb269e0cf29b934b035d0dad8c22938e98c31a49e2982372d5ad66bd76c85794a5e1231ded7d6ba6399e487eb28e2aefb76867b0d2aa37e8f23af diff --git a/kde-frameworks/syntax-highlighting/files/syntax-highlighting-5.115.0-fix-tests.patch b/kde-frameworks/syntax-highlighting/files/syntax-highlighting-5.115.0-fix-tests.patch new file mode 100644 index 000000000000..8ab49e752f2a --- /dev/null +++ b/kde-frameworks/syntax-highlighting/files/syntax-highlighting-5.115.0-fix-tests.patch @@ -0,0 +1,85 @@ +From aaede4eff4f9aa160be767c7b1aee0cf27cbb0e8 Mon Sep 17 00:00:00 2001 +From: Christoph Cullmann <cullmann@kde.org> +Date: Sun, 3 Mar 2024 18:01:38 +0100 +Subject: [PATCH] use (?:sub){0,2} to work with all pcre versions + +--- + autotests/html/highlight.ly.dark.html | 2 +- + autotests/html/highlight.ly.html | 2 +- + autotests/reference/highlight.ly.ref | 2 +- + data/syntax/lilypond.xml | 6 +++--- + 4 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/autotests/html/highlight.ly.dark.html b/autotests/html/highlight.ly.dark.html +index 8a8466174..441a16839 100644 +--- a/autotests/html/highlight.ly.dark.html ++++ b/autotests/html/highlight.ly.dark.html +@@ -15,7 +15,7 @@ + <span style="color:#7a7c7d;">%}</span> + + <span style="font-weight:bold;">\header {</span> +- title = <span style="color:#f44f4f;">"Katepart Lilypond syntax highlighting test file"</span> ++ <span style="color:#2980b9;">title</span> = <span style="color:#f44f4f;">"Katepart Lilypond syntax highlighting test file"</span> + <span style="color:#2980b9;">composer</span> = <span style="color:#7a7c7d;">%{"Wilbert Berendsen"%}</span> <span style="color:#f44f4f;">"Anonymus"</span> + <span style="color:#2980b9;">poet</span> = <span style="color:#f44f4f;">"The KDE team"</span> + <span style="color:#2980b9;">opus</span> = <span style="color:#f44f4f;">"1"</span> +diff --git a/autotests/html/highlight.ly.html b/autotests/html/highlight.ly.html +index 8bc714646..1081ed38c 100644 +--- a/autotests/html/highlight.ly.html ++++ b/autotests/html/highlight.ly.html +@@ -15,7 +15,7 @@ + <span style="color:#898887;">%}</span> + + <span style="font-weight:bold;">\header {</span> +- title = <span style="color:#bf0303;">"Katepart Lilypond syntax highlighting test file"</span> ++ <span style="color:#0057ae;">title</span> = <span style="color:#bf0303;">"Katepart Lilypond syntax highlighting test file"</span> + <span style="color:#0057ae;">composer</span> = <span style="color:#898887;">%{"Wilbert Berendsen"%}</span> <span style="color:#bf0303;">"Anonymus"</span> + <span style="color:#0057ae;">poet</span> = <span style="color:#bf0303;">"The KDE team"</span> + <span style="color:#0057ae;">opus</span> = <span style="color:#bf0303;">"1"</span> +diff --git a/autotests/reference/highlight.ly.ref b/autotests/reference/highlight.ly.ref +index f11654d43..9b7afdb3c 100644 +--- a/autotests/reference/highlight.ly.ref ++++ b/autotests/reference/highlight.ly.ref +@@ -9,7 +9,7 @@ + <Comment>%}</Comment><br/> + <Normal Text></Normal Text><br/> + <Keyword>\header {</Keyword><br/> +-<Normal Text> title = </Normal Text><Quoted Text>"Katepart Lilypond syntax highlighting test file"</Quoted Text><br/> ++<Normal Text> </Normal Text><Variable>title</Variable><Normal Text> = </Normal Text><Quoted Text>"Katepart Lilypond syntax highlighting test file"</Quoted Text><br/> + <Normal Text> </Normal Text><Variable>composer</Variable><Normal Text> = </Normal Text><Comment>%{"Wilbert Berendsen"%}</Comment><Normal Text> </Normal Text><Quoted Text>"Anonymus"</Quoted Text><br/> + <Normal Text> </Normal Text><Variable>poet</Variable><Normal Text> = </Normal Text><Quoted Text>"The KDE team"</Quoted Text><br/> + <Normal Text> </Normal Text><Variable>opus</Variable><Normal Text> = </Normal Text><Quoted Text>"1"</Quoted Text><br/> +diff --git a/data/syntax/lilypond.xml b/data/syntax/lilypond.xml +index 58a4459db..1894d4063 100644 +--- a/data/syntax/lilypond.xml ++++ b/data/syntax/lilypond.xml +@@ -23,7 +23,7 @@ + <!ENTITY markupnotextargs "arrow-head|beam|char|(semi|sesqui|double)?(flat|sharp)|draw-(circle|line)|epsfile|eyeglasses|filled-box|fret-diagram(-terse|-verbose)?|fromproperty|harp-pedal|(justify|wordwrap)-(field|string)|left-brace|lookup|markalphabet|markletter|musicglyph|natural|note-by-number|note|null|path|right-brace|simple|(back)?slashed-digit|stencil|strut|tied-lyric|triangle|verbatim-file"> + <!ENTITY markupwithtextargs "markup|bold|(rounded-)?box|bracket|caps|(center|general|left|right)-align|circle|((center|dir|left|right)-)?column|combine|concat|dynamic|fill-line|finger|fontCaps|(abs-)?fontsize|fraction|halign|hbracket|hcenter-in|hcenter|hspace|huge|italic|justify|larger?|line|lower|magnify|medium|normal-size-(sub|super)|normal-text|normalsize|number|on-the-fly|override|pad-(around|markup|to-box|x)|page-ref|postscript|put-adjacent|raise|roman|rotate|sans|small(er)?|smallCaps|sub|super|teeny|text|tiny|translate(-scaled)?|transparent|typewriter|underline|upright|vcenter|whiteout|with-(color|dimensions|url)|wordwrap|(markup|column-|justified-|override-|wordwrap-)lines|wordwrap-(string-)?internal"> + <!ENTITY deprecatedmarkup "bigger|h?center"> +- <!ENTITY headervars "dedication|(sub){,2}title|poet|composer|meter|opus|arranger|instrument|piece|breakbefore|copyright|tagline|mutopia(title|composer|poet|opus|instrument)|date|enteredby|source|style|maintainer(Email|Web)?|moreInfo|lastupdated|texidoc|footer"> ++ <!ENTITY headervars "dedication|(?:sub){0,2}title|poet|composer|meter|opus|arranger|instrument|piece|breakbefore|copyright|tagline|mutopia(title|composer|poet|opus|instrument)|date|enteredby|source|style|maintainer(Email|Web)?|moreInfo|lastupdated|texidoc|footer"> + + <!-- The '-new' entities are for for LilyPond 2.13.4 and higher, and '-old' for LilyPond up to 2.12 --> + <!ENTITY paper-margin "(top|bottom|left|right)-margin|(foot|head)-separation|indent|short-indent|paper-(height|width)|horizontal-shift|line-width"> +@@ -56,7 +56,7 @@ + ]> + <language name="LilyPond" section="Other" + style="lilypond" indenter="lilypond" +- version="10" kateversion="5.0" ++ version="11" kateversion="5.0" + extensions="*.ly;*.LY;*.ily;*.ILY;*.lyi;*.LYI" + mimetype="text/x-lilypond" + author="Wilbert Berendsen (info@wilbertberendsen.nl)" license="LGPL"> +@@ -1076,7 +1076,7 @@ + <RegExpr String="("?)\b(?:&engravers00;|&engravers01;|&engravers02;|&engravers1;|&engravers2;)\b\1" attribute="Engraver"/> + <keyword String="layoutobjects" attribute="Layout Object"/> + <keyword String="properties" attribute="Property"/> +- <RegExpr String="\b(&headervars;|&papervars;|&layoutvars;)\b" attribute="Variable"/> ++ <RegExpr String="\b(?:&headervars;|&papervars;|&layoutvars;)\b" attribute="Variable"/> + <keyword String="deprecatedproperties" attribute="Deprecated Property"/> + <IncludeRules context="default"/> + </context> +-- +GitLab + diff --git a/kde-frameworks/syntax-highlighting/metadata.xml b/kde-frameworks/syntax-highlighting/metadata.xml index 2fdbf33d963d..506ecf605bc4 100644 --- a/kde-frameworks/syntax-highlighting/metadata.xml +++ b/kde-frameworks/syntax-highlighting/metadata.xml @@ -1,8 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/</bugs-to> + </upstream> + <slots> + <subslots> + Must only be used by packages that are known to use private parts of the Frameworks API. + </subslots> + </slots> </pkgmetadata> diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.115.0-r1.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.115.0-r1.ebuild new file mode 100644 index 000000000000..93a2dfd1f115 --- /dev/null +++ b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.115.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +QTMIN=5.15.9 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for syntax highlighting" + +LICENSE="MIT" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" +IUSE="" + +RDEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 +" +DEPEND="${RDEPEND} + >=dev-qt/qtxmlpatterns-${QTMIN}:5" +BDEPEND=" + dev-lang/perl + >=dev-qt/linguist-tools-${QTMIN}:5 +" + +PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" ) # bug 924756 diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.116.0.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.116.0.ebuild new file mode 100644 index 000000000000..5f772b6dfcc3 --- /dev/null +++ b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.116.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +QTMIN=5.15.9 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for syntax highlighting" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 +" +DEPEND="${RDEPEND} + >=dev-qt/qtxmlpatterns-${QTMIN}:5" +BDEPEND=" + dev-lang/perl + >=dev-qt/linguist-tools-${QTMIN}:5 +" diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.82.0.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.82.0.ebuild deleted file mode 100644 index 17d20ea30d1a..000000000000 --- a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.82.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_TEST="forceoptional" -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Framework for syntax highlighting" -LICENSE="MIT" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="nls" - -BDEPEND=" - dev-lang/perl - nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) -" -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtxmlpatterns-${QTMIN}:5 -" -RDEPEND="${DEPEND}" - -src_install() { - ecm_src_install - dobin "${BUILD_DIR}"/bin/katehighlightingindexer -} diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.84.0.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-5.84.0.ebuild deleted file mode 100644 index 02499f839b90..000000000000 --- a/kde-frameworks/syntax-highlighting/syntax-highlighting-5.84.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_TEST="forceoptional" -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Framework for syntax highlighting" -LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="nls" - -BDEPEND=" - dev-lang/perl - nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) -" -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtxmlpatterns-${QTMIN}:5 -" -RDEPEND="${DEPEND}" - -src_install() { - ecm_src_install - dobin "${BUILD_DIR}"/bin/katehighlightingindexer -} diff --git a/kde-frameworks/syntax-highlighting/syntax-highlighting-6.2.0.ebuild b/kde-frameworks/syntax-highlighting/syntax-highlighting-6.2.0.ebuild new file mode 100644 index 000000000000..059677d77655 --- /dev/null +++ b/kde-frameworks/syntax-highlighting/syntax-highlighting-6.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +QTMIN=6.6.2 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for syntax highlighting" + +LICENSE="MIT" +KEYWORDS="~amd64" +IUSE="" + +# examples: dev-qt/qtbase[printsupport,widgets] +RDEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,network] + >=dev-qt/qtdeclarative-${QTMIN}:6 +" +DEPEND="${RDEPEND} + dev-libs/xerces-c +" +BDEPEND=" + dev-lang/perl + >=dev-qt/qttools-${QTMIN}:6[linguist] +" |