[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/21: gnu: tepl: Update package definition.
From: |
guix-commits |
Subject: |
15/21: gnu: tepl: Update package definition. |
Date: |
Mon, 3 Aug 2020 17:55:37 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 91d69a2619d0d6636fe12f434f3c3a31667178fe
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 30 14:20:05 2020 -0400
gnu: tepl: Update package definition.
* gnu/packages/gnome.scm (tepl): Update package definition.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[--enable-gtk-doc]: New flag.
[--with-html-dir]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['disable-failing-tests]: New phase.
['pre-check]: New flag.
[native-inputs]: Add docbook-xml, gtk-doc and xorg-server-for-tests.
[inputs]: Move all to ...
[propagated-inputs]: ... here.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 44 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ec78c5d..47c36f6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -953,15 +953,47 @@ between different kinds of computer systems.")
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
- (base32
- "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
+ (base32 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:tests? #f)) ; FIX-ME: Requires gvfs
+ `(#:configure-flags
+ (list
+ "--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 #:allow-other-keys)
+ (with-directory-excursion "docs/reference"
+ (substitute* '( "api-breaks.xml" "intro.xml.in"
+ "porting-guides.xml" "tepl-docs.xml.in")
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
+ (add-before 'configure 'disable-failing-tests
+ (lambda _
+ (substitute* "testsuite/Makefile.in"
+ (("test-file-loader\\$\\(EXEEXT\\)
test-file-metadata\\$\\(EXEEXT\\)")
+ "test-file-loader$(EXEEXT)"))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ #t)))))
(native-inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)))
- (inputs
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("xorg-server" ,xorg-server-for-tests)))
+ (propagated-inputs
`(("amtk" ,amtk)
("glib" ,glib)
("gtk+" ,gtk+)
- 02/21: gnu: mobile-broadband-provider-info: Update package definition., (continued)
- 02/21: gnu: mobile-broadband-provider-info: Update package definition., guix-commits, 2020/08/03
- 04/21: gnu: libappindicator: Propagate gtk+ and libdbusmenu., guix-commits, 2020/08/03
- 07/21: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/03
- 05/21: gnu: Add dnssec-trigger., guix-commits, 2020/08/03
- 06/21: gnu: network-manager: Update package definition., guix-commits, 2020/08/03
- 08/21: gnu: network-manager-applet: Update package definition., guix-commits, 2020/08/03
- 10/21: download: Replace misconfigured Apache mirror., guix-commits, 2020/08/03
- 09/21: gnu: phodav: Update package definition., guix-commits, 2020/08/03
- 11/21: Revert "gnu: java-jakarta-oro: Update hash.", guix-commits, 2020/08/03
- 13/21: gnu: Add libgrss., guix-commits, 2020/08/03
- 15/21: gnu: tepl: Update package definition.,
guix-commits <=
- 14/21: gnu: vte: Update package definition., guix-commits, 2020/08/03
- 16/21: gnu: libquvi-scripts: Update package definition., guix-commits, 2020/08/03
- 12/21: gnu: gtksourceview: Fix glade., guix-commits, 2020/08/03
- 17/21: gnu: libquvi: Update package definition., guix-commits, 2020/08/03
- 18/21: gnu: totem-pl-parser: Update package definition., guix-commits, 2020/08/03
- 19/21: gnu: Add libstemmer., guix-commits, 2020/08/03
- 21/21: gnu: tracker-miners: Update package definition., guix-commits, 2020/08/03
- 20/21: gnu: tracker: Update package definition., guix-commits, 2020/08/03