[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/331: gnu: gcab: Update to 1.4.
From: |
guix-commits |
Subject: |
27/331: gnu: gcab: Update to 1.4. |
Date: |
Fri, 14 Aug 2020 11:12:41 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 5af8da7642e72509973febfa0ba04e84e91ac3d7
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 277b125..259931e 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1014,36 +1014,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
- 42/331: gnu: glib-networking: Update to 2.64.3., (continued)
- 42/331: gnu: glib-networking: Update to 2.64.3., guix-commits, 2020/08/14
- 38/331: gnu: Add esound., guix-commits, 2020/08/14
- 43/331: gnu: gobject-introspection: Update package definition., guix-commits, 2020/08/14
- 44/331: gnu: gstreamer: Update package definition., guix-commits, 2020/08/14
- 18/331: gnu: clutter-gst: Update package definition., guix-commits, 2020/08/14
- 29/331: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/08/14
- 19/331: gnu: cogl: Update package definition., guix-commits, 2020/08/14
- 20/331: gnu: dconf: Update to 0.36.0., guix-commits, 2020/08/14
- 24/331: gnu: enchant: Update package definition., guix-commits, 2020/08/14
- 25/331: gnu: Add presage., guix-commits, 2020/08/14
- 27/331: gnu: gcab: Update to 1.4.,
guix-commits <=
- 28/331: gnu: gcr: Update to 3.36.0., guix-commits, 2020/08/14
- 31/331: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/08/14
- 32/331: gnu: Add sysprof., guix-commits, 2020/08/14
- 34/331: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/08/14
- 46/331: gnu: Add libvisual-plugins., guix-commits, 2020/08/14
- 53/331: gnu: Add ruby-slim., guix-commits, 2020/08/14
- 55/331: gnu: Add tslib., guix-commits, 2020/08/14
- 41/331: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/08/14
- 57/331: gnu: Add libtimidity., guix-commits, 2020/08/14
- 64/331: gnu: Add libmms., guix-commits, 2020/08/14