[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
132/295: gnu: gcab: Update to 1.4.
From: |
guix-commits |
Subject: |
132/295: gnu: gcab: Update to 1.4. |
Date: |
Mon, 27 Jul 2020 06:25:49 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit b1222ec1472c60e85f419fab4a4c35bc78c1ea1e
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jun 3 17:13:28 2020 -0400
gnu: gcab: Update to 1.4.
* gnu/packages/package-management.scm (gcab): Update package
definition.
[version]: Update to 1.4.
[source]<origin>[sha256]: Modify base32 hash.
[outputs]: New output 'doc'.
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Ddocs]: Remove flag.
[-Dintrospection]: Remove flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add gettext, gobject-introspection and gtk-doc.
Remove inttool.
[inputs]: Remove glib.
[propagated-inputs]: Add glib.
[license]: Remove gpl2+. Add lgpl2.1+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/package-management.scm | 53 ++++++++++++++++++++++---------------
1 file changed, 32 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index bfecf11..3025315 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1012,36 +1012,47 @@ in an isolated environment, in separate namespaces.")
(define-public gcab
(package
(name "gcab")
- (version "1.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/gcab/"
- version "/gcab-" version ".tar.xz"))
- (sha256
- (base32
- "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas"))))
+ (version "1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/gcab/"
+ version "/gcab-" version ".tar.xz"))
+ (sha256
+ (base32 "13q43iqld4l50yra45lhvkd376pn6qpk7rkx374zn8y9wsdzm9b7"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
+ (modify-phases %standard-phases
+ (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"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums
- ("intltool" ,intltool)
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(inputs
- `(("glib" ,glib)
- ("zlib" ,zlib)))
- (arguments
- `(#:configure-flags
- ;; XXX This ‘documentation’ is for developers, and fails informatively:
- ;; Error in gtkdoc helper script: 'gtkdoc-mkhtml' failed with status 5
- (list "-Ddocs=false"
- "-Dintrospection=false")))
- (home-page "https://wiki.gnome.org/msitools") ; no dedicated home page
+ `(("zlib" ,zlib)))
+ (propagated-inputs
+ `(("glib" ,glib)))
(synopsis "Microsoft Cabinet file manipulation library")
(description
"The libgcab library provides GObject functions to read, write, and modify
Microsoft cabinet (.@dfn{CAB}) files.")
- (license (list license:gpl2+ ; tests/testsuite.at
- license:lgpl2.1+)))) ; the rest
+ (home-page "https://wiki.gnome.org/msitools") ; no dedicated home page
+ (license license:lgpl2.1+)))
(define-public msitools
(package
- 129/295: gnu: enchant: Update package definition., (continued)
- 129/295: gnu: enchant: Update package definition., guix-commits, 2020/07/27
- 133/295: gnu: gcr: Update to 3.36.0., guix-commits, 2020/07/27
- 138/295: gnu: gjs: Update to 1.58.8., guix-commits, 2020/07/27
- 140/295: gnu: Add mutest., guix-commits, 2020/07/27
- 141/295: gnu: graphene: Update package definition., guix-commits, 2020/07/27
- 146/295: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/07/27
- 149/295: gnu: gstreamer: Update package definition., guix-commits, 2020/07/27
- 150/295: gnu: Add libvisual., guix-commits, 2020/07/27
- 151/295: gnu: Add libvisual-plugins., guix-commits, 2020/07/27
- 128/295: gnu: enchant-1.6: Update package definition., guix-commits, 2020/07/27
- 132/295: gnu: gcab: Update to 1.4.,
guix-commits <=
- 137/295: gnu: Add sysprof., guix-commits, 2020/07/27
- 154/295: gnu: Add nanomsg., guix-commits, 2020/07/27
- 143/295: gnu: Add esound., guix-commits, 2020/07/27
- 136/295: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/07/27
- 155/295: gnu: Add nng., guix-commits, 2020/07/27
- 52/295: gnu: emacs-idris-mode: Update to 1.0., guix-commits, 2020/07/27
- 50/295: gnu: r-openssl: Update to 1.4.2., guix-commits, 2020/07/27
- 55/295: gnu: Add rust-hmac-0.7., guix-commits, 2020/07/27
- 49/295: gnu: r-roxygen2: Update to 7.1.1., guix-commits, 2020/07/27
- 60/295: gnu: emacs-nov-el: Use version tag instead of commit., guix-commits, 2020/07/27