summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2013-03-27 20:18:00 +0000
committerAgostino Sarubbo <ago@gentoo.org>2013-03-27 20:18:00 +0000
commit92ea5420bb1bb4eb6393fad344e3eb062f0e58e7 (patch)
tree483fb957245d371615342c8a8a9deaa68a815196 /net-im
parentFix build error when USE=-sockets #441760 by Conrad Kostecki. (diff)
downloadhistorical-92ea5420bb1bb4eb6393fad344e3eb062f0e58e7.tar.gz
historical-92ea5420bb1bb4eb6393fad344e3eb062f0e58e7.tar.bz2
historical-92ea5420bb1bb4eb6393fad344e3eb062f0e58e7.zip
Remove old
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'net-im')
-rw-r--r--net-im/pidgin/ChangeLog6
-rw-r--r--net-im/pidgin/Manifest34
-rw-r--r--net-im/pidgin/pidgin-2.10.4.ebuild229
-rw-r--r--net-im/pidgin/pidgin-2.10.6.ebuild229
4 files changed, 20 insertions, 478 deletions
diff --git a/net-im/pidgin/ChangeLog b/net-im/pidgin/ChangeLog
index 056cb980ee98..c355e5f7ff84 100644
--- a/net-im/pidgin/ChangeLog
+++ b/net-im/pidgin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/pidgin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.306 2013/03/18 09:05:20 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.307 2013/03/27 20:17:57 ago Exp $
+
+ 27 Mar 2013; Agostino Sarubbo <ago@gentoo.org> -pidgin-2.10.4.ebuild,
+ -pidgin-2.10.6.ebuild:
+ Remove old
*pidgin-2.10.7-r1 (18 Mar 2013)
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index 40ecfd0c533b..94002a84623f 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -1,31 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX pidgin-2.10.0-gold.patch 1003 SHA256 26657c717f4e624b0b3af8746b61b0861ba4da65e55e49a753cfefaba72c60cb SHA512 9c54d1da082362325aa5ec0f25356e629adb7f639a0ea98a8aff726e4769cb21bf3350772aa219b7ad021630d13113de02c42317551edfe5f044ae40ac0df984 WHIRLPOOL 77fdb2855ac8fe3dc163a42d18df1847f849d9fc42cb09565746e70e72f9e2f74f3d33f44c6bc6f8277047d6d05bb9f12507a8f8c16e1c672c201a75c8fa7c8b
AUX pidgin-2.10.7-fix-cap.patch 692 SHA256 4dbf4e8123d7b7550f99fb5b8fb97e98b44551750436ca5327f8257438400dcd SHA512 0a1dc0ceaf78416ecd409a4bdcecef83a48cbdea50314d55a6cb1e1cad06775e1e8ac23f069ef4ed8ca8b4f3bb99f184804fddf7812adfcba8c8920a9c6efdbc WHIRLPOOL 8beca2bcb10380034ccd461559e7504922613de19649ca045e88c19de452bc4beb4b47c4b9976cf24854edf502ce11e74de00f5add86025c4bd066e17e85a962
AUX pidgin-2.10.7-link_sasl_in_irc_plugin.patch 642 SHA256 8f91df48549004c80d5989bfdcc11f7a7805f3770b6aa2a5676d86eb334cf5b8 SHA512 3bc39f994473e01ab532e804481a858b0e1ddc3252a27fc29cb32c550e207699ee39da0057b6e86f4a33870b29f44b701a1614e93ff223930208ef0e8061fed1 WHIRLPOOL 5d0ce684e06fbe8c507310947696fed1910f631f93b0e71fc44610e06c6b1d93b966af89d4def15d8fcaa1b11001ab7066e94c732f58423046bc9e645816a91e
-DIST pidgin-2.10.4.tar.bz2 9970850 SHA256 8fbef835c8dfa2281532ad7064d664477d72015d6dcd4345362dcfe658aaee0e SHA512 8399a1f8f48aabcd598fa03b80680d230bec26ee7cf616373ddfbf174e214d60ecfc37f82130258bca6cca0717ac2d3deb843e7e95907b75fef5b7433d9674be WHIRLPOOL f257a9e387360ba66d66d51d4d7b13dd74fd4f68f694c098e3b17d5dc46807e89511187ca7d61c3232453b24bf1e1151afcb974c9299cad18c126cbaa7410940
-DIST pidgin-2.10.6.tar.bz2 10007092 SHA256 3e25a633b97cbfa8326999a30282e7a662a9b9bbf2853be84af0b8fb60392c96 SHA512 fffc8721ebe5dbaa53c213ec07a6ad5045ba336829cf9bce11aef8b5968f0f0b49289cfe1818e183a3807b6b8b7ebb75387a81d7135835859e0188a05f3be1ef WHIRLPOOL 7d044ad2cad68e223c3c20d867b4ebf23956982b9ecbc1f91264857abea2555b6ae07b963671eaa49fd2b85d648b6f5692c561e0cc060fb0762458880b5e9145
DIST pidgin-2.10.7.tar.bz2 10069279 SHA256 eba32994eca20d1cf24a4261b059b2de71a1ec2dd0926e904074b0db49f7f192 SHA512 0f0d421f91be3b1577527f3609bff164d7c57a94338e18dca5d8b7d911634a98b9c0e8860f3e62026eba09a6afb3112a8cd6770a90c89afdb9fb40f83dd6f3e4 WHIRLPOOL 025a392ab069817e2fea07d0e9e7efeee006eaf4ce2e6571c49b851735309f3346bfdbf34c874f55b440b71fbbba0ac55029da727b1f731175d72efb2e74f3b4
-EBUILD pidgin-2.10.4.ebuild 7063 SHA256 0835da244be7279390f6ebdea9a47fb5a77c7cc61cb12c26986b83ffc60336eb SHA512 5f5f3f20b662358cc5c563934328286ef2ddd5b126a95192d3ede3971edc97b28d56c78e4357dbf48244c9e000c2a7674a0d46f4476b1c10fbd6e986aecccf0c WHIRLPOOL c9a25c81bcc1df800a72cdb789ed4d061b8addce28a08da803b6fab5ce627d764a4f4fa825d82ca3a20fe5ab64b13c0c7efdb931a3367ce8b12eb73d2698989c
-EBUILD pidgin-2.10.6.ebuild 7063 SHA256 0a93350aac7dc1acb744164cf90e69acb5f4cca03cbee1ed5837c24006c2f7fc SHA512 9f4cb49933fdfd06d99913210330bb9831ec60a90e63d6ba32b8b8ccfb63eba1938844a544b35ca29c995fd07c1f9f9936a5ddd46c160306041f9993ab75d2de WHIRLPOOL 32da50ffb1ffe7053c41729cfaff464834b212db1f0530d9eea7fccdf63b1a51d351d61682567e873ec5954537dc143a3916af140ce2366c4c2235fc5997a30c
EBUILD pidgin-2.10.7-r1.ebuild 7196 SHA256 503c720666eace61455aa57b854f9fde0d5320906d50f4cfedf650e698dcc94c SHA512 f75243e7071b3381af567bd621f626aab99f741b588a3b637b7c7e93730b3b555d845f8d4ede95a947d1159cab905879ba362a36658e9749d12df60833f45af1 WHIRLPOOL d8780190a547b32b266ce475ffbc63eedcf740e18adf9c5d78ab02a5967bf04be7cc8377ebc8e5b9bb91634844522349ca1d20def2bbc3bb1c631035ae2ff49a
-MISC ChangeLog 43181 SHA256 ca465b98e0cbea22d6ac0621ab8a0d71d08bcfe9ebb5faa8d3ab86c822830ba1 SHA512 cd15541cf652bdfdeab6bb1b29c39170683f610e538ba1586de1fa719e77d76b265fb8e06eb16d1c8f5a97b650e0dca7c6afe0c2f8cacab41547105a1d4d7c18 WHIRLPOOL 6a6bbeabfa98bcbc6b5f8d1c7d4166c8e0063c51148a411b21df631bb67d0a5160ed37e27d29a3ce3ee5bc255e8f850a987668bd07625422c56017242cbb02ee
+MISC ChangeLog 43283 SHA256 d85f9b783d41ba317895b7b69657edf0d62f8434c89c1894343bce0e875dbbbb SHA512 88ae9acb9a2a3cf551381796257fd4d7d6fa99d280bcd78cf871dab5fd8caeb44e3fdcf405513dfe45cef2a5f108ae9734cbf1fa66d63b6461a1b46b960cc0a9 WHIRLPOOL 921b82a8a4e8f67a55f5428615dbd7b3a8001552223fcafeae8edb10759547fab4b5f16664fe9ebc6cd09bbf1c8c14491de61c1e3270984276d268154bfce85c
MISC metadata.xml 1413 SHA256 bc70dbf6ae07f27a8267ef736bf78ea553779947a5b55fc239afeb8bb9f40d54 SHA512 596f8fb6a456b1be9b3403d7b7df32b224c539b711c7f9ce7d95b36c28d4485c2e268387c553fb8ce9eb9b312f2b91fec8ce9d3f88b5f50446d4755bb6101b20 WHIRLPOOL 3a29fc9c15e2c796adc9f298aed736f7fb4aba1e5318cfb02f83b8f193374867670819f14e8a15d894ed9880d4a011e1d5f27a7e1742d56b943c4e102e507fd6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRRtjRAAoJEPiazRVxLXTF95EP/RR8gm6NjAuzRKFgae4DVYYS
-R6pLwKqZUD3KYq+PNKgIa3RfdktHOfYewUDJ/ImbGnRF3MmsCHnrW/3g2VChwye/
-NWzot6Qkb3LxlS6hOmejewMS7k2beBhoH+TYkx+l2KdYRgS0mnEt07uXPiasEPB0
-uKzR4l52XCRZxTAgH3Ad3HZ+h96QRHj7wvus3RO90xHyokqWIl26Rn2iXAr+RHBl
-bGnaVRLy8uZjEEC1kv/mCTuCZJmpEUwkhRj1jdq4SnFyh1IEXugTXzT61Y6iFX+p
-ml3MJjAynLSMCSUoDGPVWdGUYfs4l196OQECA+iy0fM978CzMoxGJDwAXfMhCOyz
-oQnzjNJJkdR7B6zZtkC9qhMaPHHpAGaLj7sbxKU6FZMvKYgCcYK8kHFPghJcWcBs
-BHlrNfKKBG87+ieaq/Poed9PiW4iMzzMmLFd+M+C8umuDcqYWBqgDMmur2/bnnrc
-Mde0kJHkDPwxrGWMmlTe++FF0p6/a3ubMIEqR6fgFkIrv7CCGzbep5Z0kEI+tgje
-4d2fV1wxW7VE7l+CF0okRaGtRgUwYiOmL3a0NzJOLniKagaM0Y5yZaYXuC3w9FG9
-mp5ZuFYMCiVZaziMNsCQCrXQ14Is9k6XJ5Gi7gYOihwM/kchlEKeETMaYD/k/qxI
-PPpkaonMNqs4UsXyBi2U
-=HqVw
+iQIcBAEBCgAGBQJRU1P4AAoJELp701BxlEWf/MAQAMDPTFvpssXLkxwUVhG9PDNv
+Kj8Z+ZpL0YuaA4I5NNLsEGAze4IhFVJJ29m8XYoZmG0s2C9WyFt1smC3ccSx4ufo
+xIrAVdaWXGWck3C/+bnESapq1YWFletla78UWXj7iLhqHgG5fCbsHbsB+RjdvXWF
+TwaAxmmy99GTMP7lfLBZIzsNDQp6Z+MQHh2eC1l+gH9wF7yAKERasBBSvzyMgfxt
+6Lgft92Rp0yP8Wi9iqgFhR8Z7J2oQlBSlqGAdKnRwkzbuCF73FHAGKdQSxx1oWy2
+DtqBVJIcRWcsMDPRrbF6M3QV7levSeF4rjtF5Kxu9V9krzjO2OT24H2+IPeZfYMR
+KFU0OqSQQGi3ubG6TMlivNbLvTiXIBjntBsu3GHr0pwXGR4VhkEHtnhZp3CAJqfL
+GlF/zpjrnhXwAvJqI3aeNbFDtth6/YvdlFASYzlQcTz2mZhjRUAZIV5WBvHTMquw
+8nlWfe/UeKKDH2KiCRNko+nsCAIGAqS/iepEIJWaDaBsrA1ieaw1gzKgVwr6HrWR
+0K2FgMmKmNJJbpFB2KciKjVtcmna8DOwsdDMMIeb5C6NyVKHimT4G0lXkv0iAWbS
+1nt2+7GVjTjR8vBu2PtLRdsdYYfwD3U+TJaExWv7MO1aIxHbM0YDUEeB0bZXc/GC
+NVWvlvtB5Nw8ZexIGs4Z
+=H6b+
-----END PGP SIGNATURE-----
diff --git a/net-im/pidgin/pidgin-2.10.4.ebuild b/net-im/pidgin/pidgin-2.10.4.ebuild
deleted file mode 100644
index a72ad445828d..000000000000
--- a/net-im/pidgin/pidgin-2.10.4.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.4.ebuild,v 1.9 2012/12/08 01:25:35 tetromino 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/farstream:0.1 net-libs/farsight2 )
- media-plugins/gst-plugins-meta:0.10
- media-plugins/gst-plugins-gconf:0.10 )
- 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 farstream) \
- $(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"
-}
diff --git a/net-im/pidgin/pidgin-2.10.6.ebuild b/net-im/pidgin/pidgin-2.10.6.ebuild
deleted file mode 100644
index a7d7616f1872..000000000000
--- a/net-im/pidgin/pidgin-2.10.6.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.6.ebuild,v 1.9 2012/12/08 01:25:35 tetromino 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/farstream:0.1 net-libs/farsight2 )
- media-plugins/gst-plugins-meta:0.10
- media-plugins/gst-plugins-gconf:0.10 )
- 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 farstream) \
- $(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"
-}