pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/obpager - patch-ac: Fix bug that made desktop switc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ec0134f6bb1
branches:  trunk
changeset: 545255:2ec0134f6bb1
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jul 29 19:30:35 2008 +0000

description:
- patch-ac: Fix bug that made desktop switching not work
- While here, fix DESTDIR support
- Bump PKGREVISION

diffstat:

 wm/obpager/Makefile         |   9 +++++++--
 wm/obpager/distinfo         |   3 ++-
 wm/obpager/patches/patch-ac |  13 +++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (64 lines):

diff -r 76b94e6df197 -r 2ec0134f6bb1 wm/obpager/Makefile
--- a/wm/obpager/Makefile       Tue Jul 29 19:02:50 2008 +0000
+++ b/wm/obpager/Makefile       Tue Jul 29 19:30:35 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/06/20 18:09:24 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2008/07/29 19:30:35 tnn Exp $
 #
 
 DISTNAME=      obpager-1.8
+PKGREVISION=   1
 CATEGORIES=    wm
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=obpager/}
 
@@ -9,6 +10,8 @@
 HOMEPAGE=      http://obpager.sourceforge.net/
 COMMENT=       Lightweight pager applet for OpenBox
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c++
 NO_CONFIGURE=  yes
 USE_TOOLS+=    gmake
@@ -16,8 +19,10 @@
 CPPFLAGS+=     -I${X11BASE}/include/X11
 CPPFLAGS+=     -I${X11BASE}/include/X11/extensions
 
+INSTALLATION_DIRS=     bin
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/obpager ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/obpager ${DESTDIR}${PREFIX}/bin
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
diff -r 76b94e6df197 -r 2ec0134f6bb1 wm/obpager/distinfo
--- a/wm/obpager/distinfo       Tue Jul 29 19:02:50 2008 +0000
+++ b/wm/obpager/distinfo       Tue Jul 29 19:30:35 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/06/20 18:09:24 tnn Exp $
+$NetBSD: distinfo,v 1.2 2008/07/29 19:30:35 tnn Exp $
 
 SHA1 (obpager-1.8.tar.gz) = e97ecf8f44d5b787cdb5bfa853ab76eac919323a
 RMD160 (obpager-1.8.tar.gz) = 45ca48aa8745fae522e7b0caf7b5a99d956e5413
 Size (obpager-1.8.tar.gz) = 23773 bytes
 SHA1 (patch-aa) = 2f701f8e3b8f81335ba2ad2478d2b3faf66b2126
 SHA1 (patch-ab) = 7640ba0f05b27ffd7411fb9d6004511d5b6262f5
+SHA1 (patch-ac) = 49fb38f13f6b98c40caa62e6b97413ab4d2d40b8
diff -r 76b94e6df197 -r 2ec0134f6bb1 wm/obpager/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/obpager/patches/patch-ac       Tue Jul 29 19:30:35 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2008/07/29 19:30:35 tnn Exp $
+
+--- src/OBPager.cc.orig        2004-09-01 16:23:44.000000000 +0200
++++ src/OBPager.cc
+@@ -1096,7 +1096,7 @@ void OBPager::gotoDesktop(int newDesktop
+       event.xclient.format = 32;
+       event.xclient.data.l[0] = newDesktop;
+       
+-      XSendEvent(mDisplay(), rootWindow, False, SubstructureNotifyMask, &event);
++      XSendEvent(mDisplay(), rootWindow, False, PropertyChangeMask, &event);
+ }
+ 
+ 



Home | Main Index | Thread Index | Old Index