From patchwork Fri May 3 16:42:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 13873 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C155216F93; Fri, 3 May 2019 17:45:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6172A16F91 for ; Fri, 3 May 2019 17:45:22 +0100 (BST) Received: from localhost ([127.0.0.1]:44444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMbJJ-0005lU-Uw for patchwork@mira.cbaines.net; Fri, 03 May 2019 12:45:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMbJ5-0005Vk-J2 for guix-patches@gnu.org; Fri, 03 May 2019 12:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMbJ3-0004x6-Vj for guix-patches@gnu.org; Fri, 03 May 2019 12:45:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMbJ3-0004wL-LU for guix-patches@gnu.org; Fri, 03 May 2019 12:45:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMbJ3-0007N4-FL for guix-patches@gnu.org; Fri, 03 May 2019 12:45:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35446] [PATCH v2 18/24] gnu: calibre: Unbundle python2-odfpy. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 May 2019 16:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35446 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35446@debbugs.gnu.org Received: via spool by 35446-submit@debbugs.gnu.org id=B35446.155690185528136 (code B ref 35446); Fri, 03 May 2019 16:45:05 +0000 Received: (at 35446) by debbugs.gnu.org; 3 May 2019 16:44:15 +0000 Received: from localhost ([127.0.0.1]:49533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMbIF-0007Jg-HG for submit@debbugs.gnu.org; Fri, 03 May 2019 12:44:15 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:62528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMbIE-0007Hh-1D for 35446@debbugs.gnu.org; Fri, 03 May 2019 12:44:14 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 95549A0182 for <35446@debbugs.gnu.org>; Fri, 3 May 2019 18:44:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1556901848; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5HEw9orN2o+n295oeowkE49W42gA4RBLbZCOsBx1wo8=; b=vfAae5vUS1IeaZgJqbu+o1iojz1IAIt4OYieYRDO0nUQ2AUbFGIQO61p3yIRD2dyo1rFr5 66D4WXGNXD4iuNNzMNTGM7Gj37mv4yFjUOnLDVfeTBBV2Yp8oZoPzUKZ7B/UPJFwmsNnZv EVQY/X5wta0cnRSfayTB/WlAJou+lBiuG6v9ndTuMhjvE+sR4pdYcSiwMYhXefKl/DJdee 5Qa0fF3tP6W0xFxpuzGfmbj057Bwlsy4iAga94rHhYfdC91/GzawPUjqmM3pWWwiG8dMhe cgy1POHpg75j0p1FJXwb+EF/gxte89tJ0LnlUXzDytiRrUlpOlggEVfb1UQrjQ== Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id WFlcYO4pecNR for <35446@debbugs.gnu.org>; Fri, 3 May 2019 18:44:00 +0200 (CEST) From: Brendan Tildesley Date: Sat, 4 May 2019 02:42:26 +1000 Message-Id: <20190503164232.1799-18-mail@brendan.scot> In-Reply-To: <20190503164232.1799-1-mail@brendan.scot> References: <20190503164232.1799-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ebook.scm (calibre): [snippets]: Remove all of src/odf instead of just the thumbnail with the uncertain license (that was probably free anyway). [inputs]: Add python2-odfpy. --- gnu/packages/ebook.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index a4f9c8b495..6d94b41069 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -89,13 +89,13 @@ (sha256 (base32 "167hhv4wimkjnyfgqkyqmaiixhicbxacy6190gps98jyj4csi8ra")) - ;; Remove non-free or doubtful code, see + ;; Unbundle python2-pdf. ;; https://lists.gnu.org/archive/html/guix-devel/2015-02/msg00478.html (modules '((guix build utils))) (snippet '(begin - (delete-file "src/odf/thumbnail.py") - #t)) + (delete-file-recursively "src/odf") + #t)) (patches (search-patches "calibre-no-updates-dialog.patch" "calibre-remove-test-bs4.patch" ;; TODO: fix test. "calibre-remove-test-sqlite.patch" ;; TODO: fix test. @@ -141,6 +141,7 @@ ;; python2-msgpack is needed for the network content server to work. ("python2-msgpack" ,python2-msgpack) ("python2-netifaces" ,python2-netifaces) + ("python2-odfpy" ,python2-odfpy) ("python2-pillow" ,python2-pillow) ("python2-psutil" ,python2-psutil) ("python2-pygments" ,python2-pygments)