Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295810 - net-im/pidgin-2.6.3 automagic dep on farsight2
Summary: net-im/pidgin-2.6.3 automagic dep on farsight2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-05 10:16 UTC by Alexis Ballier
Modified: 2009-12-20 20:26 UTC (History)
1 user (show)

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 Alexis Ballier gentoo-dev 2009-12-05 10:16:42 UTC
configure.ac contains:

AC_ARG_ENABLE(farsight,
        [AC_HELP_STRING([--disable-farsight], [compile without farsight support])],
        enable_farsight="$enableval", enable_farsight="yes")
if test "x$enable_farsight" != "xno"; then
        PKG_CHECK_MODULES(FARSIGHT, [farsight2-0.10 >= 0.0.9], [
                AC_DEFINE(USE_FARSIGHT, 1, [Use Farsight for voice and video])
                AC_SUBST(FARSIGHT_CFLAGS)
                AC_SUBST(FARSIGHT_LIBS)
        ], [
                enable_farsight="no"
        ])
fi

[ebuild   R   ] net-im/pidgin-2.6.3  USE="dbus doc gnutls gtk ncurses nls perl spell tcl tk -bonjour -debug -eds -gadu -groupwise -gstreamer -idn -meanwhile -networkmanager -prediction -qq -sasl -silc -zephyr"

and the ebuild:

    gstreamer? ( =media-libs/gstreamer-0.10*
        =media-libs/gst-plugins-good-0.10*
        >=net-libs/farsight2-0.0.14
        media-plugins/gst-plugins-meta
        media-plugins/gst-plugins-gconf )


farsight probably needs to be disabled with gstreamer or split out of the gstreamer useflag.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-12-19 09:13:52 UTC
Is there any way to reproduce this bug? As I see, the code in configure.ac you've mentioned is only used to check for farsight. As I see fairsight2 usage should be enabled by vv switch which is USE conditional in ebuild:

        $(use_enable gstreamer vv)

and in the code itself

#ifdef USE_VV

#include <gst/farsight/fs-conference-iface.h>
#include <gst/farsight/fs-element-added-notifier.h>

...

is used. Closing as invalid currently.
Comment 2 Alexis Ballier gentoo-dev 2009-12-19 12:01:16 UTC
(In reply to comment #1)
> Is there any way to reproduce this bug? As I see, the code in configure.ac
> you've mentioned is only used to check for farsight. As I see fairsight2 usage
> should be enabled by vv switch which is USE conditional in ebuild:
> 
>         $(use_enable gstreamer vv)

as always with automagic deps...
install farsight2
USE=-gstreamer emerge -1 pidgin

which then gives me a link command in pidgin's build:

/bin/bash ../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -g -march=core2 -O2 -pipe -g -ggdb  -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -o libpurple.la -rpath /usr/lib64 -export-dynamic -version-info 6:3:6 -no-undefined account.lo accountopt.lo blist.lo buddyicon.lo certificate.lo cipher.lo circbuffer.lo cmds.lo connection.lo conversation.lo core.lo debug.lo desktopitem.lo eventloop.lo ft.lo idle.lo imgstore.lo log.lo media.lo mediamanager.lo mime.lo nat-pmp.lo network.lo ntlm.lo notify.lo plugin.lo pluginpref.lo pounce.lo prefs.lo privacy.lo proxy.lo prpl.lo request.lo roomlist.lo savedstatuses.lo server.lo signals.lo smiley.lo dnsquery.lo dnssrv.lo status.lo stringref.lo stun.lo sound.lo sound-theme.lo sound-theme-loader.lo sslconn.lo theme.lo theme-loader.lo theme-manager.lo upnp.lo util.lo value.lo version.lo xmlnode.lo whiteboard.lo marshallers.lo dbus-server.lo dbus-useful.lo  -ldbus-glib-1 -ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0   -Wl,--export-dynamic -pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lxml2     -pthread -lgstfarsight-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0      -lm -lutil -lpthread -lnsl -lresolv
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-12-20 20:26:25 UTC
Thank you for report Alexis. Fixed in 2.6.4-r1.