mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-23 02:30:30 +02:00
gnu: Remove jucipp.
* gnu/packages/text-editors.scm (jucipp): Delete variable. Fixes: guix/guix#5453 Change-Id: I99c93e9b4b5fb780f8c507875fcb41d70dd23c1b
This commit is contained in:
@@ -682,101 +682,6 @@ users. It comes with the editor flavors known from joe, specifically,
|
||||
jmacs, joe, jpico, jstar, and rjoe.")
|
||||
(license license:gpl1)))
|
||||
|
||||
(define-public jucipp
|
||||
(package
|
||||
(name "jucipp")
|
||||
(version "1.7.2")
|
||||
(home-page "https://gitlab.com/cppit/jucipp")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference (url home-page)
|
||||
(commit (string-append "v" version))
|
||||
;; Two submodules are required which are
|
||||
;; developed alongside JuCi++ and difficult
|
||||
;; to package separately.
|
||||
(recursive? #t)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "034il3z38a7qvp95f52n9rxbqmh8fxsy416rjak3zzagvfkvzyii"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Delete bundled copy of nlohmann/json.
|
||||
(delete-file-recursively "lib/json")))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-tiny-process-library
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(with-directory-excursion "lib/tiny-process-library"
|
||||
(substitute* '("process_unix.cpp"
|
||||
"tests/io_test.cpp")
|
||||
(("/bin/sh") (search-input-file (or native-inputs inputs)
|
||||
"bin/sh"))))))
|
||||
(add-after 'unpack 'disable-some-tests
|
||||
(lambda _
|
||||
(substitute* "tests/CMakeLists.txt"
|
||||
;; Disable the CMake build test, as it does not test
|
||||
;; functionality of the package, and requires doing
|
||||
;; an "in-source" build.
|
||||
(("add_test\\(cmake_(build|file_api)_test.*\\)")
|
||||
"")
|
||||
;; Disable the git test, as it requires the full checkout.
|
||||
(("add_test\\(git_test.*\\)")
|
||||
""))))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
;; Tests do not expect HOME to be empty.
|
||||
(setenv "HOME" "/etc")
|
||||
|
||||
;; Most tests require an X server.
|
||||
(let ((xvfb (search-input-file (or native-inputs inputs)
|
||||
"bin/Xvfb"))
|
||||
(display ":1"))
|
||||
(setenv "DISPLAY" display)
|
||||
(system (string-append xvfb " " display " &")))))
|
||||
(add-after 'install 'wrap
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; The package needs GTK+ and GtkSourceView on XDG_DATA_DIRS
|
||||
;; for syntax highlighting to work. shared-mime-info is
|
||||
;; necessary for MIME handling.
|
||||
;; XXX: Ideally we'd reuse glib-or-gtk-wrap here, but it
|
||||
;; does not pick up "share/gtksourceview-3.0".
|
||||
(wrap-program (string-append #$output "/bin/juci")
|
||||
`("XDG_DATA_DIRS" ":" prefix
|
||||
(,(string-join
|
||||
(cons (string-append #$output "/share")
|
||||
(map (lambda (directory)
|
||||
(dirname (search-input-directory
|
||||
inputs
|
||||
(string-append "share/"
|
||||
directory))))
|
||||
'("gtk-3.0" "gtksourceview-3.0" "mime")))
|
||||
":")))))))))
|
||||
(native-inputs
|
||||
(list pkg-config xorg-server-for-tests))
|
||||
(inputs
|
||||
(list aspell
|
||||
bash-minimal
|
||||
boost
|
||||
clang-18 ;XXX: must be the same version as Mesas LLVM
|
||||
gtkmm-3
|
||||
gtksourceviewmm
|
||||
nlohmann-json
|
||||
libgit2
|
||||
universal-ctags))
|
||||
(synopsis "Lightweight C++ IDE")
|
||||
(description
|
||||
"juCi++ is a small @acronym{IDE, Integrated Development Environment}
|
||||
designed especially towards libclang with speed, stability, and ease of use
|
||||
in mind.
|
||||
|
||||
It supports autocompletion, on-the-fly warnings and errors, syntax
|
||||
highlighting, and integrates with Git as well as the CMake and Meson build
|
||||
systems.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public leafpad
|
||||
(package
|
||||
(name "leafpad")
|
||||
|
||||
Reference in New Issue
Block a user