bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58669] gettext-tools builds and installs libintl again


From: Bruno Haible
Subject: [bug #58669] gettext-tools builds and installs libintl again
Date: Tue, 5 Dec 2023 13:26:43 -0500 (EST)

Follow-up Comment #4, bug #58669 (project gettext):


> the solution that was implemented worsens rather than improves the
situation

For distros that have, for source packages that produce N > 1 binary packages,
a build mechanism that works essentially like this:
1. ./configure --prefix=/usr
2. make
3. make install DESTDIR=/tmp/staging
4. tar the various subsets of /tmp/staging into different packages
the file PACKAGING lists these subsets explicitly. For these distros, the
change that I did in 0.22 is an improvement, because it builds libintl only
once, not twice.

Many distros are of this type. For example, when a source package 'libfoo'
produces different packages 'libfoo' (that contains the shared libraries),
'libfoo-dev' (that contains the header files), 'libfoo-dbg' (that contains the
debugging symbols), and 'libfoo-doc' (that contains the documentation), it
would be a waste of build resources to build 'libfoo' 4 times.

For distros that are not of this type, I have documented the instructions and
restrictions in the PACKAGING files. In this case, gettext-runtime needs to be
built twice. But it is a relatively small package.

In your first comment, you wrote:
> I want gettext-tools to use the libintl that I already built and installed
previously via gettext-runtime.
But this will not be done. It would be too complicated and too fragile.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58669>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]