man-db: 2.11.2 -> 2.12.0

Changes: https://mail.gnu.org/archive/html/man-db-announce/2023-09/msg00000.html
This commit is contained in:
Sergei Trofimovich 2023-11-05 08:26:11 +00:00 committed by Adam Joseph
parent 52c8e138c7
commit cd6ff2f7ce

View file

@ -1,7 +1,6 @@
{ buildPackages { buildPackages
, db , db
, fetchurl , fetchurl
, fetchpatch
, groff , groff
, gzip , gzip
, lib , lib
@ -17,11 +16,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "man-db"; pname = "man-db";
version = "2.11.2"; version = "2.12.0";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/man-db/man-db-${version}.tar.xz"; url = "mirror://savannah/man-db/man-db-${version}.tar.xz";
hash = "sha256-z/oe5Ol0vnhkbEZQjm3S8358WJqqspOMwQZPBY/vn40="; hash = "sha256-QVpihKInZK0i/w9mcQ2FO+d5DdRRzXFDbj0lx02ZapU=";
}; };
outputs = [ "out" "doc" ]; outputs = [ "out" "doc" ];
@ -34,32 +33,6 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./systemwide-man-db-conf.patch ./systemwide-man-db-conf.patch
# Remove the patches below when updating to the next man-db release.
# Patches addressing https://gitlab.com/man-db/man-db/-/issues/25 ...
(fetchpatch {
name = "update-warning-regex";
url = "https://gitlab.com/man-db/man-db/-/commit/b12ffb9df7.patch";
hash = "sha256-F+whRppaMZwgmGPKTXu2j1vZMNAm3vGNzNZcz9pg8Jc=";
})
(fetchpatch {
name = "fix-test-failures-when-iconv-not-available";
url = "https://gitlab.com/man-db/man-db/-/commit/26f46a60e5.patch";
hash = "sha256-W1a6GkYn4J3py7GLZc37xmQBQR18Xvcvj4fJoZ21+0k=";
# The following files are excluded from the patch as they fail to apply
# cleanly on the 2.11.2 sources and are deemed irrelevant for building man-db.
excludes = [ "NEWS.md" ];
})
# ... and https://gitlab.com/man-db/man-db/-/issues/26.
(fetchpatch {
name = "improve-lexgrog-portability";
url = "https://gitlab.com/man-db/man-db/-/commit/bbf7701c4f.patch";
hash = "sha256-QLOVgV0S2NxxTBObD8bJFR1QDH0p2RGMJXLVNagfddc=";
})
(fetchpatch {
name = "avoid-translation-fallout-from-lexgrog-fix";
url = "https://gitlab.com/man-db/man-db/-/commit/043c3cb83c.patch";
hash = "sha256-w12/LOGN9gO85zmqX7zookA55w3WUxBMJgWInpH5wms=";
})
]; ];
postPatch = '' postPatch = ''