Skip to content

A new GettextRuntime_jll package #11030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nhz2 opened this issue Apr 18, 2025 · 1 comment · May be fixed by #11038
Open

A new GettextRuntime_jll package #11030

nhz2 opened this issue Apr 18, 2025 · 1 comment · May be fixed by #11038

Comments

@nhz2
Copy link
Contributor

nhz2 commented Apr 18, 2025

Usually, the full Gettext package is not needed at runtime.

For example, glib requires using the gettext() function provided by libintl or the system.

Quoting the "PACKAGING" file in Gettext:

Packaging hints for binary package distributors

Although the source of the gettext package comes as a single package,
I recommend that in distributions of binary packages the installed files
be split into three packages:

gettext-runtime
Contents: Runtime libraries and programs.
Audience: Anyone who wants to run internationalized programs.

libtextstyle
Contents: Text styling library.
Audience: Anyone who wants to run or develop programs that produce
styled text, to be displayed in a terminal emulator.

gettext-tools
Contents: Tools and documentation for developers and translators.
Audience: Anyone who wants to develop or localize internationalized
programs, i.e. developers and translators.
Dependencies: requires gettext-runtime.

The 'gettext-runtime' binary package is much smaller than the 'gettext-tools'
binary package (420 KB versus 5.5 MB). I recommend to include it in the default
installation list, like GNU 'coreutils'; in fact, the runtime programs are
utilities for sh programs.

Gettext_jll.jl currently only provides: LibraryProduct: libgettext

This is part of gettext-tools.

Can I create a new package GettextRuntime_jll.jl with only the runtime?

The runtime includes lib/libintl, lib/libasprintf, and a few executables listed in "PACKAGING" file in Gettext.

xref: #792

@nhz2 nhz2 linked a pull request Apr 18, 2025 that will close this issue
@nhz2
Copy link
Contributor Author

nhz2 commented May 9, 2025

Also xref: Julia-i18n/Gettext.jl#5 #8289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant