GNU bug report logs - #69472
[PATCH] Added avro-cpp v1.11

Previous Next

Package: guix-patches;

Reported by: "Lenoci, L. (Leonardo)" <l.lenoci <at> science.leidenuniv.nl>

Date: Thu, 29 Feb 2024 14:28:03 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 69472 AT debbugs.gnu.org.

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#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):

From: "Lenoci, L. (Leonardo)" <l.lenoci <at> science.leidenuniv.nl>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] Added avro-cpp v1.11
Date: Thu, 29 Feb 2024 08:51:50 +0000
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



This bug report was last modified 65 days ago.

Previous Next


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