GNU bug report logs -
#69472
[PATCH] Added avro-cpp v1.11
Previous Next
To reply to this bug, email your comments to 69472 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#69472
; Package
guix-patches
.
(Thu, 29 Feb 2024 14:28:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Lenoci, L. (Leonardo)" <l.lenoci <at> science.leidenuniv.nl>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 29 Feb 2024 14:28:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
gnu: avro-cpp: Added version 1.11
* gnu/packages/serialization.scm (avro-cpp-1.11): Added version 1.11
---
gnu/packages/serialization.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/serialization.scm
b/gnu/packages/serialization.scm
index 331fae80cf..194a962d38 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
;;; Copyright © 2024 Paul A. Patience <paul <at> apatience.com>
;;; Copyright © 2024 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2024 Leonardo Lenoci <l.lenoci <at> science.leidenuniv.nl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -102,6 +103,32 @@ (define-public avro-cpp-1.9
implement RPC protocols.")
(license license:asl2.0)))
+(define-public avro-cpp-1.11
+ (package
+ (inherit avro-cpp-1.9)
+ (version "1.11.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://archive.apache.org/dist/avro/avro-"
version
+ "/avro-src-" version ".tar.gz"))
+ (sha256
+ (base32
"0d60vi4s8la0c64zfyydfy21690yf0px5bcsi5d1p8b06al8g9vf"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "lang/c++")))
+ ;;; avoid that deprecation warnings with boost v.1.80.0
+ ;;; are treated as errors
+ (add-after 'chdir 'unset-Werror
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("-Werror") ""))))
+ )))
+ ))
+
(define-public avro-cpp-1.9-for-irods
(package
(inherit avro-cpp-1.9)
base-commit: 8c0282cf543fe205a5b89201cd7bb8889121a07c
--
2.34.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69472
; Package
guix-patches
.
(Wed, 23 Apr 2025 17:44:05 GMT)
Full text and
rfc822 format available.
Message #8 received at 69472 <at> debbugs.gnu.org (full text, mbox):
On Thu, Feb 29, 2024 at 9:46 AM Lenoci, L. (Leonardo) via Guix-patches
via <guix-patches <at> gnu.org> wrote:
>
> gnu: avro-cpp: Added version 1.11
>
> * gnu/packages/serialization.scm (avro-cpp-1.11): Added version 1.11
> ---
> gnu/packages/serialization.scm | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/serialization.scm
> b/gnu/packages/serialization.scm
> index 331fae80cf..194a962d38 100644
> --- a/gnu/packages/serialization.scm
> +++ b/gnu/packages/serialization.scm
> @@ -19,6 +19,7 @@
> ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
> ;;; Copyright © 2024 Paul A. Patience <paul <at> apatience.com>
> ;;; Copyright © 2024 Arun Isaac <arunisaac <at> systemreboot.net>
> +;;; Copyright © 2024 Leonardo Lenoci <l.lenoci <at> science.leidenuniv.nl>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -102,6 +103,32 @@ (define-public avro-cpp-1.9
> implement RPC protocols.")
> (license license:asl2.0)))
>
> +(define-public avro-cpp-1.11
> + (package
> + (inherit avro-cpp-1.9)
> + (version "1.11.3")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://archive.apache.org/dist/avro/avro-"
> version
> + "/avro-src-" version ".tar.gz"))
> + (sha256
> + (base32
> "0d60vi4s8la0c64zfyydfy21690yf0px5bcsi5d1p8b06al8g9vf"))))
> + (build-system cmake-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'chdir
> + (lambda _ (chdir "lang/c++")))
> + ;;; avoid that deprecation warnings with boost v.1.80.0
> + ;;; are treated as errors
> + (add-after 'chdir 'unset-Werror
> + (lambda _
> + (substitute* "CMakeLists.txt"
> + (("-Werror") ""))))
> + )))
> + ))
> +
> (define-public avro-cpp-1.9-for-irods
> (package
> (inherit avro-cpp-1.9)
>
> base-commit: 8c0282cf543fe205a5b89201cd7bb8889121a07c
> --
> 2.34.1
Why not update the existing avro-cpp package and add the old version
and source fields to the inheriting avro-cpp-1.9-for-irods?
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.