Subject: pkg/21852: Updated package wm/pekwm to 0.1.3 ( maintainer )
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 06/11/2003 08:57:45
>Number:         21852
>Category:       pkg
>Synopsis:       Updated package wm/pekwm to 0.1.3 ( maintainer )
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 11 07:00:02 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6T
>Organization:
Juan RP		jrp@hispabsd.org
--
>Environment:
System: NetBSD Nocturno 1.6T NetBSD 1.6T (Nocturno) #15: Tue Jun 10 20:59:57 CEST 2003 juan@Nocturno:/home/juan/current/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:

pekwm 0.1.3 is out.

Changes:

 * Keygrabber now support keychains.
 * Dynamic menus, lets you execute a script and generate menus on the fly
   when they're viewed.
 * Basic titlerules that make you rewrite titles.
 * Unified config format for all actions.
 * Multiple actions per event/entry.
 * Workspace change by moving the mouse.

--

From my side, use PKG_INSTALL for allow to the administrator
to set up the global configuration files.
Added the perl dependency required by 2 scripts.
Change HOMEPAGE and MASTER_SITES to new website.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/pekwm/Makefile,v
retrieving revision 1.2
diff -b -u -r1.2 Makefile
--- Makefile	2003/02/05 18:43:22	1.2
+++ Makefile	2003/06/11 06:49:35
@@ -1,18 +1,42 @@
 # $NetBSD: Makefile,v 1.2 2003/02/05 18:43:22 dmcmahill Exp $
 #
 
-DISTNAME=	pekwm-0.1.2
+DISTNAME=	pekwm-0.1.3
 CATEGORIES=	wm
-MASTER_SITES=	http://pekwm.babblica.net/files/source/
+MASTER_SITES=	http://pekwm.pekdon.net/files/source/
+EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	jrp@hispabsd.org
-HOMEPAGE=	http://pekwm.babblica.net/
+HOMEPAGE=	http://pekwm.org/
 COMMENT=	Window manager based on aewm++
 
 GNU_CONFIGURE=	YES
 USE_BUILDLINK2=	YES
 USE_GMAKE=	YES
 USE_X11=	YES
+USE_PERL5=	build
+USE_PKGINSTALL=	YES
 
+REPLACE_PERL=	${WRKSRC}/data/scripts/pekwm_themeset.pl \
+		${WRKSRC}/data/scripts/pekwm_ws_menu.pl
+
+PKG_SYSCONFSUBDIR=	pekwm
+
+EGDIR=		${PREFIX}/share/examples/pekwm
+CONF_FILES=	${EGDIR}/autoproperties ${PKG_SYSCONFDIR}/autoproperties
+CONF_FILES+=	${EGDIR}/config ${PKG_SYSCONFDIR}/config
+CONF_FILES+=	${EGDIR}/keys ${PKG_SYSCONFDIR}/keys
+CONF_FILES+=	${EGDIR}/menu ${PKG_SYSCONFDIR}/menu
+CONF_FILES+=	${EGDIR}/mouse ${PKG_SYSCONFDIR}/mouse
+CONF_FILES+=	${EGDIR}/start ${PKG_SYSCONFDIR}/start
+
+pre-install:
+	${INSTALL_DATA_DIR} ${EGDIR}
+	( cd ${WRKSRC}/data && 		\
+		for f in autoproperties config keys menu mouse start; do \
+			${INSTALL_DATA} $$f ${EGDIR}; \
+		done )
+	
+.include "../../lang/perl5/buildlink2.mk"
 .include "../../graphics/xpm/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/wm/pekwm/PLIST,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 PLIST
--- PLIST	2002/12/17 10:53:22	1.1.1.1
+++ PLIST	2003/06/11 06:49:35
@@ -1,35 +1,51 @@
 @comment $NetBSD: PLIST,v 1.1.1.1 2002/12/17 10:53:22 jmmv Exp $
 bin/pekwm
 man/man1/pekwm.1
-share/pekwm/autoprops
-share/pekwm/config
-share/pekwm/keys
-share/pekwm/menu
-share/pekwm/mouse
-share/pekwm/start
-share/pekwm/themes/default/bottom.xpm
-share/pekwm/themes/default/btn-close-fo.xpm
-share/pekwm/themes/default/btn-close-pr.xpm
-share/pekwm/themes/default/btn-close-un.xpm
-share/pekwm/themes/default/btn-max-fo.xpm
-share/pekwm/themes/default/btn-max-pr.xpm
-share/pekwm/themes/default/btn-max-un.xpm
-share/pekwm/themes/default/btn-min-fo.xpm
-share/pekwm/themes/default/btn-min-pr.xpm
-share/pekwm/themes/default/btn-min-un.xpm
-share/pekwm/themes/default/harbour.xpm
-share/pekwm/themes/default/left.xpm
-share/pekwm/themes/default/right.xpm
-share/pekwm/themes/default/separator-fo.xpm
-share/pekwm/themes/default/separator-un.xpm
-share/pekwm/themes/default/side-un.xpm
-share/pekwm/themes/default/side.xpm
+share/examples/pekwm/autoproperties
+share/examples/pekwm/config
+share/examples/pekwm/keys
+share/examples/pekwm/menu
+share/examples/pekwm/mouse
+share/examples/pekwm/start
+share/pekwm/scripts/pekwm_themeset.pl
+share/pekwm/scripts/pekwm_ws_menu.pl
 share/pekwm/themes/default/theme
 share/pekwm/themes/default/theme.in
