From carpathia@atgi333cy13xj.bc.hsia.telus.net  Thu Nov 16 22:30:23 2000
Return-Path: <carpathia@atgi333cy13xj.bc.hsia.telus.net>
Received: from atgi333cy13xj.bc.hsia.telus.net (btgn333ky13aj.bc.hsia.telus.net [216.232.205.5])
	by hub.freebsd.org (Postfix) with ESMTP id BC7E737B479
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Nov 2000 22:30:22 -0800 (PST)
Received: (from carpathia@localhost)
	by atgi333cy13xj.bc.hsia.telus.net (8.11.1/8.9.3) id eAH6UGA51854;
	Thu, 16 Nov 2000 22:30:16 -0800 (PST)
	(envelope-from carpathia)
Message-Id: <200011170630.eAH6UGA51854@atgi333cy13xj.bc.hsia.telus.net>
Date: Thu, 16 Nov 2000 22:30:16 -0800 (PST)
From: Jeremy Karlson <karlj000@unbc.ca>
Sender: carpathia@atgi333cy13xj.bc.hsia.telus.net
Reply-To: Jeremy Karlson <karlj000@unbc.ca>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New Port: Popup menu of icons that launch apps for WM dock
X-Send-Pr-Version: 3.2

>Number:         22907
>Category:       ports
>Synopsis:       New Port: Popup menu of icons that launch apps for WM dock
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 16 22:40:01 PST 2000
>Closed-Date:    Mon Nov 20 22:56:40 PST 2000
>Last-Modified:  Mon Nov 20 23:00:03 PST 2000
>Originator:     Jeremy Karlson
>Release:        FreeBSD 4.2-BETA i386
>Organization:
None.
>Environment:

FreeBSD lucretia.twobits.org 4.2-BETA FreeBSD 4.2-BETA #4: Sun Nov 12 14:34:52 PST 2000     root@lucretia.twobits.org:/usr/src/sys/compile/LUCRETIA  i386

>Description:

New Port:
A dockapp for WindowMaker that provides a popup menu of icons that launch
applications, like in AfterStep.  The program can be run more than once at
the same time, which allows many different menus, each one described in a
seperate file.

WWW: http://www.fcoutant.freesurf.fr/wmmenu.html

>How-To-Repeat:

N/A.

>Fix:

What follows is a copy of wmmenu.shar:

