From patchwork Sat Dec 7 12:20:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 34636 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE08227BBE9; Sat, 7 Dec 2024 12:26:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1883C27BBE2 for ; Sat, 7 Dec 2024 12:26:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJts8-0003Tw-Bt; Sat, 07 Dec 2024 07:25:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJtrx-0003FU-M8 for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJtrx-0001ZP-9o for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=dNRZ8iRIGq8SmP55tz6OBSRVjZL/5Gbz7yiAhNa4mlw=; b=ktUggESe3v4kLS7+j1VeABaiuSDjInNiSOT0Bbk26Prct0UttuWUuanWbSFv8hokbedWWAkIGenmNsuOwqBEqh0V35JxN8uN3FhxseFM2tjqzZY6ndHCDeAdWV1AfkdMzLFV3TWDInn+hGFT/HC6buYlqlJt0IuzjgpKd+EPf212V1XnYhJvQZYLwZM1Ty0PCiRLtb55+dFh4fMbjPoP1m1/P0pF5Vv1wJc6oe9k/SSOosvASSxuF+GRRhN1o9LFIpeUtSG2leRfz7eGB410GiLf6EJAxnAj+Qe3WUgT7t0jXdUNkWi8doM3Zp3hBdaArqKQ62KJjNhZ23QkjBIYqA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJtrx-0001ov-3s for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74723] [PATCH 12/19] gnu: Add libbinio. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Dec 2024 12:25:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74723@debbugs.gnu.org Cc: Sughosha Received: via spool by 74723-submit@debbugs.gnu.org id=B74723.17335743006838 (code B ref 74723); Sat, 07 Dec 2024 12:25:09 +0000 Received: (at 74723) by debbugs.gnu.org; 7 Dec 2024 12:25:00 +0000 Received: from localhost ([127.0.0.1]:45738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrn-0001m8-LC for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:25:00 -0500 Received: from layka.disroot.org ([178.21.23.139]:55560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrj-0001lS-Pn for 74723@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:57 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6280A2527D; Sat, 7 Dec 2024 13:24:55 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id aIyc5rkfor9K; Sat, 7 Dec 2024 13:24:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733574291; bh=0eweBVm3DkP0zIPygnFpnel8sKEODZlEb3wwTS6H5pM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=b4Uyuq4b2FKqd4i+BpOzyE0XylDXmfQ2uunYkan28axGor8fSM4aoHhzHuXH1DlN+ 2EiCK/BrVJwLl7RSJF1QsnGfPobE/+P6XdAxxOUThwKOwrI7cOk+uQ2MSiMWQ9q/YI c3tSf8huBrwZ5gUw4+6Iq/yNGrNhRKZhbKUiRqJtZzRa5DCuiVP2Z8FVNjbixaEJbY ht8FH9GOQdgQ7+uiIV4ZwQHsbaN5yaK7gd8sM74Xd1UGnuU+7lWZ6md6sosg68PovP nb3opEIIVleuixtOjgo25Y/6ohs3dtwRgj5f/aaUIUXYC8hAXA2YD3rkjoWbeDShMv yaV/jD9jsn9jA== Date: Sat, 7 Dec 2024 17:50:26 +0530 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (libbinio): New variable. Change-Id: I3f202f6da8617162654a8b4523b680a497909ba3 --- gnu/packages/cpp.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index eacc6e46ab..7266efeb2a 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -33,7 +33,7 @@ ;;; Copyright © 2022-2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022, 2023, 2024 Maxim Cournoyer ;;; Copyright © 2022 Antero Mejr -;;; Copyright © 2023 Sughosha +;;; Copyright © 2023, 2024 Sughosha ;;; Copyright © 2023, 2024 Artyom V. Poptsov ;;; Copyright © 2023 Liliana Marie Prikler ;;; Copyright © 2023 Denis 'GNUtoo' Carikli @@ -111,6 +111,7 @@ (define-module (gnu packages cpp) #:use-module (gnu packages popt) #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xml) @@ -1834,6 +1835,40 @@ (define-public aws-sdk-cpp (home-page "https://github.com/aws/aws-sdk-cpp") (license license:asl2.0))) +(define-public libbinio + (package + (name "libbinio") + (version "1.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adplug/libbinio") + (commit (string-append "libbinio-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "010q3dgn8zdv5hnvbhhr0jzgzvhrmil395hx585yy7gsi8dsyr35")) + (modules '((guix build utils))) + (snippet + `(substitute* "doc/libbinio.texi" + ;; Do not include version.texi which does not exist yet. + ((".*version\\.texi.*") "") + ;; Replace VERSION with the package version. + (("@value\\{VERSION\\}") ,version) + ;; Replace UPDATED with the date of the current commit. + (("@value\\{UPDATED\\}") "7 August 2019"))))) + (native-inputs + (list autoconf automake libtool texinfo)) + (build-system gnu-build-system) + (home-page "http://adplug.github.io/libbinio/") + (synopsis "Binary I/O stream class library") + (description + "This binary I/O stream class library presents a platform-independent way +to access binary data streams in C++. The library is hardware independent in +the form that it transparently converts between the different forms of +machine-internal binary data representation.") + (license license:lgpl2.1+))) + (define-public libexpected (package (name "libexpected")