From unknown Wed Sep 10 10:35:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35970] [PATCH] gnu: Add qview. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 May 2019 22:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35970@debbugs.gnu.org Cc: Nicolas Goaziou X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155908391712462 (code B ref -1); Tue, 28 May 2019 22:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2019 22:51:57 +0000 Received: from localhost ([127.0.0.1]:57594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVkwj-0003Es-7f for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVkwh-0003Ef-SH for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:51900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVkwU-0002ui-9c for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVkwT-0006JR-1P for guix-patches@gnu.org; Tue, 28 May 2019 18:51:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVkwJ-0002lM-Ip for guix-patches@gnu.org; Tue, 28 May 2019 18:51:31 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:36959) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVkwI-0002iP-P9 for guix-patches@gnu.org; Tue, 28 May 2019 18:51:27 -0400 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id CE0E3100005; Tue, 28 May 2019 22:51:18 +0000 (UTC) From: Nicolas Goaziou Date: Wed, 29 May 2019 00:51:05 +0200 Message-Id: <20190528225105.10540-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/image-viewers.scm (qview): New variable. --- gnu/packages/image-viewers.scm | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 82b44a4900..8dee417cdb 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 nee ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Ricardo Wurmus +;;; Copyright © 2019 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -429,3 +430,50 @@ imaging. It supports several HDR and LDR image formats, and it can: a comic and manga reader. It supports a variety of container formats including CBZ, CB7, CBT, LHA.") (license license:gpl2+))) + +(define-public qview + (package + (name "qview") + (version "2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jurplel/qView.git") + (commit version))) + (sha256 + (base32 + "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "qmake"))) + ;; Installation process hard-codes "/usr/bin", possibly + ;; prefixed. + (add-after 'configure 'fix-install-directory + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("\\$\\(INSTALL_ROOT\\)/usr") out)) + #t))) + ;; Don't phone home or show "Checking for updates..." in the + ;; About menu. + (add-before 'build 'disable-auto-update + (lambda _ + (substitute* "src/qvaboutdialog.cpp" + (("ui->updateLabel->setText\\(updateText\\);") "") + (("requestUpdates\\(\\);") "")) + #t))))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtimageformats" ,qtimageformats))) + (home-page "https://interversehq.com/qview/") + (synopsis "Practical and minimal image viewer") + (description "qView is a Qt image viewer designed with visually +minimalism and usability in mind. Its features include animated GIF +controls, file history, rotation/mirroring, and multithreaded +preloading.") + (license license:gpl3+))) -- 2.21.0 From unknown Wed Sep 10 10:35:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35970] [PATCH] gnu: Add qview. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2019 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 35970@debbugs.gnu.org Received: via spool by 35970-submit@debbugs.gnu.org id=B35970.155939440121820 (code B ref 35970); Sat, 01 Jun 2019 13:07:02 +0000 Received: (at 35970) by debbugs.gnu.org; 1 Jun 2019 13:06:41 +0000 Received: from localhost ([127.0.0.1]:37486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hX3ia-0005fr-M6 for submit@debbugs.gnu.org; Sat, 01 Jun 2019 09:06:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hX3iZ-0005ff-2p for 35970@debbugs.gnu.org; Sat, 01 Jun 2019 09:06:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX3iT-0008WS-F1; Sat, 01 Jun 2019 09:06:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54756 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hX3iS-0008Pn-Rn; Sat, 01 Jun 2019 09:06:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190528225105.10540-1-mail@nicolasgoaziou.fr> Date: Sat, 01 Jun 2019 15:06:30 +0200 In-Reply-To: <20190528225105.10540-1-mail@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 29 May 2019 00:51:05 +0200") Message-ID: <874l59h2uh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Salut, Nicolas Goaziou skribis: > * gnu/packages/image-viewers.scm (qview): New variable. [...] > + (synopsis "Practical and minimal image viewer") ^~~~~~~~~ Did you mean =E2=80=9Cconvenient=E2=80=9D? :-) (It surely is practical too, but the same could be said of all the image viewers we have.) Otherwise LGTM! Ludo=E2=80=99. From unknown Wed Sep 10 10:35:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35970] [PATCH] gnu: Add qview. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2019 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35970@debbugs.gnu.org Received: via spool by 35970-submit@debbugs.gnu.org id=B35970.155942238620701 (code B ref 35970); Sat, 01 Jun 2019 20:54:01 +0000 Received: (at 35970) by debbugs.gnu.org; 1 Jun 2019 20:53:06 +0000 Received: from localhost ([127.0.0.1]:38750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXAzy-0005Np-8C for submit@debbugs.gnu.org; Sat, 01 Jun 2019 16:53:06 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:44479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXAzv-0005Na-L9 for 35970@debbugs.gnu.org; Sat, 01 Jun 2019 16:53:04 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5A0AB20005; Sat, 1 Jun 2019 20:52:57 +0000 (UTC) From: Nicolas Goaziou References: <20190528225105.10540-1-mail@nicolasgoaziou.fr> <874l59h2uh.fsf@gnu.org> Date: Sat, 01 Jun 2019 22:52:54 +0200 In-Reply-To: <874l59h2uh.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 01 Jun 2019 15:06:30 +0200") Message-ID: <87v9xpvxi1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Thank you for the review. Ludovic Court=C3=A8s writes: > Nicolas Goaziou skribis: > >> * gnu/packages/image-viewers.scm (qview): New variable. > > [...] > >> + (synopsis "Practical and minimal image viewer") > ^~~~~~~~~ > > Did you mean =E2=80=9Cconvenient=E2=80=9D? :-) > (It surely is practical too, but the same could be said of all the image > viewers we have.) OK. Bikeshedding time :) I used the words from the developers themselves , so I didn't mean anything in particular.=20 However, AFAIU, there is a difference between practical and convenient: the latter suggests some ease of use that the former doesn't. For example, the `find' utility is practical, but not what I would call convenient. Now, I don't have a strong opinion about it. I just wanted to be faithful to the developers' words. Bikeshedding time's over. So, "Practical" or "convenient", or something different, like: "Fully-featured yet unobtrusive image viewer" Regards, --=20 Nicolas Goaziou From unknown Wed Sep 10 10:35:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35970] [PATCH] gnu: Add qview. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2019 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 35970@debbugs.gnu.org Received: via spool by 35970-submit@debbugs.gnu.org id=B35970.155942601926705 (code B ref 35970); Sat, 01 Jun 2019 21:54:02 +0000 Received: (at 35970) by debbugs.gnu.org; 1 Jun 2019 21:53:39 +0000 Received: from localhost ([127.0.0.1]:38840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXBwZ-0006we-0Y for submit@debbugs.gnu.org; Sat, 01 Jun 2019 17:53:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXBwY-0006wK-2D for 35970@debbugs.gnu.org; Sat, 01 Jun 2019 17:53:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXBwS-0003vO-82; Sat, 01 Jun 2019 17:53:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55408 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hXBwR-0007ez-5s; Sat, 01 Jun 2019 17:53:32 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190528225105.10540-1-mail@nicolasgoaziou.fr> <874l59h2uh.fsf@gnu.org> <87v9xpvxi1.fsf@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Prairial an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 01 Jun 2019 23:53:29 +0200 In-Reply-To: <87v9xpvxi1.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 01 Jun 2019 22:52:54 +0200") Message-ID: <87pnnxas6e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Nicolas Goaziou skribis: > However, AFAIU, there is a difference between practical and convenient: > the latter suggests some ease of use that the former doesn't. For > example, the `find' utility is practical, but not what I would call > convenient. Yes, that=E2=80=99s what I meant. I commented because I was quite sure =E2=80=9Cconvenient=E2=80=9D was meant= and because =E2=80=9Cpractical=E2=80=9D is a false friend in French, but it=E2=80=99s n= o big deal. So please push with your preferred wording! :-) Ludo=E2=80=99. From unknown Wed Sep 10 10:35:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Goaziou Subject: bug#35970: closed (Re: [bug#35970] [PATCH] gnu: Add qview.) Message-ID: References: <87v9xjso4h.fsf@nicolasgoaziou.fr> <20190528225105.10540-1-mail@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 35970 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 35970@debbugs.gnu.org Date: Wed, 05 Jun 2019 21:46:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1559771162-30986-1" This is a multi-part message in MIME format... ------------=_1559771162-30986-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35970: [PATCH] gnu: Add qview. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35970@debbugs.gnu.org. --=20 35970: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35970 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1559771162-30986-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35970-done) by debbugs.gnu.org; 5 Jun 2019 21:45:08 +0000 Received: from localhost ([127.0.0.1]:48369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYdiW-0007En-Eu for submit@debbugs.gnu.org; Wed, 05 Jun 2019 17:45:08 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:37439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYdiU-0007Bl-MR for 35970-done@debbugs.gnu.org; Wed, 05 Jun 2019 17:45:07 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 6ECB3240008; Wed, 5 Jun 2019 21:45:04 +0000 (UTC) From: Nicolas Goaziou To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#35970] [PATCH] gnu: Add qview. References: <20190528225105.10540-1-mail@nicolasgoaziou.fr> <874l59h2uh.fsf@gnu.org> <87v9xpvxi1.fsf@nicolasgoaziou.fr> <87pnnxas6e.fsf@gnu.org> Date: Wed, 05 Jun 2019 23:45:02 +0200 In-Reply-To: <87pnnxas6e.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 01 Jun 2019 23:53:29 +0200") Message-ID: <87v9xjso4h.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35970-done Cc: 35970-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Ludovic Court=C3=A8s writes: > I commented because I was quite sure =E2=80=9Cconvenient=E2=80=9D was mea= nt and because > =E2=80=9Cpractical=E2=80=9D is a false friend in French, but it=E2=80=99s= no big deal. > > So please push with your preferred wording! :-) Fair enough. I used "convenient" and pushed the commit. Thank you. Regards, --=20 Nicolas Goaziou ------------=_1559771162-30986-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 May 2019 22:51:57 +0000 Received: from localhost ([127.0.0.1]:57594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVkwj-0003Es-7f for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVkwh-0003Ef-SH for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:51900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVkwU-0002ui-9c for submit@debbugs.gnu.org; Tue, 28 May 2019 18:51:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVkwT-0006JR-1P for guix-patches@gnu.org; Tue, 28 May 2019 18:51:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVkwJ-0002lM-Ip for guix-patches@gnu.org; Tue, 28 May 2019 18:51:31 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:36959) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVkwI-0002iP-P9 for guix-patches@gnu.org; Tue, 28 May 2019 18:51:27 -0400 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id CE0E3100005; Tue, 28 May 2019 22:51:18 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] gnu: Add qview. Date: Wed, 29 May 2019 00:51:05 +0200 Message-Id: <20190528225105.10540-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/image-viewers.scm (qview): New variable. --- gnu/packages/image-viewers.scm | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 82b44a4900..8dee417cdb 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 nee ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Ricardo Wurmus +;;; Copyright © 2019 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -429,3 +430,50 @@ imaging. It supports several HDR and LDR image formats, and it can: a comic and manga reader. It supports a variety of container formats including CBZ, CB7, CBT, LHA.") (license license:gpl2+))) + +(define-public qview + (package + (name "qview") + (version "2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jurplel/qView.git") + (commit version))) + (sha256 + (base32 + "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "qmake"))) + ;; Installation process hard-codes "/usr/bin", possibly + ;; prefixed. + (add-after 'configure 'fix-install-directory + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("\\$\\(INSTALL_ROOT\\)/usr") out)) + #t))) + ;; Don't phone home or show "Checking for updates..." in the + ;; About menu. + (add-before 'build 'disable-auto-update + (lambda _ + (substitute* "src/qvaboutdialog.cpp" + (("ui->updateLabel->setText\\(updateText\\);") "") + (("requestUpdates\\(\\);") "")) + #t))))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtimageformats" ,qtimageformats))) + (home-page "https://interversehq.com/qview/") + (synopsis "Practical and minimal image viewer") + (description "qView is a Qt image viewer designed with visually +minimalism and usability in mind. Its features include animated GIF +controls, file history, rotation/mirroring, and multithreaded +preloading.") + (license license:gpl3+))) -- 2.21.0 ------------=_1559771162-30986-1--