From patchwork Tue Mar 24 10:33:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: R Veera Kumar X-Patchwork-Id: 20871 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D52A927BBEA; Tue, 24 Mar 2020 10:34:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A191B27BBE4 for ; Tue, 24 Mar 2020 10:34:09 +0000 (GMT) Received: from localhost ([::1]:45824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGgsr-0003Aa-7i for patchwork@mira.cbaines.net; Tue, 24 Mar 2020 06:34:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54007) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGgsl-0003AU-Ly for guix-patches@gnu.org; Tue, 24 Mar 2020 06:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGgsk-0004zz-Gi for guix-patches@gnu.org; Tue, 24 Mar 2020 06:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGgsk-0004zv-Cu for guix-patches@gnu.org; Tue, 24 Mar 2020 06:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGgsk-0003Hu-A7 for guix-patches@gnu.org; Tue, 24 Mar 2020 06:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40209] [PATCH] gnu: qiv: Add new pkg qiv an image viewer for X References: <20200324093627.GB3208@tulip> In-Reply-To: <20200324093627.GB3208@tulip> Resent-From: R Veera Kumar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Mar 2020 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40209 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40209@debbugs.gnu.org Received: via spool by 40209-submit@debbugs.gnu.org id=B40209.158504602012600 (code B ref 40209); Tue, 24 Mar 2020 10:34:02 +0000 Received: (at 40209) by debbugs.gnu.org; 24 Mar 2020 10:33:40 +0000 Received: from localhost ([127.0.0.1]:53937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGgsO-0003HA-Ic for submit@debbugs.gnu.org; Tue, 24 Mar 2020 06:33:40 -0400 Received: from vkten.in ([104.244.73.96]:56662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGgsM-0003Gt-PA for 40209@debbugs.gnu.org; Tue, 24 Mar 2020 06:33:39 -0400 Received: (qmail 3053 invoked from network); 24 Mar 2020 10:33:26 -0000 Received: from unknown (HELO tulip) (vkor@vkten.in@117.202.224.5) de/crypted with TLSv1.3: TLS_AES_256_GCM_SHA384 [256/256] DN=none by vkten with ESMTPSA; 24 Mar 2020 10:33:26 -0000 Date: Tue, 24 Mar 2020 16:03:16 +0530 From: R Veera Kumar Message-ID: <20200324103316.GA3324@tulip> MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Add qiv an image viewer for X. Signed-off-by: R Veera Kumar --- gnu/packages/qiv.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 gnu/packages/qiv.scm diff --git a/gnu/packages/qiv.scm b/gnu/packages/qiv.scm new file mode 100644 index 0000000000..76b3c5702c --- /dev/null +++ b/gnu/packages/qiv.scm @@ -0,0 +1,53 @@ +(define-module (gnu packages qiv) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages image) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages photo) + #:use-module (gnu packages pkg-config)) + + +(define-public qiv + (package + (name "qiv") + (version "2.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://spiegl.de/qiv/download/qiv-" + version ".tgz")) + (sha256 + (base32 "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("imlib2" ,imlib2) + ("glib" ,glib) + ("gtk+" ,gtk+-2) + ("libtiff" ,libtiff) + ("libexif" ,libexif) + ("libpng" ,libpng))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete `configure)) + #:tests? #f + #:make-flags + (list + "CC=gcc" + "LCMS=" + (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (home-page "http://spiegl.de/qiv/") + (synopsis "Graphical image viewer for X") + (description + "Quick Image Viewer is a very small and fast GDK/Imlib image viewer. +Features include zoom, maxpect, scale down, fullscreen, brightness/contrast/ +gamma correction, slideshow, pan with keyboard and mouse, rotate left/right, +flip, delete, jump/forward/backward images, filename filter and use it to +set X desktop background.") + (license license:gpl2)))