[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/178: gnu: Add ksyntaxhighlighting-6.
From: |
guix-commits |
Subject: |
17/178: gnu: Add ksyntaxhighlighting-6. |
Date: |
Mon, 17 Jun 2024 12:13:17 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit 14ca95dacfe36d8808a19ce2084aaf17a54270f8
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Mar 6 18:50:35 2024 +0800
gnu: Add ksyntaxhighlighting-6.
* gnu/packages/kde-frameworks.scm (ksyntaxhighlighting-6): New variable.
(ksyntaxhighlighting): Inherit above.
Change-Id: I7c6cfa1f98137a7ee61ea4d7081c9af5da68cbea
---
gnu/packages/kde-frameworks.scm | 57 +++++++++++++++++++++++++++--------------
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 284612fc63..9506f6d297 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1370,10 +1370,10 @@ pixel units.")
(list extra-cmake-modules qttools-5))
(arguments '())))
-(define-public ksyntaxhighlighting
+(define-public ksyntaxhighlighting-6
(package
(name "ksyntaxhighlighting")
- (version "5.114.0")
+ (version "6.1.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1382,27 +1382,25 @@ pixel units.")
"syntax-highlighting-" version ".tar.xz"))
(sha256
(base32
- "1skblg2m0sar63qrgkjsg0w9scixggm5qj7lp4gzjn4hwq6m3n63"))))
+ "1dnacxfrr0llsv2zkn55iywrp3lm8xb7w5fn2pb9fghf5c2ljx0y"))))
(build-system cmake-build-system)
(native-inputs
- (list extra-cmake-modules perl qttools-5
- ;; Optional, for compile-time validation of syntax definition files:
- qtxmlpatterns))
+ (list extra-cmake-modules perl qttools))
(inputs
- (list qtbase-5))
+ (list qtbase qtdeclarative))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-source-shebangs 'unpatch-source-shebang
- (lambda _
- ;; revert the patch-shebang phase on scripts which are
- ;; in fact test data
- (substitute* '("autotests/input/highlight.sh"
- "autotests/folding/highlight.sh.fold")
- (((which "sh")) " /bin/sh")) ;; space in front!
- (substitute* '("autotests/input/highlight.pl"
- "autotests/folding/highlight.pl.fold")
- (((which "perl")) "/usr/bin/perl")))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'unpatch-source-shebang
+ (lambda _
+ ;; revert the patch-shebang phase on scripts which are
+ ;; in fact test data
+ (substitute* '("autotests/input/highlight.sh"
+ "autotests/folding/highlight.sh.fold")
+ (((which "sh")) " /bin/sh")) ;; space in front!
+ (substitute* '("autotests/input/highlight.pl"
+ "autotests/folding/highlight.pl.fold")
+ (((which "perl")) "/usr/bin/perl")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Syntax highlighting engine for Kate syntax definitions")
(description "This is a stand-alone implementation of the Kate syntax
@@ -1413,6 +1411,27 @@ integration with a custom editor as well as a
ready-to-use
(properties `((upstream-name . "syntax-highlighting")))
(license license:lgpl2.1+)))
+(define-public ksyntaxhighlighting
+ (package
+ (inherit ksyntaxhighlighting-6)
+ (name "ksyntaxhighlighting")
+ (version "5.114.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ "syntax-highlighting-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1skblg2m0sar63qrgkjsg0w9scixggm5qj7lp4gzjn4hwq6m3n63"))))
+ (native-inputs
+ (list extra-cmake-modules perl qttools-5
+ ;; Optional, for compile-time validation of syntax definition files:
+ qtxmlpatterns))
+ (inputs
+ (list qtbase-5))))
+
(define-public plasma-wayland-protocols
(package
(name "plasma-wayland-protocols")
- 02/178: gnu: Add kquickcharts-6., (continued)
- 02/178: gnu: Add kquickcharts-6., guix-commits, 2024/06/17
- 01/178: gnu: extra-cmake-modules: Update to 6.1.0., guix-commits, 2024/06/17
- 05/178: gnu: Add kcoreaddons-6., guix-commits, 2024/06/17
- 03/178: gnu: Add attica-6., guix-commits, 2024/06/17
- 04/178: gnu: Add kcodecs-6., guix-commits, 2024/06/17
- 09/178: gnu: Add ki18n-6., guix-commits, 2024/06/17
- 14/178: gnu: Add kwidgetsaddons-6., guix-commits, 2024/06/17
- 15/178: gnu: Add kconfig-6., guix-commits, 2024/06/17
- 19/178: gnu: Add kcalendarcore-6., guix-commits, 2024/06/17
- 20/178: gnu: Add kcompletion-6., guix-commits, 2024/06/17
- 17/178: gnu: Add ksyntaxhighlighting-6.,
guix-commits <=
- 06/178: gnu: Add kdbusaddons-6., guix-commits, 2024/06/17
- 07/178: gnu: Add kdnssd-6., guix-commits, 2024/06/17
- 24/178: gnu: Add oxygen-icons-6., guix-commits, 2024/06/17
- 27/178: gnu: Add sonnet-6., guix-commits, 2024/06/17
- 08/178: gnu: Add kholidays-6., guix-commits, 2024/06/17
- 10/178: gnu: Add kidletime-6., guix-commits, 2024/06/17
- 11/178: gnu: Add kitemviews-6., guix-commits, 2024/06/17
- 23/178: gnu: Add networkmanager-qt-6., guix-commits, 2024/06/17
- 25/178: gnu: Add prison-6., guix-commits, 2024/06/17
- 34/178: gnu: Add kpackage-6., guix-commits, 2024/06/17