From 0cd4a74600f856babd2a67770b37fbb916d31334 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 21 Oct 2019 09:54:44 +1100 Subject: gnu: Add pdfarranger. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/pdf.scm (pdfarranger): New public variable. Signed-off-by: Ludovic Courtès --- gnu/packages/pdf.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index dfb4883a73..03ffeec0df 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2017, 2018 Rene Saavedra ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Alex Griffin +;;; Copyright © 2019 Ben Sturmfels ;;; ;;; This file is part of GNU Guix. ;;; @@ -975,6 +976,41 @@ (define-public python2-pypdf python-pypdf2 instead.") (license license:bsd-3))) +(define-public pdfarranger + (package + (name "pdfarranger") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeromerobert/pdfarranger.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1f8m8r81322i97wkqpmf7a4kiwnq244n6cnbldh03jc49vwq2kxx")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; no tests + (native-inputs + `(("intltool" ,intltool) + ("python-distutils-extra" ,python-distutils-extra))) + (propagated-inputs + `(("gtk+" ,gtk+) + ("poppler" ,poppler) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pypdf2" ,python-pypdf2))) + (home-page "https://github.com/jeromerobert/pdfarranger") + (synopsis "Merge, split and re-arrange pages from PDF documents") + (description + "PDF Arranger is a small application which allows one to merge or split +PDF documents and rotate, crop and rearrange their pages using an interactive +and intuitive graphical interface. + +PDF Arranger was formerly known as PDF-Shuffler.") + (license license:gpl3+))) + (define-public pdfposter (package (name "pdfposter") -- cgit v1.2.3