From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MLDHNC2nQmCGagAA0tVLHw (envelope-from ) for ; Fri, 05 Mar 2021 21:48:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oGWcMC2nQmAvTAAA1q6Kng (envelope-from ) for ; Fri, 05 Mar 2021 21:48:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 955D72868E for ; Fri, 5 Mar 2021 22:48:28 +0100 (CET) Received: from localhost ([::1]:46448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIIJ9-0007X0-DC for larch@yhetil.org; Fri, 05 Mar 2021 16:48:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIIIk-0007MC-AY for guix-patches@gnu.org; Fri, 05 Mar 2021 16:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIIIk-0001vi-2c for guix-patches@gnu.org; Fri, 05 Mar 2021 16:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIIIj-0005TL-WA for guix-patches@gnu.org; Fri, 05 Mar 2021 16:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46953] [PATCH] gnu: Add xzgv. Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Mar 2021 21:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46953 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46953@debbugs.gnu.org Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161498083920984 (code B ref -1); Fri, 05 Mar 2021 21:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2021 21:47:19 +0000 Received: from localhost ([127.0.0.1]:35595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIIHz-0005SK-1W for submit@debbugs.gnu.org; Fri, 05 Mar 2021 16:47:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:46574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIIHx-0005SC-2z for submit@debbugs.gnu.org; Fri, 05 Mar 2021 16:47:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIIHt-0006r9-1u for guix-patches@gnu.org; Fri, 05 Mar 2021 16:47:12 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:55108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIIHq-0001WF-Km for guix-patches@gnu.org; Fri, 05 Mar 2021 16:47:08 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id A269C5D400F3; Fri, 5 Mar 2021 22:47:01 +0100 (CET) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Date: Fri, 5 Mar 2021 22:46:42 +0100 Message-Id: <20210305214642.119232-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614980909; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=o11mqtOHuwQ6DiQ/XigLSMx91DhSRV0TWi+MEPbtSus=; b=m8EE+EOC7szzFHO0J4FLM4q95fzrgvlamtpE5yTB/YZuIAsvMwn5tyVQPdT+TPr0a969/6 N86bSK1JQUK84ksO0XmUd7vCqROUEAqhyOoVzjJ0W4WVfn2EG4OFzbJup/YALzAZEuPOEN aw+qZSTfxiotFknIMtGHGohnTuxUPcaVlUR+SF7ACko/eqbo7FIJ3L2lZqVnNbQGsOXO8V LVzSFS/ZHBKfiYhb+lyT3MAdRiaUrN1C7bjSZZx8zRCDYLQ3z5nu3i74oFo+mb4VgZEbZg aZkOdE7n33CQhhEoyMXKmrhtp7bLfw79/H6fm4eWGs2ecZjhncaFJ7SkFxMYcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614980909; a=rsa-sha256; cv=none; b=o1e/pJoIqA57XuJh5XJ00/2QnGBhAwlwV33NThiHdIWt9cbU8huyIIVce42DyLCmF6idwH JV3e6LNDusKedevtJSZzAxbeGoCESON3ad6M1mX6d701ewdk+x2CzupRKnDVNFBR+1ubKZ iIL5z23vVvpFQfqwSIZnSJUNFfnqvcOoDOyzoNR5sddM2rsO6971Z5QU3iP4/PmO2zsSc5 rIW5Rnq3KNfbScll47A0jGItS/ac4QZ7488Asjdk6LiWLgJ/jNhzcnaegLYh21HAEkpawZ 8FZezQ7sdRTfeQKXC2zeUtXn5G2wdPWobhFNiLDz/mVH3bGGizSJ30cgSc6zvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 955D72868E X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1wTjw9AKZ7SO * gnu/packages/image-viewers.scm (xzgv): New variable. --- gnu/packages/image-viewers.scm | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index bddf86568c..8fa6743020 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2020 Pierre Neidhardt ;;; Copyright © 2021 Rovanion Luckey ;;; Copyright © 2021 Xinglu Chen +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -748,3 +749,40 @@ allows creating false color images. A unique feature of Nomacs is the synchronization of multiple instances.") (home-page "https://nomacs.org/") (license license:gpl3+))) + +(define-public xzgv + (package + (name "xzgv") + (version "0.9.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xzgv/" + version "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "17l1xr9v07ggwga3vn0z1i4lnwjrr20rr8z1kjbw71aaijxl18i5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-target-directory + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "config.mk" + (("/usr/local") (assoc-ref outputs "out"))))) + (delete 'configure) ; no configure script + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "src/xzgv" bin))))) ; just install the executable + #:tests? #f)) ; no rule for target 'test' + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+-2) + ("libexif" ,libexif))) + (synopsis "Picture viewer for X with a thumbnail-based selector") + (description + "xzgv is a fast image viewer that provides extensive keyboard support.") + (home-page "https://sourceforge.net/projects/xzgv/") + (license license:gpl2+))) -- 2.25.1