On Mon, 17 Sep 2012 19:49:43 +0200, gregor herrmann wrote:

> > So, to recap, IMO liboauth and bti (well, I'm not really sure about bti... 
> > but
> > that doesn't hurt) should build-depend on libcurl4-gnutls-dev, which would 
> > fix
> > #650138, and liboauth-dev should depend on libcurl4-gnutls-dev | 
> > libcurl4-dev,
> > which would fix #639565 (as exposed in the submission email).
> 
> Perfect!
> 
> (And since bti works as-is with a rebuilt liboauth0, I guess I leave
> the change in the build-dep for after-wheezy.)
>  
> > libcurl3* runtime independence is not possible unless leaving libcurl's 
> > symbols
> > unresolved (as explained a few emails ago). But I don't quite see why one 
> > would
> > want the independence in the first place. To quote Tsukasa Hamano: "The 
> > depends
> > is force developper to link with gnutls", I'm not quite sure what he meant, 
> > but
> > the developer (using liboauth) is not forced to link againt anything, 
> > liboauth
> > is, but it doesn't affect the developer using it. And when using a static 
> > liboauth
> > (i.e. what the Requires.private in oauth.pc and the liboauth-dev Depends are
> > for) one can choose any libcurl. If really needed, one can rebuild liboauth 
> > from
> > source, in which case "libcurl4-gnutls-dev | libcurl4-dev" in its 
> > build-depend
> > would help.
> 
> Makes sense, and fits my experiments :)
> 
> 
> So this should fix both bugs:
> 
> #v+
> diff -Nru liboauth-0.9.4/debian/control liboauth-0.9.4/debian/control
> --- liboauth-0.9.4/debian/control   2011-11-05 12:41:07.000000000 +0100
> +++ liboauth-0.9.4/debian/control   2012-09-17 19:31:21.000000000 +0200
> @@ -2,7 +2,7 @@
>  Priority: optional
>  Maintainer: Bilal Akhtar <bilalakh...@ubuntu.com>
>  Build-Depends: debhelper (>= 8.1.3),
> -               libcurl4-nss-dev,
> +               libcurl4-gnutls-dev | libcurl4-dev,
>                 libnss3-dev,
>                 libtool,
>                 locales-all | language-pack-en,
> @@ -16,7 +16,7 @@
>  Package: liboauth-dev
>  Section: libdevel
>  Architecture: any
> -Depends: liboauth0 (= ${binary:Version}), libcurl4-nss-dev, ${misc:Depends}
> +Depends: liboauth0 (= ${binary:Version}), libcurl4-gnutls-dev | 
> libcurl4-dev, libnss3-dev, ${misc:Depends}
>  Description: C library for implementing OAuth 1.0 (development files)
>   liboauth is a collection of C functions implementing the
>   OAuth Core 1.0 standard API. liboauth provides basic functions to escape
> #v-

And then we have some reverse (build) deps:

% reverse-depends liboauth0
Reverse-Depends
===============
* bti
* evolution-data-server
* gnome-documents
* goldencheetah [amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips 
mipsel powerpc s390x sparc]
* libgdata13
* liboauth-dev

% reverse-depends -b liboauth-dev
Reverse-Build-Depends
=====================
* bti
* evolution-data-server
* gnome-documents
* goldencheetah
* libgdata

Luckily goldencheetah is the only one with a build and runtime
dependency on both libaouth* and libcurl*, so the others should be
unaffected.

goldencheetah has:

Build-Depends: .. liboauth-dev, libcurl4-nss-dev ..
Depends: .. libcurl3-nss (>= 7.23.1), liboauth0 (>= 0.9.1)

(So the same as bti, and the maintainer is the original reporter for
#639565 :))

Cc'ing KURASHIKI Satoru <lur...@gmail.com> to check if the change in
liboauth might affect goldencheetah.

Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Trenquillo feat. Raiz DJ: Fuerza

Attachment: signature.asc
Description: Digital signature

Reply via email to