From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yHchAyikdmfj8gAA62LTzQ:P1 (envelope-from ) for ; Thu, 02 Jan 2025 14:35:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yHchAyikdmfj8gAA62LTzQ (envelope-from ) for ; Thu, 02 Jan 2025 15:35:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="VoR/BcU5"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735828519; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=n/XscX/8DvMGVK/PqXh1WWjXDRXg7TIhEYlXLgBpkjU=; b=j+uwwE2wQyxl8x15noGgxXxakQzQgdBP/TaErKaF/P2JPheUZrampXi4Fb0g04Ih68QW3z cEPJol4Av5sRpMMXuNyjpwGV+xUydpQ/VcZgoMEoO8i6Uhwm/sXEm20KJB2kuXte+m//xz fEOIbYBPHa4XSqFhIXftm3RIz1JEOWox3n0Br+GZmsY9/O6POazYKxZMDZxwAlR++rudXN kG2pLosdBxMA9lUzhx7SOx1oP6c9Xyj5Jfalrlyr/bNfY3Zg68hEqI+qaUMOKDvMLJlpis 29ILMxEiCuoiO1y9AWoE+0yNZyveUBegXSPoMWRVTJNTDIQas++jhSjejiCncw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="VoR/BcU5"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735828519; a=rsa-sha256; cv=none; b=rA5Jk1qET655AfbjR8OChCX7XbhP1lmGxX5sl5U4WnYZ0VtY2LmlxshXWlv34vN6iT0Q9L ONcBuibIV030qGkr7Pie0WZEmfkJSQb2vYepA5m/bHwHW59mu6I6nvT86+T1hM7bUVsW4f AiRdYMd6mOpEng01XnSpKMaLaGwLs7RBIYp4fk7l1gctFEOtX91cjodFM7V1DggxfcT1Lk EcC97fXrQ5EEA1b+ZQKYkqIF8tN+h9VUCR4EAmHVVBEu0UeCp94mG2ay38VJKCKQTDw5P2 1gi0uFHItdra9W77RSdxxIb3yZiMxFcOd8ELKnOzbLkMpUDingStZLuj4ijY0g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98D6A9B071 for ; Thu, 02 Jan 2025 15:35:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTMHx-0000Yy-Vf; Thu, 02 Jan 2025 09:35:06 -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 1tTMHw-0000XG-78 for guix-patches@gnu.org; Thu, 02 Jan 2025 09:35:04 -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 1tTMHv-00015O-QH for guix-patches@gnu.org; Thu, 02 Jan 2025 09:35:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:Date:MIME-version:To:Subject; bh=n/XscX/8DvMGVK/PqXh1WWjXDRXg7TIhEYlXLgBpkjU=; b=VoR/BcU5Bn9gUTgz6D/DQxL0bmb2ldytZ5eR5H7hAGU3KdvJsbviLJ4ZoWn12hmus2fvjm1xE7RmupvXjy2JgF83DXodkXdfWwOZ60IeAJgoy+KhQVhrBe/liOsRWIX1F/gSka5qL3ClLFZI4cmdoGrGxNItoiw3UwIaamviCRhwTRHRg7HMU3Z00E1Ea05HqmFgi8skcfpHS3QYM/TQ5Ck1iz/U9Q6ssWR4a921iyLlozOI6TMNiFy2i5leUVnJ+tEcpLgfBQRAp2NTbOyMQhypl+ChzU4+AcSbyBWcG8ig5RyVxqziDj3bOj5p0GGjVnFoNZwAQ1dMzxHQfvs0Ig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTMHu-0003Xf-Kq for guix-patches@gnu.org; Thu, 02 Jan 2025 09:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75285] [PATCH] gnu: Add xmlpatch. Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Jan 2025 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75285 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75285@debbugs.gnu.org Cc: Lars Bilke X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173582844513508 (code B ref -1); Thu, 02 Jan 2025 14:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2025 14:34:05 +0000 Received: from localhost ([127.0.0.1]:43324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTMGy-0003Vo-PI for submit@debbugs.gnu.org; Thu, 02 Jan 2025 09:34:05 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52726) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTMGu-0003VO-Bl for submit@debbugs.gnu.org; Thu, 02 Jan 2025 09:34:03 -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 1tTMGo-0000QL-9N for guix-patches@gnu.org; Thu, 02 Jan 2025 09:33:54 -0500 Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTMGl-0000uj-KR for guix-patches@gnu.org; Thu, 02 Jan 2025 09:33:54 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id A7AA116030E for ; Thu, 2 Jan 2025 15:33:46 +0100 (CET) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SPG00L00T4WCR00@imap.intranet.ufz.de> for guix-patches@gnu.org; Thu, 02 Jan 2025 15:33:46 +0100 (CET) Received: from smtp1.ufz.de ([141.65.7.216]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SPG00JNOTS8ZL00@imap.intranet.ufz.de> for guix-patches@gnu.org; Thu, 02 Jan 2025 15:33:44 +0100 (CET) Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp1.ufz.de (smtp1-UFZ) with ESMTPSA id A25AF80077; Thu, 2 Jan 2025 15:33:44 +0100 (CET) Date: Thu, 02 Jan 2025 15:33:24 +0100 From: Lars Bilke Message-id: <9c21c0e1bb3818bed293f84f4b4c122fc47258e2.1735828404.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.46.1 Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@ufz.de; helo=mailgate.ufz.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.25 X-Spam-Score: -8.25 X-Migadu-Queue-Id: 98D6A9B071 X-Migadu-Scanner: mx10.migadu.com X-TUID: svQC14UHBGle * gnu/packages/xml.scm (xmlpatch): New variable. Change-Id: I557f2dfbaadfef11c8ca592bb03ec829782fcb4e --- gnu/packages/xml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 5bbd1dd64e..bc354e74f7 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -2023,3 +2023,25 @@ (define-public xml-namespace-xsd schema language defined by the XML Schema Recommendation Second Edition of 28 October 2004.") (license license:w3c))) + +(define-public xmlpatch + (package + (name "xmlpatch") + (synopsis "XML patch library") + (license license:lgpl2.1) + (description + "A C++ library for patching XML files with XPath expressions.") + (home-page "https://xmlpatch.sourceforge.net") + (version "0.4.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ufz/xmlpatch") + (commit (string-append "v" version)))) + (sha256 + (base32 "120r0hm83nwvybjprmjaiilz5yj1qb46c9klawg61kqby6wsnaa8")))) + (build-system cmake-build-system) + (inputs (list libxml2)) + (arguments + `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"))))) base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90 -- 2.46.1