On Wed, 1 Aug 2007 01:35:55 +0200
Kurt Roeckx <[EMAIL PROTECTED]> wrote:

> On Tue, Jul 31, 2007 at 11:35:57PM +0100, Neil Williams wrote:
> > 
> > There has been a library transition due to a recent release of GPE and
> > gpe-contacts is out of date. v0.47 is on release and depends on the new
> > library API for libgpevtype: libgpevtype1 which in turn depends on
> > libeventdb2. The watch file is also out of date so 'uscan' does not
> > detect the newer version.
> > 
> > So your original report is incorrect and attributed to the wrong
> > package but the bug is real. Retitling and re-assigning.
> 
> I do not agree.

? The original bug report was a failure to build gpe-contacts. I don't
see how that is not an accurate summary of this bug. gpe-contacts does
not build because of the SONAME transition, not because of any problem
with the pc file.

gpe-contacts built correctly before the transition and it will build
correctly when the new version is uploaded with changes to use the
library AFTER transition.

> In libgpevtype-dev 0.50-1 you have an file
> /usr/lib/pkgconfig/libgpevtype.pc which has:
> Requires: glib-2.0, mimedir-1.0, libeventdb

See
http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html

> This means that libgpevtype-dev should Depend on packages providing the
> .pc files for glib-2.0, mimedir-1.0 and libeventdb.

No. libgpevtype1 DOES depend on the relevant shared libraries:
Depends: libc6 (>= 2.6-1), libeventdb2, libglib2.0-0 (>= 2.12.9),
libmimedir-gnome0.3, libsqlite0 (>= 2.8.17), libtododb0 (>= 0.08)

This does NOT mean that the -dev should automatically depend on the -dev
versions of those packages.

gpe-contacts 0.47 *does* need to build-depend on libeventdb-dev (>=
0.90) but with that small change, gpe-contacts 0.47 completes the
pbuilder autobuild successfully. (Just tested it.)

> It has: Depends: libgpevtype1 (= 0.50-1)

Correct.

When a package needs to use libgpevtype-dev, that package needs to
specify the dependencies itself. Otherwise, packages get locked into
dependencies that are unnecessary.

> So it's missing:
> libglib2.0-dev, libmimedir-gnome0-dev, libeventdb-dev

No, it is not. There is no reason for these to be added to the
dependency list of the -dev package.

> Otherwise the libgpevtype.pc is of no use, and anything build depending
> on libgpevtype-dev that tries to use it will get an error.

gpe-contacts v0.46:
Build-Depends: cdbs (>= 0.4.5.1), debhelper (>> 4.0.0),
libgpewidget-dev (>= 0.114), libgtk2.0-dev, libxml2-dev,
libsqlite0-dev, libdbus-glib-1-dev, libdisplaymigration0-dev (>= 0.28),
intltool, libgpepimc-dev (>= 0.8-4), libgpevtype-dev (>= 0.17-5),
libmimedir-gnome0-dev, libcontactsdb-dev

v0.47:
Build-Depends: cdbs (>= 0.4.5.1), debhelper (>> 4.0.0),
libgpewidget-dev (>= 0.114), libgtk2.0-dev, libxml2-dev,
libsqlite0-dev, libdbus-glib-1-dev, libdisplaymigration0-dev (>= 0.28),
intltool, libgpepimc-dev (>= 0.8-4), libgpevtype-dev (>= 0.50),
libmimedir-gnome0-dev, libcontactsdb-dev, libeventdb-dev (>= 0.90)


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpsAx8rMC0WB.pgp
Description: PGP signature

Reply via email to