Permalink
Browse files

fix gfire's breakage against more recent api changes in libnotify >=0…

….7.1
  • Loading branch information...
1 parent dbea679 commit 49824d836e63e41f16b325ccc2d4b8fc70c9dc5a @nightmorph committed Jan 24, 2012
Showing with 11 additions and 3 deletions.
  1. +1 −1 x11-plugins/pidgin-gfire/Manifest
  2. +10 −2 x11-plugins/pidgin-gfire/pidgin-gfire-0.9.4.ebuild
@@ -1,3 +1,3 @@
DIST pidgin-gfire-0.9.4.tar.bz2 499352 RMD160 d8eb757353f0a40b990430409239416d3d65fc38 SHA1 1bcfd30d4ca72f0f20acbb843fa838ee6b9809f9 SHA256 f69d713b68f18d4037c1f37a7b1a459e048ee7c626f262b80480f60e78ebde71
-EBUILD pidgin-gfire-0.9.4.ebuild 774 RMD160 33859e93dee471fad9c4fa6b0c2f9f749c919215 SHA1 d2326622ee0ed79d3bb543ba0456d51013409106 SHA256 68712d28fd912047864d4832e1d65bad01dce3c9876fb215ad873964b474e260
+EBUILD pidgin-gfire-0.9.4.ebuild 1173 RMD160 238c28b6e921a70a718e479480eed8044e067728 SHA1 a9fad5853312987ef58cd926df50aa3e9f1de0e0 SHA256 266ca5dd001d4dcffe001e72e12bf1c9c807e86ca8d379dc80f02339f3717e0c
MISC metadata.xml 358 RMD160 2b78ef27855a45d634e667678c2b760fa227ae8e SHA1 76ff8c8a6e3488cbc488f3d5450a84e564215b5f SHA256 98b27a350213dc7e2ddd4e2f765e5446d22f15e55e59296be367eff701daeef3
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="2"
+EAPI="3"
+
+inherit eutils
DESCRIPTION="An Xfire plugin for Pidgin"
HOMEPAGE="http://gfire.sourceforge.net/"
@@ -21,6 +23,12 @@ RDEPEND="dbus? ( dev-libs/dbus-glib )
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's/NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL, NULL);/NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL);/g' -e 's/notification = notify_notification_new(p_title, p_msg, NULL, NULL);/notification = notify_notification_new(p_title, p_msg, NULL);/g' src/gf_util.c
+}
+
src_configure() {
econf \
$(use_enable dbus dbus-status) \

0 comments on commit 49824d8

Please sign in to comment.