@@ -1343,10 +1343,10 @@ (define-public kplotting
(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
@@ -1355,27 +1355,25 @@ (define-public ksyntaxhighlighting
"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
@@ -1386,6 +1384,27 @@ (define-public ksyntaxhighlighting
(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")