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.

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#65694: closed (Re: bug#65694: [PATCH] gnu: capypdf: Update to
 0.5.0.)
Date: Sat, 09 Sep 2023 08:26:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#65694: [PATCH] gnu: capypdf: Update to 0.5.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 65694 <at> debbugs.gnu.org.

-- 
65694: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65694
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (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.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




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

Previous Next


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