[or-cvs] r16194: Updated purple plugin pack and made the patching work. (in incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack: . files)

anonym at seul.org anonym at seul.org
Fri Jul 25 13:54:13 UTC 2008


Author: anonym
Date: 2008-07-25 09:54:12 -0400 (Fri, 25 Jul 2008)
New Revision: 16194

Added:
   incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild
Removed:
   incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild
Modified:
   incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/Manifest
   incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/files/hide-stuff.patch
Log:
Updated purple plugin pack and made the patching work.


Modified: incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/Manifest
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/Manifest	2008-07-25 13:53:02 UTC (rev 16193)
+++ incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/Manifest	2008-07-25 13:54:12 UTC (rev 16194)
@@ -1,3 +1,3 @@
-AUX hide-stuff.patch 966 RMD160 80fec9f2e729ad563e7421a7ae760052dc59adc0 SHA1 9b276fb54b6573a56072999cb63e34c87eba7b12 SHA256 69e95fbac45bee3fa61033f554697226da768db381be66aa0cb1aed97a0ccad6
-DIST purple-plugin_pack-2.2.0.tar.bz2 563193 RMD160 af51155a0e95ff9710a30a2848d12e99facfb0d8 SHA1 ed69399adeae5b17c830911ee961e7766f230099 SHA256 9792d6192cae8de481c6f0141611be559eb73f3d5642feb51953495c5e8506d8
-EBUILD purple-plugin_pack-2.2.0.ebuild 2340 RMD160 8c857447d3fe3f3c2eeb7748b05b0a5e41facf9f SHA1 7a90b60d2db57539450a516ed5bb1f1491406b4c SHA256 6aa062305c87c17d062d3d47e0f142fb738091f9339bcdd7cb07bc3dd4c621da
+AUX hide-stuff.patch 1899 RMD160 bde77d9aa7b71876d9c082d96b8a8ff5344d6a01 SHA1 9f5dc5e582399cb46568667a61711a6c40ac237f SHA256 03cf99a89cf11738eb8d6efeb40de84c671b88d2566af6c5e27672f8375bf655
+DIST purple-plugin_pack-2.3.0.tar.bz2 576204 RMD160 d94f7eb50cbe53933f858a9ee62c6cd6a78da9f0 SHA1 8697f945d4ed6805f9a771815de210668fd6b01d SHA256 f55681dd90c2caf057e6e16f72e862d09dee714d1e8afa8f4adf3c209a292f5a
+EBUILD purple-plugin_pack-2.3.0.ebuild 2416 RMD160 8e8a229c352c468451303cdd8a6f720486815a8b SHA1 8ad8cf15e784283b3386649f3aabbd5f45ce25f5 SHA256 8b2949c4c52affe8f38b637bb060ae39533e7ee782b9cb73173cccbc8df60351

Modified: incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/files/hide-stuff.patch
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/files/hide-stuff.patch	2008-07-25 13:53:02 UTC (rev 16193)
+++ incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/files/hide-stuff.patch	2008-07-25 13:54:12 UTC (rev 16194)
@@ -1,7 +1,6 @@
-diff -Nur purple-plugin_pack-2.2.0.orig/irc-more/irc-more.c purple-plugin_pack-2.2.0/irc-more/irc-more.c
---- purple-plugin_pack-2.2.0.orig/irc-more/irc-more.c	2008-07-25 02:56:30.000000000 +0200
-+++ purple-plugin_pack-2.2.0/irc-more/irc-more.c	2008-07-25 02:57:22.000000000 +0200
-@@ -29,9 +29,9 @@
+--- purple-plugin_pack-2.3.0.orig/irc-more/irc-more.c	2008-07-25 04:43:42.000000000 +0200
++++ purple-plugin_pack-2.3.0/irc-more/irc-more.c	2008-07-25 05:03:30.000000000 +0200
+@@ -30,9 +30,9 @@
  
  #include <string.h>
  
@@ -14,3 +13,20 @@
  #define SET_UMODES    purple_account_get_string(account, "umodes", "i")
  #define UNSET_UMODES  purple_account_get_string(account, "umodes", NULL)
  
+@@ -241,13 +241,13 @@
+ 	irc_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
+ 
+ 	/* Alphabetize the option label strings */
+-	option = purple_account_option_string_new(_("CTCP Version reply"), "ctcp-message", "Purple IRC");
++	option = purple_account_option_string_new(_("CTCP Version reply"), "ctcp-message", "");
+ 	irc_info->protocol_options = g_list_append(irc_info->protocol_options, option);
+ 
+-	option = purple_account_option_string_new(_("Default Quit Message"), "quit-message", "Leaving.");
++	option = purple_account_option_string_new(_("Default Quit Message"), "quit-message", "");
+ 	irc_info->protocol_options = g_list_append(irc_info->protocol_options, option);
+ 
+-	option = purple_account_option_string_new(_("Default Part Message"), "part-message", "Leaving.");
++	option = purple_account_option_string_new(_("Default Part Message"), "part-message", "");
+ 	irc_info->protocol_options = g_list_append(irc_info->protocol_options, option);
+ 
+ 	option = purple_account_option_string_new(_("Set User Modes On Connect"), "setumodes", "i");

