summaryrefslogtreecommitdiff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2023-01-03 15:38:13 +0100
committerMarius Bakke <marius@gnu.org>2023-01-03 15:38:13 +0100
commit9123bb0fba3fce976dc41cd3b8919ee73b4cee4d (patch)
tree50ba63a4a3a6ffeb2f37fd0929813b51e00d01dc /gnu/packages/pdf.scm
parentec0fbb471dfc6f72796da9ebafbb0630daa91267 (diff)
parent71ee1fbbed8ea9788dd48a634653d66606d372ce (diff)
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 19e10649f3..4b9d0623fe 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -183,7 +184,10 @@ information.")
(,(string-append qtbase "/lib/qt5/plugins/platforms"))))
#t))))))
(inputs
- (list python-pypdf2 python-pyqt python-poppler-qt5 qtbase-5))
+ (list python-poppler-qt5
+ python-pypdf2
+ python-pyqt-without-qtwebkit
+ qtbase-5))
(home-page "http://crazy-compilers.com/flyer-composer")
(synopsis "Rearrange PDF pages to print as flyers on one sheet")
(description "@command{flyer-composer} can be used to prepare one- or
@@ -1203,6 +1207,35 @@ information for every pixel as the input.")
the framebuffer.")
(license license:gpl2+)))
+(define-public pdfcrack
+ (package
+ (name "pdfcrack")
+ (version "0.20")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/pdfcrack/pdfcrack/"
+ "pdfcrack-" version "/"
+ "pdfcrack-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1d751n38cbagxqpw6ncvf3jfv7zhxl3fwh5nms2bjp6diyqjk2vv"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f ;no test suite
+ #:make-flags #~(list (string-append "CC="
+ #$(cc-for-target)))
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure) ;no configure script
+ (replace 'install
+ (lambda _
+ (install-file "pdfcrack"
+ (string-append #$output "/bin")))))))
+ (home-page "https://pdfcrack.sourceforge.net/")
+ (synopsis "Password recovery tool for PDF files")
+ (description "PDFCrack is a simple tool for recovering passwords from PDF
+documents that use the standard security handler.")
+ (license license:gpl2+)))
+
(define-public pdf2svg
(package
(name "pdf2svg")