From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 3qAqGfcsrV6/QAAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 08:19:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QAZBIwAtrV6USAAAB5/wlQ (envelope-from ) for ; Sat, 02 May 2020 08:19:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 E988B9429DD for ; Sat, 2 May 2020 08:19:10 +0000 (UTC) Received: from localhost ([::1]:58496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUnMc-0006PR-GC for larch@yhetil.org; Sat, 02 May 2020 04:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUnMV-0006Mn-I1 for guix-patches@gnu.org; Sat, 02 May 2020 04:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUnMU-0006oY-Pb for guix-patches@gnu.org; Sat, 02 May 2020 04:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUnMU-0006oS-CV for guix-patches@gnu.org; Sat, 02 May 2020 04:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUnMU-0001Bx-7k for guix-patches@gnu.org; Sat, 02 May 2020 04:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40994] 4-zathura-pdf-poppler-v1 References: <20200501075253.0c2c27d0.raghavgururajan@disroot.org> In-Reply-To: <20200501075253.0c2c27d0.raghavgururajan@disroot.org> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 08:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40994 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40994@debbugs.gnu.org Received: via spool by 40994-submit@debbugs.gnu.org id=B40994.15884075054530 (code B ref 40994); Sat, 02 May 2020 08:19:02 +0000 Received: (at 40994) by debbugs.gnu.org; 2 May 2020 08:18:25 +0000 Received: from localhost ([127.0.0.1]:51161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUnLs-0001B0-O1 for submit@debbugs.gnu.org; Sat, 02 May 2020 04:18:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:53908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUnLp-0001Ao-HQ for 40994@debbugs.gnu.org; Sat, 02 May 2020 04:18:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1940325FF8 for <40994@debbugs.gnu.org>; Sat, 2 May 2020 10:18:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FqwUJSO05W33 for <40994@debbugs.gnu.org>; Sat, 2 May 2020 10:18:18 +0200 (CEST) Date: Sat, 2 May 2020 04:17:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588407498; bh=Opez37oeEaohp5FJbFHJjskwrgmpryvadP4N/ekMfhM=; h=Date:From:To:Subject; b=XtSo5SniFaq5EBWIUJQ8aelcAGxlJdp7HlHdX1QSebwfmMBUNPFscRZpczlI0TAKp BQTTexvacouOAAR2Y68Rt9XgAJz1h4m3+jlA/Sy4tSzCZZz/6ejrAgfmtsGHXwBC/k P7UduDAO6sc67QctW/fBPQqhnRfxs7SeOeMEhHhs/MK8zLBY619TY8S4vV/43/Hann 7FfVWay790bEU3ii/c+PnVpk8hVSX5fekLSqseapmJjG3AGc78gxjU8/o0R2jHub6Q GEyc3ZtR9U5/JGfENZNx8beJWqrTV3qtOAge9oUAG+A2UTWvKEpJTwZ3KsjfU0PuIN kxAVOmQ5NvLbA== From: Raghav Gururajan Message-ID: <20200502041755.7e26f2a1.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/KuFC_x1BIYVKceD7H.sDUd=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=XtSo5Sni; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [1.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49485663083293]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_DKIM_REJECT(1.00)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; HAS_ATTACHMENT(0.00)[]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[disroot.org:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[raghavgururajan@disroot.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[pwmt.org:url,disroot.org:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; PREVIOUSLY_DELIVERED(0.00)[40994@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[disroot.org : SPF not aligned (relaxed),none] X-TUID: QvUyVBQOhwOj --MP_/KuFC_x1BIYVKceD7H.sDUd= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/KuFC_x1BIYVKceD7H.sDUd= Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=4-zathura-pdf-poppler-v1.patch >From e857c3eb891831dd3916e2103652416f5fabb2ef Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sat, 2 May 2020 04:11:49 -0400 Subject: [PATCH 4/4] gnu: zathura-pdf-poppler: Move to pwmt module. Moved variable from pdf.scm to pwmt.scm, for being part of pwmt project. Added extra dependencies and arguments for additional features. Removed phase 'patch-plugin-directory'. Added configure-flag 'plugindir'. Updated synopsis and description. Made some cosmetic changes in the definition. * gnu/packages/pdf.scm (zathura-pdf-poppler): Remove variable. * gnu/packages/pwmt.scm (zathura-pdf-poppler): Add variable. --- gnu/packages/pdf.scm | 36 ------------------------------------ gnu/packages/pwmt.scm | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 36 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index c5539c7df5..0aca1e707a 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -506,42 +506,6 @@ using the DjVuLibre library.") by using the @code{mupdf} rendering library.") (license license:zlib))) -(define-public zathura-pdf-poppler - (package - (name "zathura-pdf-poppler") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri - (string-append "https://pwmt.org/projects/zathura-pdf-poppler/download/zathura-pdf-poppler-" - version ".tar.xz")) - (sha256 - (base32 - "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m")))) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("poppler" ,poppler) - ("zathura" ,zathura))) - (build-system meson-build-system) - (arguments - `(#:tests? #f ; package does not include tests - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-plugin-directory - ;; Something of a regression in 0.2.9: the new Meson build system - ;; now hard-codes an incorrect plugin directory. Fix it. - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "meson.build" - (("(install_dir:).*" _ key) - (string-append key - "'" (assoc-ref outputs "out") "/lib/zathura'\n"))) - #t))))) - (home-page "https://pwmt.org/projects/zathura-pdf-poppler/") - (synopsis "PDF support for zathura (poppler backend)") - (description "The zathura-pdf-poppler plugin adds PDF support to zathura -by using the poppler rendering engine.") - (license license:zlib))) - (define-public podofo (package (name "podofo") diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm index 8b177e3e7a..fa973cea17 100644 --- a/gnu/packages/pwmt.scm +++ b/gnu/packages/pwmt.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages linux) + #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -224,3 +225,39 @@ DjVu and ComicBook) via plugins.") using the libspectre library.") (home-page "https://pwmt.org/projects/zathura-ps/") (license license:zlib))) + +(define-public zathura-pdf-poppler + (package + (name "zathura-pdf-poppler") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri + (string-append "https://pwmt.org/projects/" name "/download/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m")))) + (build-system meson-build-system) + (arguments + `(#:tests? #f ; No target + #:glib-or-gtk? #t ; To compile schemas + #:configure-flags + (list + (string-append "-Dplugindir=" + (assoc-ref %outputs "out") "/lib/zathura")))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("girara" ,girara) + ("glib" ,glib) + ("poppler" ,poppler) + ("zathura" ,zathura))) + (synopsis "PDF support (poppler backend) for zathura") + (description "The zathura-pdf-poppler plugin adds PDF support to zathura by +using the poppler rendering library.") + (home-page "https://pwmt.org/projects/zathura-pdf-poppler/") + (license license:zlib))) -- 2.26.2 --MP_/KuFC_x1BIYVKceD7H.sDUd=--