From unknown Sat Jul 26 21:31:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37356 <37356@debbugs.gnu.org> To: bug#37356 <37356@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add stapler. Reply-To: bug#37356 <37356@debbugs.gnu.org> Date: Sun, 27 Jul 2025 04:31:03 +0000 retitle 37356 [PATCH] gnu: Add stapler. reassign 37356 guix-patches submitter 37356 Arun Isaac severity 37356 normal tag 37356 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 09 11:01:39 2019 Received: (at submit) by debbugs.gnu.org; 9 Sep 2019 15:01:39 +0000 Received: from localhost ([127.0.0.1]:40408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7LAc-0000AP-TD for submit@debbugs.gnu.org; Mon, 09 Sep 2019 11:01:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:52292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7LAW-0000AD-NI for submit@debbugs.gnu.org; Mon, 09 Sep 2019 11:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47520) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7LAU-0004Iy-Hn for guix-patches@gnu.org; Mon, 09 Sep 2019 11:01:28 -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.8 required=5.0 tests=BAYES_50,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 1i7LAQ-00087D-1a for guix-patches@gnu.org; Mon, 09 Sep 2019 11:01:25 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:35606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i7LAN-000825-Es for guix-patches@gnu.org; Mon, 09 Sep 2019 11:01:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H3xZOfdduzgixo74Lq6wdAPwHJHcx0LVEmAHXzsHgpY=; b=MRckp18cnHflejCKeJr35yBauK 6gbyMhb/khz5OrZSrmeRdzoHK4JY2jLjwSWqEiR/T+Y7r0C07Bcd5vVs+6EQujTiSyt7f2uYbNRlc kt4vUAHlmeno6YiI654TrgpQA3BEBUPNpW7OMscxmMS0E5+19g5IcCtINXBW8iGvIFqs=; Received: from [49.206.3.117] (helo=steel.lan) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.1) (envelope-from ) id 1i7LAH-0004dS-86; Mon, 09 Sep 2019 20:31:13 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: Add stapler. Date: Mon, 9 Sep 2019 20:31:00 +0530 Message-Id: <20190909150100.20014-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.23.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: 139.59.75.54 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac 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.4 (--) * gnu/packages/pdf.scm (stapler): New variable. --- gnu/packages/pdf.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index d45a78222c..af915422de 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2016, 2017 Marius Bakke ;;; Copyright © 2016, 2017 Ludovic Courtès ;;; Copyright © 2016 Julien Lepiller -;;; Copyright © 2016 Arun Isaac +;;; Copyright © 2016, 2019 Arun Isaac ;;; Copyright © 2017, 2018 Leo Famulari ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017, 2018 Rene Saavedra @@ -1116,3 +1116,37 @@ presentation. The input files processed by pdfpc are PDF documents.") rendering of the file. The rendering is done by creating outline curves through the Pango @code{ft2} backend.") (license license:lgpl2.0+)))) + +(define-public stapler + (package + (name "stapler") + (version "0.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hellerbarde/stapler") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06w7xanzr7cicqik62g7zqs57j4y6fc7hflrc1rlmphxx40hkg6r")))) + (build-system python-build-system) + (inputs + `(("python2-pypdf2" ,python2-pypdf2))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-pypdf-version-requirement + ;; A PyPDF2 version requirement of 1.25.1 is hard-coded in + ;; setup.py. Relax it to work with any version of PyPDF2. + (lambda _ + (substitute* "setup.py" + (("PyPDF2==1.25.1") "PyPDF2")) + #t))))) + (home-page "https://github.com/hellerbarde/stapler") + (synopsis "PDF manipulation tool") + (description "Stapler is a pure Python alternative to PDFtk, a tool for +manipulating PDF documents from the command line.") + (license license:bsd-3))) -- 2.23.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 05:40:40 2019 Received: (at 37356) by debbugs.gnu.org; 26 Sep 2019 09:40:40 +0000 Received: from localhost ([127.0.0.1]:42697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDQGO-0006gF-DV for submit@debbugs.gnu.org; Thu, 26 Sep 2019 05:40:40 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:59234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDQGN-0006g7-3J for 37356@debbugs.gnu.org; Thu, 26 Sep 2019 05:40:39 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7C285A5B23; Thu, 26 Sep 2019 11:40:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YyHS0AHyJjQm; Thu, 26 Sep 2019 11:40:33 +0200 (CEST) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A3B59A5B1E; Thu, 26 Sep 2019 11:40:33 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: [bug#37356] [PATCH] gnu: Add stapler. References: <20190909150100.20014-1-arunisaac@systemreboot.net> Date: Thu, 26 Sep 2019 11:40:33 +0200 In-Reply-To: <20190909150100.20014-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Mon, 9 Sep 2019 20:31:00 +0530") Message-ID: <877e5vpf8u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37356 Cc: 37356@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: -0.0 (/) Hello, Arun Isaac skribis: > * gnu/packages/pdf.scm (stapler): New variable. [...] > + (home-page "https://github.com/hellerbarde/stapler") > + (synopsis "PDF manipulation tool") > + (description "Stapler is a pure Python alternative to PDFtk, a tool = for > +manipulating PDF documents from the command line.") Perhaps add a few words on the kind of PDF manipulations it supports. Otherwise LGTM, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 02:51:37 2019 Received: (at 37356-done) by debbugs.gnu.org; 28 Sep 2019 06:51:37 +0000 Received: from localhost ([127.0.0.1]:48937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE6Zt-0003ao-JB for submit@debbugs.gnu.org; Sat, 28 Sep 2019 02:51:37 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:59112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iE6Zq-0003ad-83 for 37356-done@debbugs.gnu.org; Sat, 28 Sep 2019 02:51:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=J+lRigGW4qaWPALLy65SzpAmuhM6p8tmhwcyUi60w10=; b=b/UzgSyZ+boTOaAvUtThvD8kj aDnS75Rpu6PCXje/UkmvCUZYHBs7KaypmY5XkudPqwO+QOy/pCTrt3U8GYC8MY/LSoIXxv/ivQvbq K4Zx6ovRoXufnryXCn2lZoZ0s2hf2bzdK35mp8r36KJ4woVSiBgc59akPv2ro7jMt0za8=; Received: from [49.206.3.117] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1) (envelope-from ) id 1iE6Zn-0002Yb-5r; Sat, 28 Sep 2019 12:21:31 +0530 From: Arun Isaac To: 37356-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add stapler. In-Reply-To: <20190909150100.20014-1-arunisaac@systemreboot.net> References: <20190909150100.20014-1-arunisaac@systemreboot.net> Date: Sat, 28 Sep 2019 12:21:27 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37356-done Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= 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.0 (-) --=-=-= Content-Type: text/plain Thanks for the review! I added a complete list of features to the description and pushed to master. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl2PAvEACgkQLiXui2GA K7OdRgf+LxS5THXxI36jL2Cc1ucnI/Vl25EJ9TPzbVFBdvgpeuNwBCAA0TPr5FPp QY+MC3uWzLnbjXdHke+nx8psuxJS+17+dIhlnaz+5510LDCwYBmsvy0n4mDizsWK 1vwBQ1Hxp6yPjpRIJMWDi4Pa/sl2qNHjHoJHsTTjkQarKwxpuvb39pPHnA6GbA1o Ev1osOyzv/rupUpCbSebRQLdicZh6ArLubY4H8NH1FPYOGKwt6cMn3AGSQgRtY/j Tpq3B8Fby5+iyMXAmD4FJv5f27IH0SJGg8xDVKKdxNvsnU0cxSXr0kvDLwKgnnq5 o3OL9ijKsb6pbaVGvtUM8xVtsOylNA== =vRU/ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jul 26 21:31:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 26 Oct 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator