~ruther/guix-local

f2bd80bdb74837d42f36b12e36781790b05002ff — Maxim Cournoyer 8 months ago 4ec9e16
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
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/gnuzilla.scm
M gnu/packages/gnuzilla.scm => gnu/packages/gnuzilla.scm +4 -2
@@ 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")