summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2024-12-23 21:34:00 +0100
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2025-01-02 20:55:13 +0800
commit7c0718d29d2cb51bd1eb6643dd8ef800b14f0b3f (patch)
tree85354e144bae0bb929f74f5cd9c9273475acd851
parentab43d883a0a88adbcfd3c3ab8d4c097cd9054b90 (diff)
gnu: capypdf: Update to 0.14.0.
* gnu/packages/pdf.scm (capypdf): Update to 0.14.0. [#:phases]: Remove ‘fix-glib-application-flags’. [inputs]: Remove fmt. [native-inputs]: Replace gcc-12 with gcc-14. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r--gnu/packages/pdf.scm19
1 files changed, 5 insertions, 14 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 3f9d6c409b..93eff0cead 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -124,7 +124,7 @@
(define-public capypdf
(package
(name "capypdf")
- (version "0.8.0")
+ (version "0.14.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -132,28 +132,19 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0kp1dcww5zl04wnbqbi8vjzpc5qgr8gr8rcx0s6s4xbjnzvqqw8d"))))
+ (base32 "05rpicxw76z4q48ax0dx5rm1k4lhp4lbdr2aw58kly402w8kjdwb"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags #~(list "-Dcpp_std=c++23")
- #:test-options '(list "plainc")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-glib-application-flags
- (lambda _
- ;; XXX: remove when bumping glib
- (substitute* "src/pdfviewer.cpp"
- (("G_APPLICATION_DEFAULT_FLAGS")
- "G_APPLICATION_FLAGS_NONE")))))))
- (inputs (list fmt
- freetype
+ #:test-options '(list "plainc")))
+ (inputs (list freetype
gtk
lcms
libjpeg-turbo
libpng
zlib))
(native-inputs (list font-google-noto
- gcc-12
+ gcc-14 ; for std::format
ghostscript
pkg-config
python