GNU bug report logs -
#50445
GtkSourceView
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50445 in the body.
You can then email your comments to 50445 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 01:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Raghav Gururajan <rg <at> raghavgururajan.name>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 07 Sep 2021 01:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Guix!
I am opening this thread for patch-set regarding gtksourceview.
Regards,
RG.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 01:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 50445 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gtk.scm (gtksourceview)[version]: Update to 4.8.1.
[build-system]: Change from gnu to meson.
---
gnu/packages/gtk.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 1bdd6a2ac0..b05529ac98 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -538,7 +538,7 @@ printing and other features typical of a source code editor.")
(define-public gtksourceview
(package
(name "gtksourceview")
- (version "4.2.0")
+ (version "4.8.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/gtksourceview/"
@@ -546,8 +546,8 @@ printing and other features typical of a source code editor.")
"gtksourceview-" version ".tar.xz"))
(sha256
(base32
- "0xgnjj7jd56wbl99s76sa1vjq9bkz4mdsxwgwlcphg689liyncf4"))))
- (build-system gnu-build-system)
+ "1hcswszqnsyqzzf5zk8iflxdvkfvvcg89pf6xsqwbyyabwdxfqyi"))))
+ (build-system meson-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
--
2.33.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 01:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 50445 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gtk.scm (gtksourceview)[propagated-inputs]: Add fribidi.
---
gnu/packages/gtk.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index b05529ac98..fa3a69d46d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -573,7 +573,8 @@ printing and other features typical of a source code editor.")
("shared-mime-info" ,shared-mime-info)))
(propagated-inputs
;; gtksourceview-3.0.pc refers to all these.
- `(("glib" ,glib)
+ `(("fribidi" ,fribidi)
+ ("glib" ,glib)
("gtk+" ,gtk+)
("libxml2" ,libxml2)))
(home-page "https://wiki.gnome.org/Projects/GtkSourceView")
--
2.33.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 01:03:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 50445 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gtk.scm (gtksourceview)[outputs]: New output "doc".
[configure-flags](gtk-doc): New flag.
[phases](patch-docbook-xml,move-doc): New phases.
[native-inputs]: Add docbook-xml-4.3, docbook-xsl, gtk-doc and libxslt.
---
gnu/packages/gtk.scm | 33 ++++++++++++++++++++++++++++++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index fa3a69d46d..0a80671629 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -548,9 +548,24 @@ printing and other features typical of a source code editor.")
(base32
"1hcswszqnsyqzzf5zk8iflxdvkfvvcg89pf6xsqwbyyabwdxfqyi"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- '(#:phases
+ `(#:configure-flags
+ (list
+ ,@(if (%current-target-system)
+ ;; If true, gtkdoc-scangobj will try to execute a
+ ;; cross-compiled binary.
+ '("-Dgtk_doc=false")
+ '("-Dgtk_doc=true")))
+ #:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
+ (substitute* (find-files "docs" "\\.xml\\.in$")
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append
+ (assoc-ref (or native-inputs inputs) "docbook-xml-4.3")
+ "/xml/dtd/docbook/")))))
(add-before
'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
@@ -560,12 +575,24 @@ printing and other features typical of a source code editor.")
(setenv "DISPLAY" ":1")
;; For the missing /etc/machine-id.
(setenv "DBUS_FATAL_WARNINGS" "0")
- #t))))))
+ #t)))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share/gtk-doc"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
+ `(("docbook-xml-4.3" ,docbook-xml-4.3)
+ ("docbook-xsl" ,docbook-xsl)
+ ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
+ ("gtk-doc" ,gtk-doc)
("intltool" ,intltool)
("itstool" ,itstool)
("gobject-introspection" ,gobject-introspection)
+ ("libxslt" ,libxslt)
("pkg-config" ,pkg-config)
("vala" ,vala)
;; For testing.
--
2.33.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 01:03:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 50445 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gtk.scm (gtksourceview-3)[version]: Update to 3.24.11.
[build-system]: New field.
[arguments]: New field.
---
gnu/packages/gtk.scm | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0a80671629..c12ac512bc 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -614,7 +614,7 @@ highlighting and other features typical of a source code editor.")
(define-public gtksourceview-3
(package (inherit gtksourceview)
(name "gtksourceview")
- (version "3.24.10")
+ (version "3.24.11")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -622,7 +622,39 @@ highlighting and other features typical of a source code editor.")
name "-" version ".tar.xz"))
(sha256
(base32
- "16ym7jwiki4s1pilwr4incx0yg7ll94f1cajrnpndkxxs36hcm5b"))))))
+ "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list
+ ,@(if (%current-target-system)
+ ;; If true, gtkdoc-scangobj will try to execute a
+ ;; cross-compiled binary.
+ '("--disable-gtk-doc")
+ '("--enable-gtk-doc"))
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
+ (substitute* (find-files "docs" "\\.xml\\.in$")
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append
+ (assoc-ref (or native-inputs inputs) "docbook-xml-4.3")
+ "/xml/dtd/docbook/")))))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0"))))))))
(define-public gdk-pixbuf
(package
--
2.33.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 14:06:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 50445 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
> - '(#:phases
> + `(#:configure-flags
> + (list
> + ,@(if (%current-target-system)
> + ;; If true, gtkdoc-scangobj will try to execute a
> + ;; cross-compiled binary.
> + '("-Dgtk_doc=false")
> + '("-Dgtk_doc=true")))
These two lines above need to be indented.
Otherwise, this patch series looks good to me, but I didn't test it.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50445
; Package
guix-patches
.
(Tue, 07 Sep 2021 19:22:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 50445 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Maxime!
> These two lines above need to be indented.
>
> Otherwise, this patch series looks good to me, but I didn't test it.
Thanks.
Regards,
RG.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Reply sent
to
Raghav Gururajan <rg <at> raghavgururajan.name>
:
You have taken responsibility.
(Tue, 07 Sep 2021 19:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Raghav Gururajan <rg <at> raghavgururajan.name>
:
bug acknowledged by developer.
(Tue, 07 Sep 2021 19:24:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 50445-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pushed to wip-gnome as dadb7f7fb2..3856817ede.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 06 Oct 2021 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.