On 2012-08-13 09:32, Johannes Schauer wrote:
> On Mon, Aug 13, 2012 at 01:30:12PM +0200, Santiago Vila wrote:
>> So: What exactly did you mean by "split"?
> 
> Patrick's idea was to split the gettext binary package into two
> packages: one package that would contain those parts that satisfy
> dependencies of packages of every other architecture (this package would
> be M-A: foreign) and one package that would only allow to satisfy
> dependencies of packages of the same architecture (this package would be
> M-A: same).

Indeed, I meant that the architecture-specific interfaces [1] currently
provided by the gettext binary package could be moved into one or two
new binary packages.  The result would be something like:

  * gettext (Multi-Arch: foreign)
  * libgettext (Multi-Arch: same)
  * libgettext-dev (Multi-Arch: same)
  * gettext-base
  * ...

 1. These include the libgettextlib, libgettextsrc, and preloadable
    libintl objects and gettext Java archive, as Johannes noted.

On 2012-08-13 07:30, Santiago Vila wrote:
> Moreover, all the libraries which are meant to be used by other
> packages are already multi-arched and they are in their own package
> (the last two in the list above).

But this is a good point, which I had failed to realize previously.  No
files in Debian besides the Gettext utilities should link against the
libraries in the gettext binary package.

And I just verified that this rule appears to hold for all 36 packages
in sid main amd64 that declare run-time dependencies on gettext.  None
of their ELF files are dynamically linked against the libgettextlib,
libgettextsrc, or preloadable_libintl objects.

So I think this means that the gettext binary package can remain as-is
and simply be marked Multi-Arch: foreign (rather than splitting it or
marking it Multi-Arch: allowed and adding :any to dependency lists of
other packages).

Or might it be necessary to support other packages someday linking
against gettext's internal library objects (and the cross building of
those packages)?

-- 
P. J. McDermott                                        (_/@\_)    ,--.
http://www.pehjota.net/                           o    < o o >   / oo \
http://www.pehjota.net/contact.html                 o   \ `-/    | <> |.
                                                o o o    "~v    /_\--/_/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to