diff options
author | tnn <tnn> | 2008-07-29 19:30:35 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-07-29 19:30:35 +0000 |
commit | fc7191fd099109c050bf912c7b71bf8be1b82f60 (patch) | |
tree | 2d0d981aebdc3aa216ec7ef3776e0ba758c934d6 /wm/obpager | |
parent | 0000fd75446098202efe8c110885aa08bd9a078f (diff) | |
download | pkgsrc-fc7191fd099109c050bf912c7b71bf8be1b82f60.tar.gz |
- patch-ac: Fix bug that made desktop switching not work
- While here, fix DESTDIR support
- Bump PKGREVISION
Diffstat (limited to 'wm/obpager')
-rw-r--r-- | wm/obpager/Makefile | 9 | ||||
-rw-r--r-- | wm/obpager/distinfo | 3 | ||||
-rw-r--r-- | wm/obpager/patches/patch-ac | 13 |
3 files changed, 22 insertions, 3 deletions
diff --git a/wm/obpager/Makefile b/wm/obpager/Makefile index 5373769bd0a..c7a4584c4b8 100644 --- a/wm/obpager/Makefile +++ b/wm/obpager/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ USE_TOOLS+= gmake 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 --git a/wm/obpager/distinfo b/wm/obpager/distinfo index 0947e181ca9..98c80f19cd3 100644 --- a/wm/obpager/distinfo +++ b/wm/obpager/distinfo @@ -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 --git a/wm/obpager/patches/patch-ac b/wm/obpager/patches/patch-ac new file mode 100644 index 00000000000..03f8e1fdee5 --- /dev/null +++ b/wm/obpager/patches/patch-ac @@ -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); + } + + |