From f2bd80bdb74837d42f36b12e36781790b05002ff Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 10 Sep 2025 11:15:03 +0900 Subject: [PATCH] gnu: icedove: Fix localization. The new strings data tarball has a top level directory that must be stripped, unlike the Hg checkout that was used previously. * gnu/packages/gnuzilla.scm (icedove-source): Strip top level directory of THUNDERBIRD-COMM-L10N. Fixes: #2552 Change-Id: I0aa188dc1319c6db75c3ead5dd8b508cca009477 --- gnu/packages/gnuzilla.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 3f7c4c244190f8db86613f1d4cdfeadae5586f63..d555a00b0cc46b80fd88567b42bf9a81984eb1ad 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1377,9 +1377,11 @@ list of languages supported as well as the currently used changeset." "-xf" #$icecat-115-source) (chdir #$name) - ;; Merge the Thunderdbird localization data. + ;; *Replace* the l10n directory with that of Thunderbird. + (delete-file-recursively "l10n") + (mkdir "l10n") (invoke "tar" "--extract" "--file" #$thunderbird-comm-l10n - "--directory" "l10n/") + "--strip-components=1" "--directory" "l10n/") ;; Add the Thunderbird-specific "comm" directory.. (mkdir "comm")