~ruther/guix-local

1eab84276d1f3c30076240bff8441908b8afde39 — Zheng Junjie 8 months ago 92a7488
gnu: ksyntaxhighlighting: Update to 6.16.0.

* gnu/packages/kde-frameworks.scm (ksyntaxhighlighting): Update to 6.16.0.
[arguments]: Disable tests.

Change-Id: I3b877f2702370480440a06b28d55750e0632b3b6
1 files changed, 16 insertions(+), 14 deletions(-)

M gnu/packages/kde-frameworks.scm
M gnu/packages/kde-frameworks.scm => gnu/packages/kde-frameworks.scm +16 -14
@@ 1531,7 1531,7 @@ re-coloring and on-disk caching.")
(define-public ksyntaxhighlighting
  (package
    (name "ksyntaxhighlighting")
    (version "6.13.0")
    (version "6.16.0")
    (source (origin
              (method url-fetch)
              (uri (string-append


@@ 1540,25 1540,27 @@ re-coloring and on-disk caching.")
                    "syntax-highlighting-" version ".tar.xz"))
              (sha256
               (base32
                "03a50rl86flg3av4wxjk690sr7fc9vqrfd413ljwgqfnhsw9pwfn"))))
                "0njgybi2gzysy632h7ny3c9bcyvfrdrmcarmfax5vypknhckg8bl"))))
    (build-system cmake-build-system)
    (native-inputs
     (list extra-cmake-modules perl qttools))
    (inputs
     (list qtbase qtdeclarative))
    (arguments
     (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")))))))
     (list
      #:tests? #f ;; XXX: Fix tests.
      #: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