summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Vasilevski <yvasilev@gentoo.org>2008-02-06 20:24:47 +0000
committerYuri Vasilevski <yvasilev@gentoo.org>2008-02-06 20:24:47 +0000
commit213bcd5854ff34c70e821d013ae6414140335070 (patch)
tree8965b99a5f58566b72c614df732353c18b555e87
parentVersion bump. (diff)
downloadgentoo-2-213bcd5854ff34c70e821d013ae6414140335070.tar.gz
gentoo-2-213bcd5854ff34c70e821d013ae6414140335070.tar.bz2
gentoo-2-213bcd5854ff34c70e821d013ae6414140335070.zip
Added a back ported patch to quieten -debug builds, Bug #95698
(Portage version: 2.1.4.1)
-rw-r--r--x11-plugins/matchbox-applet-input-manager/ChangeLog9
-rw-r--r--x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch22
-rw-r--r--x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild14
3 files changed, 39 insertions, 6 deletions
diff --git a/x11-plugins/matchbox-applet-input-manager/ChangeLog b/x11-plugins/matchbox-applet-input-manager/ChangeLog
index 37fed133b16b..66ad181d9385 100644
--- a/x11-plugins/matchbox-applet-input-manager/ChangeLog
+++ b/x11-plugins/matchbox-applet-input-manager/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/matchbox-applet-input-manager
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/matchbox-applet-input-manager/ChangeLog,v 1.4 2007/09/26 04:02:55 jer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/matchbox-applet-input-manager/ChangeLog,v 1.5 2008/02/06 20:24:46 yvasilev Exp $
+
+ 06 Feb 2008; <yvasilev@gentoo.org>
+ +files/matchbox-applet-input-manager-0.6-sssh_debug.patch,
+ matchbox-applet-input-manager-0.6.ebuild:
+ Added a back ported patch to quieten -debug builds, Bug #95698
26 Sep 2007; Jeroen Roovers <jer@gentoo.org>
matchbox-applet-input-manager-0.6.ebuild:
diff --git a/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch b/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch
new file mode 100644
index 000000000000..cd3f231bf0be
--- /dev/null
+++ b/x11-plugins/matchbox-applet-input-manager/files/matchbox-applet-input-manager-0.6-sssh_debug.patch
@@ -0,0 +1,22 @@
+Index: mb-applet-input-manager-0.6/mbinputmgr-tray.c
+===================================================================
+--- mb-applet-input-manager-0.6/mbinputmgr-tray.c {cset 0f2cc092-505c-44d3-bcdf-2b07f6f6942d}
++++ mb-applet-input-manager-0.6/mbinputmgr-tray.c {local clone}
+@@ -257,13 +257,17 @@ xevent_callback (MBTrayApp *app, XEvent
+ {
+ if (ev->type == ClientMessage)
+ {
++#ifdef DEBUG
+ printf("beep\n");
++#endif
+
+ XClientMessageEvent *cmev = (XClientMessageEvent *)&ev->xconfigure;
+
+ if (cmev->message_type == AtomIMActivate)
+ {
++#ifdef DEBUG
+ printf("beep\n");
++#endif
+
+ /* De Activate */
+ if (cmev->data.l[0] == 0 && mbinputmgr_method_active(Inpmgr_state))
diff --git a/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild b/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild
index 7e57f564faf9..6b629c3f54fc 100644
--- a/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild
+++ b/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2006-2007 Gentoo Foundation
+# Copyright 2006-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild,v 1.3 2007/09/26 04:02:55 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/matchbox-applet-input-manager/matchbox-applet-input-manager-0.6.ebuild,v 1.4 2008/02/06 20:24:46 yvasilev Exp $
-inherit versionator
+inherit versionator eutils
MY_PN=${PN/matchbox/mb}
MY_P=${MY_PN}-${PV}
@@ -23,6 +23,12 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/${MY_P}"
+src_unpack() {
+ unpack ${A}; cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-sssh_debug.patch
+}
+
src_compile() {
econf $(use_enable debug) || die "Configuration failed"
@@ -30,7 +36,7 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die "Installation failed"
+ make DESTDIR="${D}" install || die "Installation failed"
dodoc AUTHORS Changelog INSTALL NEWS README
}