[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
295/295: gnu: gexiv2: Update package definition.
From: |
guix-commits |
Subject: |
295/295: gnu: gexiv2: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:42 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 956abd0cc4f14635c36cabbfd616d78e717d69c0
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Jul 21 05:45:49 2020 -0400
gnu: gexiv2: Update package definition.
* gnu/packages/gnome.scm (gexiv2) [version]: Update to 0.12.1.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "doc".
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Dgtk_doc]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gtk-doc, python-2 and python.
Remove gcr.
[inputs]: Remove glib.
[propagated-inputs]: Add glib.
[synopsis]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 66 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 46 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0ea8c12..614cb1b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6877,33 +6877,59 @@ and classes for commonly used data structures.")
(define-public gexiv2
(package
(name "gexiv2")
- (version "0.12.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dgtk_doc=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference"
+ (substitute* "gexiv2-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
+ (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
- `(("gcr" ,gcr)
+ `(("docbook-xml" ,docbook-xml-4.3)
("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config)
+ ("python2" ,python-2)
+ ("python3" ,python)
("vala" ,vala)))
(propagated-inputs
- ;; Listed in "Requires" section of gexiv2.pc
- `(("exiv2" ,exiv2)))
- (inputs
- `(("glib" ,glib)
- ("gobject-introspection" ,gobject-introspection)))
+ `(("exiv2" ,exiv2)
+ ("glib" ,glib)))
+ (synopsis "GObject-based Exiv2 wrapper")
+ (description "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata
+library. It allows for GNOME applications to easily inspect and update EXIF,
+IPTC, and XMP metadata in photo and video files of various formats.")
(home-page "https://wiki.gnome.org/Projects/gexiv2")
- (synopsis "GObject wrapper around the Exiv2 photo metadata library")
- (description
- "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
-allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
-metadata in photo and video files of various formats.")
(license license:gpl2+)))
(define-public shotwell
- 275/295: gnu: atkmm: Update package definition., (continued)
- 275/295: gnu: atkmm: Update package definition., guix-commits, 2020/07/27
- 276/295: gnu: pangomm: Update package definition., guix-commits, 2020/07/27
- 277/295: gnu: Add pangomm-2.42., guix-commits, 2020/07/27
- 279/295: gnu: gtkmm: Update package definition., guix-commits, 2020/07/27
- 282/295: gnu: gobject-introspection: Propagate glib., guix-commits, 2020/07/27
- 285/295: gnu: evolution-data-server: Update package definition., guix-commits, 2020/07/27
- 288/295: gnu: Add zeitgeist., guix-commits, 2020/07/27
- 289/295: gnu: folks: Update package definition., guix-commits, 2020/07/27
- 290/295: gnu: Add poly2tri-c., guix-commits, 2020/07/27
- 293/295: gnu: gegl: Update package definition., guix-commits, 2020/07/27
- 295/295: gnu: gexiv2: Update package definition.,
guix-commits <=
- 261/295: gnu: webkitgtk: Update package definition., guix-commits, 2020/07/27
- 271/295: gnu: cairomm: Update package definition., guix-commits, 2020/07/27
- 272/295: gnu: Add cairomm-1.13., guix-commits, 2020/07/27
- 278/295: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/07/27
- 291/295: gnu: Add mmm., guix-commits, 2020/07/27
- 222/295: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/07/27
- 247/295: gnu: openjpeg: Update package definition., guix-commits, 2020/07/27
- 264/295: gnu: yelp: Update package definition., guix-commits, 2020/07/27
- 266/295: gnu: pixman: Update package definition., guix-commits, 2020/07/27
- 269/295: gnu: libsigc++: Update package definition., guix-commits, 2020/07/27