pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/bubblemon fixed in pkgsrc



Hello!

I have fixed bubblemon, to work again, after some searching about how others 
did it, as i could only achieve partial success from my own ideas.

As I cannot use cvs properly, I attach a cvs diff from the directory 
sysutils/bubblemon, and the added patch. Please, should anybody reading this 
message be in power of merging these changes, please do so.Thanks!

Greetings: GÃbor Gergely
$NetBSD$

--- 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);
 
? patches/patch-gtk2-api-change
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/bubblemon/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    26 Aug 2009 19:58:17 -0000      1.2
+++ Makefile    30 May 2010 08:40:35 -0000
@@ -3,7 +3,7 @@
 
 DISTNAME=              bubblemon-dockapp-1.46
 PKGNAME=               ${DISTNAME:S/-dockapp//}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.ne.jp/asahi/linux/timecop/software/
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/bubblemon/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    20 Jul 2009 14:06:02 -0000      1.1.1.1
+++ distinfo    30 May 2010 08:40:35 -0000
@@ -4,5 +4,6 @@
 RMD160 (bubblemon-dockapp-1.46.tar.gz) = 
79e8be36cd11a2c6f4998cd747b6125696603a81
 Size (bubblemon-dockapp-1.46.tar.gz) = 40001 bytes
 SHA1 (patch-gtk2) = 70d4875dcf82dd50362275ddb2902a9d31444d03
+SHA1 (patch-gtk2-api-change) = 03cefe092460f6be846fce91c9281895d2b43ad3
 SHA1 (patch-make) = df95f404612a88ff6b3449ad5476a5e188786435
 SHA1 (patch-uvm) = 580451d5c75dc8d164a65652f0b4e5ae09689160

Attachment: signature.asc
Description: This is a digitally signed message part.



Home | Main Index | Thread Index | Old Index