all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#75054] [PATCH] gnu: capypdf: Update to 0.14.0.
@ 2024-12-23 20:34 Liliana Marie Prikler
  2025-01-02 13:02 ` bug#75054: " Zheng Junjie
  0 siblings, 1 reply; 2+ messages in thread
From: Liliana Marie Prikler @ 2024-12-23 20:34 UTC (permalink / raw)
  To: 75054

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#75054: [PATCH] gnu: capypdf: Update to 0.14.0.
  2024-12-23 20:34 [bug#75054] [PATCH] gnu: capypdf: Update to 0.14.0 Liliana Marie Prikler
@ 2025-01-02 13:02 ` Zheng Junjie
  0 siblings, 0 replies; 2+ messages in thread
From: Zheng Junjie @ 2025-01-02 13:02 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 75054-done

[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]

Liliana Marie Prikler <liliana.prikler@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-02 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-23 20:34 [bug#75054] [PATCH] gnu: capypdf: Update to 0.14.0 Liliana Marie Prikler
2025-01-02 13:02 ` bug#75054: " Zheng Junjie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.