Date: Sun, 6 Jun 1999 00:26:18 -0500 From: Glenn Johnson <gljohns@bellsouth.net> To: Michael Haro <mharo@area51.fremont.ca.us> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/11939: Upgrade of wmsound to 0.9.5 Message-ID: <19990606002618.A29837@gforce.johnson.home> In-Reply-To: <199906052030.NAA42013@freefall.freebsd.org>; from Michael Haro on Sat, Jun 05, 1999 at 01:30:03PM -0700 References: <199906052030.NAA42013@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii On Sat, Jun 05, 1999 at 01:30:03PM -0700, Michael Haro wrote: > The following reply was made to PR ports/11939; it has been noted by GNATS. > > From: Michael Haro <mharo@area51.fremont.ca.us> > To: freebsd-gnats-submit@freebsd.org, gljohns@bellsouth.net > Cc: > Subject: Re: ports/11939: Upgrade of wmsound to 0.9.5 > Date: Sat, 5 Jun 1999 13:29:41 -0700 > > I tested your patch. When I run wmsound, I get: > WMSound Error: Problem loading WMSound Config file! > > Do you know how to fix this error? > > Michael As I mentioned in a previous e-mail, this error is because the WMSound file is not in the user's ~/GNUstep/Defaults directory. I looked into this a bit more and have come to realize that this is a messy problem. As you probably know, in order to use Window Maker, one must first run 'wmaker.inst'. This is in order to get the necessary config files into ~/GNUstep/Defaults. This is true for wmsound as well. If one runs wmaker.inst after installing wmsound, then WMSound will be properly installed into ~/GNUstep/Defaults. Of course, the file can be manually copied as well. This all seems to stem from the fact that the 'Defaults' path is hard-coded into libPropList. The path ~/GNUstep/Defaults is set in the libPropList build. Is it reasonable to define this default to something else? I am not sure what would break, as several Window Maker ports as well as some gnome ports (at least one) use it. I don't know what the proper solution is. I guess a note at the end of the wmsound installation reminding the sysadmin of the need to tell the users of wmsound to copy the installed WMSound file into ~/GNUstep/Defaults would be a minimum. Each user rerunning wmaker.inst would also do the trick. Please note, I am attaching a new diff to the port. The only difference between the attached and what was in the PR is that the attached puts the WMSound file into X11R6/etc/WindowMaker as opposed to X11R6/share/WindowMaker. Also, I will be submitting a port for SoundSets, which I think should probably be a RUN_DEPENDS in wmsound. I will be submitting that in the next week. Thanks. -- Glenn Johnson gljohns@bellsouth.net --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=wmsound-update diff -ruN wmsound.old/Makefile wmsound/Makefile --- wmsound.old/Makefile Sat May 29 16:51:35 1999 +++ wmsound/Makefile Sat Jun 5 23:12:40 1999 @@ -6,7 +6,7 @@ # $Id: Makefile,v 1.4 1999/04/11 21:39:23 jseger Exp $ # -DISTNAME= wmsound-0.9.3 +DISTNAME= wmsound-0.9.5 CATEGORIES= audio windowmaker MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/ @@ -20,9 +20,9 @@ post-install: ${SH} ${FILESDIR}/configure > ${WRKDIR}/WMSound - ${MKDIR} ${PREFIX}/share/WindowMaker/Defaults + ${MKDIR} ${PREFIX}/etc/WindowMaker/ ${INSTALL_DATA} ${WRKDIR}/WMSound \ - ${PREFIX}/share/WindowMaker/Defaults/WMSound + ${PREFIX}/etc/WindowMaker/WMSound ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> diff -ruN wmsound.old/files/md5 wmsound/files/md5 --- wmsound.old/files/md5 Sat May 29 16:51:34 1999 +++ wmsound/files/md5 Sat Jun 5 21:39:11 1999 @@ -1 +1 @@ -MD5 (wmsound-0.9.3.tar.gz) = dcb6acbd293d9ecf0b8a4fdfd6c12189 +MD5 (wmsound-0.9.5.tar.gz) = 86f9b19ca0ca1daa072d76d02943dd3e diff -ruN wmsound.old/patches/patch-aa wmsound/patches/patch-aa --- wmsound.old/patches/patch-aa Sat May 29 16:51:34 1999 +++ wmsound/patches/patch-aa Sat Jun 5 21:39:11 1999 @@ -1,16 +1,16 @@ ---- Imakefile.orig Sun Jan 17 07:56:11 1999 -+++ Imakefile Fri Jan 22 22:14:48 1999 -@@ -1,12 +1,10 @@ +--- Imakefile.orig Sat May 29 17:31:32 1999 ++++ Imakefile Sat May 29 17:32:02 1999 +@@ -1,11 +1,11 @@ #define IHaveSubdirs #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" -PREFIX = /usr/local -- ++XCOMM PREFIX = /usr/local + DESTDIR = $(PREFIX) - XCOMM CDEBUGFLAGS = -Wall -ggdb -DDEBUG --CDEBUGFLAGS = -O6 -ffast-math -+XCOMM CDEBUGFLAGS = -O6 -ffast-math +-CDEBUGFLAGS = -Wall -ggdb -DDEBUG ++XCOMM CDEBUGFLAGS = -Wall -ggdb -DDEBUG + XCOMM CDEBUGFLAGS = -O6 -ffast-math - XCOMM Uncomment the following two lines for HPUX support diff -ruN wmsound.old/pkg/DESCR wmsound/pkg/DESCR --- wmsound.old/pkg/DESCR Sat May 29 16:51:34 1999 +++ wmsound/pkg/DESCR Sat Jun 5 21:39:11 1999 @@ -10,6 +10,8 @@ Window Maker, or upgrade to a newer version. You must set up your sounds to use for various events, ie., iconification. You -can get preset Sounsets from: +can get preset SoundSets from: http://www.frontiernet.net/~southgat/wmsound/sounds/index.shtml + +WWW: http://www.frontiernet.net/~southgat/ diff -ruN wmsound.old/pkg/PLIST wmsound/pkg/PLIST --- wmsound.old/pkg/PLIST Sat May 29 16:51:34 1999 +++ wmsound/pkg/PLIST Sat Jun 5 23:25:24 1999 @@ -3,7 +3,7 @@ bin/getsounds bin/setsounds include/wmsnd.h -share/WindowMaker/Defaults/WMSound +etc/WindowMaker/WMSound lib/libwmsnd.a @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990606002618.A29837>