Bug 2119008 - byobu may require gettext-runtime
Summary: byobu may require gettext-runtime
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: byobu
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Filipe Rosset
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-17 09:57 UTC by Sundeep Anand
Modified: 2022-09-07 21:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-07 21:26:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sundeep Anand 2022-08-17 09:57:55 UTC
Description of problem:
In F37 we moved the gettext runtime programs to gettext-runtime.
So assuming if byobu does not require any translation
management tools (like msgcat or xgettext) at runtime,
it should be possible for it to only Requires: gettext-runtime
(instead of gettext). The goal here is only to install 
gettext-runtime in the Fedora live image(s), etc.

Additional info:
https://fedoraproject.org/wiki/Changes/GettextRuntimeSubpackage

Comment 1 Filipe Rosset 2022-09-07 18:49:34 UTC
.spec is using msgfmt at build time, I'll investigate how to fix this


for po in po/*.po
do
    lang=${po#po/}
    lang=${lang%.po}
    mkdir -p %{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/
    msgfmt ${po} -o %{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/%{name}.mo
done


Note You need to log in before you can comment on or make changes to this bug.