Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 02:43:39 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14621: new port:  qrash
Message-ID:  <Pine.BSI.3.95.991031024230.23432C-100000@blues.jpj.net>

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

>Number:         14621
>Category:       ports
>Synopsis:       new port:  qrash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports@freebsd.org
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 31 00:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson (trevor@jpj.net)
>Release:        FreeBSD 3.3-19990924-STABLE i386
>Organization:
myself
>Environment:
only tested on FreeBSD 3.3-19990924-STABLE i386
>Description:

This program is a demo for X11, combining mod-format music with animation
"featuring 2D and 3D engines with texturing and shading".  Some of the
content may be offensive.

>How-To-Repeat:
>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:
#
#	qrash
#	qrash/files
#	qrash/files/md5
#	qrash/patches
#	qrash/patches/patch-ab
#	qrash/patches/patch-aa
#	qrash/patches/patch-ac
#	qrash/patches/patch-ad
#	qrash/patches/patch-af
#	qrash/patches/patch-ae
#	qrash/patches/patch-ag
#	qrash/pkg
#	qrash/pkg/COMMENT
#	qrash/pkg/DESCR
#	qrash/pkg/PLIST
#	qrash/Makefile
#	qrash/README.html
#
echo c - qrash
mkdir -p qrash > /dev/null 2>&1
echo c - qrash/files
mkdir -p qrash/files > /dev/null 2>&1
echo x - qrash/files/md5
sed 's/^X//' >qrash/files/md5 << 'END-of-qrash/files/md5'
XMD5 (qrash.tgz) = 3fc4a85b4b6093e08cd6dd85893bd118
END-of-qrash/files/md5
echo c - qrash/patches
mkdir -p qrash/patches > /dev/null 2>&1
echo x - qrash/patches/patch-ab
sed 's/^X//' >qrash/patches/patch-ab << 'END-of-qrash/patches/patch-ab'
X--- configure.orig	Wed Sep 24 11:50:18 1997
X+++ configure	Sun Oct 24 05:48:05 1999
X@@ -9,7 +9,7 @@
X echo "what CPU has your box inside?"
X echo "1) i386-compatible"
X echo "2) none of the above"
X-read cpu
X+cpu=1
X case $cpu in
X   1)	echo "CPU=_g" > options ;
X 	echo "CXXFLAGS += -Di386" >> options ;;
X@@ -32,13 +33,13 @@
X echo "3) Vesa (dos only)"
X #echo "4) Win32 DirectDraw"
X #echo "5) OS/2 DIVE"
X-read gfx
X+gfx=2
X case $gfx in
X   1)	echo "GFX=vga" >> options ;
X 	echo "LIBS += -lvga" >> options ;;
X 
X   2)	echo "GFX=x11" >> options ;
X-	echo "LIBS += -L/usr/X11/lib -lX11" >> options ;;
X+	echo "LIBS += -L/usr/X11R6/lib -lX11" >> options ;;
X 
X   3)	echo "GFX=dos" >> options ;
X 	echo "LIBS += -Lsvgakit -lsvga -lpmode -lztime" >> options ;;
X@@ -68,7 +70,7 @@
X echo "10) none of the above"
X #echo "11) Win32"
X #echo "12) OS/2"
X-read snd
X+snd=1
X case $snd in
X   1)	echo "CXXFLAGS += -DLINUX" >> options ;
X 	echo "DRIVER=vox" >> options ;;
END-of-qrash/patches/patch-ab
echo x - qrash/patches/patch-aa
sed 's/^X//' >qrash/patches/patch-aa << 'END-of-qrash/patches/patch-aa'
Xdiff -ruN mikmod/drv_vox.c mikmod/drv_vox.c
X--- mikmod/drv_vox.c	Mon Sep 22 11:05:26 1997
X+++ mikmod/drv_vox.c	Mon Jul 26 12:10:35 1999
X@@ -36,7 +36,7 @@
X #include <sys/stat.h>
X #include <sys/types.h>
X #include <fcntl.h>
X-#include <linux/soundcard.h>
X+#include <machine/soundcard.h>
X #include <sys/ioctl.h>
X #include <sys/wait.h>
X #include "mikmod.h"
END-of-qrash/patches/patch-aa
echo x - qrash/patches/patch-ac
sed 's/^X//' >qrash/patches/patch-ac << 'END-of-qrash/patches/patch-ac'
X--- mikmod/virtch.c.orig	Thu Sep 11 13:24:30 1997
X+++ mikmod/virtch.c	Sun Oct 24 04:31:42 1999
X@@ -13,7 +13,6 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <string.h>
X-#include <malloc.h>
X #include "mikmod.h"
X 
X #define FRACBITS 11
END-of-qrash/patches/patch-ac
echo x - qrash/patches/patch-ad
sed 's/^X//' >qrash/patches/patch-ad << 'END-of-qrash/patches/patch-ad'
X--- mikmod/munitrk.c.orig	Thu Sep 11 13:24:30 1997
X+++ mikmod/munitrk.c	Sun Oct 24 04:32:28 1999
X@@ -10,7 +10,6 @@
X All systems - all compilers
X 
X */
X-#include <malloc.h>
X #include <stdlib.h>
X #include <string.h>
X #include "mikmod.h"
END-of-qrash/patches/patch-ad
echo x - qrash/patches/patch-af
sed 's/^X//' >qrash/patches/patch-af << 'END-of-qrash/patches/patch-af'
X--- mikmod/load_xm.c.orig	Thu Sep 11 13:24:30 1997
X+++ mikmod/load_xm.c	Sun Oct 24 06:55:11 1999
X@@ -14,7 +14,6 @@
X #include <stdlib.h>
X #include <string.h>
X #include <ctype.h>
X-#include <malloc.h>
X #include "mikmod.h"
X 
X /**************************************************************************
END-of-qrash/patches/patch-af
echo x - qrash/patches/patch-ae
sed 's/^X//' >qrash/patches/patch-ae << 'END-of-qrash/patches/patch-ae'
X--- Makefile.in.orig	Wed Sep 24 09:49:16 1997
X+++ Makefile.in	Sun Oct 24 06:59:51 1999
X@@ -1,5 +1,5 @@
X # Maximum optimization
X-CXXFLAGS += -O6 -ffast-math -funroll-loops -w
X+CXXFLAGS += -O6 -ffast-math -funroll-loops -w -I /usr/X11R6/include/
X 
X # Debugging options
X #CXXFLAGS += -g
X@@ -49,6 +49,13 @@
X 
X parts.o:
X 	$(CC) -c parts.cc
X+
X+install:
X+	strip -s qrash
X+	mkdir $(X11BASE)/share/qrash/
X+	install -c -m 755 -o root -g wheel qrash $(X11BASE)/bin/
X+	install -c -m 644 -o root -g wheel qrash.dat $(X11BASE)/share/qrash/
X+	install -c -m 644 -o root -g wheel README $(X11BASE)/share/qrash/
X 
X DUMMY:
X 
END-of-qrash/patches/patch-ae
echo x - qrash/patches/patch-ag
sed 's/^X//' >qrash/patches/patch-ag << 'END-of-qrash/patches/patch-ag'
X--- resource.cc.orig	Wed Sep 24 04:43:18 1997
X+++ resource.cc	Wed Oct 27 05:16:26 1999
X@@ -62,7 +62,7 @@
X 
X void resInit( char* name )
X {
X-  strcpy( resource_name, my_strlwr(name) );
X+  strcpy( resource_name, "/usr/X11R6/share/qrash/qrash.dat" );
X   FILE* f = fopen( resource_name, "rb" );
X   if(f) {
X     fseek( f, -4, SEEK_END );
END-of-qrash/patches/patch-ag
echo c - qrash/pkg
mkdir -p qrash/pkg > /dev/null 2>&1
echo x - qrash/pkg/COMMENT
sed 's/^X//' >qrash/pkg/COMMENT << 'END-of-qrash/pkg/COMMENT'
Xanimated musical demo for X11 
END-of-qrash/pkg/COMMENT
echo x - qrash/pkg/DESCR
sed 's/^X//' >qrash/pkg/DESCR << 'END-of-qrash/pkg/DESCR'
XThis program is a demo for X11, combining mod-format music with animation
X"featuring 2D and 3D engines with texturing and shading".  Some of the
Xcontent may be offensive.
X
XTrevor Johnson
Xtrevor@jpj.net
END-of-qrash/pkg/DESCR
echo x - qrash/pkg/PLIST
sed 's/^X//' >qrash/pkg/PLIST << 'END-of-qrash/pkg/PLIST'
Xbin/qrash
Xshare/qrash/README
Xshare/qrash/qrash.dat
X@dirrm share/qrash/
END-of-qrash/pkg/PLIST
echo x - qrash/Makefile
sed 's/^X//' >qrash/Makefile << 'END-of-qrash/Makefile'
X# New ports collection makefile for:	qrash
X# Version required:	1.0
X# Date created:		Oct 27, 1999
X# Whom:			Trevor Johnson <trevor@jpj.net>
X#
X# $FreeBSD: ports/x11/qrash/Makefile 1.0 1999/10/27 05:47:17 trevor Exp $
X#
X
XDISTNAME=	qrash
XPKGNAME=	qrash-1.0
XCATEGORIES=	x11
XMASTER_SITES=	http://metalab.unc.edu/pub/Linux/X11/demos/ \
X		ftp://metalab.unc.edu/pub/Linux/X11/demos/ \
X		ftp://qmg.rising.ru/pub/demos/qmg/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	trevor@jpj.net
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=      yes
XALL_TARGET=	qrash
XUSE_X_PREFIX=	yes
X
X#post-install:
X#	strip -s ${PREFIX}/bin/qrash
X#	${MKDIR} ${PREFIX}/qrash/
X#	${INSTALL_DATA} ${WRKSRC}/qrash.dat ${PREFIX}/qrash/qrash.dat
X#	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/qrash/README
X#	${INSTALL_PROGRAM} ${WRKSRC}/qrash ${X11BASE}/bin/qrash
X
X.include <bsd.port.mk>
END-of-qrash/Makefile
echo x - qrash/README.html
sed 's/^X//' >qrash/README.html << 'END-of-qrash/README.html'
X<html>
X<title> The FreeBSD Ports Collection (x11/qrash)</title>
X<head><h1> The FreeBSD Ports Collection ("x11/qrash")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "x11/qrash" (package name "qrash-1.0").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
Xanimated musical demo for X11
X<p><hr>
X
X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
X
X<p>
X
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-qrash/README.html
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.3.95.991031024230.23432C-100000>