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 nUlpCY06rV6AXwAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 09:17:01 +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 aLKZFJY6rV6rcgAAB5/wlQ (envelope-from ) for ; Sat, 02 May 2020 09:17:10 +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 77DAD942D02 for ; Sat, 2 May 2020 09:17:09 +0000 (UTC) Received: from localhost ([::1]:54358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUoGj-0003p9-Kw for larch@yhetil.org; Sat, 02 May 2020 05:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUoGd-0003ox-Fx for guix-patches@gnu.org; Sat, 02 May 2020 05:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUoGc-0005Uo-Gm for guix-patches@gnu.org; Sat, 02 May 2020 05:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUoGc-0005UK-2z for guix-patches@gnu.org; Sat, 02 May 2020 05:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUoGb-0002dn-Uh for guix-patches@gnu.org; Sat, 02 May 2020 05:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40994] 6-zathura-djvu-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 09:17:01 +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.158841099210113 (code B ref 40994); Sat, 02 May 2020 09:17:01 +0000 Received: (at 40994) by debbugs.gnu.org; 2 May 2020 09:16:32 +0000 Received: from localhost ([127.0.0.1]:51235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUoG7-0002d3-Uj for submit@debbugs.gnu.org; Sat, 02 May 2020 05:16:32 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUoG6-0002ct-JG for 40994@debbugs.gnu.org; Sat, 02 May 2020 05:16:31 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1ABE927385 for <40994@debbugs.gnu.org>; Sat, 2 May 2020 11:16:29 +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 EC9ad35dAucU for <40994@debbugs.gnu.org>; Sat, 2 May 2020 11:16:27 +0200 (CEST) Date: Sat, 2 May 2020 05:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588410987; bh=N7l8tWWcwbpsBT66czTXdLIDorDw0wd9EuanKxfPSgQ=; h=Date:From:To:Subject; b=bPixExDW7/a42fSbyL5udS9dYBdyxHOcWk3FZ6lhjnnIhDUNCitTVAndn8nRTy+oN 4U91BastsQkIpoLWalG5JM1Wy+fq57BZjqEfC4f6OLQ6tPGBOxeSF2f2ZRyrohMXXn xCPq23f5S96zU9wD/V2z4At8gePf+FGdTDSh7/ksgxyxUoGdZAqC+vEcAX7BjgQFK/ oikQOF7lpTX4nC4Tlc/DU3pWnnY+gL3yFWeZzWgNvMhD6+kK2iPqXxk4gZ3EEL+T+n htmceRfNzO9menov8w5jv4Dz5+Wwz76jv5Fdijr7poTOBEqGrG/Z0kOtrt2tXFLu2/ gs28L7f8pzQ/w== From: Raghav Gururajan Message-ID: <20200502051607.31a204b3.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/ejUUs/H1_b6jS9GAbbraFOF" 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=bPixExDW; 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.49485933826848]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[disroot.org:s=mail]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[disroot.org:-]; MX_GOOD(-0.50)[cached: eggs.gnu.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)[disroot.org:email,pwmt.org:url]; 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: cNfUQVa9RPKc --MP_/ejUUs/H1_b6jS9GAbbraFOF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/ejUUs/H1_b6jS9GAbbraFOF Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=6-zathura-djvu-v1.patch >From e2dde54a224777bcb2b050cb828db1a9fe6da532 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sat, 2 May 2020 05:12:02 -0400 Subject: [PATCH 6/6] gnu: zathura-djvu: 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-djvu): Remove variable. * gnu/packages/pwmt.scm (zathura-djvu): Add variable. --- gnu/packages/pdf.scm | 36 ------------------------------------ gnu/packages/pwmt.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 36 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 30a8ec20e6..6949ca4750 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -426,42 +426,6 @@ reading and editing of existing PDF files.") using libarchive.") (license license:zlib))) -(define-public zathura-djvu - (package - (name "zathura-djvu") - (version "0.2.9") - (source (origin - (method url-fetch) - (uri - (string-append "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-" - version ".tar.xz")) - (sha256 - (base32 - "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln")))) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("djvulibre" ,djvulibre) - ("zathura" ,zathura))) - (build-system meson-build-system) - (arguments - `(#:tests? #f ; package does not contain tests - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-plugin-directory - ;; Something of a regression in 0.2.8: 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-djvu/") - (synopsis "DjVu support for zathura (DjVuLibre backend)") - (description "The zathura-djvu plugin adds DjVu support to zathura -using the DjVuLibre library.") - (license license:zlib))) - (define-public podofo (package (name "podofo") diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm index c2c53ca8ec..173a35d892 100644 --- a/gnu/packages/pwmt.scm +++ b/gnu/packages/pwmt.scm @@ -25,6 +25,7 @@ (define-module (gnu packages pwmt) #:use-module (gnu packages) #:use-module (gnu packages check) + #:use-module (gnu packages djvu) #:use-module (gnu packages documentation) #:use-module (gnu packages file) #:use-module (gnu packages freedesktop) @@ -317,3 +318,42 @@ using the poppler rendering library.") using the mupdf rendering library.") (home-page "https://pwmt.org/projects/zathura-pdf-mupdf/") (license license:zlib))) + +(define-public zathura-djvu + (package + (name "zathura-djvu") + (version "0.2.9") + (source + (origin + (method url-fetch) + (uri + (string-append "https://pwmt.org/projects/" name "/download/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln")))) + (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) + ("djvulibre" ,djvulibre) + ("girara" ,girara) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("json-c" ,json-c) ; For configuration dumping support + ("libnotify" ,libnotify) ; For notification support + ("zathura" ,zathura))) + (synopsis "DjVu support for zathura") + (description "The zathura-djvu plugin adds DjVu support to zathura +using the DjVu library.") + (home-page "https://pwmt.org/projects/zathura-djvu/") + (license license:zlib))) -- 2.26.2 --MP_/ejUUs/H1_b6jS9GAbbraFOF--