diff options
Diffstat (limited to 'net-im/pidgin')
-rw-r--r-- | net-im/pidgin/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/pidgin/Manifest | 25 | ||||
-rw-r--r-- | net-im/pidgin/files/pidgin-2.10.7-fix-cap.patch | 21 | ||||
-rw-r--r-- | net-im/pidgin/pidgin-2.10.7.ebuild | 230 |
4 files changed, 277 insertions, 10 deletions
diff --git a/net-im/pidgin/ChangeLog b/net-im/pidgin/ChangeLog index bca1e58eb74f..e5e11d8b2ca4 100644 --- a/net-im/pidgin/ChangeLog +++ b/net-im/pidgin/ChangeLog @@ -1,6 +1,13 @@ # 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.295 2012/12/08 01:25:35 tetromino Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.296 2013/03/11 13:21:34 polynomial-c Exp $ + +*pidgin-2.10.7 (11 Mar 2013) + + 11 Mar 2013; Lars Wendler <polynomial-c@gentoo.org> +pidgin-2.10.7.ebuild, + +files/pidgin-2.10.7-fix-cap.patch: + Non-maintainer commit: Security bump (bug #457580). Thanks to Manuel Rüger + for making us aware of a needed patch. 08 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org> pidgin-2.10.4.ebuild, pidgin-2.10.6.ebuild: diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest index a634bcba35ef..e5cead6551ba 100644 --- a/net-im/pidgin/Manifest +++ b/net-im/pidgin/Manifest @@ -2,20 +2,29 @@ Hash: SHA256 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 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 -MISC ChangeLog 41608 SHA256 a8e2c587ae2c5945407c69b525c9a29e38351a00ca421c636728e22ad1a2cd24 SHA512 f0dee23349a05fa4bd0e8d05b766464a52507c63a9634ffdbbc8cb4b26832995b57cc5b92d012f6a265218291e836fe8f126d8c98f9c54fad0d69380e4bddfab WHIRLPOOL 5c80371afd77d2e05c545ccff485c98c5ff614cb6d7d541655a504dc76183f8225ac1b2e68efb20b49ca386727210ba9c89e5c749641281b66130b17d47209be +EBUILD pidgin-2.10.7.ebuild 7111 SHA256 f80f3dd7d6dd59b81c8068511c787af758f195f01605eafd9a9a40c073d6977a SHA512 c0b7f48f9b7559feece4b0fb1d95cad2119883dbaec095e10ea9416824c346507c90f1574ce7e33fd5eb7e77c7d3e74ea173cdc78b0e7243518fbaeee5d09b7f WHIRLPOOL f813630a7dd1c4f44e137c079ce1087d3a06fa63afc3fd0233a45f68a8673e9e554640966a39f4f0583a3b76cf5e7e16b09b1eb97cf0cffbd1b254df80e680a0 +MISC ChangeLog 41876 SHA256 e0d3199f39efbbefcf97004e2436595b9f5e449f0f1582b41892da9c5c047e47 SHA512 a5e2654527ef690cb28f9fada282fbfaea2f395f57c5a4e087afd8a9b92d893762ac9ee503ac36468fcf6fa719e2ccdc9f756fcd34699cdaf9d7681fe2029e35 WHIRLPOOL c099746d018ee6cd328fe9ddd5052319f9782e8908d2f89a70b1e8d07263d616782be074d55b25e4df66317aa56a09c9713d40ff081c2fc42a20e134f0d9230c MISC metadata.xml 1311 SHA256 a0253264c64bdd1a4623db7f223cae50450dc8577d74748c25974ca909b80875 SHA512 18570fcf43047336441fd79d0581f6d7010192358a5dfe1d88d29ae33780c44fbc55d26d2c6088f615a87fa4131d729945cb0789941e8470948fc01b3f3f61f1 WHIRLPOOL a716b9e0682c6a56361e2bd6d788eaa8ce35a59aa701b1338a29bb2e34af1be9f579c52ff7698bedd888f7461a32a5abd59bddd95cc58d4633e20e3a394c478e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQwpcRAAoJEJ0WA1zPCt1hDIwH/Rj+BKSjbZIjW0/Qe/ESM91g -0MgM1yJH0VrrOP89eSQnNnocc3WdHW0HxCmvcNBQGA/OtlbVHI4jYKBIyOxxp6El -QrZ1tP9WPf+6H0sUt2Yr2hLDqy7lTv3i3NQu3AJka5xmC459yVdQRw0EudkteqEl -CwEZk3lbZdLYmTVSWVm+RDzvlQAaLTvb9s4edIYKT23JqecxJio4x472ColzXui3 -AoCF52QF9kdV7Pl1nIfOZ0kxYFRS7lL5fwLjNWGHmf4u1kHp9m2jnL9DLn3J81oj -Xa6CGFkGGfBYCUJUCg3Su4ilQALY7e41T9an9OREYb2nz6hvpNwVnAMqRlNPR6U= -=qBne +iQIcBAEBCAAGBQJRPdpfAAoJEPiazRVxLXTFlbMQANBtfUXG6hn4S8+TtITZ7gFJ +p/eHvD5PGDOnyFkmHzk72FJyu9qxJd9/Twir8TAtFQkJN/gEbe4yYARPEOUOP8uo +Cqb80wBkT0DFEwh52xLJsd8mqaRTjETxvkw1rCWlNtoI1T3uy2yB/de+/ZCZeAut +Z0INLR5o+Mt5qkS0bogV22oYo4G1zDGdVH7aarlpDrTsj3KXSAeoVZQHlm5Q+gW1 +OZAWFhb7A2mhHoklQ0HYPIEa/0Gxg5I59GW0j2wGeIHB98k6zHXbUiBKzABXua0T +x/3jVINyMu87sgy99JQuWyArPh/B5irAZmAJ11BQsXRe49FhOVLd4EFJceafhUfz +0ITJbkWQcbEPckcN4fvoJkHkMTuiAM0pwgoBpJhtGOQwxNsvzUtGDIkNsouQlcVT +4J1lM7FqEIouYsVVFs/OakerAm79nR4+h9TGMTR2nnEjneF1ePX8ibi+Mnooc9VH +73j2k1t4ZPGIQds+MzZY4ZXB9sS3+P2ioGEYvHACP4NbyWWae3vPkl/rzIQfRhsp +7KfShM3MtltS9g8h8Cwp5zzOIzr2wPBxeeGTQvuN7pJvQsizAvPh3Hy+3V1HxXXs +Nx72tTp9uj6IodlGkHGV4kLz8ppCrxzEFDIXKeYaWsFijm8CZb7+gtUA0mdtYWxv ++mpMOzaPSYls7ng2sZuH +=vRtH -----END PGP SIGNATURE----- diff --git a/net-im/pidgin/files/pidgin-2.10.7-fix-cap.patch b/net-im/pidgin/files/pidgin-2.10.7-fix-cap.patch new file mode 100644 index 000000000000..701f3869ec8a --- /dev/null +++ b/net-im/pidgin/files/pidgin-2.10.7-fix-cap.patch @@ -0,0 +1,21 @@ + +# HG changeset patch +# User Daniel Atallah <datallah@pidgin.im> +# Date 1360879082 0 +# Node ID a860609d9c9ee20a64ca5284f7b50cbc57ae5c92 +# Parent 75999131f023b369df6d4f5b2001e153b448be13 +Fix from David Walser for a crash in the CAP plugin. + +diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c +--- a/pidgin/plugins/cap/cap.c ++++ b/pidgin/plugins/cap/cap.c +@@ -43,7 +43,7 @@ + int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); + int min_minute = (current_minute - threshold) % 1440; + int max_minute = (current_minute + threshold) % 1440; +- char *sql, sta_id = NULL; ++ char *sql, *sta_id = NULL; + sqlite3_stmt *stmt = NULL; + const char *tail = NULL; + int rc; + diff --git a/net-im/pidgin/pidgin-2.10.7.ebuild b/net-im/pidgin/pidgin-2.10.7.ebuild new file mode 100644 index 000000000000..b69d70eb2d78 --- /dev/null +++ b/net-im/pidgin/pidgin-2.10.7.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.7.ebuild,v 1.1 2013/03/11 13:21:34 polynomial-c 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" \ + "${FILESDIR}/${P}-fix-cap.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" +} |