From 0c3f8cb8e8e095003e185ceb0ee10bd2327a5089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 24 Jun 2017 23:17:12 +0200 Subject: [PATCH] gnu: Add eog-plugins. * gnu/packages/gnome.scm (eog-plugins): New variable. --- gnu/packages/gnome.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a621b4ba54..3f82c184e1 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3650,6 +3650,51 @@ (define-public eog supports image conversion, rotation, and slideshows.") (license license:gpl2+))) +(define-public eog-plugins + ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as + ;; $DATA/lib/eog/plugins, where DATA is one of the entries in + ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have + ;; 'XDG_DATA_DIRS' appropriately set. + (package + (name "eog-plugins") + (version "3.25.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0an04z8v83qa6j950rbwdzf1s86y7zd8h1r4p2x36fwbkk1m617q")))) + (build-system gnu-build-system) + (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") + (synopsis "Extensions for the Eye of GNOME image viewer") + (native-inputs + `(("pkg-config" ,pkg-config) + ("gettext" ,gnu-gettext))) + (inputs + `(("eog" ,eog) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libpeas" ,libpeas) + ("libexif" ,libexif) + ("libchamplain" ,libchamplain))) + (description + "This package provides plugins for the Eye of GNOME (EOG) image viewer, +notably: + +@itemize +@item @dfn{EXIF Display}, which displays camera (EXIF) information; +@item @dfn{Map}, which displays a map of where the picture was taken on the +side panel; +@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode. +@end itemize\n") + + ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a + ;; long suspicious byte stream that goes to a + ;; ".gresource.eog_postasa_plugin" ELF section. + (license license:gpl2+))) + (define-public libgudev (package (name "libgudev")