From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UAJFJwLMvV9HQwAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 03:14:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sDEUIwLMvV+zYAAA1q6Kng (envelope-from ) for ; Wed, 25 Nov 2020 03:14:10 +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 EF3359400EF for ; Wed, 25 Nov 2020 03:14:09 +0000 (UTC) Received: from localhost ([::1]:58324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khlFw-0003UV-RT for larch@yhetil.org; Tue, 24 Nov 2020 22:14:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khlFq-0003UM-6t for guix-patches@gnu.org; Tue, 24 Nov 2020 22:14:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khlFp-0000J1-VQ for guix-patches@gnu.org; Tue, 24 Nov 2020 22:14:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khlFp-0007eO-QS for guix-patches@gnu.org; Tue, 24 Nov 2020 22:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44853] [PATCH] gnu: Add qpdfview. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Nov 2020 03:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timotej Lazar Cc: 44853@debbugs.gnu.org Received: via spool by 44853-submit@debbugs.gnu.org id=B44853.160627400629347 (code B ref 44853); Wed, 25 Nov 2020 03:14:01 +0000 Received: (at 44853) by debbugs.gnu.org; 25 Nov 2020 03:13:26 +0000 Received: from localhost ([127.0.0.1]:33750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khlF8-0007d8-Tf for submit@debbugs.gnu.org; Tue, 24 Nov 2020 22:13:26 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khlF7-0007ct-59 for 44853@debbugs.gnu.org; Tue, 24 Nov 2020 22:13:17 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ED0185C015B; Tue, 24 Nov 2020 22:13:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 24 Nov 2020 22:13:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=ClKKQ4zw7CriGpamWOdng8f/ dSqlFB5CTvGVG0XmoJs=; b=KIQJidyfUuKiTerTY9MjIOF/U9PGHbfIC8xo1wfV aG083B8b8vko26sNlGS3B08mLnPS4OnE377nLyIY38s9C6f3VBbcAzRGaMTOAQGy 1G1v+8QFUbpb0lJCaFSRKjPt7fxxqvFGc/UHTqVa/naba9xkNxLAeAsO1H+/oz9e rjM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ClKKQ4 zw7CriGpamWOdng8f/dSqlFB5CTvGVG0XmoJs=; b=Tezxp1rY1LfvS1vwsH0rT5 7ZKq9qB6UVy2H+cX6X3zA7baoxD3T9KQrfaHG38tnyED8KjYr1lu23cObY7RWq/I xSYxb0zPTHXenKbIykJaG0jmXmnvLaxfcY84rufXSCdKpELnxOqLDRhxwVIhxDpl S21X4bUPYt/Eu9AoXjoo1JPqPpdHS5I9CbTCQcytcG7lfwjz5pr1bA4YQK+FLVWq drWG2zHDnTrJsK3ABIqQus6D6eTeeAsjYURfKND0hd+IS/rAhZpms1jARfEwpGD3 A35xZB+tlnFbCdSgbGxPcY7vSMXUBu5ojViju3GEov69rpeWuCGcU2bZuzldpo5g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegledgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpedukeevgeetkeeltefgiedtjefgjeekffduteehvdfhueekudelieekjeefheff teenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 784873064AAA; Tue, 24 Nov 2020 22:13:11 -0500 (EST) Date: Tue, 24 Nov 2020 22:13:09 -0500 From: Leo Famulari Message-ID: <20201125031309.GA10305@jasmine.lan> References: <20201124185845.31317-1-timotej.lazar@araneo.si> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <20201124185845.31317-1-timotej.lazar@araneo.si> X-Spam-Score: 1.2 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.9 (/) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=KIQJidyf; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=Tezxp1rY; 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-Spam-Score: -2.11 X-TUID: t16u5anYiw32 --5/uDoXvLw7AC5HRs Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 24, 2020 at 07:58:45PM +0100, Timotej Lazar wrote: > * gnu/packages/pdf.scm (qpdfview): New variable. Thanks! I noticed that, on my Debian system, the user interface was not displaying any icons. I fixed it for myself by making the package use the 'qt-wrap' phase from the Qt build system fixed this, which adds a wrapper for the XDG_DATA_DIRS, XDG_CONFIG_DIRS, QT_PLUGIN_PATH, and QML2_IMPORT_PATH environment variables. I've attached a patch that does this. Can you check that it still works for you? --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-qpdfview.patch" Content-Transfer-Encoding: quoted-printable =46rom 33e6e67975d63a27319f7df6e34741e97b83f5db Mon Sep 17 00:00:00 2001 =46rom: Timotej Lazar Date: Tue, 24 Nov 2020 19:58:45 +0100 Subject: [PATCH] gnu: Add qpdfview. * gnu/packages/pdf.scm (qpdfview): New variable. Signed-off-by: Leo Famulari --- gnu/packages/pdf.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 1899501122..9e4341afb9 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -19,6 +19,7 @@ ;;; Copyright =C2=A9 2019,2020 Hartmut Goebel ;;; Copyright =C2=A9 2020 Nicolas Goaziou ;;; Copyright =C2=A9 2020 Michael Rohleder +;;; Copyright =C2=A9 2020 Timotej Lazar ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages audio) @@ -54,6 +56,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cups) #:use-module (gnu packages curl) #:use-module (gnu packages djvu) #:use-module (gnu packages fontutils) @@ -806,6 +809,52 @@ program capable of converting PDF into other formats.") (license (list license:asl2.0 license:clarified-artistic)) (home-page "http://qpdf.sourceforge.net/"))) =20 +(define-public qpdfview + (package + (name "qpdfview") + (version "0.4.18") + (source + (origin + (method url-fetch) + (uri (string-append "https://launchpad.net/qpdfview/" + "trunk/" version "/+download/" + "qpdfview-" version ".tar.gz")) + (sha256 + (base32 "0v1rl126hvblajnph2hkansgi0s8vjdc5yxrm4y3faa0lxzjwr6c")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cups" ,cups) + ("djvulibre" ,djvulibre) + ("libspectre" ,libspectre) + ("poppler-qt5" ,poppler-qt5) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (arguments + `(#:imported-modules ((guix build qt-build-system) + (guix build cmake-build-system) + ,@%gnu-build-system-modules) + #:modules ((guix build utils) + (guix build gnu-build-system) + ((guix build qt-build-system) #:prefix qt:)) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "qpdfview.pri" + (("/usr") (assoc-ref %outputs "out"))) + (invoke "qmake" "qpdfview.pro"))) + (add-after 'install 'qt-wrap + (assoc-ref qt:%standard-phases 'qt-wrap))))) + (home-page "https://launchpad.net/qpdfview") + (synopsis "Tabbed document viewer") + (description "@command{qpdfview} is a document viewer for PDF, PS and = DJVU +files. It uses the Qt toolkit and features persistent per-file settings, +configurable toolbars and shortcuts, continuous and multi=E2=80=90page lay= outs, +SyncTeX support, and rudimentary support for annotations and forms.") + (license license:gpl2+))) + (define-public xournal (package (name "xournal") --=20 2.29.2 --k+w/mQv8wyuph6w0-- --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl+9y8EACgkQJkb6MLrK fwjkkRAAzx2GIaNN+7XhglRXgHfM8lHG4VsBKp1Cx/i1+76MGKfcKj/eswnUeZdb sJ6bGwfjgxa9Yi0uwN2e8+bbnZNTRhbyO4daxC0ybOaRdrbi4DCZfbFr4U986C0n aykPF7cO4dsxYNg1w47Pr95E15SCNkk6Dyk0YkgrrJGLVIluEZh9rLbBMdgRYu0/ tHY541HLBTw/PHsmmej+fIy/UGzefUXY7z1kxt+/Sgw7BnuCVHYrmlSsax45xHH5 VKaBLd6FP94trUbaK3KgbSVp2pBQT2d8cYvxyOSWS8ArQdoJLhwXVuZIIH2taU/F +xXt9EoT7v7B6hSbMb+/1oHPcBZqERs3rasxYTMGQxj8gr0wIXRTNJ1JO6WOPTql hEkaZsfJ1JVwwBS5SQ+CfkNftqgednPJ6NrYHoowXa+O3xCRmiMK1X+i75pXZMlA 6A40V/Oq34xSwSOTncEKLSgHg5NxWPnXzobZibxLq6t5aTqPCrPqDpJ0ij4sPxWa /CmEE2Jd0mDKXIvo+Zdb+HGJ746amoT8fb4sJJ6UbXf85ib0EV56uB8leVzH/WTQ PEFh+cLBNpEv9MYFvRpiEjh1GshYpGJPO2h5sW6M+yyl7X14jQN5hkyaC9VKUyzM xH/3u2QOsAA+v5oXn6FucNHkTgI7AcPNPtMdmRcKCzsv7xUNHD0= =3hDv -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs--