GNU bug report logs - #65694
[PATCH] gnu: capypdf: Update to 0.5.0.

Previous Next

Package: guix-patches;

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

Date: Sat, 2 Sep 2023 06:54:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65694 in the body.
You can then email your comments to 65694 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65694; Package guix-patches. (Sat, 02 Sep 2023 06:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 02 Sep 2023 06:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: capypdf: Update to 0.5.0.
Date: Sat, 2 Sep 2023 08:52:02 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#65694; Package guix-patches. (Tue, 05 Sep 2023 11:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 65694 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 65694 <at> debbugs.gnu.org
Subject: Re: bug#65694: [PATCH] gnu: capypdf: Update to 0.5.0.
Date: Tue, 05 Sep 2023 07:50:46 -0400
Hi,

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




Information forwarded to guix-patches <at> gnu.org:
bug#65694; Package guix-patches. (Tue, 05 Sep 2023 17:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 65694 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 65694 <at> debbugs.gnu.org
Subject: Re: bug#65694: [PATCH] gnu: capypdf: Update to 0.5.0.
Date: Tue, 05 Sep 2023 19:02:22 +0200
Am Dienstag, dem 05.09.2023 um 07:50 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler <at> 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 

Information forwarded to guix-patches <at> gnu.org:
bug#65694; Package guix-patches. (Wed, 06 Sep 2023 01:08:01 GMT) Full text and rfc822 format available.

Message #14 received at 65694 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 65694 <at> debbugs.gnu.org
Subject: Re: bug#65694: [PATCH] gnu: capypdf: Update to 0.5.0.
Date: Tue, 05 Sep 2023 21:07:08 -0400
Hi,

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




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sat, 09 Sep 2023 08:26:01 GMT) Full text and rfc822 format available.

Notification sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
bug acknowledged by developer. (Sat, 09 Sep 2023 08:26:01 GMT) Full text and rfc822 format available.

Message #19 received at 65694-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 65694-done <at> debbugs.gnu.org
Subject: Re: bug#65694: [PATCH] gnu: capypdf: Update to 0.5.0.
Date: Sat, 09 Sep 2023 10:25:00 +0200
Am Dienstag, dem 05.09.2023 um 21:07 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler <at> 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.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 07 Oct 2023 11:24:19 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 242 days ago.

Previous Next


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