icewm do not install MO files.

  • Open
  • quality assurance status badge
Details
2 participants
  • Andy Tai
  • Feng Shu
Owner
unassigned
Submitted by
Feng Shu
Severity
normal
F
F
Feng Shu wrote on 14 Jan 04:08 +0100
(name . guix-bug)(address . bug-guix@gnu.org)
87le8s393e.fsf@163.com
Hello:

At the moment: icewm do not install MO files to
'share/locale/<lang>/LC_MESSAGES', gmo files in tarball are removed, but
do not re-generated, I try to add gettext-minimul to inputs, but can not
re-generate gmo files successfully.

Any reason we should remove gmo files in tarball?

```
(add-after 'unpack 'remove-gmo-files
;; gmo files are generated from .po files
;; so remove them before build to make sure
;; they are re-generated if needed
(lambda _
(for-each delete-file
(find-files "po" "\\.gmo$"))))
```


--
A
A
Andy Tai wrote on 15 Jan 07:17 +0100
(name . Feng Shu)(address . tumashu@163.com)
CAJsg1E9OFnVLQbT+5KMBRaXt717mycKLAyuttmkLQTbw6wP=qw@mail.gmail.com
I remember that was left over and kept from previous patches. If they
are not rebuilt there is a bug

I will remove these lines in the next update to the next version,
unless there is objection.

On Sat, Jan 13, 2024 at 7:08?PM Feng Shu <tumashu@163.com> wrote:
Toggle quote (24 lines)
>
>
> Hello:
>
> At the moment: icewm do not install MO files to
> 'share/locale/<lang>/LC_MESSAGES', gmo files in tarball are removed, but
> do not re-generated, I try to add gettext-minimul to inputs, but can not
> re-generate gmo files successfully.
>
> Any reason we should remove gmo files in tarball?
>
> ```
> (add-after 'unpack 'remove-gmo-files
> ;; gmo files are generated from .po files
> ;; so remove them before build to make sure
> ;; they are re-generated if needed
> (lambda _
> (for-each delete-file
> (find-files "po" "\\.gmo$"))))
> ```
>
>
> --
>
?