Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 10:22:53 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/21311: new port audio/autozen
Message-ID:  <Pine.BSI.4.21.0009161013350.14697-100000@blues.jpj.net>

next in thread | raw e-mail | index | archive | help

>Number:         21311
>Category:       ports
>Synopsis:       new port audio/autozen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 16 07:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson
>Release:        4.1-STABLE i386
>Organization:
myself
>Environment:

only tested under
FreeBSD ws99.invalid 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Jul 29 02:55:41
UTC 2000 root@ws99.invalid:/usr/obj/usr/src/sys/TREVOR41A i386
 
>Description:

GTK-based program to adjust brain waves with sound

>How-To-Repeat:

N/A

>Fix:

# 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:
#
#	autozen
#	autozen/files
#	autozen/files/md5
#	autozen/pkg
#	autozen/pkg/COMMENT
#	autozen/pkg/DESCR
#	autozen/pkg/PLIST
#	autozen/Makefile
#	autozen/patches
#	autozen/patches/patch-aa
#	autozen/patches/patch-ab
#	autozen/patches/patch-ac
#
echo c - autozen
mkdir -p autozen > /dev/null 2>&1
echo c - autozen/files
mkdir -p autozen/files > /dev/null 2>&1
echo x - autozen/files/md5
sed 's/^X//' >autozen/files/md5 << 'END-of-autozen/files/md5'
XMD5 (AutoZen-1.2.1.tar.gz) = eee6e6513181a6837fa2b33bfc06cdce
END-of-autozen/files/md5
echo c - autozen/pkg
mkdir -p autozen/pkg > /dev/null 2>&1
echo x - autozen/pkg/COMMENT
sed 's/^X//' >autozen/pkg/COMMENT << 'END-of-autozen/pkg/COMMENT'
XAdjust brain waves with sound
END-of-autozen/pkg/COMMENT
echo x - autozen/pkg/DESCR
sed 's/^X//' >autozen/pkg/DESCR << 'END-of-autozen/pkg/DESCR'
Xadapted from the Web page:
X
XAutoZen generates sounds meant to cause the user's brain waves to
Xshift to a different dominant frequency, resulting in an altered
Xstate of consciousness.  If you are under treatment for any
Xpsychiatric or neurological disorder, you might want to approach
Xthis with caution.  You must use headphones for AutoZen to work at
Xall.  The effect depends on each ear receiving a different tone,
Xand the combination of the inputs in the brain.  If you are deaf
Xin one ear, it will not work.
X
XWWW:  http://www.linuxlabs.com/software/AutoZen.html
X
XTrevor Johnson
Xtrevor@jpj.net
END-of-autozen/pkg/DESCR
echo x - autozen/pkg/PLIST
sed 's/^X//' >autozen/pkg/PLIST << 'END-of-autozen/pkg/PLIST'
Xbin/autozen
Xbin/seq2wav
Xshare/autozen/deep-relax.seq
Xshare/autozen/relax.seq
Xshare/autozen/test.seq
Xshare/autozen/test2.seq
Xshare/autozen/test3.seq
Xshare/doc/autozen/CHANGES
Xshare/doc/autozen/COPYING
X@dirrm share/doc/autozen
X@dirrm share/autozen
END-of-autozen/pkg/PLIST
echo x - autozen/Makefile
sed 's/^X//' >autozen/Makefile << 'END-of-autozen/Makefile'
X# New ports collection makefile for:	autozen
X# Date created:				2000-09-16
X# Whom:					Trevor Johnson <trevor@jpj.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	autozen
XPORTVERSION=	1.2.1
XCATEGORIES=	audio
XMASTER_SITES=	http://www.linuxlabs.com/software/download/
XDISTNAME=	AutoZen-${PORTVERSION}
X
XMAINTAINER=	trevor@jpj.net
X
XLIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
X
XUSE_X_PREFIX=	yes
XGTK_CONFIG?=	${X11BASE}/bin/gtk12-config
XMAKE_ENV=	GTK_CONFIG=${GTK_CONFIG}
XWRKSRC=		${WRKDIR}/${PORTNAME}-1.2
X
XDOC_FILES=	CHANGES COPYING
XDATA_FILES=	deep-relax.seq relax.seq test.seq test2.seq test3.seq
X
Xpost-patch:
X	@${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/autozen ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/seq2wav ${PREFIX}/bin
X	${MKDIR} ${PREFIX}/share/autozen
X.for i in ${DATA_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/autozen
X.endfor
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/autozen
X.for i in ${DOC_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/autozen
X.endfor
X.endif
X.include <bsd.port.mk>
END-of-autozen/Makefile
echo c - autozen/patches
mkdir -p autozen/patches > /dev/null 2>&1
echo x - autozen/patches/patch-aa
sed 's/^X//' >autozen/patches/patch-aa << 'END-of-autozen/patches/patch-aa'
X--- autozen.c.orig	Tue Sep 12 01:33:24 2000
X+++ autozen.c	Thu Sep 14 16:19:35 2000
X@@ -17,7 +17,7 @@
X #include <string.h>
X #include <fcntl.h>
X #include <time.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X #include <sys/ioctl.h>
X #include <pthread.h>
X #include <gtk/gtk.h>
END-of-autozen/patches/patch-aa
echo x - autozen/patches/patch-ab
sed 's/^X//' >autozen/patches/patch-ab << 'END-of-autozen/patches/patch-ab'
X--- Makefile.orig	Sun Sep 10 22:57:32 2000
X+++ Makefile	Sat Sep 16 13:47:33 2000
X@@ -7,7 +7,7 @@
X 
X 
X autozen: autozen.c *.xpm
X-	$(CC) -D_REENTRANT $(CFLAGS) -I/usr/local/lib/glib/include/ `gtk-config --cflags` `gtk-config  --libs` -pthread autozen.c -o autozen $(DEBUG_LIBS)
X+	$(CC) -D_REENTRANT $(CFLAGS) -I/usr/local/lib/glib/include/ `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` -pthread autozen.c -o autozen $(DEBUG_LIBS)
X 
X seq2wav: seq2wav.c
X 	$(CC) seq2wav.c -o seq2wav -lm
END-of-autozen/patches/patch-ab
echo x - autozen/patches/patch-ac
sed 's/^X//' >autozen/patches/patch-ac << 'END-of-autozen/patches/patch-ac'
X--- autozen.c.orig	Sat Sep 16 14:01:23 2000
X+++ autozen.c	Sat Sep 16 14:07:48 2000
X@@ -199,7 +199,7 @@
X 	/* Lets set the filename, as if this were a save dialog, and we are giving
X 	a default filename */
X 	gtk_file_selection_set_filename (GTK_FILE_SELECTION(filew), 
X-                                          "*.seq");
X+                                          "X11BASE/share/autozen/*.seq");
X          
X 	gtk_widget_show(filew);
X }
END-of-autozen/patches/patch-ac
exit


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


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?Pine.BSI.4.21.0009161013350.14697-100000>