On Wed, 2008-08-27 at 10:54 +0200, [EMAIL PROTECTED] wrote:
> Package: libts-dev
> Version: 1.0-4
> Severity: normal
> 
> i tried to build xglamo yesterday -- but configure repeatedly failed
> while looking for package tslib-1.0.

xglamo is not yet in Debian? In that case, xglamo needs to be modified
to work with the tslib that is in Debian.

> further investigation revealed that the package in fact was named
> tslib-0.0.pcs

tslib-0.0.pc (no 's')

$ pkg-config tslib-0.0 --libs
-lts  

>  and the Version: line inside said Version: 0.0.2

This is a bug in the upstream configure.ac which still initialises the
autotools at version 0.0.2. The .pc file correctly picks up the
@VERSION@ data but upstream versioning has not been updated.

> i don't really understand how these packageconf things are supposed to
> work, but i gather that the name and content of that .pc file should
> reflect the _real_ version, shouldn't it?

The name is just a name, it does not have to relate to the current
SONAME or anything else. Also, the name cannot be changed within Debian
without also changing every other reverse dependency (i.e. a library
transition). I see no point in doing that, even after Lenny, until
upstream need a new SONAME.

> to make xglamo compile with tslib i changed the name to tslib-1.0 and
> the Version line to 1.0-4 and it went straight through.

Don't do that. Change how xglamo looks for tslib, it should ask
pkg-config for tslib-0.0 - also the version should *NEVER* include the
Debian version string. The version of tslib is 1.0 - nothing more.

xglamo cannot modify /usr/lib/pkgconfig/tslib-0.0.pc, so for xglamo to
build in Debian, it must ask pkg-config for 'tslib-0.0'.

The version is a minor bug in the upstream but this could only be fixed
in experimental, not in unstable. I'll upload a patched version that
sets AC_INIT at 1.0 once Lenny is released.

-- 


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


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to