GNU bug report logs -
#64007
[PATCH 0/2] Add CapyPDF
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64007 in the body.
You can then email your comments to 64007 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#64007
; Package
guix-patches
.
(Sun, 11 Jun 2023 16:40: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
.
(Sun, 11 Jun 2023 16:40:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
this "updates" a4pdf to the new package name, while also adding a new
graft for meson that makes it accept C++23.
Cheers
Liliana Marie Prikler (2):
gnu: meson: Update to 1.1.1.
gnu: Add capypdf.
gnu/packages/build-tools.scm | 14 ++++++++++++++
gnu/packages/pdf.scm | 29 ++++++++++++++---------------
2 files changed, 28 insertions(+), 15 deletions(-)
base-commit: e8c207589d431c00b5f1a8175f391020323a3d27
--
2.40.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64007
; Package
guix-patches
.
(Sun, 11 Jun 2023 16:41:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 64007 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/pdf.scm (capypdf): New variable.
(a4pdf): Deprecate in favor of capypdf.
---
gnu/packages/pdf.scm | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 1f3cc4ba46..96d4484bf2 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -68,6 +68,7 @@ (define-module (gnu packages pdf)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages game-development)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
@@ -113,21 +114,23 @@ (define-module (gnu packages pdf)
#:use-module (gnu packages xorg)
#:use-module (srfi srfi-1))
-(define-public a4pdf
+(define-public capypdf
(package
- (name "a4pdf")
- (version "0.1.0")
+ (name "capypdf")
+ (version "0.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/jpakkane/a4pdf")
+ (url "https://github.com/jpakkane/capypdf")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "18062cm1qsbaymmjar0whbd7kaggy4x7wzp7xw94kcd1pwx2jp1p"))))
+ (base32 "193izn2jw55w2dxy6l0vz5zrlar9lm7a6z443nw0vs4mlj4jnasi"))))
(build-system meson-build-system)
(arguments
- (list #:phases
+ (list #:meson meson/newer
+ #:test-options '(list "plainc")
+ #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'add-missing-header
(lambda _
@@ -139,14 +142,7 @@ (define-public a4pdf
;; XXX: remove when bumping glib
(substitute* "src/pdfviewer.cpp"
(("G_APPLICATION_DEFAULT_FLAGS")
- "G_APPLICATION_FLAGS_NONE"))))
- (add-after 'unpack 'fix-broken-tests
- (lambda* (#:key inputs native-inputs #:allow-other-keys)
- (substitute* "test/a4pdftests.py"
- (("'Ghostscript not found, test suite can not be run.'")
- ;; Sucks, but there's no point in repairing a certain test
- ;; at the moment.
- "0")))))))
+ "G_APPLICATION_FLAGS_NONE")))))))
(inputs (list fmt
freetype
gtk
@@ -155,7 +151,8 @@ (define-public a4pdf
libpng
zlib))
(native-inputs (list font-google-noto
- ;; ghostscript
+ gcc-12
+ ghostscript
pkg-config
python
python-pillow))
@@ -167,6 +164,9 @@ (define-public a4pdf
convert data in any way.")
(license license:asl2.0)))
+(define-public a4pdf
+ (deprecated-package "a4pdf" capypdf))
+
(define-public diffpdf
(let ((commit "ba68231d3d05e0cb3a2d4a4fca8b70d4044f4303")
(revision "1"))
--
2.40.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64007
; Package
guix-patches
.
(Sun, 11 Jun 2023 16:41:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 64007 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/build-tools.scm (meson): Replace with meson/newer.
(meson/newer): New variable.
---
gnu/packages/build-tools.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index f3bf0857dd..190f263d31 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -293,6 +293,7 @@ (define-public gn
(define-public meson
(package
(name "meson")
+ (replacement meson/newer)
(version "1.1.0")
(source (origin
(method url-fetch)
@@ -329,6 +330,19 @@ (define-public meson
resembles Python.")
(license license:asl2.0)))
+(define-public meson/newer
+ (package
+ (inherit meson)
+ (version "1.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mesonbuild/meson/"
+ "releases/download/" version "/meson-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "073vf8059nzs6p5aaqr5wva4pgl81540szdb5yw9yhyajwgm8jyh"))))))
+
(define-public meson-python
(package
(name "meson-python")
base-commit: e8c207589d431c00b5f1a8175f391020323a3d27
--
2.40.1
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Fri, 08 Sep 2023 19:25:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 08 Sep 2023 19:25:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 64007-done <at> debbugs.gnu.org (full text, mbox):
CapyPDF has been added for a long while by 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:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.