[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47898: [PATCH] [core-updates] Add option --xpath0 to xmllint from li
From: |
Marius Bakke |
Subject: |
bug#47898: [PATCH] [core-updates] Add option --xpath0 to xmllint from libxml2 |
Date: |
Tue, 18 May 2021 22:25:46 +0200 |
david larsson <david.larsson@selfhosted.xyz> skriver:
> Hi, new patch attached. There's a lint warning though:
> "libxml2-xpath0@2.9.10: no updater for libxml2-xpath0". I don't know
> what it means, maybe it should be fixed before committing?
That warning is harmless and affects a lot of packages. I've applied
the patch with a couple minor tweaks:
> +From e1df743329bdfd94fbfdea18303c5c6c6fe13403 Mon Sep 17 00:00:00 2001
> +From: methuselah-0 <david.larsson@selfhosted.xyz>
> +Date: Thu, 1 Apr 2021 08:33:56 +0200
> +Subject: [PATCH] Add option --xpath0
> +
> +---
> + doc/xmllint.xml | 16 ++++++++++++++++
> + xmllint.c | 32 +++++++++++++++++++++++---------
> + 2 files changed, 39 insertions(+), 9 deletions(-)
I replaced this git-style patch header with a short description and an
URL to the upstream issue, like we usually do.
> +(define-public libxml2-xpath0
> + (package/inherit libxml2
> + (name "libxml2-xpath0")
> + (source (origin
> + (inherit (package-source libxml2))
> + (patches (append (search-patches
> + "libxml2-xpath0-Add-option-xpath0.patch")
> + (origin-patches (package-source libxml2))))))
> + (description
> + "Libxml2-xpath0 is like libxml2 but with a patch applied that
> +provides an --xpath0 option to xmllint that enables it to output xpath
> +results with a null delimiter")))
...and sprinkled some markup and punctuation into the description.
Pushed as b58efbc6611550ad9234163e198ff71ace5306ea, thank you!
signature.asc
Description: PGP signature