GNU bug report logs - #75054
[PATCH] gnu: capypdf: Update to 0.14.0.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Mon, 23 Dec 2024 20:35:02 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: bug#75054: closed (Re: [bug#75054] [PATCH] gnu: capypdf: Update
 to 0.14.0.)
Date: Thu, 02 Jan 2025 13:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#75054: [PATCH] gnu: capypdf: Update to 0.14.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 75054 <at> debbugs.gnu.org.

-- 
75054: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75054
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 75054-done <at> debbugs.gnu.org
Subject: Re: [bug#75054] [PATCH] gnu: capypdf: Update to 0.14.0.
Date: Thu, 02 Jan 2025 21:02:01 +0800
[Message part 3 (text/plain, inline)]
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:

> * 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.
> ---
>  gnu/packages/pdf.scm | 19 +++++--------------
>  1 file changed, 5 insertions(+), 14 deletions(-)
>
> diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
> index f7cd19b974..f4c7dce81a 100644
> --- a/gnu/packages/pdf.scm
> +++ b/gnu/packages/pdf.scm
> @@ -124,7 +124,7 @@ (define-module (gnu packages pdf)
>  (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 @@ (define-public capypdf
>                      (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
>
> base-commit: 1ca065fe68d68a2fa9c3d747f23fd11c8ecfd85b
pushed, closing.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: capypdf: Update to 0.14.0.
Date: Mon, 23 Dec 2024 21:34:00 +0100
* 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.
---
 gnu/packages/pdf.scm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index f7cd19b974..f4c7dce81a 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -124,7 +124,7 @@ (define-module (gnu packages pdf)
 (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 @@ (define-public capypdf
                     (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

base-commit: 1ca065fe68d68a2fa9c3d747f23fd11c8ecfd85b
-- 
2.46.0




This bug report was last modified 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.