summaryrefslogtreecommitdiff
path: root/sysutils/bubblemon
diff options
context:
space:
mode:
authorgdt <gdt>2010-06-14 19:21:06 +0000
committergdt <gdt>2010-06-14 19:21:06 +0000
commit699230cbc42d47da26404a47aae07836b788e8ae (patch)
treedbdb510b33c265c537f198a1e0762e82655601e3 /sysutils/bubblemon
parent3ededf4800cd2d55f21c18536837433e06874d71 (diff)
downloadpkgsrc-699230cbc42d47da26404a47aae07836b788e8ae.tar.gz
Actually add patch referenced in distinfo by previous commit that
addressed use of a deprecated GTK feature. PKGREVISION++ because patches in distinfo that don't exist seem to be silently ignored.
Diffstat (limited to 'sysutils/bubblemon')
-rw-r--r--sysutils/bubblemon/Makefile4
-rw-r--r--sysutils/bubblemon/patches/patch-gtk2-api-change24
2 files changed, 26 insertions, 2 deletions
diff --git a/sysutils/bubblemon/Makefile b/sysutils/bubblemon/Makefile
index 3ea5c880ccd..1c4cb9368eb 100644
--- a/sysutils/bubblemon/Makefile
+++ b/sysutils/bubblemon/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2010/06/13 22:45:21 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/06/14 19:21:06 gdt Exp $
#
DISTNAME= bubblemon-dockapp-1.46
PKGNAME= ${DISTNAME:S/-dockapp//}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/
diff --git a/sysutils/bubblemon/patches/patch-gtk2-api-change b/sysutils/bubblemon/patches/patch-gtk2-api-change
new file mode 100644
index 00000000000..93b52b25f17
--- /dev/null
+++ b/sysutils/bubblemon/patches/patch-gtk2-api-change
@@ -0,0 +1,24 @@
+$NetBSD: patch-gtk2-api-change,v 1.1 2010/06/14 19:21:06 gdt Exp $
+
+--- bubblemon.c.orig 2010-05-30 08:26:17.000000000 +0000
++++ bubblemon.c
+@@ -275,6 +275,8 @@ static void print_usage(void)
+
+ int main(int argc, char **argv)
+ {
++ /* hack borrowed from gentoo, to make info windows also work */
++ setenv("GDK_NATIVE_WINDOWS", "1", 0);
+ char execute[256];
+ int proximity = 0;
+ int ch;
+@@ -605,10 +607,7 @@ static void make_new_bubblemon_dockapp(v
+ gdk_window_set_back_pixmap(bm.iconwin, bm.pixmap, False);
+
+ gdk_window_show(bm.win);
+-#ifdef KDE_DOCKAPP
+- /* makes the dockapp visible inside KDE wm */
+ gdk_window_show(bm.iconwin);
+-#endif
+
+ XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
+