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


Message #11 received at 75285 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Lars Bilke <lars.bilke <at> ufz.de>
Cc: 75285 <at> debbugs.gnu.org
Subject: Re: [bug#75285] [PATCH v2] gnu: Add xmlpatch.
Date: Mon, 27 Jan 2025 14:13:34 +0100
[Message part 1 (text/plain, inline)]
Hi Lars,

Lars Bilke <lars.bilke <at> ufz.de> skribis:

> * gnu/packages/xml.scm (xmlpatch): New variable.
>
> Change-Id: I557f2dfbaadfef11c8ca592bb03ec829782fcb4e

I think we at least need the changes below.

Looking at ‘xml-patch.spec.in’, it seems that the RPM package also
installs the ‘xml-patch’ and ‘xml-diff’ programs, which are not
installed here.

Could you take a look?

Thanks,
Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 3ef045fc03..7cd1b4d4af 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2051,6 +2051,7 @@ (define-public xmlpatch
        (uri (git-reference
              (url "https://github.com/ufz/xmlpatch")
              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32 "120r0hm83nwvybjprmjaiilz5yj1qb46c9klawg61kqby6wsnaa8"))))
     (build-system cmake-build-system)
@@ -2060,5 +2061,6 @@ (define-public xmlpatch
     (home-page "https://xmlpatch.sourceforge.net")
     (synopsis "XML patch library")
     (description
-     "A C++ library for patching XML files with XPath expressions.")
-    (license license:lgpl2.1)))
+     "XML Patch is a C++ library for patching XML files with XPath
+expressions.")
+    (license license:lgpl2.1+)))

This bug report was last modified 112 days ago.

Previous Next


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