From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxe8c-0006tq-31 for guix-patches@gnu.org; Mon, 10 Apr 2017 14:34:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxe8Y-0001yU-Uu for guix-patches@gnu.org; Mon, 10 Apr 2017 14:34:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxe8Y-0001yK-RC for guix-patches@gnu.org; Mon, 10 Apr 2017 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxe8Y-0007LY-Jh for guix-patches@gnu.org; Mon, 10 Apr 2017 14:34:02 -0400 Subject: bug#26434: [PATCH] gnu: Add gpicview. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxe8L-0006tZ-94 for guix-patches@gnu.org; Mon, 10 Apr 2017 14:33:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxe8I-0001sc-5U for guix-patches@gnu.org; Mon, 10 Apr 2017 14:33:49 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:34939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxe8H-0001rY-Ts for guix-patches@gnu.org; Mon, 10 Apr 2017 14:33:46 -0400 Received: by mail-wr0-x232.google.com with SMTP id o21so126348929wrb.2 for ; Mon, 10 Apr 2017 11:33:42 -0700 (PDT) From: Mathieu Othacehe Date: Mon, 10 Apr 2017 20:33:22 +0200 Message-Id: <20170410183322.31401-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26434@debbugs.gnu.org * gnu/packages/image-viewers.scm (gpicview): New variable. * gnu/packages/lxde.scm (lxde)[propagated-inputs]: Add gpicview. --- 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 ce75b1d83..a7e108a29 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Alex Griffin ;;; Copyright © 2017 ng0 +;;; Copyright © 2017 Mathieu Othacehe ;;; ;;; 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 7abaab2c7..1164ba8cb 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) -- 2.12.2