all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0.
@ 2023-09-02  6:52 Liliana Marie Prikler
  2023-09-05 11:50 ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-09-02  6:52 UTC (permalink / raw)
  To: 65694

* gnu/packages/pdf.scm (capypdf): Update to 0.5.0.
[arguments]<#:configure-flags>: Add “-Dcpp_std=c++23”
<#:phases>: Drop ‘add-missing-header’.
---
 gnu/packages/pdf.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index e270bdf27f..b71add6f25 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -117,7 +117,7 @@ (define-module (gnu packages pdf)
 (define-public capypdf
   (package
     (name "capypdf")
-    (version "0.4.0")
+    (version "0.5.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -125,18 +125,14 @@ (define-public capypdf
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "1kn46n3j5fygivmd6ldnv8vdwfv48ffaizq61yy4z9w2jm6fgxim"))))
+               (base32 "1mb3i0jq04gg5cm1l07mn9kal5s748miql97j6fpaf1x1j2lcrsx"))))
     (build-system meson-build-system)
     (arguments
      (list #:meson meson/newer
+           #:configure-flags #~(list "-Dcpp_std=c++23")
            #:test-options '(list "plainc")
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'add-missing-header
-                 (lambda _
-                   (substitute* "src/pdfgen.cpp"
-                     (("#include <cassert>" all)
-                      (string-append all "\n#include <unistd.h>")))))
                (add-after 'unpack 'fix-glib-application-flags
                  (lambda _
                    ;; XXX: remove when bumping glib

base-commit: 9179775b0535ddf038d45f1355f759c4d6dc40dc
-- 
2.41.0





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

* [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0.
  2023-09-02  6:52 [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0 Liliana Marie Prikler
@ 2023-09-05 11:50 ` Maxim Cournoyer
  2023-09-05 17:02   ` Liliana Marie Prikler
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2023-09-05 11:50 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 65694

Hi,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> * gnu/packages/pdf.scm (capypdf): Update to 0.5.0.
> [arguments]<#:configure-flags>: Add “-Dcpp_std=c++23”
> <#:phases>: Drop ‘add-missing-header’.
> ---
>  gnu/packages/pdf.scm | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
> index e270bdf27f..b71add6f25 100644
> --- a/gnu/packages/pdf.scm
> +++ b/gnu/packages/pdf.scm
> @@ -117,7 +117,7 @@ (define-module (gnu packages pdf)
>  (define-public capypdf
>    (package
>      (name "capypdf")
> -    (version "0.4.0")
> +    (version "0.5.0")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
> @@ -125,18 +125,14 @@ (define-public capypdf
>                      (commit version)))
>                (file-name (git-file-name name version))
>                (sha256
> -               (base32 "1kn46n3j5fygivmd6ldnv8vdwfv48ffaizq61yy4z9w2jm6fgxim"))))
> +               (base32 "1mb3i0jq04gg5cm1l07mn9kal5s748miql97j6fpaf1x1j2lcrsx"))))
>      (build-system meson-build-system)
>      (arguments
>       (list #:meson meson/newer
> +           #:configure-flags #~(list "-Dcpp_std=c++23")

The build fails otherwise?

LGTM otherwise!

-- 
Thanks,
Maxim




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

* [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0.
  2023-09-05 11:50 ` Maxim Cournoyer
@ 2023-09-05 17:02   ` Liliana Marie Prikler
  2023-09-06  1:07     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-09-05 17:02 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 65694

Am Dienstag, dem 05.09.2023 um 07:50 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> 
> > * gnu/packages/pdf.scm (capypdf): Update to 0.5.0.
> > [arguments]<#:configure-flags>: Add “-Dcpp_std=c++23”
> > <#:phases>: Drop ‘add-missing-header’.
> > ---
> >  gnu/packages/pdf.scm | 10 +++-------
> >  1 file changed, 3 insertions(+), 7 deletions(-)
> > 
> > diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
> > index e270bdf27f..b71add6f25 100644
> > --- a/gnu/packages/pdf.scm
> > +++ b/gnu/packages/pdf.scm
> > @@ -117,7 +117,7 @@ (define-module (gnu packages pdf)
> >  (define-public capypdf
> >    (package
> >      (name "capypdf")
> > -    (version "0.4.0")
> > +    (version "0.5.0")
> >      (source (origin
> >                (method git-fetch)
> >                (uri (git-reference
> > @@ -125,18 +125,14 @@ (define-public capypdf
> >                      (commit version)))
> >                (file-name (git-file-name name version))
> >                (sha256
> > -               (base32
> > "1kn46n3j5fygivmd6ldnv8vdwfv48ffaizq61yy4z9w2jm6fgxim"))))
> > +               (base32
> > "1mb3i0jq04gg5cm1l07mn9kal5s748miql97j6fpaf1x1j2lcrsx"))))
> >      (build-system meson-build-system)
> >      (arguments
> >       (list #:meson meson/newer
> > +           #:configure-flags #~(list "-Dcpp_std=c++23")
> 
> The build fails otherwise?
Yes, the file contains a very non-standard value for cpp_std, and it's
meant only for the big non free C++ compiler.

Cheers 

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

* [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0.
  2023-09-05 17:02   ` Liliana Marie Prikler
@ 2023-09-06  1:07     ` Maxim Cournoyer
  2023-09-09  8:25       ` bug#65694: " Liliana Marie Prikler
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2023-09-06  1:07 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 65694

Hi,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

[...]

>> >      (build-system meson-build-system)
>> >      (arguments
>> >       (list #:meson meson/newer
>> > +           #:configure-flags #~(list "-Dcpp_std=c++23")
>> 
>> The build fails otherwise?
> Yes, the file contains a very non-standard value for cpp_std, and it's
> meant only for the big non free C++ compiler.

Got it.

-- 
Thanks,
Maxim




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

* bug#65694: [PATCH] gnu: capypdf: Update to 0.5.0.
  2023-09-06  1:07     ` Maxim Cournoyer
@ 2023-09-09  8:25       ` Liliana Marie Prikler
  0 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-09-09  8:25 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 65694-done

Am Dienstag, dem 05.09.2023 um 21:07 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> 
> [...]
> 
> > > >      (build-system meson-build-system)
> > > >      (arguments
> > > >       (list #:meson meson/newer
> > > > +           #:configure-flags #~(list "-Dcpp_std=c++23")
> > > 
> > > The build fails otherwise?
> > Yes, the file contains a very non-standard value for cpp_std, and
> > it's meant only for the big non free C++ compiler.
> 
> Got it.
Pushed now.





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

end of thread, other threads:[~2023-09-09  8:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-02  6:52 [bug#65694] [PATCH] gnu: capypdf: Update to 0.5.0 Liliana Marie Prikler
2023-09-05 11:50 ` Maxim Cournoyer
2023-09-05 17:02   ` Liliana Marie Prikler
2023-09-06  1:07     ` Maxim Cournoyer
2023-09-09  8:25       ` bug#65694: " Liliana Marie Prikler

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.