[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/124: gnu: gdk-pixbuf: Fix documentation.
From: |
guix-commits |
Subject: |
38/124: gnu: gdk-pixbuf: Fix documentation. |
Date: |
Sun, 5 Sep 2021 10:42:02 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit df1fffdc198bd96c0b9693acef6de4fde02a70d8
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 11 10:50:46 2021 -0500
gnu: gdk-pixbuf: Fix documentation.
* gnu/packages/gtk.scm (gdk-pixbuf) [arguments]<#:phases>['patch-docbook]:
New phase.
[native-inputs]: Add docbook-xml and docbook-xsl.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/gtk.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 52167ca..28cf2fd 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -596,10 +596,22 @@ highlighting and other features typical of a source code
editor.")
(build-system meson-build-system)
(arguments
`(#:meson ,meson-0.55
- #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:configure-flags '("-Dinstalled_tests=false" "-Djasper=true")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute* "meson.build"
+ (("http://docbook.sourceforge.net/release/xsl/current/")
+ (string-append (assoc-ref inputs "docbook-xsl")
+ "/xml/xsl/docbook-xsl-1.79.2/")))
+ (substitute* (find-files "." "\\.xml$")
+ (("http://www.oasis-open.org/docbook/xml/4\\.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
;; The slow tests take longer than the specified timeout.
,@(if (any (cute string=? <> (%current-system))
'("armhf-linux" "aarch64-linux"))
@@ -620,10 +632,12 @@ highlighting and other features typical of a source code
editor.")
("libpng" ,libpng)
("libtiff" ,libtiff)))
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("docbook-xsl" ,docbook-xsl)
("gettext" ,gettext-minimal)
("glib" ,glib "bin") ; glib-mkenums, etc.
- ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
+ ("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
+ ("pkg-config" ,pkg-config)))
(synopsis "GNOME image loading and manipulation library")
(description
"GdkPixbuf is a library for image loading and manipulation developed
- 24/124: gnu: cairo: Update synopsis, description and license., (continued)
- 24/124: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/09/05
- 25/124: gnu: cairomm: Update to 1.16.0., guix-commits, 2021/09/05
- 30/124: gnu: pango: Update to 1.48.3., guix-commits, 2021/09/05
- 35/124: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/09/05
- 36/124: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/09/05
- 37/124: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/09/05
- 26/124: gnu: cairomm: Enable documentation., guix-commits, 2021/09/05
- 31/124: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/09/05
- 32/124: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/09/05
- 34/124: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/09/05
- 38/124: gnu: gdk-pixbuf: Fix documentation.,
guix-commits <=
- 28/124: gnu: pango: Add missing arguments., guix-commits, 2021/09/05
- 39/124: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/09/05
- 43/124: gnu: vala: Change build-system., guix-commits, 2021/09/05
- 41/124: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/09/05
- 29/124: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 33/124: gnu: pangomm: Enable documentation., guix-commits, 2021/09/05
- 42/124: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/09/05
- 47/124: gnu: vala: Update synopsis and description., guix-commits, 2021/09/05
- 27/124: gnu: cairomm-1.13: Fix build., guix-commits, 2021/09/05
- 40/124: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/09/05