---8<--- CUT HERE ---8<---

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/x11/wmmenu/
#	/usr/ports/x11/wmmenu/pkg-comment
#	/usr/ports/x11/wmmenu/Makefile
#	/usr/ports/x11/wmmenu/distinfo
#	/usr/ports/x11/wmmenu/pkg-descr
#	/usr/ports/x11/wmmenu/pkg-plist
#	/usr/ports/x11/wmmenu/files
#	/usr/ports/x11/wmmenu/files/patch-aa
#	/usr/ports/x11/wmmenu/pkg-message
#
echo c - /usr/ports/x11/wmmenu/
mkdir -p /usr/ports/x11/wmmenu/ > /dev/null 2>&1
echo x - /usr/ports/x11/wmmenu/pkg-comment
sed 's/^X//' >/usr/ports/x11/wmmenu/pkg-comment << 'END-of-/usr/ports/x11/wmmenu/pkg-comment'
XA popup menu of icons that launch programs for the WindowMaker dock
END-of-/usr/ports/x11/wmmenu/pkg-comment
echo x - /usr/ports/x11/wmmenu/Makefile
sed 's/^X//' >/usr/ports/x11/wmmenu/Makefile << 'END-of-/usr/ports/x11/wmmenu/Makefile'
X# New ports collection makefile for:	wmmenu
X# Date created:		16 November 2000
X# Whom:			Jeremy <karlj000@unbc.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wmmenu
XPORTVERSION=	0.3
XCATEGORIES=	x11
XMASTER_SITES=	http://www.fcoutant.freesurf.fr/download/
X
XMAINTAINER=	karlj000@unbc.ca
X
XLIB_DEPENDS=	dockapp.1:${PORTSDIR}/x11-wm/libdockapp:install
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wmmenu ${PREFIX}/bin
X	${MKDIR} ${PREFIX}/share/doc/wmmenu
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu
X	${MKDIR} ${PREFIX}/share/doc/wmmenu/example
X	${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/doc/wmmenu/example
X	${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/doc/wmmenu/example
X
Xpost-install:
X	@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-/usr/ports/x11/wmmenu/Makefile
echo x - /usr/ports/x11/wmmenu/distinfo
sed 's/^X//' >/usr/ports/x11/wmmenu/distinfo << 'END-of-/usr/ports/x11/wmmenu/distinfo'
XMD5 (wmmenu-0.3.tar.gz) = 4e94c4caec8238652d4a918d09e65b09
END-of-/usr/ports/x11/wmmenu/distinfo
echo x - /usr/ports/x11/wmmenu/pkg-descr
sed 's/^X//' >/usr/ports/x11/wmmenu/pkg-descr << 'END-of-/usr/ports/x11/wmmenu/pkg-descr'
XA dockapp for WindowMaker that provides a popup menu of icons that launch
Xapplications, like in AfterStep.  The program can be run more than once at
Xthe same time, which allows many different menus, each one described in a
Xseperate file.
X
XWWW: http://www.fcoutant.freesurf.fr/wmmenu.html
X
XJeremy
Xkarlj000@unbc.ca
END-of-/usr/ports/x11/wmmenu/pkg-descr
echo x - /usr/ports/x11/wmmenu/pkg-plist
sed 's/^X//' >/usr/ports/x11/wmmenu/pkg-plist << 'END-of-/usr/ports/x11/wmmenu/pkg-plist'
Xbin/wmmenu
Xshare/doc/wmmenu/example/apps
Xshare/doc/wmmenu/example/defaults
Xshare/doc/wmmenu/README
X@dirrm share/doc/wmmenu/example
X@dirrm share/doc/wmmenu
END-of-/usr/ports/x11/wmmenu/pkg-plist
echo c - /usr/ports/x11/wmmenu/files
mkdir -p /usr/ports/x11/wmmenu/files > /dev/null 2>&1
echo x - /usr/ports/x11/wmmenu/files/patch-aa
sed 's/^X//' >/usr/ports/x11/wmmenu/files/patch-aa << 'END-of-/usr/ports/x11/wmmenu/files/patch-aa'
X--- options.c.BACKUP	Thu Nov 16 21:11:16 2000
X+++ options.c	Thu Nov 16 21:11:25 2000
X@@ -4,7 +4,7 @@
X #include <string.h>
X #include <assert.h>
X /* POSIX */
X-#include <getopt.h>
X+#include <kpathsea/getopt.h>
X 
X #include "options.h"
X #include "version.h"
END-of-/usr/ports/x11/wmmenu/files/patch-aa
echo x - /usr/ports/x11/wmmenu/pkg-message
sed 's/^X//' >/usr/ports/x11/wmmenu/pkg-message << 'END-of-/usr/ports/x11/wmmenu/pkg-message'
XRead %%PREFIX%%/share/doc/wmmenu/README for info on configuring this dockapp.
END-of-/usr/ports/x11/wmmenu/pkg-message
exit

>Release-Note:
>Audit-Trail:

From: Doug Barton <DougB@FreeBSD.org>
To: Jeremy Karlson <karlj000@unbc.ca>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/22907: New Port: Popup menu of icons that launch apps for WM 
 dock
Date: Sun, 19 Nov 2000 15:37:31 -0800

 Jeremy Karlson wrote:
 
 > X+++ options.c  Thu Nov 16 21:11:25 2000
 > X@@ -4,7 +4,7 @@
 > X #include <string.h>
 > X #include <assert.h>
 > X /* POSIX */
 > X-#include <getopt.h>
 > X+#include <kpathsea/getopt.h>
 > X
 > X #include "options.h"
 > X #include "version.h"
 
 	Unfortunately, I couldn't get your port to compile. I don't have a
 kpathsea directory on my system, perhaps your port is missing a
 dependency? 
 
 Doug
 -- 
     Life is an essay test. Long form. Spelling counts.
 
 	Do YOU Yahoo!?
 

From: Carpathia <karlj000@unbc.ca>
To: Doug Barton <DougB@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/22907: New Port: Popup menu of icons that launch apps for WM 
 dock
Date: Sun, 19 Nov 2000 17:27:20 -0800

 > > X+#include <kpathsea/getopt.h>
 >         Unfortunately, I couldn't get your port to compile. I don't have a
 > kpathsea directory on my system, perhaps your port is missing a
 > dependency?
 
 Hmm...  I thought that looked kinda funny, but I wasn't sure.  I'll have
 a look at it, and fix it.  How do you want the fix?
 
 Sorry about that,
 
 -- 
 
 Jeremy
 

From: Carpathia <karlj000@unbc.ca>
To: Doug Barton <DougB@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/22907: New Port: Popup menu of icons that launch apps for WM 
 dock
Date: Sun, 19 Nov 2000 17:52:22 -0800

 This is a multi-part message in MIME format.
 --------------1081889CFC56D8DEDC7A50AD
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Fixed.  It was late and I was tired, what can I say?  :-)
 
 Changed:
 > > X+#include <kpathsea/getopt.h>
 
 to:
 > > X+#include <unistd.h>
 
 in 'files/patch-aa', which should work on everyone's machine.
 
 I've also attached the modified 'patch-aa' file.
 
 Thanks,
 
 Jeremy
 
 Doug Barton wrote:
 > 
 > Jeremy Karlson wrote:
 > 
 > > X+++ options.c  Thu Nov 16 21:11:25 2000
 > > X@@ -4,7 +4,7 @@
 > > X #include <string.h>
 > > X #include <assert.h>
 > > X /* POSIX */
 > > X-#include <getopt.h>
 > > X+#include <kpathsea/getopt.h>
 > > X
 > > X #include "options.h"
 > > X #include "version.h"
 > 
 >         Unfortunately, I couldn't get your port to compile. I don't have a
 > kpathsea directory on my system, perhaps your port is missing a
 > dependency?
 > 
 > Doug
 > --
 >     Life is an essay test. Long form. Spelling counts.
 > 
 >         Do YOU Yahoo!?
 --------------1081889CFC56D8DEDC7A50AD
 Content-Type: text/plain; charset=us-ascii;
  name="patch-aa"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-aa"
 
 --- options.c.BACKUP	Thu Nov 16 21:11:16 2000
 +++ options.c	Thu Nov 16 21:11:25 2000
 @@ -4,7 +4,7 @@
  #include <string.h>
  #include <assert.h>
  /* POSIX */
 -#include <getopt.h>
 +#include <unistd.h>
  
  #include "options.h"
  #include "version.h"
 
 --------------1081889CFC56D8DEDC7A50AD--
 
 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Nov 20 22:56:40 PST 2000 
State-Changed-Why:  

Your port has been committed with a couple of changes. We 
try to give the users a default example that will work 
without modification wherever possible. The user won't 
necessarily have all of the applications listed in the 
default, but we ought to give them a fighting chance by 
making the icon paths more familiar to our standard 
installation. Otherwise, thank you for your submission. :) 


Responsible-Changed-From-To: freebsd-ports->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Mon Nov 20 22:56:40 PST 2000 
Responsible-Changed-Why:  

I did the deed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22907 
>Unformatted:
