GNU bug report logs -
#54805
[PATCH 1/5] gnu: libadwaita: Update to 1.1.0.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#54805: [PATCH 2/5] gnu: Add gtksourceview-5.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 54806 <at> debbugs.gnu.org.
--
54805: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54805
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Alexandros,
Alexandros Theodotou <alex <at> zrythm.org> skribis:
> * gnu/packages/gnome.scm (libadwaita): Update to 1.1.0.
[...]
> * gnu/packages/audio.scm (rtmidi): Update to 5.0.0.
I finally pushed these two patches (apologies for the delay). However,
I had to keep version 4.0 and use it for zrythm and milkytracker, which
would otherwise fail to build.
Thanks,
Ludo’.
[Message part 3 (message/rfc822, inline)]
* gnu/packages/gtk.scm (gtksourceview-5): New variable.
---
gnu/packages/gtk.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 96297535ce..e8131bb955 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -30,6 +30,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last <at> 163.com>
+;;; Copyright © 2022 Alexandros Theodotou <alex <at> zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -90,6 +91,7 @@ (define-module (gnu packages gtk)
#:use-module (gnu packages linux)
#:use-module (gnu packages m4)
#:use-module (gnu packages man)
+ #:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
@@ -618,6 +620,44 @@ (define-public gtksourceview
highlighting and other features typical of a source code editor.")
(license license:lgpl2.1+)))
+(define-public gtksourceview-5
+ (package (inherit gtksourceview)
+ (name "gtksourceview")
+ (version "5.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0dz6hifma60plbfqm4vlh1mps2z7f15rkkmflf5fra3hwqbw4fq0"))))
+ (build-system meson-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson.build"
+ (("gtk_update_icon_cache: true")
+ "gtk_update_icon_cache: false"))))
+ (add-before
+ 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((xorg-server (assoc-ref inputs "xorg-server")))
+ ;; Tests require a running X server.
+ (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
+ (setenv "DISPLAY" ":1")
+ ;; For the missing /etc/machine-id.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t))))
+ #:configure-flags
+ ;; Needs newer gobject-introspection
+ '("-Dintrospection=disabled")))
+ (propagated-inputs
+ ;; gtksourceview-3.0.pc refers to all these.
+ (list glib gtk libxml2 pcre2))))
+
(define-public gtksourceview-3
(package (inherit gtksourceview)
(name "gtksourceview")
--
2.35.1
This bug report was last modified 2 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.