[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/347: gnu: Add ksyntaxhighlighting-6.
From: |
guix-commits |
Subject: |
17/347: gnu: Add ksyntaxhighlighting-6. |
Date: |
Fri, 28 Jun 2024 09:57:18 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit a0ce44e8e6afc6b0da70796d1cff5f54115173eb
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")
- 06/347: gnu: Add kdbusaddons-6., (continued)
- 06/347: gnu: Add kdbusaddons-6., guix-commits, 2024/06/28
- 04/347: gnu: Add kcodecs-6., guix-commits, 2024/06/28
- 08/347: gnu: Add kholidays-6., guix-commits, 2024/06/28
- 07/347: gnu: Add kdnssd-6., guix-commits, 2024/06/28
- 09/347: gnu: Add ki18n-6., guix-commits, 2024/06/28
- 10/347: gnu: Add kidletime-6., guix-commits, 2024/06/28
- 12/347: gnu: Add kguiaddons-6., guix-commits, 2024/06/28
- 11/347: gnu: Add kitemviews-6., guix-commits, 2024/06/28
- 14/347: gnu: Add kwidgetsaddons-6., guix-commits, 2024/06/28
- 13/347: gnu: Add kplotting-6., guix-commits, 2024/06/28
- 17/347: gnu: Add ksyntaxhighlighting-6.,
guix-commits <=
- 20/347: gnu: Add kcompletion-6., guix-commits, 2024/06/28
- 16/347: gnu: Add kitemmodels-6., guix-commits, 2024/06/28
- 15/347: gnu: Add kconfig-6., guix-commits, 2024/06/28
- 19/347: gnu: Add kcalendarcore-6., guix-commits, 2024/06/28
- 23/347: gnu: Add networkmanager-qt-6., guix-commits, 2024/06/28
- 22/347: gnu: Add kwindowsystem-6., guix-commits, 2024/06/28
- 18/347: gnu: Add karchive-6., guix-commits, 2024/06/28
- 21/347: gnu: Add kpty-6., guix-commits, 2024/06/28
- 24/347: gnu: Add oxygen-icons-6., guix-commits, 2024/06/28
- 32/347: gnu: Add kcrash-6., guix-commits, 2024/06/28