Deleted: incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild	2008-07-25 13:53:02 UTC (rev 16193)
+++ incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild	2008-07-25 13:54:12 UTC (rev 16194)
@@ -1,80 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.2.0.ebuild,v 1.8 2008/04/03 14:30:11 ranger Exp $
-
-inherit eutils
-
-DESCRIPTION="A package with many different plugins for pidgin and libpurple"
-HOMEPAGE="http://plugins.guifications.org"
-SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc x86"
-IUSE="talkfilters debug gtk ncurses"
-
-DEPEND="net-im/pidgin
-	talkfilters? ( app-text/talkfilters )"
-RDEPEND="${DEPEND}"
-
-PATCHES="${FILESDIR}/hide-stuff.patches"
-
-pkg_setup() {
-	if use gtk && ! built_with_use net-im/pidgin gtk; then
-		eerror "You need to compile net-im/pidgin with USE=gtk to be"
-		eerror "able to compile these plugins with gtk"
-		die "Missing gtk USE flag on net-im/pidgin"
-	fi
-
-	if use ncurses && ! built_with_use net-im/pidgin ncurses; then
-		eerror "You need to compile net-im/pidgin with USE=ncurses to be"
-		eerror "able to compile these plugins with ncurses"
-		die "Missing ncurses USE flag on net-im/pidgin"
-	fi
-}
-
-src_compile() {
-	local plugins=""
-
-	# WARNING
-	# This code to select plugins wont work with 2.2.0
-	# because it ignores --with-plugins completely
-	# and just always builds everything
-
-	# XMMS Remote is disabled due to XMMS being masked
-	DISABLED_PLUGINS="xmmsremote"
-
-	use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters"
-
-	for i in *; do
-		[ -d ${i} ] || continue
-		# We manually disable these plugins
-		if [ -z "${DISABLED_PLUGINS##*${i}*}" ]; then
-			continue
-		fi
-
-		# Only directories with .build files are meant to be built
-		if [ ! -e ${i}/.build ]; then
-			continue
-		fi
-
-		# Those should be generic#
-		if [ -e ${i}/.purple-plugin ]; then
-			plugins="${plugins},${i}"
-		# These require gtk (ie pidgin)
-		elif [ -e ${i}/.pidgin-plugin ]; then
-			use gtk && plugins="${plugins},${i}"
-		# These require ncurses (aka finch)
-		elif [ -e ${i}/.finch-plugin ]; then
-			use ncurses && plugins="${plugins},${i}"
-		fi
-	done
-
-	econf --with-plugins="${plugins:1}" $(use_enable debug) || die "econf failed"
-	emake -j1 || die "emake failed"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed"
-	dodoc AUTHORS ChangeLog NEWS README TODO VERSION
-}

Added: incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild	                        (rev 0)
+++ incognito/trunk/portage.overlay/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild	2008-07-25 13:54:12 UTC (rev 16194)
@@ -0,0 +1,84 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.3.0.ebuild,v 1.1 2008/04/01 02:48:18 tester Exp $
+
+inherit eutils
+
+DESCRIPTION="A package with many different plugins for pidgin and libpurple"
+HOMEPAGE="http://plugins.guifications.org"
+SRC_URI="http://downloads.guifications.org/plugins/Plugin%20Pack/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="talkfilters debug gtk ncurses"
+
+DEPEND="net-im/pidgin
+	talkfilters? ( app-text/talkfilters )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+        unpack ${A}
+        cd "${S}"
+        epatch "${FILESDIR}"/hide-stuff.patch
+}
+
+pkg_setup() {
+	if use gtk && ! built_with_use net-im/pidgin gtk; then
+		eerror "You need to compile net-im/pidgin with USE=gtk to be"
+		eerror "able to compile these plugins with gtk"
+		die "Missing gtk USE flag on net-im/pidgin"
+	fi
+
+	if use ncurses && ! built_with_use net-im/pidgin ncurses; then
+		eerror "You need to compile net-im/pidgin with USE=ncurses to be"
+		eerror "able to compile these plugins with ncurses"
+		die "Missing ncurses USE flag on net-im/pidgin"
+	fi
+}
+
+src_compile() {
+	local plugins=""
+
+	# WARNING
+	# This code to select plugins wont work with 2.2.0
+	# because it ignores --with-plugins completely
+	# and just always builds everything
+
+	# XMMS Remote is disabled due to XMMS being masked
+	DISABLED_PLUGINS="xmmsremote switchspell"
+
+	use talkfilters || DISABLED_PLUGINS="${DISABLED_PLUGINS} talkfilters"
+
+	for i in *; do
+		[ -d ${i} ] || continue
+		# We manually disable these plugins
+		if [ -z "${DISABLED_PLUGINS##*${i}*}" ]; then
+			continue
+		fi
+
+		# Only directories with .build files are meant to be built
+		if [ ! -e ${i}/.build ]; then
+			continue
+		fi
+
+		# Those should be generic#
+		if [ -e ${i}/.purple-plugin ]; then
+			plugins="${plugins},${i}"
+		# These require gtk (ie pidgin)
+		elif [ -e ${i}/.pidgin-plugin ]; then
+			use gtk && plugins="${plugins},${i}"
+		# These require ncurses (aka finch)
+		elif [ -e ${i}/.finch-plugin ]; then
+			use ncurses && plugins="${plugins},${i}"
+		fi
+	done
+
+	econf --with-plugins="${plugins:1}" $(use_enable debug) || die "econf failed"
+	emake -j1 || die "emake failed"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+	dodoc AUTHORS ChangeLog NEWS README TODO VERSION
+}



More information about the tor-commits mailing list