| 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 |
| 53 | metadata. It provides fast and easy read and write access to the Exif, IPTC |
| 54 | and 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) |
| 75 | ("intltool" ,intltool) |
| 76 | ("lcms" ,lcms) |
| 77 | ("exiv2" ,exiv2) |
| 78 | ("libpng" ,libpng) |
| 79 | ("gtk+" ,gtk+) |
| 80 | ("pkg-config" ,pkg-config))) |
| 81 | (home-page "http://geeqie.sourceforge.net") |
| 82 | (synopsis "Lightweight GTK+ based image viewer") |
| 83 | (description |
| 84 | "Geeqie is a lightweight GTK+ based image viewer for Unix like operating |
| 85 | systems. It features: EXIF, IPTC and XMP metadata browsing and editing |
| 86 | interoperability; easy integration with other software; geeqie works on files |
| 87 | and directories, there is no need to import images; fast preview for many raw |
| 88 | image formats; tools for image comparison, sorting and managing photo |
| 89 | collection. Geeqie was initially based on GQview.") |
| 90 | (license l:gpl2+))) |