On Fri, 20 Dec 2013 09:39:01 -0500
David Mertens <dcmertens.p...@gmail.com> wrote:

> The advantage of
> requiring your own Alien-based package on a Debian system is that you
> can target a specific version of libtermkey, which can be different
> from the one provided by Debian. The disadvantage is that Debian may
> have a policy against multiple versions of the same library, or you
> may confuse your Debian users if they install the newest, shiniest
> libtermkey and your Debian-based module doesn't pick it up, because
> it uses its own.

Hmm? You may have missed a subtlety of my earlier comment.

The -existing- Alien::libtermkey always compiles and installs its own
locally-bundled source code, and presents that when queried. My
suggestion was to instead alter it so that the Alien wrapping returns
"whatever is required", possibly its own bundled, or possibly an
existing system library, when installed and queried, so that
libtermkey-using distributions can always configure_requires on it, and
know they have /a/ useable libtermkey.

To clarify:

At the Perl level:
  Tickit -- configure_requires Alien::libtermkey

  Alien::libtermkey -- bundles libtermkey.tar.gz or uses system one
                       queried by pkg-config

At the Debian packaging level:
  libtickit-perl -- Build-depends: libalien-libtermkey-perl
                    Depends: libtermkey1
  libalien-libtermkey-perl -- build-depends libtermkey-dev

I'm not sure I see how that fits with your comment above.

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Reply via email to