Skip to content
Snippets Groups Projects
Unverified Commit ef64f9ca authored by Marius Bakke's avatar Marius Bakke
Browse files

gnu: jucipp: Update to 1.6.0.

* gnu/packages/text-editors.scm (jucipp): Update to 1.6.0.
[arguments]: Remove obsolete phase.
[inputs]: Add UNIVERSAL-CTAGS.
parent 58056d5b
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ (define-module (gnu packages text-editors) ...@@ -43,6 +43,7 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages assembly) #:use-module (gnu packages assembly)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages code)
#:use-module (gnu packages documentation) #:use-module (gnu packages documentation)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc) #:use-module (gnu packages gcc)
...@@ -196,7 +197,7 @@ (define-public joe ...@@ -196,7 +197,7 @@ (define-public joe
(define-public jucipp (define-public jucipp
(package (package
(name "jucipp") (name "jucipp")
(version "1.5.1") (version "1.6.0")
(home-page "https://gitlab.com/cppit/jucipp") (home-page "https://gitlab.com/cppit/jucipp")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
...@@ -208,7 +209,7 @@ (define-public jucipp ...@@ -208,7 +209,7 @@ (define-public jucipp
(recursive? #t))) (recursive? #t)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0v7fmsya2zn1xx59bkv4cbyinmcnv52hm4j40nbfwalcks631xrr")))) (base32 "177myy6qvjlb6j3f3i3xmfml5r3p9in8xzpvm0n59dn56s81gpnr"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags '("-DBUILD_TESTING=ON" `(#:configure-flags '("-DBUILD_TESTING=ON"
...@@ -225,19 +226,6 @@ (define-public jucipp ...@@ -225,19 +226,6 @@ (define-public jucipp
(chdir "build") (chdir "build")
#t)) #t))
;; This phase is necessary to fix a test failure, see
;; <https://gitlab.com/cppit/jucipp/-/issues/423>.
(add-after 'unpack 'add-reference-to-clang-internal-header
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/compile_commands.cc"
((".*-I/usr/lib/clang.*" all)
(string-append "arguments.emplace_back(\"-I"
(assoc-ref inputs "libclang")
"/lib/clang/"
,@(list (package-version clang))
"/include\");\n"
all)))
#t))
(add-after 'unpack 'patch-tiny-process-library (add-after 'unpack 'patch-tiny-process-library
(lambda _ (lambda _
(with-directory-excursion "lib/tiny-process-library" (with-directory-excursion "lib/tiny-process-library"
...@@ -269,6 +257,7 @@ (define-public jucipp ...@@ -269,6 +257,7 @@ (define-public jucipp
(inputs (inputs
`(("aspell" ,aspell) `(("aspell" ,aspell)
("boost" ,boost) ("boost" ,boost)
("ctags" ,universal-ctags)
("gtkmm" ,gtkmm) ("gtkmm" ,gtkmm)
("gtksourceviewmm" ,gtksourceviewmm) ("gtksourceviewmm" ,gtksourceviewmm)
("libclang" ,clang) ("libclang" ,clang)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment