gnu: Move numerous "inputs" which should be "native-inputs".
[jackhill/guix/guix.git] / gnu / packages / geeqie.scm
CommitLineData
7dca3073
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages geeqie)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module ((guix licenses)
23 #:renamer (symbol-prefix-proc 'l:))
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages pkg-config)
26 #:use-module (gnu packages glib)
27 #:use-module (gnu packages gtk)
28 #:use-module (gnu packages libpng)
29 #:use-module ((gnu packages ghostscript)
30 #:select (lcms))
31 #:use-module (gnu packages compression)
32 #:use-module (gnu packages xml))
33
34(define-public exiv2 ; XXX: move elsewhere?
35 (package
36 (name "exiv2")
37 (version "0.23")
38 (source (origin
39 (method url-fetch)
40 (uri (string-append "http://www.exiv2.org/exiv2-"
41 version ".tar.gz"))
42 (sha256
43 (base32
44 "04bbg2cg6mgcyz435zamx37sp5zw44n2alb59ki1daz71f851yl1"))))
45 (build-system gnu-build-system)
46 (arguments '(#:tests? #f)) ; no `check' target
47 (propagated-inputs
48 `(("expat" ,expat) ("zlib" ,zlib)))
49 (home-page "http://www.exiv2.org/")
50 (synopsis "Library and command-line utility to manage image metadata")
51 (description
52 "Exiv2 is a C++ library and a command line utility to manage image
53metadata. It provides fast and easy read and write access to the Exif, IPTC
54and XMP metadata of images in various formats.")
55
56 ;; Files under `xmpsdk' are a copy of Adobe's XMP SDK, licensed under the
57 ;; 3-clause BSD license: <http://www.adobe.com/devnet/xmp/sdk/eula.html>.
58 ;; The core is GPLv2+: <https://launchpad.net/ubuntu/precise/+source/exiv2/+copyright>.
59 (license l:gpl2+)))
60
61(define-public geeqie
62 (package
63 (name "geeqie")
64 (version "1.1")
65 (source (origin
66 (method url-fetch)
67 (uri (string-append "mirror://sourceforge/geeqie/geeqie-"
68 version ".tar.gz"))
69 (sha256
70 (base32
71 "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m"))))
72 (build-system gnu-build-system)
73 (inputs
74 `(;; ("libchamplain" ,libchamplain)
7dca3073
LC
75 ("lcms" ,lcms)
76 ("exiv2" ,exiv2)
77 ("libpng" ,libpng)
c4c4cc05
JD
78 ("gtk+" ,gtk+-2)))
79 (native-inputs
80 `(("intltool" ,intltool)
7dca3073
LC
81 ("pkg-config" ,pkg-config)))
82 (home-page "http://geeqie.sourceforge.net")
83 (synopsis "Lightweight GTK+ based image viewer")
84 (description
85 "Geeqie is a lightweight GTK+ based image viewer for Unix like operating
86systems. It features: EXIF, IPTC and XMP metadata browsing and editing
87interoperability; easy integration with other software; geeqie works on files
88and directories, there is no need to import images; fast preview for many raw
89image formats; tools for image comparison, sorting and managing photo
90collection. Geeqie was initially based on GQview.")
91 (license l:gpl2+)))