Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-plugins/pidgin-libnotify/, x11-plugins/pidgin-libnotify/files/
Date: Mon, 07 Feb 2011 19:59:44
Message-Id: a33b290d713822287b08662cf03f61ff9b8dd006.nirbheek@gentoo
1 commit: a33b290d713822287b08662cf03f61ff9b8dd006
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 19:58:32 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 19:58:32 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a33b290d
7
8 x11-plugins/pidgin-libnotify: ported to libnotify-0.7 in portage
9
10 ---
11 .../pidgin-libnotify-port-to-libnotify-0.7.patch | 16 --------
12 .../files/pidgin-libnotify-showbutton.patch | 10 -----
13 .../pidgin-libnotify-0.14-r300.ebuild | 41 --------------------
14 3 files changed, 0 insertions(+), 67 deletions(-)
15
16 diff --git a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-port-to-libnotify-0.7.patch b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-port-to-libnotify-0.7.patch
17 deleted file mode 100644
18 index 6f64d9a..0000000
19 --- a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-port-to-libnotify-0.7.patch
20 +++ /dev/null
21 @@ -1,16 +0,0 @@
22 -Port to libnotify-0.7, require it
23 -
24 -Didn't add to configure, no point
25 -
26 ----
27 ---- a/src/pidgin-libnotify.c
28 -+++ b/src/pidgin-libnotify.c
29 -@@ -286,7 +286,7 @@
30 - g_free (tr_body);
31 - return;
32 - }
33 -- notification = notify_notification_new (title, tr_body, NULL, NULL);
34 -+ notification = notify_notification_new (title, tr_body, NULL);
35 - purple_debug_info (PLUGIN_ID, "notify(), new: "
36 - "title: '%s', body: '%s', buddy: '%s'\n",
37 - title, tr_body, best_name (buddy));
38
39 diff --git a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch
40 deleted file mode 100644
41 index 1f84e60..0000000
42 --- a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-showbutton.patch
43 +++ /dev/null
44 @@ -1,10 +0,0 @@
45 ---- src/pidgin-libnotify.c.orig 2007-10-01 20:52:38.000000000 +1000
46 -+++ src/pidgin-libnotify.c 2007-10-01 20:53:20.000000000 +1000
47 -@@ -307,6 +307,7 @@
48 - g_hash_table_insert (buddy_hash, contact, notification);
49 -
50 - g_object_set_data (G_OBJECT(notification), "contact", contact);
51 -+ g_object_set_data (G_OBJECT(notification), "buddy", buddy);
52 -
53 - g_signal_connect (notification, "closed", G_CALLBACK(closed_cb), NULL);
54 -
55
56 diff --git a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r300.ebuild b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r300.ebuild
57 deleted file mode 100644
58 index a01150b..0000000
59 --- a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r300.ebuild
60 +++ /dev/null
61 @@ -1,41 +0,0 @@
62 -# Copyright 1999-2011 Gentoo Foundation
63 -# Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14.ebuild,v 1.7 2010/07/22 20:19:32 pva Exp $
65 -
66 -EAPI="2"
67 -
68 -inherit eutils
69 -
70 -DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface"
71 -HOMEPAGE="http://gaim-libnotify.sourceforge.net/"
72 -SRC_URI="mirror://sourceforge/gaim-libnotify/${P}.tar.gz"
73 -
74 -LICENSE="GPL-2"
75 -SLOT="0"
76 -KEYWORDS="~amd64 ~ppc ~x86"
77 -IUSE="nls debug"
78 -
79 -RDEPEND=">=x11-libs/libnotify-0.7.0
80 - net-im/pidgin[gtk]
81 - x11-libs/gtk+:2"
82 -
83 -DEPEND="${RDEPEND}
84 - dev-util/pkgconfig"
85 -
86 -src_prepare() {
87 - epatch "${FILESDIR}"/${PN}-showbutton.patch
88 - epatch "${FILESDIR}"/${PN}-port-to-libnotify-0.7.patch
89 -}
90 -
91 -src_configure() {
92 - econf \
93 - --disable-static \
94 - $(use_enable debug) \
95 - $(use_enable nls)
96 -}
97 -
98 -src_install() {
99 - emake install DESTDIR="${D}" || die "make install failed"
100 - find "${D}" -name '*.la' -delete
101 - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION || die
102 -}