Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29660 - libsoup optionally depends on gnutls
Summary: libsoup optionally depends on gnutls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-26 04:00 UTC by Stephane Loeuillet
Modified: 2003-09-28 03:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Loeuillet 2003-09-26 04:00:49 UTC
After an emerge --depclean, i checked all libs and bins for broken deps.

i saw plenty of lines like :
libgnutls.so.7 => not found
libgcrypt.so.1 => not found

i looked which apps rely on those 2 and i found that evolution require those

bins :
/usr/bin/evolution
/usr/bin/evolution-1.4
/usr/bin/evolution-addressbook-export

libs :
/usr/lib/libsoup-2.0*
/usr/lib/evolution/1.4/*

So, on my machine, only evolution seems to need them without having them in its
ebuild

better put those 2 deps in libsoup deps, as libsoup is also an evolution dep

so, net-mail/evolution needs net-libs/libsoup which needs :
net-libs/gnutls
dev-libs/libgcrypt

those 2 are for GPG support into evolution

Reproducible: Always
Steps to Reproduce:
Comment 1 foser (RETIRED) gentoo-dev 2003-09-26 07:31:22 UTC
its probably a dep of a dep, we need conclusive proof like libsoup configure
lines.
Comment 2 Stephane Loeuillet 2003-09-26 18:12:32 UTC
root@leroutier58 leroutier # cd libsoup-1.99.26/

root@leroutier58 libsoup-1.99.26 # grep -ri gcrypt *

configure:                      GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a"
configure:                      GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt"
configure.in:                   GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a"
configure.in:                   GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt"

root@leroutier58 libsoup-1.99.26 # grep -ri gcrypt configure.in

                        GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a"
                        GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt"
root@leroutier58 libsoup-1.99.26 # grep -ri gcrypt configure.in
                        GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a"
                        GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt"
root@leroutier58 libsoup-1.99.26 # grep -ri gnutls configure.in
dnl *** SSL Library checks (GnuTLS, Mozilla NSS, or OpenSSL) ***
AC_ARG_WITH(gnutls-includes,
            [  --with-gnutls-includes   Specify location of GnuTLS header
files],
            [gnutls_inc_prefix=-I$withval])
AC_ARG_WITH(gnutls-libs,
            [  --with-gnutls-libs       Specify location of GnuTLS libs],
            [gnutls_prefix=$withval],
            [gnutls_prefix=$libdir])
enable_gnutls="no"
        ### Check for GnuTLS
        CPPFLAGS="$CPPFLAGS $gnutls_inc_prefix"
        AC_CHECK_HEADERS(gnutls/gnutls.h,
                         [enable_gnutls="yes"],
                         [enable_gnutls="no"; break])
        if test "x$enable_gnutls" = xyes; then
                        GNUTLS_LIBS="$gnutls_prefix/libgnutls.a $gnutls_prefix/libgcrypt.a"
                        GNUTLS_LIBS="-L$gnutls_prefix -lgnutls -lgcrypt"
                GNUTLS_CFLAGS=$CPPFLAGS
                AC_DEFINE(HAVE_GNUTLS, 1,
                          [Defined if you are using GnuTLS for SSL support])
                GNUTLS_LIBS=
                GNUTLS_CFLAGS=
        AC_SUBST(GNUTLS_CFLAGS)
        AC_SUBST(GNUTLS_LIBS)
  GnuTLS support:               ${enable_gnutls}
Comment 3 foser (RETIRED) gentoo-dev 2003-09-27 04:53:09 UTC
there you go, its optional. Since gnutls only got introduced to the tree
recently and soup uses it if its around by the looks of it. Please try to
define the problem more precise next time reporter.

It could probably go with the ssl flag like gossip or maybe a new flag. The
ebuild sais openssl is no option for some reason, does the same thing go
for gnutls ? Can you elaborate liquidx ?
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 03:12:46 UTC
basically exactly what foser said.

i've now added a patch to 1.99.26's autoconf stuff to respect a --with-ssl=gnutls|openssl
so we can force either one. also added a local useflag to enable gnutls support.
so by default, it will use openssl instead of gnutls. add the deps to libsoup
as well.