ports/155356: audio/xwave changed master site

Martin Kraft a0516 at marimga.de
Mon Mar 7 18:20:10 UTC 2011


>Number:         155356
>Category:       ports
>Synopsis:       audio/xwave changed master site
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 07 18:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kraft
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD <myhome> 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Feb 26 09:04:27 CET 2011 martin@<myhome>:/usr/obj/usr/src/sys/EICHE i386

>Description:
xwave fails to build because the source file moved and is no longer
available as
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/trevor/xwave2v2.tar.gz

The xwave software is no longer maintained and there is no master site
available besides the FreeBSD ports/distfiles ftp sites.
	

The maintainer got a mail notice from Martin Wilke <miwi at FreeBSD.org> about
this problem. Thank you, Martin.


>How-To-Repeat:
cd /usr/ports/audio/xwave
rm /usr/ports/distfiles/xwave2v2.tar.gz
make
	

>Fix:

Modified the Makefile. The source tarball is now available as
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xwave2v2.tar.gz

Also changed maintainer mail address in the Makefile.

	

--- xwave.shar begins here ---
# 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:
#
#	xwave
#	xwave/files
#	xwave/files/patch-aa
#	xwave/files/patch-ab
#	xwave/files/patch-ac
#	xwave/files/patch-ad
#	xwave/files/patch-ae
#	xwave/files/patch-af
#	xwave/files/patch-ag
#	xwave/files/patch-ah
#	xwave/files/patch-ai
#	xwave/files/patch-aj
#	xwave/files/patch-al
#	xwave/files/patch-ap
#	xwave/files/patch-aq
#	xwave/files/patch-ar
#	xwave/files/patch-as
#	xwave/files/patch-at
#	xwave/Makefile
#	xwave/README.html
#	xwave/distinfo
#	xwave/pkg-descr
#	xwave/pkg-message
#	xwave/pkg-plist
#
echo c - xwave
mkdir -p xwave > /dev/null 2>&1
echo c - xwave/files
mkdir -p xwave/files > /dev/null 2>&1
echo x - xwave/files/patch-aa
sed 's/^X//' >xwave/files/patch-aa << '695f174257931132503d682b7630101a'
X   If /usr/X11R6/lib/libfwf.a exists on the system, (e.g. as a consequence
X   of building the port /usr/ports/x11-toolkits/FWF before), xwave
X   links this file instead of its own (older) libfwf.a.
X
X   In src/Imakefile the line
X
X     XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
X
X   cannot guarantee, that libfwf.a is taken from ../lib, because imake
X   includes -L/usr/X11R6/lib _BEFORE_ -L../lib.
X
X   I am not experienced in compiler options, but replacing the above line
X   by
X
X     XLIBS= ../lib/libfwf.a -lXaw -lXpm -lXmu -lXt -lX11
X
X   does the job.
X
X--- src/Imakefile.orig	Mon Nov  9 00:22:55 1998
X+++ src/Imakefile	Mon Jan  1 12:49:37 2001
X@@ -13,8 +13,14 @@
X PROGRAMS= xwave
X 
X AUDIOLIBS=-L../ccitt -lccitt -L../adpcm2pcm -ladpcm -L../ieee -lieee
X-XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
X-LIBS=  $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm -lc 
X+
X+# XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
X+# "-L../lib -lfwf" substituted by "../lib/libfwf.a" because Linker
X+# used /usr/X11R6/lib/libfwf.a on systems, where this file exists.
X+# 2001-01-01 Martin Kraft
X+
X+XLIBS= ../lib/libfwf.a -lXaw -lXpm -lXmu -lXt -lX11
X+LIBS=  $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm
X 
X NormalProgramTarget(xwave,$(OBJS),,$(LIBS),)
X 
695f174257931132503d682b7630101a
echo x - xwave/files/patch-ab
sed 's/^X//' >xwave/files/patch-ab << '08b1a0cfa75bca901170d9264805eb4c'
X--- src/aifc.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/aifc.c	Fri Jun 30 19:49:15 2000
X@@ -9,7 +9,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
08b1a0cfa75bca901170d9264805eb4c
echo x - xwave/files/patch-ac
sed 's/^X//' >xwave/files/patch-ac << '05a8c72a99b6b3c61a546c13f7f0049a'
X--- src/au.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/au.c	Fri Jun 30 19:49:15 2000
X@@ -32,7 +32,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
05a8c72a99b6b3c61a546c13f7f0049a
echo x - xwave/files/patch-ad
sed 's/^X//' >xwave/files/patch-ad << '0b61275ff70ed9398b2cdc500f74a581'
X--- src/audio.c.orig	Sun Nov  8 15:22:55 1998
X+++ src/audio.c	Sun Sep  8 03:35:52 2002
X@@ -37,8 +37,8 @@
X #ifdef linux
X #include <linux/soundcard.h>
X 
X-#elif defined(FreeBSD)
X-#include <machine/soundcard.h>
X+#elif defined(__FreeBSD__)
X+#include <sys/soundcard.h>
X 
X #elif defined(sgi)
X #include <dmedia/audio.h>
X@@ -55,7 +55,7 @@
X #include "sample_settings.h"
X #include "audio.h"
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun) 
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun) 
X static int set_dsp(int o_mode,int res,int channels,int freq,int *buf_size);
X #endif
X 
X@@ -67,7 +67,7 @@
X static Audio_File af;
X static int stop_record;
X 
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X int set_dsp(int o_mode,int res, int channels, int freq, int *buf_size)
X {
X     int check;
X@@ -369,7 +369,7 @@
X 
X void play_file(char *fname,Main_Bool *mb)
X {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X #elif defined(sgi)
X     ALport port;
X@@ -383,7 +383,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     if ((audio=set_dsp(O_WRONLY,af.bps,af.channels,af.freq,&buf_size))==-1) {
X 	fprintf(stderr,"XWave: Error ! Cannot set dsp !\n");
X 	close(af.fd);
X@@ -403,7 +403,7 @@
X     if ((buffer=malloc(buf_size))==NULL) {
X 	fprintf(stderr,"XWave: Error ! Cannot alloc mem !\n");
X 	close(af.fd);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -412,7 +412,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     while ((length=af_read(af,buffer,buf_size))>0) {
X 	if (write(audio, buffer, length)==-1) break;
X     }
X@@ -439,7 +439,7 @@
X     int offset=0,playlength,length;
X #ifdef sgi
X     ALport port;
X-#elif defined(linux) || defined (FreeBSD) || defined (sun)
X+#elif defined(linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_WRONLY,wd->res,wd->channels,wd->freq,&buf_size))==-1) {
X@@ -472,7 +472,7 @@
X         buffer=wd->buffer+offset;
X         while (playlength>0) {
X             if (playlength<buf_size) buf_size=playlength;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             if (write(audio, buffer, buf_size)==-1) {
X                 close(audio);
X                 kill((pid_t) getppid(),SIGUSR1);
X@@ -497,7 +497,7 @@
X         wd2af(wd,&af);
X         af_rewind(af);
X         if (af_seek(af,offset,SEEK_CUR)==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             close(audio);
X #elif defined(sgi)
X             ALcloseport(port);
X@@ -510,7 +510,7 @@
X         while (playlength>0) {
X             if (playlength<buf_size) buf_size=playlength;
X             if ((length=af_read(af,(char*) md->mg->fbuf,buf_size))==-1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X                 close(audio);
X #elif defined(sgi)
X                 ALcloseport(port);
X@@ -518,7 +518,7 @@
X                 kill((pid_t) getppid(),SIGUSR1);
X                 return;
X             }
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             if (write(audio,(char*) md->mg->fbuf,length)==-1) {
X                 close(audio);
X                 kill((pid_t) getppid(),SIGUSR1);
X@@ -537,7 +537,7 @@
X         }
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     close(audio);
X #elif defined(sgi)
X     while (ALgetfilled(port)) sginap(2);
X@@ -558,7 +558,7 @@
X     int offset=0,playlength,length;
X #ifdef sgi
X     ALport port;
X-#elif defined(linux) || defined (FreeBSD) || defined (sun)
X+#elif defined(linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_WRONLY,wd->res,wd->channels,wd->freq,&buf_size))==-1) {
X@@ -593,7 +593,7 @@
X 	((int *)shared_playpos)[0] = wd->playbeg*wd->bpspl;
X 	while (playlength>0) {
X 	    if (playlength<buf_size) buf_size=playlength;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio, buffer, buf_size)==-1) {
X 		((int *)shared_playpos)[0] = -1;
X 		close(audio);
X@@ -621,7 +621,7 @@
X 	af_rewind(af);
X 	if (af_seek(af,offset,SEEK_CUR)==AF_ERROR) {
X 	    ((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
X@@ -636,7 +636,7 @@
X 	    if (playlength<buf_size) buf_size=playlength;
X 	    if ((length=af_read(af,(char*) md->mg->fbuf,buf_size))==-1) {
X 		((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 		close(audio);
X #elif defined(sgi)
X 		ALcloseport(port);
X@@ -644,7 +644,7 @@
X 		kill((pid_t) getppid(),SIGUSR1);
X 		return;
X 	    }
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio,(char*) md->mg->fbuf,length)==-1) {
X 		((int *)shared_playpos)[0] = -1;
X 		close(audio);
X@@ -666,7 +666,7 @@
X     }
X     
X     ((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     close(audio);
X #elif defined(sgi)
X     while (ALgetfilled(port)) sginap(2);
X@@ -686,7 +686,7 @@
X     void write_length();
X     byte *data=NULL;
X     int abuf_size,count;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_RDONLY,res,mode,freq,&abuf_size))==-1) {
X@@ -707,7 +707,7 @@
X     
X     if ((data = (byte *) malloc(abuf_size)) == NULL) {
X 	fprintf(stderr,"XWave: Error while alloc mem for audio_buffer !\n");
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -725,7 +725,7 @@
X     
X     if (af_open(fname,&af,AF_NEW)==AF_ERROR) {
X 	free(data);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -738,7 +738,7 @@
X     signal(SIGUSR1,write_length);
X     
X     while(1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	if ((count=read(audio, data, abuf_size))==-1) {
X 	    close(audio);
X 	    af_close(af);
X@@ -762,7 +762,7 @@
X 	    return;
X 	}
X 	if ((count=af_write(af,(char*)data,count))==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
0b61275ff70ed9398b2cdc500f74a581
echo x - xwave/files/patch-ae
sed 's/^X//' >xwave/files/patch-ae << 'e55742383b317aca84d52e954970ed6e'
X--- src/button.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/button.c	Fri Jun 30 19:49:16 2000
X@@ -679,7 +679,7 @@
X     now_clock=clock();
X     sample_time=(float)md->wd->tlength/(float)md->wd->freq;
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun)
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun)
X     gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
X #elif defined(sgi)
X     gone_time=(float)(now_clock-start_clock)/(float)750000;
e55742383b317aca84d52e954970ed6e
echo x - xwave/files/patch-af
sed 's/^X//' >xwave/files/patch-af << 'a5a042b93110952883b9a2fe7b977b5e'
X--- src/effects.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/effects.c	Fri Jun 30 19:49:16 2000
X@@ -348,7 +348,7 @@
X 	
X 	switch (sr->res) {
X 	 case 8: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
X@@ -356,7 +356,7 @@
X 	     break;
X 	 }
X 	 case 16: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;
a5a042b93110952883b9a2fe7b977b5e
echo x - xwave/files/patch-ag
sed 's/^X//' >xwave/files/patch-ag << '83297fa656f951e398c1161df2e6816d'
X--- src/endian.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/endian.h	Fri Jun 30 19:49:16 2000
X@@ -16,7 +16,7 @@
X #define big_endian 1
X #endif
X 
X-#elif defined (linux) || defined (sun) || defined (FreeBSD)
X+#elif defined (linux) || defined (sun) || defined (__FreeBSD__)
X 
X #if BYTE_ORDER==LITTLE_ENDIAN
X #define little_endian 1
83297fa656f951e398c1161df2e6816d
echo x - xwave/files/patch-ah
sed 's/^X//' >xwave/files/patch-ah << 'ea1aaa40aab26f943b11cbef798ae91f'
X--- src/graphics.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/graphics.c	Fri Jun 30 19:49:18 2000
X@@ -30,7 +30,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
X@@ -1476,7 +1476,7 @@
X     if (md->mb->exposing) return;
X     */
X     
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	resizing=FALSE;
X 	return;
X@@ -1532,7 +1532,7 @@
X 
X void expose_canvas (Widget w, Main_Data *md, XExposeEvent *event, Boolean *flg)
X {
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	if (!event->count) resizing=FALSE;
X 	return;
ea1aaa40aab26f943b11cbef798ae91f
echo x - xwave/files/patch-ai
sed 's/^X//' >xwave/files/patch-ai << '9a6c134d355c18ed9781725c5bf78e9f'
X--- src/record_dialog.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/record_dialog.c	Fri Jun 30 19:49:18 2000
X@@ -524,7 +524,7 @@
X     sprintf(MD->mw->messages,"%.2lf kbytes (%.2lfs)",
X 	    (double)playsize/1024,recordtime);
X     XtVaSetValues(label5,XtNlabel, MD->mw->messages, NULL);
X-#if defined(linux)||defined(FreeBSD)||defined(sun)
X+#if defined(linux)||defined(__FreeBSD__)||defined(sun)
X     usleep(80000);
X #elif defined(sgi)
X     sginap(CLK_TCK/(ONE_SECOND/80000));
9a6c134d355c18ed9781725c5bf78e9f
echo x - xwave/files/patch-aj
sed 's/^X//' >xwave/files/patch-aj << 'bb70d24939ce7be8f77b1883779bf1cb'
X--- src/riff.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/riff.c	Fri Jun 30 19:49:19 2000
X@@ -33,7 +33,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
bb70d24939ce7be8f77b1883779bf1cb
echo x - xwave/files/patch-al
sed 's/^X//' >xwave/files/patch-al << 'b7de13a5aee84aa2d0a35021a204f8e0'
X--- config.site.orig	Mon Nov  9 08:22:55 1998
X+++ config.site	Fri Jun 30 19:52:45 2000
X@@ -1,5 +1,5 @@
X 
X-EXTRA_INCLUDES=-I../ -I../include
X+EXTRA_INCLUDES=-I$(TOP) -I$(TOP)/include -I$(INCROOT)
X 
X XCOMM On sgi we need libaudio
X XCOMM OSLIBS=-laudio
b7de13a5aee84aa2d0a35021a204f8e0
echo x - xwave/files/patch-ap
sed 's/^X//' >xwave/files/patch-ap << '8bad84ad4f33d7c2a432d125f16b5f6b'
X   The second (and more serious) problem arises during the build of
X   xwave's own libfwf.a. Randomly, at least one of the OBJS is not
X   'ar'ed into libfwf. Is this a problem of the parallelized make?
X   You can not repeat exactly the error; the next time, another of
X   FWF's OBJS might be missing in libfwf.a.
X
X   Maybe there is a problem related to the change in FWF/FWF.rules
X   in VERSION 3.65 (see FWF/README.NOTES: "Hacked FWF.rules to
X   make AddToLibrary try to build library only if objects are   
X   newer than library.").
X
X   Since I am not at all a compiler and linker specialist, I propose,
X   to do a final 'ar' of all OBJS after all of them are build. This
X   can be done by adding an auxiliary target in FWF/Imakefile.
X
X--- FWF/Imakefile.orig	Mon Nov  9 00:22:54 1998
X+++ FWF/Imakefile	Mon Jan  1 15:47:50 2001
X@@ -9,14 +9,25 @@
X MakeDirectories(all,$(ALLDIRS))
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
X 
X+MAINOBJS = src/Board/Board.o src/Button/Button.o src/Common/Common.o src/Frame/Frame.o src/Group/Group.o src/Label/Label.o src/RadioGroup/RadioGrp.o src/RowCol/RowCol.o src/Toggle/Toggle.o
X+MISCOBJS = src/misc/VarArgs.o
X+CONVOBJS = src/converters/long.o src/converters/icon.o src/converters/choosecol.o src/converters/StrToPmap.o src/converters/Pen.o src/converters/strarray.o
X+STRGOBJS = src/tabstring/DrawImageString.o src/tabstring/DrawString.o src/tabstring/Tablist2Tabs.o src/tabstring/TextWidth.o src/tabstring/strnchr.o
X+
X+$(FWF_LIBDIR)/auxtarget: $(MAINOBJS) $(MISCOBJS) $(CONVOBJS) $(STRGOBJS)
X+	ar -r $(FWF_LIBDIR)/$(FWF_LIBNAME) $(MAINOBJS) $(MISCOBJS) $(CONVOBJS) $(STRGOBJS)
X+	ranlib $(FWF_LIBDIR)/$(FWF_LIBNAME)
X+	echo "lib complete." > $(FWF_LIBDIR)/auxtarget
X+
X #ifdef BuildExecs
X-AllTarget(init objects execs $(FWF_MANDIR)/fwf.man)
X+AllTarget(init objects execs $(FWF_LIBDIR)/auxtarget $(FWF_MANDIR)/fwf.man)
X #else
X-AllTarget(init objects $(FWF_MANDIR)/fwf.man)
X+AllTarget(init objects $(FWF_LIBDIR)/auxtarget $(FWF_MANDIR)/fwf.man)
X #endif
X 
X ConstructIndex(init)
8bad84ad4f33d7c2a432d125f16b5f6b
echo x - xwave/files/patch-aq
sed 's/^X//' >xwave/files/patch-aq << '805b438ac604a89d0b90d8f82d700627'
X--- src/types.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/types.h	Fri Jun 30 19:49:19 2000
X@@ -27,7 +27,7 @@
X typedef unsigned char byte;
X typedef byte bool;
X 
X-#ifdef FreeBSD
X+#ifdef __FreeBSD__
X typedef unsigned long ulong;
X #endif
X 
805b438ac604a89d0b90d8f82d700627
echo x - xwave/files/patch-ar
sed 's/^X//' >xwave/files/patch-ar << 'cc10cb1f1902bd644cfb8afc02e39931'
X--- src/XWave.orig	Mon Nov  9 08:22:55 1998
X+++ src/XWave	Fri Jun 30 20:08:56 2000
X@@ -1,7 +1,7 @@
X ! My self defined Resources
X 
X XWave*wdir: 					/usr/share/data/sounds/prosonus
X-XWave*tdir:					/mnt/d/tmp
X+XWave*tdir:					/tmp
X XWave*device:					/dev/dsp
X XWave*maxmem:					1000
X XWave*doubleplay:				False
cc10cb1f1902bd644cfb8afc02e39931
echo x - xwave/files/patch-as
sed 's/^X//' >xwave/files/patch-as << '5dd14112b155cc37b6f25130f9f801b1'
X--- src/edit.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/edit.c	Fri Jun 30 20:48:28 2000
X@@ -54,6 +54,7 @@
X extern bool button_2;
X 
X /* these conversion routines are also in graphics.c */
X+/* Commented out. M. Kraft 2000-06-28
X int mg_sel_leftsample(float step,int x)
X {
X   return(ceil(step*x-0.5));
X@@ -73,7 +74,7 @@
X {
X   return((int)(((float)x+0.5)/step));
X } 
X-
X+*/
X 
X void begin_up(Widget w, XtPointer client_data, XtPointer call_data)
X {
5dd14112b155cc37b6f25130f9f801b1
echo x - xwave/files/patch-at
sed 's/^X//' >xwave/files/patch-at << '06d49c05c5e6fa61ae8db0b5ee24a043'
X--- FWF/src/Imakefile.orig	Mon Nov  9 08:22:54 1998
X+++ FWF/src/Imakefile	Fri Jun 30 19:53:43 2000
X@@ -34,6 +34,7 @@
X 
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
06d49c05c5e6fa61ae8db0b5ee24a043
echo x - xwave/Makefile
sed 's/^X//' >xwave/Makefile << 'f6b0cc93c45cbe4d1408a57f1f83f158'
X# New ports collection makefile for:	xwave
X# Date created:				11 June 2000
X# Whom:					Trevor Johnson
X#
X# $FreeBSD: ports/audio/xwave/Makefile,v 1.12 2009/11/22 19:49:29 pav Exp $
X#
X
XPORTNAME=	xwave
XPORTVERSION=	2.2
XPORTREVISION=	2
XCATEGORIES=	audio
XDISTNAME=	${PORTNAME}${PORTVERSION:S/./v/}
X
XMAINTAINER=	a0516 at marimga.de
XCOMMENT=	Audio player/recorder/editor for the X Window System
X
XWRKSRC=		${WRKDIR}/${PORTNAME}2-981109
XUSE_IMAKE=	yes
XUSE_XORG=	xaw
XMAKE_JOBS_UNSAFE=	yes
X
XDOC_FILES=	README README-XWAVE2 README.v06 INSTALL
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/xwave
X.for i in ${DOC_FILES}
X	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/share/doc/xwave
X.endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
f6b0cc93c45cbe4d1408a57f1f83f158
echo x - xwave/README.html
sed 's/^X//' >xwave/README.html << 'dd5663e605449d67f9c189ec0be28785'
X<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
X
X<html>
X  <head>
X    <title>The FreeBSD Ports Collection (audio/xwave)</title>
X  </head>
X
X  <body>
X    <h1>The FreeBSD Ports Collection (audio/xwave)</h1>
X    <hr>
X
X    <p>You are now in the directory for the port "audio/xwave".</p>
X
X    <p>The package name of this port is "xwave-2.2".</p>
X
X    <p>This is the one-line description for this port:</p>
X    <hr>
X
X    <p>
XAudio player/recorder/editor for the X Window System
X    </p>
X    <hr>
X
X    <p>Please read the "<a href="pkg-descr">description file</a>" for a
X    longer description.</p>
X
X    <p>If needed, you may contact the <a href=
X    "mailto:martin.kraft at fal.de">maintainer</a> of this port or the port <a href=
X    "mailto:ports at FreeBSD.org">mailing-list</a>.</p>
X
X    <p>This port requires package(s) "XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_15 pkgconfig-0.15.0" to build.</p>
X
X    <p>This port requires package(s) "XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_15 pkgconfig-0.15.0" to run.</p>
X
X    <p>Go to the <a href="../../README.html">top of the ports tree</a> for
X    a summary on how to use the ports collection.</p>
X    <hr>
X
X    <p><a href="../README.html">Go up one level</a> | <a href=
X    "../../README.html">Go to top of ports tree</a></p>
X  </body>
X</html>
X
dd5663e605449d67f9c189ec0be28785
echo x - xwave/distinfo
sed 's/^X//' >xwave/distinfo << 'b616b9c46b9931a606b656a4f4d161c2'
XSHA256 (xwave2v2.tar.gz) = c420e93a9f9cf64326ef56c6828364350525c1bb281d170164a8a6bbf1eaada6
XSIZE (xwave2v2.tar.gz) = 292880
b616b9c46b9931a606b656a4f4d161c2
echo x - xwave/pkg-descr
sed 's/^X//' >xwave/pkg-descr << '920e1cd8cefb1cd98e7df3362eb7a18a'
Xxwave - an audio player, recorder, editor  for the XWindow System
X
XNote from the original author:
X 
XThe user interface of xwave is based on Athena and FWF widgets.
XThe application defaults are optimized for Xaw3d, so if you don't
Xuse Xaw3d you may want to modify the resources.
X
XFeatures:
X	- multiple files
X	- overview window 
X	- zoom window
X	- mark, cut, copy, paste, merge
X	- echo, reverse, swap, resample, volume (absolute, dynamic
X	  compressor)
X	- stop recording on demand
X	- raw, wav, au, aiff, aifc (PCM, ALAW, ULAW, and some ADPCM
X	  implementations)
X	- files of any length
920e1cd8cefb1cd98e7df3362eb7a18a
echo x - xwave/pkg-message
sed 's/^X//' >xwave/pkg-message << '49021b8cf09c14bde24224c69231b193'
XIf you run out of space for the temporary files, set the X ressource
XXWave*tdir (either in /usr/X11R6/lib/X11/app-defaults/XWave or your
X~/.Xdefaults) to a suitable directory.
49021b8cf09c14bde24224c69231b193
echo x - xwave/pkg-plist
sed 's/^X//' >xwave/pkg-plist << 'd5bc1ca901d531bc317f724a9c9a7504'
Xbin/xwave
Xlib/X11/app-defaults/XWave
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README-XWAVE2
X%%PORTDOCS%%%%DOCSDIR%%/README.v06
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
d5bc1ca901d531bc317f724a9c9a7504
exit
--- xwave.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list