-share/pekwm/themes/default/top.xpm
-share/pekwm/themes/default/win-focus.xpm
-share/pekwm/themes/default/win-select.xpm
-share/pekwm/themes/default/win-unfocus.xpm
+share/pekwm/themes/default/b-bottom-c.xpm
+share/pekwm/themes/default/b-bottom-l.xpm
+share/pekwm/themes/default/b-bottom-r.xpm
+share/pekwm/themes/default/b-side-l.xpm
+share/pekwm/themes/default/b-side-r.xpm
+share/pekwm/themes/default/b-top-c.xpm
+share/pekwm/themes/default/b-top-l.xpm
+share/pekwm/themes/default/b-top-r.xpm
+share/pekwm/themes/default/btn-b-left-fo.xpm
+share/pekwm/themes/default/btn-b-left-pr.xpm
+share/pekwm/themes/default/btn-b-left-un.xpm
+share/pekwm/themes/default/btn-b-right-fo.xpm
+share/pekwm/themes/default/btn-b-right-pr.xpm
+share/pekwm/themes/default/btn-b-right-un.xpm
+share/pekwm/themes/default/sep-fo.xpm
+share/pekwm/themes/default/sep-un.xpm
+share/pekwm/themes/default/win-fo-sel.xpm
+share/pekwm/themes/default/win-fo.xpm
+share/pekwm/themes/default/win-un-sel.xpm
+share/pekwm/themes/default/win-un.xpm
+share/pekwm/themes/minimal/theme
+share/pekwm/themes/minimal/theme.in
+share/pekwm/themes/minimal/bd-hrz.xpm
+share/pekwm/themes/minimal/bd-vrt.xpm
+share/pekwm/themes/minimal/fo-bd-c.xpm
+share/pekwm/themes/minimal/fo-btn-cl.xpm
+share/pekwm/themes/minimal/fo-btn-ic.xpm
+share/pekwm/themes/minimal/fo-btn-ma.xpm
+share/pekwm/themes/minimal/fo-win.xpm
+share/pekwm/themes/minimal/harbour.xpm
+share/pekwm/themes/minimal/se-win.xpm
+share/pekwm/themes/minimal/un-bd-c.xpm
+share/pekwm/themes/minimal/un-win.xpm
+share/pekwm/themes/minimal/unse-win.xpm
+@dirrm share/pekwm/themes/minimal
 @dirrm share/pekwm/themes/default
-@dirrm share/pekwm/themes
-@dirrm share/pekwm
+@dirrm share/pekwm/scripts
+@dirrm share/examples/pekwm
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/wm/pekwm/distinfo,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 distinfo
--- distinfo	2002/12/17 10:53:22	1.1.1.1
+++ distinfo	2003/06/11 06:49:35
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2002/12/17 10:53:22 jmmv Exp $
 
-SHA1 (pekwm-0.1.2.tar.gz) = f758bbb77d607cfb875f8bd9f12ce268ebd69ae0
-Size (pekwm-0.1.2.tar.gz) = 225163 bytes
-SHA1 (patch-aa) = 0fd38beb72f79cce37c882e31a7029b7bd398f2c
+SHA1 (pekwm-0.1.3.tar.bz2) = be56ab7e293e6ec0801b015e874d34774412ce28
+Size (pekwm-0.1.3.tar.bz2) = 1694563 bytes
+SHA1 (patch-aa) = 83cc309e16030c969679c3684db89d694a184c53
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/wm/pekwm/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 patch-aa
--- patches/patch-aa	2002/12/17 10:53:23	1.1.1.1
+++ patches/patch-aa	2003/06/11 06:49:35
@@ -1,13 +1,18 @@
 $NetBSD: patch-aa,v 1.1.1.1 2002/12/17 10:53:23 jmmv Exp $
 
---- src/Makefile.in.orig	Mon Nov 18 20:18:53 2002
-+++ src/Makefile.in
-@@ -20,7 +20,7 @@ CC = @CXX@
- BIN_MODE = 755
- DEFINES = -DPREFIX=\"$(prefix)\" -DDATADIR=\"$(DATADIR)\"
- CXXFLAGS = @CXXFLAGS@ $(DEFINES)
--LDFLAGS = @LIBS@
-+LDFLAGS = @LIBS@ @LDFLAGS@
+--- data/Makefile.in.orig	2003-06-11 08:17:10.000000000 +0200
++++ data/Makefile.in	2003-06-11 08:18:18.000000000 +0200
+@@ -19,13 +19,6 @@
+ 	( cd themes && ${MAKE} )
  
+ install: all
+-	mkdir -p $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) config $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) menu $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) keys $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) mouse $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) autoproperties $(DESTDIR)$(SYSCONFDIR)
+-	$(INSTALL) -m $(DATA_MODE) start $(DESTDIR)$(SYSCONFDIR)
+ 	( cd themes && ${MAKE} install )
+ 	( cd scripts && ${MAKE} install )
  
- # Source Files
>Release-Note:
>Audit-Trail:
>Unformatted: