diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-06-08 18:20:33 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-06-08 18:20:33 +0000 |
commit | 5ee904556c56a687f27021654a080c4bbd996536 (patch) | |
tree | d9676566c3ea9261f01b0043dcd3297c0b59daf5 /net-im | |
parent | Enable in-source build wrt bug #420063. Added missing doc use flag to metadata. (diff) | |
download | historical-5ee904556c56a687f27021654a080c4bbd996536.tar.gz historical-5ee904556c56a687f27021654a080c4bbd996536.tar.bz2 historical-5ee904556c56a687f27021654a080c4bbd996536.zip |
drop vulnerable versions wrt bug #415393, remove obsolete patches
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/pidgin/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/pidgin/Manifest | 22 | ||||
-rw-r--r-- | net-im/pidgin/files/pidgin-2.10.0-networkmanager-0.9.patch | 51 | ||||
-rw-r--r-- | net-im/pidgin/files/pidgin-2.10.0-utf8-validation.patch | 27 | ||||
-rw-r--r-- | net-im/pidgin/pidgin-2.10.1.ebuild | 229 | ||||
-rw-r--r-- | net-im/pidgin/pidgin-2.10.3.ebuild | 229 |
6 files changed, 22 insertions, 544 deletions
diff --git a/net-im/pidgin/ChangeLog b/net-im/pidgin/ChangeLog index 9063b295533e..5df12539a1e4 100644 --- a/net-im/pidgin/ChangeLog +++ b/net-im/pidgin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/pidgin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.284 2012/06/08 18:02:48 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.285 2012/06/08 18:20:33 hasufell Exp $ + + 08 Jun 2012; Julian Ospald <hasufell@gentoo.org> + -files/pidgin-2.10.0-networkmanager-0.9.patch, + -files/pidgin-2.10.0-utf8-validation.patch, -pidgin-2.10.1.ebuild, + -pidgin-2.10.3.ebuild: + drop vulnerable versions wrt bug #415393, remove obsolete patches 08 Jun 2012; Brent Baude <ranger@gentoo.org> pidgin-2.10.4.ebuild: Marking pidgin-2.10.4 ppc for bug 415393 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest index 1555b5e0aa54..9d690c3867e4 100644 --- a/net-im/pidgin/Manifest +++ b/net-im/pidgin/Manifest @@ -1,11 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pidgin-2.10.0-gold.patch 1003 RMD160 947502ee3c055b80ba35b0fe0d4e5fa26f44b6ae SHA1 2f01a80b9391e15083e009c492ece3771094d46a SHA256 26657c717f4e624b0b3af8746b61b0861ba4da65e55e49a753cfefaba72c60cb -AUX pidgin-2.10.0-networkmanager-0.9.patch 1994 RMD160 76311be8823e809128e5862a2d4019682040b89d SHA1 7582f01f672117a094666c08d03fc114d1184eb6 SHA256 d91ce4a7236ea9b0bc730ec07a994bf5dc2c834e2df04e4615d9ada4a03af7ab -AUX pidgin-2.10.0-utf8-validation.patch 908 RMD160 0f98c6dd6cd9c63b3d61c85a9f18a07a38616115 SHA1 9876a7d8902d85e759c1dff1d8ea55cedaccd293 SHA256 288acd1f638fa1e21e216d48f308ef5f0397ddea2c1309e767391411ab02fbf4 -DIST pidgin-2.10.1.tar.bz2 9961580 RMD160 f73c5540fd01f62ae2a0ae236436f06770a896ef SHA1 045ed0fd7dfedada6e082e7a4564648b55950064 SHA256 2f28bddc5edcd714d607d74126c8958ae7c258602b3929e3e6e783d3cb1beac8 -DIST pidgin-2.10.3.tar.bz2 9970676 RMD160 10af4caee9f22a251f867e3befebcc659e2b42f3 SHA1 7dfeabdb1ade4311c91ac9c9f988276f67ead6ee SHA256 0f67d96231fea3945c2735e6a3b4bd92590ef489fa1511fa69aa6a543cb4168b DIST pidgin-2.10.4.tar.bz2 9970850 RMD160 5193a7f5dbd122198d474bd7e11dc9bf307befb3 SHA1 f9ce34e69f97bcd1bb216aefb6d687b5b47f0796 SHA256 8fbef835c8dfa2281532ad7064d664477d72015d6dcd4345362dcfe658aaee0e -EBUILD pidgin-2.10.1.ebuild 6976 RMD160 4aa2f340d571ad5feb3042c2bae348a8ce43cef1 SHA1 9cb92c5221dfb9372aac558148f51eedb6836d38 SHA256 85cee9a3f427a6c72cb8620df6cdedbc77357ecb70eb0fe53dc9c8bfe0259ae4 -EBUILD pidgin-2.10.3.ebuild 7030 RMD160 8cafb250a56f2cf767cd3e1243f975e04e67c09d SHA1 7cb027181f873fcca6c9ea353758b39567fb71d2 SHA256 bcb7d7e7a4f9a0d04c1479736f6b459dae070daa08f7cd871dfb5c5e3ac765b1 EBUILD pidgin-2.10.4.ebuild 7046 RMD160 a6b1217ca8dc6dd5269b0276fd1f40daeaccdf12 SHA1 783f36c440d2078278885c5ac3acc4ea5bba749a SHA256 f4fbd5d894cd3f1f7f8f126519d1d0e2c56b14c65d5fd42d50357347119d5099 -MISC ChangeLog 40113 RMD160 5a6ebc2f6e77fad7a8e9ab8505f6fb47d7f1cce9 SHA1 fc5e8bc7e1c30223b9f7be50bf6f966c7565947b SHA256 f0afc6765f627f0d8be32b707a7fbf0cdbc7de2e3f4e654da0fb796826f68193 +MISC ChangeLog 40378 RMD160 2a647fd0a9ee49b46777fb21d56f6086cb596027 SHA1 b63520008d13a2d1af9096ec633bdba48c8d404b SHA256 48c97025a0e064dffb2c054eaa92dd8f0b51f77956a3b9abfc654843923c5c44 MISC metadata.xml 1311 RMD160 b0374914c2205f8e96bbcaf82aa7669c0568a3c1 SHA1 4dfd73f2ce52af88aa122d170d97d1e41803f7c7 SHA256 a0253264c64bdd1a4623db7f223cae50450dc8577d74748c25974ca909b80875 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBAgAGBQJP0kHMAAoJEFpvPKfnPDWz/yIIALg/jEKJ9FXeF7z3sw8k2jAy +z701TYJa1FPPT2tWB9VDC1RgQlJ97XL9hBcyjew4K9+57UOmRZek160oTzXXX+80 +76ccR+VJSZjEN9LthwVPDgY79wryWHQkVNOw7wfVubRu0iAntWiMcFjhfdcsyTpG +Vd+fZLwv2vh+2CdpnoonvrUXO9ld6Rq8unjBqVgpNHsvWccskZTC5TOkKR1eCLle +FU1Xs9XHRQYRAks2KSwO6y8pKrM+4mMXaboPvo82BngPmAoGeN1c8dpnqBK+zZ8U +EproaLaI025tfsoslQ5ScjPxef8zqvBWgpVsUEcujoBSkgXX/ceWu6sIQHDCinA= +=9iQF +-----END PGP SIGNATURE----- diff --git a/net-im/pidgin/files/pidgin-2.10.0-networkmanager-0.9.patch b/net-im/pidgin/files/pidgin-2.10.0-networkmanager-0.9.patch deleted file mode 100644 index 8b5c1a71d3aa..000000000000 --- a/net-im/pidgin/files/pidgin-2.10.0-networkmanager-0.9.patch +++ /dev/null @@ -1,51 +0,0 @@ -http://developer.pidgin.im/ticket/13859 - -diff -up pidgin-2.7.11/libpurple/network.c.nm09more pidgin-2.7.11/libpurple/network.c ---- pidgin-2.7.11/libpurple/network.c.nm09more 2011-04-26 12:01:27.700085246 -0500 -+++ pidgin-2.7.11/libpurple/network.c 2011-05-24 13:13:28.185165657 -0500 -@@ -833,8 +833,20 @@ purple_network_is_available(void) - purple_debug_warning("network", "NetworkManager not active. Assuming connection exists.\n"); - } - -- if (nm_state == NM_STATE_UNKNOWN || nm_state == NM_STATE_CONNECTED) -- return TRUE; -+ switch (nm_state) -+ { -+ case NM_STATE_UNKNOWN: -+#if NM_CHECK_VERSION(0,8,992) -+ case NM_STATE_CONNECTED_LOCAL: -+ case NM_STATE_CONNECTED_SITE: -+ case NM_STATE_CONNECTED_GLOBAL: -+#else -+ case NM_STATE_CONNECTED: -+#endif -+ return TRUE; -+ default: -+ break; -+ } - - return FALSE; - -@@ -1170,9 +1182,14 @@ purple_network_init(void) - NM_DBUS_SERVICE, - NM_DBUS_PATH, - NM_DBUS_INTERFACE); -+ /* NM 0.6 signal */ - dbus_g_proxy_add_signal(nm_proxy, "StateChange", G_TYPE_UINT, G_TYPE_INVALID); - dbus_g_proxy_connect_signal(nm_proxy, "StateChange", - G_CALLBACK(nm_state_change_cb), NULL, NULL); -+ /* NM 0.7 and later signal */ -+ dbus_g_proxy_add_signal(nm_proxy, "StateChanged", G_TYPE_UINT, G_TYPE_INVALID); -+ dbus_g_proxy_connect_signal(nm_proxy, "StateChanged", -+ G_CALLBACK(nm_state_change_cb), NULL, NULL); - - dbus_proxy = dbus_g_proxy_new_for_name(nm_conn, - DBUS_SERVICE_DBUS, -@@ -1207,6 +1224,7 @@ purple_network_uninit(void) - #ifdef HAVE_NETWORKMANAGER - if (nm_proxy) { - dbus_g_proxy_disconnect_signal(nm_proxy, "StateChange", G_CALLBACK(nm_state_change_cb), NULL); -+ dbus_g_proxy_disconnect_signal(nm_proxy, "StateChanged", G_CALLBACK(nm_state_change_cb), NULL); - g_object_unref(G_OBJECT(nm_proxy)); - } - if (dbus_proxy) { diff --git a/net-im/pidgin/files/pidgin-2.10.0-utf8-validation.patch b/net-im/pidgin/files/pidgin-2.10.0-utf8-validation.patch deleted file mode 100644 index 26ee17887bfb..000000000000 --- a/net-im/pidgin/files/pidgin-2.10.0-utf8-validation.patch +++ /dev/null @@ -1,27 +0,0 @@ -# -# -# patch "libpurple/protocols/silc/ops.c" -# from [30ab18780af11a53b6564a44c4e8ebfc1a296d78] -# to [80bd9a7d3faf9e5ef28438647159fe19847e9839] -# -============================================================ ---- libpurple/protocols/silc/ops.c 30ab18780af11a53b6564a44c4e8ebfc1a296d78 -+++ libpurple/protocols/silc/ops.c 80bd9a7d3faf9e5ef28438647159fe19847e9839 -@@ -408,9 +408,16 @@ silc_private_message(SilcClient client, - } - - if (flags & SILC_MESSAGE_FLAG_UTF8) { -- tmp = g_markup_escape_text((const char *)message, -1); -+ const char *msg = (const char *)message; -+ char *salvaged = NULL; -+ if (!g_utf8_validate((const char *)message, -1, NULL)) { -+ salvaged = purple_utf8_salvage((const char *)message); -+ msg = salvaged; -+ } -+ tmp = g_markup_escape_text(msg, -1); - /* Send to Purple */ - serv_got_im(gc, sender->nickname, tmp, 0, time(NULL)); -+ g_free(salvaged); - g_free(tmp); - } - } diff --git a/net-im/pidgin/pidgin-2.10.1.ebuild b/net-im/pidgin/pidgin-2.10.1.ebuild deleted file mode 100644 index cb64979e713a..000000000000 --- a/net-im/pidgin/pidgin-2.10.1.ebuild +++ /dev/null @@ -1,229 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.1.ebuild,v 1.7 2012/05/04 06:22:11 jdhore Exp $ - -EAPI=4 - -GENTOO_DEPEND_ON_PERL=no -inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python - -DESCRIPTION="GTK Instant Messenger client" -HOMEPAGE="http://pidgin.im/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" -IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile" -IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" -IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" - -# dbus requires python to generate C code for dbus bindings (thus DEPEND only). -# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is -# no way to build dbus and avoid libgnt linkage with python. If you want this -# send patch upstream. -# purple-url-handler and purple-remote require dbus-python thus in reality we -# rdepend on python if dbus enabled. But it is possible to separate this dep. -RDEPEND=" - >=dev-libs/glib-2.16 - >=dev-libs/libxml2-2.6.18 - ncurses? ( sys-libs/ncurses[unicode] - dbus? ( <dev-lang/python-3 ) - python? ( <dev-lang/python-3 ) ) - gtk? ( - >=x11-libs/gtk+-2.10:2 - x11-libs/libSM - xscreensaver? ( x11-libs/libXScrnSaver ) - spell? ( >=app-text/gtkspell-2.0.2:2 ) - eds? ( gnome-extra/evolution-data-server ) - prediction? ( >=dev-db/sqlite-3.3:3 ) ) - 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 ) - zeroconf? ( net-dns/avahi[dbus] ) - dbus? ( >=dev-libs/dbus-glib-0.71 - >=sys-apps/dbus-0.90 - dev-python/dbus-python ) - perl? ( >=dev-lang/perl-5.8.2-r1[-build] ) - gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] - >=net-libs/libgadu-1.11.0[-ssl] ) ) - gnutls? ( net-libs/gnutls ) - !gnutls? ( >=dev-libs/nss-3.11 ) - meanwhile? ( net-libs/meanwhile ) - silc? ( >=net-im/silc-toolkit-1.0.1 ) - tcl? ( dev-lang/tcl ) - tk? ( dev-lang/tk ) - sasl? ( dev-libs/cyrus-sasl:2 ) - networkmanager? ( net-misc/networkmanager ) - idn? ( net-dns/libidn ) - !<x11-plugins/pidgin-facebookchat-1.69-r1" - # Mono support crashes pidgin - #mono? ( dev-lang/mono )" - -# We want nls in case gtk is enabled, bug # -NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" - -DEPEND="$RDEPEND - dev-lang/perl - dev-perl/XML-Parser - virtual/pkgconfig - gtk? ( x11-proto/scrnsaverproto - ${NLS_DEPEND} ) - dbus? ( <dev-lang/python-3 ) - doc? ( app-doc/doxygen ) - !gtk? ( nls? ( ${NLS_DEPEND} ) )" - -DOCS="AUTHORS HACKING NEWS README ChangeLog" - -# Enable Default protocols -DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" - -# List of plugins -# app-accessibility/pidgin-festival -# net-im/librvp -# x11-plugins/guifications -# x11-plugins/msn-pecan -# x11-plugins/pidgin-encryption -# x11-plugins/pidgin-extprefs -# x11-plugins/pidgin-hotkeys -# x11-plugins/pidgin-latex -# x11-plugins/pidgintex -# x11-plugins/pidgin-libnotify -# x11-plugins/pidgin-mbpurple -# x11-plugins/pidgin-bot-sentry -# x11-plugins/pidgin-otr -# x11-plugins/pidgin-rhythmbox -# x11-plugins/purple-plugin_pack -# x11-themes/pidgin-smileys -# x11-plugins/pidgin-knotify -# Plugins in Sunrise: -# x11-plugins/pidgin-audacious-remote -# x11-plugins/pidgin-autoanswer -# x11-plugins/pidgin-birthday-reminder -# x11-plugins/pidgin-blinklight -# x11-plugins/pidgin-convreverse -# x11-plugins/pidgin-embeddedvideo -# x11-plugins/pidgin-extended-blist-sort -# x11-plugins/pidgin-gfire -# x11-plugins/pidgin-lastfm -# x11-plugins/pidgin-sendscreenshot -# x11-plugins/pidgimpd - -pkg_setup() { - if ! use gtk && ! use ncurses ; then - elog "You did not pick the ncurses or gtk use flags, only libpurple" - elog "will be built." - fi - if use dbus || { use ncurses && use python; }; then - python_set_active_version 2 - python_pkg_setup - fi - - # dbus is enabled, no way to disable linkage with python => python is enabled - #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" - if use gtk && ! use nls; then - ewarn "gtk build => nls is enabled!" - fi - if use dbus && ! use python; then - elog "dbus is enabled, no way to disable linkage with python => python is enabled" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" - epatch "${FILESDIR}/${PN}-2.10.0-networkmanager-0.9.patch" -} - -src_configure() { - # Stabilize things, for your own good - strip-flags - replace-flags -O? -O2 - - local myconf - - if use gadu; then - DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" - myconf="${myconf} --with-gadu-includes=." - myconf="${myconf} --with-gadu-libs=." - fi - - use silc && DYNAMIC_PRPLS+=",silc" - use meanwhile && DYNAMIC_PRPLS+=",sametime" - use zeroconf && DYNAMIC_PRPLS+=",bonjour" - use groupwise && DYNAMIC_PRPLS+=",novell" - use zephyr && DYNAMIC_PRPLS+=",zephyr" - - if use gnutls; then - einfo "Disabling NSS, using GnuTLS" - myconf+=" --enable-nss=no --enable-gnutls=yes" - myconf+=" --with-gnutls-includes=/usr/include/gnutls" - myconf+=" --with-gnutls-libs=/usr/$(get_libdir)" - else - einfo "Disabling GnuTLS, using NSS" - myconf+=" --enable-gnutls=no --enable-nss=yes" - fi - - if use dbus || { use ncurses && use python; }; then - myconf+=" --with-python=$(PYTHON)" - else - myconf+=" --without-python" - fi - - econf \ - --disable-silent-rules \ - $(use_enable ncurses consoleui) \ - $(use_enable gtk gtkui) \ - $(use_enable gtk sm) \ - $(use gtk || use_enable nls) \ - $(use gtk && echo "--enable-nls") \ - $(use gtk && use_enable xscreensaver screensaver) \ - $(use gtk && use_enable prediction cap) \ - $(use gtk && use_enable eds gevolution) \ - $(use gtk && use_enable spell gtkspell) \ - $(use_enable perl) \ - $(use_enable tk) \ - $(use_enable tcl) \ - $(use_enable debug) \ - $(use_enable dbus) \ - $(use_enable meanwhile) \ - $(use_enable gstreamer) \ - $(use_enable gstreamer farsight) \ - $(use_enable gstreamer vv) \ - $(use_enable sasl cyrus-sasl ) \ - $(use_enable doc doxygen) \ - $(use_enable networkmanager nm) \ - $(use_enable zeroconf avahi) \ - $(use_enable idn) \ - --with-system-ssl-certs="/etc/ssl/certs/" \ - --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ - --disable-mono \ - --x-includes=/usr/include/X11 \ - ${myconf} - #$(use_enable mono) \ -} - -src_install() { - gnome2_src_install - if use gtk; then - # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other - # implementations that are not complient with new hicolor theme yet, #323355 - local pixmapdir - for d in 16 22 32 48; do - pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions - mkdir "${pixmapdir}" || die - pushd "${pixmapdir}" >/dev/null || die - for f in ../status/*; do - ln -s ${f} || die - done - popd >/dev/null - done - fi - use perl && fixlocalpod - - dodoc finch/plugins/pietray.py - docompress -x /usr/share/doc/${PF}/pietray.py - - find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" -} diff --git a/net-im/pidgin/pidgin-2.10.3.ebuild b/net-im/pidgin/pidgin-2.10.3.ebuild deleted file mode 100644 index 81af0465eb55..000000000000 --- a/net-im/pidgin/pidgin-2.10.3.ebuild +++ /dev/null @@ -1,229 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.3.ebuild,v 1.9 2012/05/22 13:57:32 darkside Exp $ - -EAPI=4 - -GENTOO_DEPEND_ON_PERL=no -inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python - -DESCRIPTION="GTK Instant Messenger client" -HOMEPAGE="http://pidgin.im/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" -IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile" -IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" -IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" -IUSE+=" aqua" - -# dbus requires python to generate C code for dbus bindings (thus DEPEND only). -# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is -# no way to build dbus and avoid libgnt linkage with python. If you want this -# send patch upstream. -# purple-url-handler and purple-remote require dbus-python thus in reality we -# rdepend on python if dbus enabled. But it is possible to separate this dep. -RDEPEND=" - >=dev-libs/glib-2.16 - >=dev-libs/libxml2-2.6.18 - ncurses? ( sys-libs/ncurses[unicode] - dbus? ( <dev-lang/python-3 ) - python? ( <dev-lang/python-3 ) ) - gtk? ( - >=x11-libs/gtk+-2.10:2[aqua=] - x11-libs/libSM - xscreensaver? ( x11-libs/libXScrnSaver ) - spell? ( >=app-text/gtkspell-2.0.2:2 ) - eds? ( gnome-extra/evolution-data-server ) - prediction? ( >=dev-db/sqlite-3.3:3 ) ) - 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 ) - zeroconf? ( net-dns/avahi[dbus] ) - dbus? ( >=dev-libs/dbus-glib-0.71 - >=sys-apps/dbus-0.90 - dev-python/dbus-python ) - perl? ( >=dev-lang/perl-5.8.2-r1[-build] ) - gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] - >=net-libs/libgadu-1.11.0[-ssl] ) ) - gnutls? ( net-libs/gnutls ) - !gnutls? ( >=dev-libs/nss-3.11 ) - meanwhile? ( net-libs/meanwhile ) - silc? ( >=net-im/silc-toolkit-1.0.1 ) - tcl? ( dev-lang/tcl ) - tk? ( dev-lang/tk ) - sasl? ( dev-libs/cyrus-sasl:2 ) - networkmanager? ( net-misc/networkmanager ) - idn? ( net-dns/libidn ) - !<x11-plugins/pidgin-facebookchat-1.69-r1" - # Mono support crashes pidgin - #mono? ( dev-lang/mono )" - -# We want nls in case gtk is enabled, bug # -NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" - -DEPEND="$RDEPEND - dev-lang/perl - dev-perl/XML-Parser - virtual/pkgconfig - gtk? ( x11-proto/scrnsaverproto - ${NLS_DEPEND} ) - dbus? ( <dev-lang/python-3 ) - doc? ( app-doc/doxygen ) - !gtk? ( nls? ( ${NLS_DEPEND} ) )" - -DOCS="AUTHORS HACKING NEWS README ChangeLog" - -# Enable Default protocols -DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" - -# List of plugins -# app-accessibility/pidgin-festival -# net-im/librvp -# x11-plugins/guifications -# x11-plugins/msn-pecan -# x11-plugins/pidgin-encryption -# x11-plugins/pidgin-extprefs -# x11-plugins/pidgin-hotkeys -# x11-plugins/pidgin-latex -# x11-plugins/pidgintex -# x11-plugins/pidgin-libnotify -# x11-plugins/pidgin-mbpurple -# x11-plugins/pidgin-bot-sentry -# x11-plugins/pidgin-otr -# x11-plugins/pidgin-rhythmbox -# x11-plugins/purple-plugin_pack -# x11-themes/pidgin-smileys -# x11-plugins/pidgin-knotify -# Plugins in Sunrise: -# x11-plugins/pidgin-audacious-remote -# x11-plugins/pidgin-autoanswer -# x11-plugins/pidgin-birthday-reminder -# x11-plugins/pidgin-blinklight -# x11-plugins/pidgin-convreverse -# x11-plugins/pidgin-embeddedvideo -# x11-plugins/pidgin-extended-blist-sort -# x11-plugins/pidgin-gfire -# x11-plugins/pidgin-lastfm -# x11-plugins/pidgin-sendscreenshot -# x11-plugins/pidgimpd - -pkg_setup() { - if ! use gtk && ! use ncurses ; then - elog "You did not pick the ncurses or gtk use flags, only libpurple" - elog "will be built." - fi - if use dbus || { use ncurses && use python; }; then - python_set_active_version 2 - python_pkg_setup - fi - - # dbus is enabled, no way to disable linkage with python => python is enabled - #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" - if use gtk && ! use nls; then - ewarn "gtk build => nls is enabled!" - fi - if use dbus && ! use python; then - elog "dbus is enabled, no way to disable linkage with python => python is enabled" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" -} - -src_configure() { - # Stabilize things, for your own good - strip-flags - replace-flags -O? -O2 - - local myconf - - if use gadu; then - DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" - myconf="${myconf} --with-gadu-includes=." - myconf="${myconf} --with-gadu-libs=." - fi - - use silc && DYNAMIC_PRPLS+=",silc" - use meanwhile && DYNAMIC_PRPLS+=",sametime" - use zeroconf && DYNAMIC_PRPLS+=",bonjour" - use groupwise && DYNAMIC_PRPLS+=",novell" - use zephyr && DYNAMIC_PRPLS+=",zephyr" - - if use gnutls; then - einfo "Disabling NSS, using GnuTLS" - myconf+=" --enable-nss=no --enable-gnutls=yes" - myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" - myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" - else - einfo "Disabling GnuTLS, using NSS" - myconf+=" --enable-gnutls=no --enable-nss=yes" - fi - - if use dbus || { use ncurses && use python; }; then - myconf+=" --with-python=$(PYTHON)" - else - myconf+=" --without-python" - fi - - econf \ - --disable-silent-rules \ - $(use_enable ncurses consoleui) \ - $(use_enable gtk gtkui) \ - $(use_enable gtk sm) \ - $(use gtk || use_enable nls) \ - $(use gtk && echo "--enable-nls") \ - $(use gtk && use_enable xscreensaver screensaver) \ - $(use gtk && use_enable prediction cap) \ - $(use gtk && use_enable eds gevolution) \ - $(use gtk && use_enable spell gtkspell) \ - $(use_enable perl) \ - $(use_enable tk) \ - $(use_enable tcl) \ - $(use_enable debug) \ - $(use_enable dbus) \ - $(use_enable meanwhile) \ - $(use_enable gstreamer) \ - $(use_enable gstreamer farsight) \ - $(use_enable gstreamer vv) \ - $(use_enable sasl cyrus-sasl ) \ - $(use_enable doc doxygen) \ - $(use_enable networkmanager nm) \ - $(use_enable zeroconf avahi) \ - $(use_enable idn) \ - --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ - --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ - --disable-mono \ - --x-includes="${EPREFIX}"/usr/include/X11 \ - ${myconf} - #$(use_enable mono) \ -} - -src_install() { - gnome2_src_install - if use gtk; then - # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other - # implementations that are not complient with new hicolor theme yet, #323355 - local pixmapdir - for d in 16 22 32 48; do - pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions - mkdir "${pixmapdir}" || die - pushd "${pixmapdir}" >/dev/null || die - for f in ../status/*; do - ln -s ${f} || die - done - popd >/dev/null - done - fi - use perl && fixlocalpod - - dodoc finch/plugins/pietray.py - docompress -x /usr/share/doc/${PF}/pietray.py - - find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" -} |