[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
291/377: gnu: gdk-pixbuf: Fix documentation.
From: |
guix-commits |
Subject: |
291/377: gnu: gdk-pixbuf: Fix documentation. |
Date: |
Thu, 2 Sep 2021 17:56:00 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 264a90d8f63c8b53200cae57c13c1c719d6090ee
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
- 270/377: gnu: gtk-doc: Enable help., (continued)
- 270/377: gnu: gtk-doc: Enable help., guix-commits, 2021/09/02
- 268/377: gnu: gtk-doc: Correct inputs., guix-commits, 2021/09/02
- 280/377: gnu: cairomm-1.13: Fix build., guix-commits, 2021/09/02
- 261/377: gnu: libsigc++: Update to 3.0.6., guix-commits, 2021/09/02
- 286/377: gnu: pangomm: Enable documentation., guix-commits, 2021/09/02
- 292/377: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/09/02
- 287/377: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/09/02
- 295/377: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/09/02
- 288/377: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/09/02
- 293/377: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/09/02
- 291/377: gnu: gdk-pixbuf: Fix documentation.,
guix-commits <=
- 296/377: gnu: vala: Change build-system., guix-commits, 2021/09/02
- 297/377: gnu: vala: Enable coverage support., guix-commits, 2021/09/02
- 300/377: gnu: vala: Update synopsis and description., guix-commits, 2021/09/02
- 305/377: gnu: libgsf: Correct inputs., guix-commits, 2021/09/02
- 308/377: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/02
- 303/377: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/02
- 309/377: gnu: atk: Update to 2.36.0., guix-commits, 2021/09/02
- 310/377: gnu: atk: Update home-page and license., guix-commits, 2021/09/02
- 313/377: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/09/02
- 314/377: gnu: Add atkmm-2.28., guix-commits, 2021/09/02