GNU bug report logs - #75285
[PATCH] gnu: Add xmlpatch.

Previous Next

Package: guix-patches;

Reported by: Lars Bilke <lars.bilke <at> ufz.de>

Date: Thu, 2 Jan 2025 14:35:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75285: closed ([PATCH] gnu: Add xmlpatch.)
Date: Tue, 28 Jan 2025 10:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Jan 2025 11:47:04 +0100
with message-id <8734h3fc5z.fsf <at> gnu.org>
and subject line Re: [bug#75285] [PATCH v3] gnu: Add xmlpatch.
has caused the debbugs.gnu.org bug report #75285,
regarding [PATCH] gnu: Add xmlpatch.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75285: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75285
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars Bilke <lars.bilke <at> ufz.de>
To: guix-patches <at> gnu.org
Cc: Lars Bilke <lars.bilke <at> ufz.de>
Subject: [PATCH] gnu: Add xmlpatch.
Date: Thu, 02 Jan 2025 15:33:24 +0100
* 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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Lars Bilke <lars.bilke <at> ufz.de>
Cc: 75285-done <at> debbugs.gnu.org
Subject: Re: [bug#75285] [PATCH v3] gnu: Add xmlpatch.
Date: Tue, 28 Jan 2025 11:47:04 +0100
[Message part 4 (text/plain, inline)]
Hi,

Applied v3 with the changes below.  Thanks!

Ludo’.

[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 31488ea309..10cd6d98fa 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2062,6 +2062,7 @@ (define-public xmlpatch
     (home-page "https://xmlpatch.sourceforge.net")
     (synopsis "XML patch library")
     (description
-     "XML Patch is a C++ library for patching XML files with XPath
-expressions.")
+     "XML Patch is a C++ library and command-line interface
+(the @command{xml-diff} and @command{xml-patch} commands) for patching XML
+files with XPath expressions.")
     (license license:lgpl2.1+)))

This bug report was last modified 111 days ago.

Previous Next


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