[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/277: gnu: gcab: Update to 1.4.
From: |
guix-commits |
Subject: |
27/277: gnu: gcab: Update to 1.4. |
Date: |
Thu, 6 Aug 2020 17:02:39 -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
- 18/277: gnu: clutter-gst: Update package definition., (continued)
- 18/277: gnu: clutter-gst: Update package definition., guix-commits, 2020/08/06
- 21/277: gnu: Add ronn., guix-commits, 2020/08/06
- 25/277: gnu: Add presage., guix-commits, 2020/08/06
- 26/277: gnu: fcitx: Update package definition., guix-commits, 2020/08/06
- 08/277: gnu: Add gnome-photos., guix-commits, 2020/08/06
- 02/277: gnu: Add tepl., guix-commits, 2020/08/06
- 07/277: gnu: Add gnome-music., guix-commits, 2020/08/06
- 12/277: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/08/06
- 13/277: gnu: atk: Update to 2.36.0., guix-commits, 2020/08/06
- 14/277: gnu: google-brotli: Update package definition., guix-commits, 2020/08/06
- 27/277: gnu: gcab: Update to 1.4.,
guix-commits <=
- 35/277: gnu: Add mutest., guix-commits, 2020/08/06
- 31/277: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/08/06
- 32/277: gnu: Add sysprof., guix-commits, 2020/08/06
- 36/277: gnu: graphene: Update package definition., guix-commits, 2020/08/06
- 42/277: gnu: glib-networking: Update to 2.64.3., guix-commits, 2020/08/06
- 48/277: gnu: gst-plugins-good: Update package definition., guix-commits, 2020/08/06
- 53/277: gnu: Add ruby-slim., guix-commits, 2020/08/06
- 16/277: gnu: clutter: Update to 1.26.4., guix-commits, 2020/08/06
- 17/277: gnu: clutter-gtk: Update package definition., guix-commits, 2020/08/06
- 23/277: gnu: enchant-1.6: Update package definition., guix-commits, 2020/08/06