From patchwork Thu Mar 16 06:31:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 48045 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 3D43116E47; Thu, 16 Mar 2023 06:32:26 +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=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED 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 4F49316E0D for ; Thu, 16 Mar 2023 06:32:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pch9i-0001UP-84; Thu, 16 Mar 2023 02:32:06 -0400 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 1pch9d-0001Ta-VU for guix-patches@gnu.org; Thu, 16 Mar 2023 02:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pch9d-0003au-Mt for guix-patches@gnu.org; Thu, 16 Mar 2023 02:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pch9d-0000YM-IM for guix-patches@gnu.org; Thu, 16 Mar 2023 02:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62178] [PATCH v1 4/5] gnu: Add rapidxml. References: <00c2af06-fa2f-81d3-e3de-444eaf232732@disroot.org> In-Reply-To: <00c2af06-fa2f-81d3-e3de-444eaf232732@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Mar 2023 06:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62178@debbugs.gnu.org Received: via spool by 62178-submit@debbugs.gnu.org id=B62178.16789482872084 (code B ref 62178); Thu, 16 Mar 2023 06:32:01 +0000 Received: (at 62178) by debbugs.gnu.org; 16 Mar 2023 06:31:27 +0000 Received: from localhost ([127.0.0.1]:41055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pch95-0000XY-Ga for submit@debbugs.gnu.org; Thu, 16 Mar 2023 02:31:27 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pch93-0000XQ-Cm for 62178@debbugs.gnu.org; Thu, 16 Mar 2023 02:31:25 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BF4C3444EE for <62178@debbugs.gnu.org>; Thu, 16 Mar 2023 07:31:24 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84D-js7b1zuX for <62178@debbugs.gnu.org>; Thu, 16 Mar 2023 07:31:23 +0100 (CET) Message-ID: <00d3c326-8ae2-86ad-5d4c-466334ad3c93@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678948283; bh=Zbl5D1V7gN3BuYzKysD2Th9XZJW9lx8iYsHkjrmOS9c=; h=Date:To:From:Subject; b=I0tpqBRzVjEoj/v3R71mkmUt4Tgkwk65nFXpbtopOkyAQK4oiROyoWaUZG8EcBvqf KenjLn7Ai1K2EmNFNwuw6f/SOquZX5Bl5ciL7JRpnT7kE5kgEPicCS77cKLckssIcB s4/zIRAFQa3DzKkTi2XuxILdIjFPoSi/onvzWhKJbCwpojnqyIlakesxFyklak5Uye 12tX0YKkarGRRW7chg+iV2FaX7cShN5XKT1lf0DlDBDo1NYqpCWnVhd/BqOnVB4O4c pxJck5GD1N/PYMKoBGDLJV7bpkNoF/xf0daQMnPepTXKKF+jqZBAlTnatya+nFR0Ll ZDU0iDB5jxOOg== Date: Thu, 16 Mar 2023 14:31:20 +0800 MIME-Version: 1.0 Content-Language: en-US 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: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz 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 From 470ac3c7e5cea2c08a64745037cd73af59027c26 Mon Sep 17 00:00:00 2001 Message-Id: <470ac3c7e5cea2c08a64745037cd73af59027c26.1678947948.git.adam.faiz@disroot.org> In-Reply-To: <735f08bc3d271959685e03d761f5ac9039e5cfd3.1678947948.git.adam.faiz@disroot.org> References: <735f08bc3d271959685e03d761f5ac9039e5cfd3.1678947948.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Tue, 14 Mar 2023 14:07:08 +0800 Subject: [PATCH v1 4/5] gnu: Add rapidxml. * gnu/packages/xml.scm (rapidxml): New variable. --- gnu/packages/xml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 0b26a63e85..c8dbd27772 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -76,6 +76,7 @@ (define-module (gnu packages xml) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) @@ -1983,3 +1984,32 @@ (define-public python-xmltodict (description "This package provides a Python library to convert XML to @code{OrderedDict}.") (license license:expat))) + +(define-public rapidxml + (package + (name "rapidxml") + (version "1.13") + (source (origin + (method url-fetch) + (uri (string-append + "https://sourceforge.net/projects/" + "rapidxml/files/rapidxml/rapidxml%20" + version "/rapidxml-" version ".zip")) + (sha256 + (base32 + "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63")))) + (build-system copy-build-system) + (native-inputs + (list unzip)) + (arguments + (list + #:install-plan + #~'(("./" "include/rapidxml" #:include-regexp ("\\.hpp$"))))) + (synopsis "XML Parser") + (description + "RapidXml is an attempt to create the fastest XML parser possible, +while retaining useability, portability and reasonable W3C compatibility. + It is an in-situ parser written in modern C++, with parsing speed approaching +that of strlen function executed on the same data.") + (home-page "https://rapidxml.sourceforge.net/") + (license license:boost1.0)))