summaryrefslogtreecommitdiff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-03-02 10:37:28 +0000
committerChristopher Baines <mail@cbaines.net>2023-03-02 10:55:08 +0000
commit7df09ee0ab3e7962ef27859ce87e06a323059284 (patch)
treed81334f742ddcb9a1ee63961ca6410922980af1c /gnu/packages/pdf.scm
parent2ac51ec99b58b50c08ba719a8c7e9dba0330b065 (diff)
parentaf95f2d8f98eb2c8c64954bb2fd0b70838899174 (diff)
Merge remote-tracking branch 'savannah/master' into core-updates
Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm68
1 files changed, 32 insertions, 36 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 33b76f058f..a592d11bce 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Nikita <nikita@n0.is>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Julien Lepiller <julien@lepiller.eu>
@@ -53,7 +53,6 @@
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
- #:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
@@ -187,7 +186,7 @@ information.")
(inputs
(list python-poppler-qt5
python-pypdf2
- python-pyqt-without-qtwebkit
+ python-pyqt
qtbase-5))
(home-page "http://crazy-compilers.com/flyer-composer")
(synopsis "Rearrange PDF pages to print as flyers on one sheet")
@@ -447,7 +446,7 @@ reading and editing of existing PDF files.")
(define-public zathura-cb
(package
(name "zathura-cb")
- (version "0.1.8")
+ (version "0.1.10")
(source (origin
(method url-fetch)
(uri
@@ -455,7 +454,7 @@ reading and editing of existing PDF files.")
version ".tar.xz"))
(sha256
(base32
- "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5"))))
+ "1j5v32f9ki35v1jc7a067anhlgqplzrp4fqvznlixfhcm0bwmc49"))))
(native-inputs (list pkg-config))
(inputs (list libarchive zathura))
(build-system meson-build-system)
@@ -464,7 +463,7 @@ reading and editing of existing PDF files.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-plugin-directory
- ;; Something of a regression in 0.1.8: the new Meson build system
+ ;; Something of a regression in 0.1.10: the new Meson build system
;; now hard-codes an incorrect plugin directory. Fix it.
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "meson.build"
@@ -481,7 +480,7 @@ using libarchive.")
(define-public zathura-ps
(package
(name "zathura-ps")
- (version "0.2.6")
+ (version "0.2.7")
(source (origin
(method url-fetch)
(uri
@@ -489,7 +488,7 @@ using libarchive.")
version ".tar.xz"))
(sha256
(base32
- "0wygq89nyjrjnsq7vbpidqdsirjm6iq4w2rijzwpk2f83ys8bc3y"))))
+ "0ilf63wxn1yzis9m3qs8mxbk316yxdzwxrrv86wpiygm9hhgk5sq"))))
(native-inputs (list pkg-config))
(inputs (list libspectre zathura))
(build-system meson-build-system)
@@ -498,7 +497,7 @@ using libarchive.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-plugin-directory
- ;; Something of a regression in 0.2.6: the new Meson build system
+ ;; Something of a regression in 0.2.7: the new Meson build system
;; now hard-codes an incorrect plugin directory. Fix it.
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "meson.build"
@@ -550,7 +549,7 @@ using the DjVuLibre library.")
(define-public zathura-pdf-mupdf
(package
(name "zathura-pdf-mupdf")
- (version "0.3.9")
+ (version "0.4.0")
(source (origin
(method url-fetch)
(uri
@@ -558,7 +557,7 @@ using the DjVuLibre library.")
"/download/zathura-pdf-mupdf-" version ".tar.xz"))
(sha256
(base32
- "01vw0lrcj9g7d5h2xvm4xb08mvfld4syfr381fjrbdj52zm9bxvp"))))
+ "0pcjxvlh4hls8mjhjghhhihyy2kza8l27wdx0yq4bkd1g1b5f74c"))))
(native-inputs (list pkg-config))
(inputs
(list gumbo-parser
@@ -600,7 +599,7 @@ by using the @code{mupdf} rendering library.")
(define-public zathura-pdf-poppler
(package
(name "zathura-pdf-poppler")
- (version "0.3.0")
+ (version "0.3.1")
(source (origin
(method url-fetch)
(uri
@@ -608,7 +607,7 @@ by using the @code{mupdf} rendering library.")
version ".tar.xz"))
(sha256
(base32
- "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m"))))
+ "12qhkshpp1wjfpjmjccsyi6wscqyqvaa19j85prjpyf65i9jg0gf"))))
(native-inputs (list pkg-config))
(inputs
(list poppler zathura))
@@ -635,7 +634,7 @@ by using the poppler rendering engine.")
(define-public zathura
(package
(name "zathura")
- (version "0.5.1")
+ (version "0.5.2")
(source (origin
(method url-fetch)
(uri
@@ -643,7 +642,7 @@ by using the poppler rendering engine.")
version ".tar.xz"))
(sha256
(base32
- "1c8vmfpghqlq5kdnq92bzzp2grym3x3kxxxqgs51178s4z7639lq"))))
+ "15314m9chmh5jkrd9vk2h2gwcwkcffv2kjcxkd4v3wmckz5sfjy6"))))
(native-inputs
(list pkg-config
gettext-minimal
@@ -724,7 +723,7 @@ interaction.")
;; Look for freetype include files in the correct place.
(substitute* "cmake/modules/FindFREETYPE.cmake"
(("/usr/local") freetype))))))))
- (home-page "http://podofo.sourceforge.net")
+ (home-page "https://podofo.sourceforge.net")
(synopsis "Tools to work with the PDF file format")
(description
"PoDoFo is a C++ library and set of command-line tools to work with the
@@ -762,15 +761,14 @@ and based on PDF specification 1.7.")
(define-public mupdf
(package
(name "mupdf")
- (version "1.20.3")
+ (version "1.21.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://mupdf.com/downloads/archive/"
"mupdf-" version "-source.tar.lz"))
(sha256
- (base32
- "0s0qclxxdjis04mczgz0fhfpv0j8llk48g82zlfrk0daz0zgcwvg"))
+ (base32 "0876sn5nd8vyw9d3d3bmripm119jy6734rs0ywppqzvccy839936"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -818,14 +816,13 @@ and based on PDF specification 1.7.")
"USE_SYSTEM_JPEGXR=no # not available"
"USE_SYSTEM_LCMS2=no # lcms2mt is strongly preferred"
"USE_SYSTEM_LIBJPEG=yes"
- "USE_SYSTEM_MUJS=no # not available"
+ "USE_SYSTEM_MUJS=yes"
"USE_SYSTEM_OPENJPEG=yes"
"USE_SYSTEM_ZLIB=yes"
"USE_SYSTEM_GLUT=no"
"USE_SYSTEM_CURL=yes"
"USE_SYSTEM_LEPTONICA=yes"
"USE_SYSTEM_TESSERACT=yes"
- "USE_SYSTEM_MUJS=yes"
"shared=yes"
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
(string-append "prefix=" #$output))
@@ -878,21 +875,20 @@ program capable of converting PDF into other formats.")
;; Prior to the 7.0 release, QPDF was licensed under Artistic 2.0.
;; Users can still choose to use the old license at their option.
(license (list license:asl2.0 license:clarified-artistic))
- (home-page "http://qpdf.sourceforge.net/")))
+ (home-page "https://qpdf.sourceforge.net/")))
(define-public qpdfview
(package
(name "qpdfview")
- (version "0.4.18")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://launchpad.net/qpdfview/"
"trunk/" version "/+download/"
- "qpdfview-" version ".tar.gz"))
+ "qpdfview-" (version-major+minor version) ".tar.gz"))
(sha256
- (base32 "0v1rl126hvblajnph2hkansgi0s8vjdc5yxrm4y3faa0lxzjwr6c"))
- (patches (search-patches "qpdfview-qt515-compat.patch"))))
+ (base32 "16dy341927r2s1dza7g8ci1jyypfc4a6yfcvg9sxvjv1li0c9vs4"))))
(build-system qt-build-system)
(native-inputs
(list pkg-config))
@@ -904,14 +900,14 @@ program capable of converting PDF into other formats.")
qtbase-5
qtsvg-5))
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "qpdfview.pri"
- (("/usr") (assoc-ref outputs "out")))
- (invoke "qmake" "qpdfview.pro"))))))
+ (list #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (substitute* "qpdfview.pri"
+ (("/usr") #$output))
+ (invoke "qmake" "qpdfview.pro"))))))
(home-page "https://launchpad.net/qpdfview")
(synopsis "Tabbed document viewer")
(description "@command{qpdfview} is a document viewer for PDF, PS and DJVU
@@ -937,7 +933,7 @@ SyncTeX support, and rudimentary support for annotations and forms.")
(list gtk+-2 pango poppler glib libgnomecanvas))
(native-inputs
(list pkg-config))
- (home-page "http://xournal.sourceforge.net/")
+ (home-page "https://xournal.sourceforge.net/")
(synopsis "Notetaking using a stylus")
(description
"Xournal is an application for notetaking, sketching, keeping a journal
@@ -1116,7 +1112,7 @@ vector formats.")
(install-file "impressive.1" man1)))))))
;; TODO: Add dependency on pdftk.
(inputs (list python-pygame python-pillow sdl xpdf))
- (home-page "http://impressive.sourceforge.net")
+ (home-page "https://impressive.sourceforge.net")
(synopsis "PDF presentation tool with visual effects")
(description
"Impressive is a tool to display PDF files that provides visual effects