Add net-im/pidgin
authorOlivier Crête <tester@gentoo.org>
Tue, 1 May 2007 03:04:18 +0000 (03:04 +0000)
committerOlivier Crête <tester@gentoo.org>
Tue, 1 May 2007 03:04:18 +0000 (03:04 +0000)
Package-Manager: portage-2.1.2.2

net-im/pidgin/ChangeLog [new file with mode: 0644]
net-im/pidgin/Manifest [new file with mode: 0644]
net-im/pidgin/files/digest-pidgin-2.0.0_beta7 [new file with mode: 0644]
net-im/pidgin/metadata.xml [new file with mode: 0644]
net-im/pidgin/pidgin-2.0.0_beta7.ebuild [new file with mode: 0644]

diff --git a/net-im/pidgin/ChangeLog b/net-im/pidgin/ChangeLog
new file mode 100644 (file)
index 0000000..99c3a38
--- /dev/null
@@ -0,0 +1,7 @@
+# ChangeLog for net-im/pidgin
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.1 2007/05/01 03:04:18 tester Exp $
+
+  01 May 2007; Olivier Crête <tester@gentoo.org> ChangeLog:
+  Add pidgin, which is the renamed version of net-im/gaim
+
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
new file mode 100644 (file)
index 0000000..a7557bf
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pidgin-2.0.0beta7.tar.bz2 7465941 RMD160 e1b9c4fbb13497fb85774cb3092eeec51bc8d632 SHA1 95b0b9c9040a7b06beb9e6a7beeeec798dc34f82 SHA256 ee154b61c59d23d0977a0339d749db5f64cb91f38d22356403bc413eaf9200eb
+EBUILD pidgin-2.0.0_beta7.ebuild 7520 RMD160 a44db4cee272d73026d40d28b1827bfad10e9f87 SHA1 607789d9d47796cba8139138763c98fa489fb840 SHA256 d6d5c41ae8273d5950ce212b3a20912ec60b87e503eebf316109fa9fb9433125
+MD5 3aca58d784dc3be66547dec07255593b pidgin-2.0.0_beta7.ebuild 7520
+RMD160 a44db4cee272d73026d40d28b1827bfad10e9f87 pidgin-2.0.0_beta7.ebuild 7520
+SHA256 d6d5c41ae8273d5950ce212b3a20912ec60b87e503eebf316109fa9fb9433125 pidgin-2.0.0_beta7.ebuild 7520
+MISC ChangeLog 319 RMD160 528bce95f16a839f8fd56113ebaf5072423ee764 SHA1 8b691dcef8c7388a7169f2b5bfdea6f21c1c4bda SHA256 44ffd1fd06c3bf3e79559e9d4449acb58f43ec93c04a445a76710a939996da63
+MD5 f21f7d14ce071f926ef71df9e680c8f8 ChangeLog 319
+RMD160 528bce95f16a839f8fd56113ebaf5072423ee764 ChangeLog 319
+SHA256 44ffd1fd06c3bf3e79559e9d4449acb58f43ec93c04a445a76710a939996da63 ChangeLog 319
+MISC metadata.xml 458 RMD160 dca91f12277688e0a35ab2aefc0d46c8c70facbd SHA1 7dc17a356911852b3f5867e3629ef02a46adb675 SHA256 4457ab0d5db90f61e9d916879c32d1e0a7c6d15f2f7c955a17e5e31cb0777ba9
+MD5 bba7b9e682937ac5182b872b00b19d93 metadata.xml 458
+RMD160 dca91f12277688e0a35ab2aefc0d46c8c70facbd metadata.xml 458
+SHA256 4457ab0d5db90f61e9d916879c32d1e0a7c6d15f2f7c955a17e5e31cb0777ba9 metadata.xml 458
+MD5 6d23766a2769c4e099ca1a3f199fba19 files/digest-pidgin-2.0.0_beta7 259
+RMD160 bc6b0bf3513a877f71493539fd36c8ff93bcbd19 files/digest-pidgin-2.0.0_beta7 259
+SHA256 4837e0b54c64a5a658530be82792a748da58a0c5d90c6cc583ceb62c769f315b files/digest-pidgin-2.0.0_beta7 259
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFGNq8f+IXOQtHLm/gRAshtAJ9vZCMTWhG7+uVAo+FN+JGgHwDc6wCeLAPL
+gfMBov1RdVblc3/iF01QMLc=
+=RcS0
+-----END PGP SIGNATURE-----
diff --git a/net-im/pidgin/files/digest-pidgin-2.0.0_beta7 b/net-im/pidgin/files/digest-pidgin-2.0.0_beta7
new file mode 100644 (file)
index 0000000..85d8d02
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c99250bb52453beff56c3ec1c5dac853 pidgin-2.0.0beta7.tar.bz2 7465941
+RMD160 e1b9c4fbb13497fb85774cb3092eeec51bc8d632 pidgin-2.0.0beta7.tar.bz2 7465941
+SHA256 ee154b61c59d23d0977a0339d749db5f64cb91f38d22356403bc413eaf9200eb pidgin-2.0.0beta7.tar.bz2 7465941
diff --git a/net-im/pidgin/metadata.xml b/net-im/pidgin/metadata.xml
new file mode 100644 (file)
index 0000000..9fd518e
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-im</herd>
+<longdescription>
+Pidgin is an instant messaging program for Windows, Linux, BSD, and other Unixes. You can talk to your friends using AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, and Zephyr.
+</longdescription>
+</pkgmetadata>
diff --git a/net-im/pidgin/pidgin-2.0.0_beta7.ebuild b/net-im/pidgin/pidgin-2.0.0_beta7.ebuild
new file mode 100644 (file)
index 0000000..31afcf8
--- /dev/null
@@ -0,0 +1,266 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.0.0_beta7.ebuild,v 1.1 2007/05/01 03:04:18 tester Exp $
+
+inherit flag-o-matic eutils toolchain-funcs multilib mono autotools perl-app gnome2
+
+MY_PV=${P/_beta/beta}
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="http://pidgin.im/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="avahi bonjour cjk crypt dbus debug doc eds gadu gnutls gstreamer meanwhile nls perl silc startup-notification tcl tk xscreensaver custom-cflags spell ssl qq msn gadu"
+IUSE="${IUSE} gtk sasl console groupwise mono"
+
+RDEPEND="
+       bonjour? ( !avahi? ( net-misc/howl )
+                  avahi? ( net-dns/avahi ) )
+       dbus? ( >=dev-libs/dbus-glib-0.71
+               >=dev-python/dbus-python-0.71
+               >=sys-apps/dbus-0.90
+               >=dev-lang/python-2.4 )
+       gtk? (
+               spell? ( >=app-text/gtkspell-2.0.2 )
+               >=x11-libs/gtk+-2.0
+               startup-notification? ( >=x11-libs/startup-notification-0.5 )
+               xscreensaver? ( x11-libs/libXScrnSaver )
+               eds? ( gnome-extra/evolution-data-server )      )
+       >=dev-libs/glib-2.0
+       gstreamer? ( media-libs/gstreamer
+                    media-libs/gst-plugins-good )
+       perl? ( >=dev-lang/perl-5.8.2-r1 )
+       gadu?  ( net-libs/libgadu )
+       ssl? (
+               gnutls? ( net-libs/gnutls )
+               !gnutls? ( >=dev-libs/nss-3.11 )
+       )
+       msn? (
+               gnutls? ( net-libs/gnutls )
+               !gnutls? ( >=dev-libs/nss-3.11 )
+       )
+       meanwhile? ( net-libs/meanwhile )
+       silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
+       tcl? ( dev-lang/tcl )
+       tk? ( dev-lang/tk )
+       gstreamer? ( >=media-libs/gstreamer-0.10 )
+       sasl? ( >=dev-libs/cyrus-sasl-2 )
+       doc? ( app-doc/doxygen )
+       dev-libs/libxml2
+       mono? ( dev-lang/mono )"
+
+DEPEND="$RDEPEND
+       dev-util/pkgconfig
+       nls? ( sys-devel/gettext )"
+
+# PDEPEND="crypt? ( >=x11-plugins/gaim-encryption-3.0_beta5 )"
+
+S="${WORKDIR}/${MY_PV}"
+
+# Enable Default protocols
+DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple"
+
+# List of plugins yet to be ported (will be removed at some point)
+#   app-accessibility/festival-gaim
+#   net-im/gaim-blogger
+#   net-im/gaim-bnet
+#   net-im/gaim-meanwhile (integrated in gaim)
+#   net-im/gaim-snpp
+#   x11-plugins/autoprofile
+#   x11-plugins/gaim-assistant
+#   x11-plugins/gaim-encryption
+#   x11-plugins/gaim-latex
+#   x11-plugins/gaim-otr
+#   x11-plugins/gaimosd
+#   x11-plugins/guifications
+
+# List of plugins
+#   x11-plugins/pidgin-extprefs
+#   x11-plugins/gaim-rhythmbox
+
+
+print_pidgin_warning() {
+       ewarn
+       ewarn "While previous betas in the 2.0.0 series have been extremely"
+       ewarn "stable, and we recommended their use, this release is actually"
+       ewarn "of beta quality. This is our first release to reflect the name"
+       ewarn "change from Gaim to Pidgin, and so there are a lot of fairly "
+       ewarn "significant changes here, which we'd like to see have broader "
+       ewarn "testing before declaring it ready for release."
+       ewarn
+       ewarn "We strongly recommend that you backup your ~/.gaim directory"
+       ewarn "before running Pidgin for the first time. Things you should be"
+       ewarn "on the lookout for include problems with preferences being lost"
+       ewarn "or forgotten, buddy icons not working as you expect, plugins or"
+       ewarn "other external files not properly being found."
+       ewarn
+       ewarn
+       ewarn "If you are merging ${MY_P} from an earlier version of gaim,"
+       ewarn "you may need to re-merge any plugins like gaim-encryption or"
+       wearn " gaim-snpp."
+       ewarn
+       ewarn "If you experience problems with pidgin, file them as bugs with"
+       ewarn "Gentoo's bugzilla, http://bugs.gentoo.org.  DO NOT report them"
+       ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
+       ewarn "seek help in #pidgin."
+       ewarn
+       ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
+       ewarn "faults, see http://pidgin.im/gdb.php for details on"
+       ewarn "backtraces."
+       ewarn
+       ewarn "Please read the pidgin FAQ at http://pidgin.im/faq.php"
+       ewarn
+       einfo
+       if  use custom-cflags; then
+               einfo "Note that you have chosen NOT TO FILTER UNSTABLE C[XX]FLAGS."
+               einfo "DO NOT file bugs with GENTOO or UPSTREAM while using custom-cflags"
+               einfo
+       else
+               einfo "Note that we are now filtering all unstable flags in C[XX]FLAGS."
+               einfo
+       fi
+}
+
+pkg_setup() {
+       print_pidgin_warning
+
+       if use bonjour && use avahi && ! built_with_use net-dns/avahi howl-compat ; then
+       eerror
+       eerror "You need to rebuild net-dns/avahi with USE=howl-compat in order"
+       eerror  "to enable howl support for the bonjour protocol in pidgin."
+       eerror
+       die "Configure failed"
+       fi
+
+       if use gadu && built_with_use net-libs/libgadu ssl ; then
+       eerror
+       eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
+       eerror "enable gadu gadu support in pidgin."
+       eerror
+       die "Configure failed"
+       fi
+
+       if use console &&  ! built_with_use sys-libs/ncurses unicode; then
+               eerror
+               eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
+               eerror "to build finch the console client of pidgin."
+               eerror
+               die "Configure failed"
+       fi
+
+       if ! use gtk && ! use console; then
+               einfo
+               elog "As you did not pick gtk or console use flag, building"
+               elog "console only."
+               einfo
+       fi
+}
+
+src_compile() {
+       # Stabilize things, for your own good
+       if ! use custom-cflags; then
+               strip-flags
+       fi
+       replace-flags -O? -O2
+
+       # -msse2 doesn't play nice on gcc 3.2
+       [ "`gcc-version`" == "3.2" ] && filter-flags -msse2
+
+       local myconf
+
+       if use gadu; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
+                       myconf="${myconf} --with-gadu-includes=."
+                       myconf="${myconf} --with-gadu-libs=."
+       fi
+
+       if use silc; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
+       fi
+
+       if use qq; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
+       fi
+
+       if use meanwhile; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
+       fi
+
+       if use bonjour; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
+       fi
+
+       if use msn; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},msn"
+       fi
+
+       if use groupwise; then
+               DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
+       fi
+
+       if use ssl || use msn ; then
+               if use gnutls ; then
+                       einfo "Disabling NSS, using GnuTLS"
+                       myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
+                       myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
+                       myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
+               else
+                       einfo "Disabling GnuTLS, using NSS"
+                       myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
+               fi
+       else
+               einfo "No SSL support selected"
+               myconf="${myconf} --enable-gnutls=no --enable-nss=no"
+       fi
+
+       if use xscreensaver ; then
+                       myconf="${myconf} --x-includes=/usr/include/X11"
+       fi
+
+       if ! use console && ! use gtk; then
+               myconf="${myconf} --enable-consoleui"
+       else
+               myconf="${myconf} $(use_enable console consoleui) $(use_enable gtk gtkui)"
+       fi
+
+       econf \
+               $(use_enable nls) \
+               $(use_enable perl) \
+               $(use_enable startup-notification) \
+               $(use_enable tcl) \
+               $(use_enable gtk sm) \
+               $(use_enable spell gtkspell) \
+               $(use_enable tk) \
+               $(use_enable xscreensaver screensaver) \
+               $(use_enable debug) \
+               $(use_enable dbus) \
+               $(use_enable meanwhile) \
+               $(use_enable eds gevolution) \
+               $(use_enable gstreamer) \
+               $(use_enable sasl cyrus-sasl ) \
+               $(use_enable doc doxygen) \
+               $(use_enable mono) \
+               "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
+               ${myconf} || die "Configuration failed"
+
+       # This is a tempory fix until Makefile is fixed!!
+       if use mono; then
+               emake -j1
+       else
+               emake
+       fi
+}
+
+src_install() {
+       gnome2_src_install
+       use perl && fixlocalpod
+       dodoc AUTHORS COPYING HACKING INSTALL NEWS PROGRAMMING_NOTES README ChangeLog
+}
+
+pkg_postinst() {
+       gnome2_gconf_install
+       print_pidgin_warning
+}