Discussion:
Bug#336351: libfam0 should Provides: libgamin0, etc.
(too old to reply)
Christopher Martin
2005-10-29 17:10:09 UTC
Permalink
Package: libfam0
Version: 2.7.0-8

Gamin aims to be a compatible drop-in replacement for fam, and libgamin0
Provides/Replaces/Conflicts libfam0/libfam0c102, while libgamin-dev
Provides/Replaces/Conflicts libfam-dev, and gamin Conflicts with fam.

Similarly, libfam-dev should Provides/Replaces/Conflicts libgamin-dev, and
libfam0 should Provides/Replaces/Conflicts libgamin0. fam should also
Conflict with gamin.

This way, packages built against gamin can still use fam, whereas currently
one has to build against fam, to avoid locking the user into gamin (since a
dependency on libgamin0 cannot be satisfied by libfam0 - only the other way
around).

Cheers,
Christopher Martin
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loïc Minier
2006-02-19 10:40:09 UTC
Permalink
Hi,
Post by Christopher Martin
Similarly, libfam-dev should Provides/Replaces/Conflicts libgamin-dev, and
libfam0 should Provides/Replaces/Conflicts libgamin0. fam should also
Conflict with gamin.
This way, packages built against gamin can still use fam, whereas currently
one has to build against fam, to avoid locking the user into gamin (since a
dependency on libgamin0 cannot be satisfied by libfam0 - only the other way
around).
Can't one build-depend on libgamin-dev and link against -lfam?
--
Loïc Minier <***@dooz.org>
Current Earth status: NOT DESTROYED
Christopher Martin
2006-02-19 17:20:24 UTC
Permalink
Post by Loïc Minier
Post by Christopher Martin
Similarly, libfam-dev should Provides/Replaces/Conflicts libgamin-dev,
and libfam0 should Provides/Replaces/Conflicts libgamin0. fam should
also Conflict with gamin.
This way, packages built against gamin can still use fam, whereas
currently one has to build against fam, to avoid locking the user into
gamin (since a dependency on libgamin0 cannot be satisfied by libfam0 -
only the other way around).
Can't one build-depend on libgamin-dev and link against -lfam?
Hello,

Now that the gamin library package provides shlibs for libfam0, you've
achieved what I was hoping for, but in a different way. When I filed the
bug, building against libgamin0 meant depending on libgamin0 (which forced
users to use gamin instead of fam, since fam didn't Provide gamin).

I just built kdelibs against libgamin, and it wound up with Depends for
libfam0 (not a versioned depends, but still...). So I'm happy, and if you
agree with my assessment, go ahead and close this bug.

Thanks,
Christopher Martin

Loading...