guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: gnu: Add gpicview.


From: Ludovic Courtès
Subject: 05/05: gnu: Add gpicview.
Date: Mon, 10 Apr 2017 17:55:34 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ed3a9ec5acfb96cf79ede69b96ecc396d2312185
Author: Mathieu Othacehe <address@hidden>
Date:   Mon Apr 10 20:33:22 2017 +0200

    gnu: Add gpicview.
    
    * gnu/packages/image-viewers.scm (gpicview): New variable.
    * gnu/packages/lxde.scm (lxde)[propagated-inputs]: Add gpicview.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/image-viewers.scm | 24 ++++++++++++++++++++++++
 gnu/packages/lxde.scm          |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index ce75b1d..a7e108a 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2017 Alex Griffin <address@hidden>
 ;;; Copyright © 2017 ng0 <address@hidden>
+;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -122,6 +123,29 @@ image formats; tools for image comparison, sorting and 
managing photo
 collection.  Geeqie was initially based on GQview.")
     (license license:gpl2+)))
 
+(define-public gpicview
+  (package
+    (name "gpicview")
+    (version "0.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/lxde/"
+                                  "GPicView%20%28image%20Viewer%29/0.2.x/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0hi9v0rdx47nys0wvm9xasdrafa34r5kq6crb074a0ipwmc60iiq"))))
+    (build-system gnu-build-system)
+    (inputs `(("gtk+" ,gtk+-2)
+              ("libjpeg" ,libjpeg)))
+    (native-inputs `(("intltool"   ,intltool)
+                     ("pkg-config" ,pkg-config)))
+    (synopsis "Simple and fast image viewer for X")
+    (description "gpicview is a lightweight GTK+ 2.x based image viewer.
+It is the default image viewer on LXDE desktop environment.")
+    (home-page "http://lxde.sourceforge.net/gpicview/";)
+    (license license:gpl2+)))
+
 (define-public sxiv
   (package
     (name "sxiv")
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index 7abaab2..1164ba8 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -27,6 +27,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages openbox)
   #:use-module (gnu packages pkg-config)
@@ -435,9 +436,10 @@ in LXDE.")
     (arguments '(#:builder (mkdir %output)))
     (propagated-inputs
      ;; TODO:
-     ;; lxshortcut, lxsession-edit, gpicview
+     ;; lxshortcut, lxsession-edit
      ;; lxappearance-obconf
      `(("menu-cache" ,menu-cache)
+       ("gpicview" ,gpicview)
        ("leafpad" ,leafpad)
        ("lxappearance" ,lxappearance)
        ("lxde-icon-theme" ,lxde-icon-theme)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]