FreeBSD Bugzilla – Attachment 56856 Details for
Bug 85842
New port: graphics/pyro A simple OpenGL-based firework simulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
pyro.shar
pyro.shar (text/plain), 3.58 KB, created by
Igor Pokrovsky
on 2005-09-07 19:40:16 UTC
(
hide
)
Description:
pyro.shar
Filename:
MIME Type:
Creator:
Igor Pokrovsky
Created:
2005-09-07 19:40:16 UTC
Size:
3.58 KB
patch
obsolete
># 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: ># ># pyro ># pyro/pkg-plist ># pyro/pkg-descr ># pyro/distinfo ># pyro/Makefile ># pyro/files ># pyro/files/patch-pyro.c ># pyro/files/patch-jpeg.c ># >echo c - pyro >mkdir -p pyro > /dev/null 2>&1 >echo x - pyro/pkg-plist >sed 's/^X//' >pyro/pkg-plist << 'END-of-pyro/pkg-plist' >Xbin/pyro >X%%EXAMPLESDIR%%/pyro.dsp >X%%EXAMPLESDIR%%/water.jpg >X@dirrm %%EXAMPLESDIR%% >END-of-pyro/pkg-plist >echo x - pyro/pkg-descr >sed 's/^X//' >pyro/pkg-descr << 'END-of-pyro/pkg-descr' >XPyroTechnics is a simple OpenGL-based firework simulator. >X >XFeatures >X-------- >X o a bunch of nifty kinds of fireworks >X o the ability to choreograph firework displays >X o a texture-mapped water surface >X o reflections in the water >X o fogging >X o a moving camera >X o the ability to save screenshots >X >XWWW: http://nostatic.org/pyro/pyro.html >X >X-Igor Pokrovsky >Xip@doom.homeunix.org >END-of-pyro/pkg-descr >echo x - pyro/distinfo >sed 's/^X//' >pyro/distinfo << 'END-of-pyro/distinfo' >XMD5 (pyro-1.5.tgz) = b6f6514e08d753bfa0b966e0eb1d0c09 >END-of-pyro/distinfo >echo x - pyro/Makefile >sed 's/^X//' >pyro/Makefile << 'END-of-pyro/Makefile' >X# New ports collection makefile for: pyro >X# Date created: 07 Sep 2005 >X# Whom: Igor Pokrovsky <ip@doom.homeunix.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= pyro >XPORTVERSION= 1.5 >XCATEGORIES= graphics >XMASTER_SITES= http://nostatic.org/pyro/ >XEXTRACT_SUFX= .tgz >X >XMAINTAINER= ip@doom.homeunix.org >XCOMMENT= A simple OpenGL-based firework simulator >X >XLIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ >X glut.3:${PORTSDIR}/graphics/libglut >X >XUSE_REINPLACE= yes >XUSE_GL= yes >XUSE_X_PREFIX= yes >X >XPORTDOCS= README >X >Xpost-patch: >X @${REINPLACE_CMD} -i '' -e 's|malloc\.h|stdlib\.h|g' ${WRKSRC}/*.c >X >Xdo-build: >X ${CC} ${CFLAGS} ${WRKSRC}/*.c -o ${WRKSRC}/${PORTNAME} \ >X -Wall -ffast-math -fomit-frame-pointer -funroll-all-loops \ >X -DAUXDIR=\"${EXAMPLESDIR}\" -I${WRKSRC} -I${X11BASE}/include \ >X -I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib \ >X -ljpeg -lm -lXmu -lXi -lXext -lGL -lGLU -lglut >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin >X >X @${MKDIR} ${EXAMPLESDIR} >X ${INSTALL_DATA} ${WRKSRC}/pyro.dsp ${WRKSRC}/water.jpg ${EXAMPLESDIR} >X >X.ifndef (NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} >X.endif >X >X.include <bsd.port.mk> >END-of-pyro/Makefile >echo c - pyro/files >mkdir -p pyro/files > /dev/null 2>&1 >echo x - pyro/files/patch-pyro.c >sed 's/^X//' >pyro/files/patch-pyro.c << 'END-of-pyro/files/patch-pyro.c' >X--- pyro.c.orig >X+++ pyro.c >X@@ -7,15 +7,18 @@ >X >X #include <stdio.h> >X #include <stdlib.h> >X+#include <string.h> >X #include <math.h> >X #ifdef __EMX__ /*os2*/ >X #include "float.h" >X #endif >X #include <time.h> >X >X+/* >X #ifdef XMESA >X #include <GL/xmesa.h> >X #endif >X+*/ >X >X #include <GL/glut.h> >X #include "pyro.h" >X@@ -704,8 +707,9 @@ >X if(fxwin) >X glutReshapeWindow(ScreenWidth,ScreenHeight); >X else glutFullScreen(); >X- >X+/* >X XMesaSetFXmode(fxwin ? XMESA_FX_WINDOW:XMESA_FX_FULLSCREEN); >X+*/ >X } >X break; >X #endif >END-of-pyro/files/patch-pyro.c >echo x - pyro/files/patch-jpeg.c >sed 's/^X//' >pyro/files/patch-jpeg.c << 'END-of-pyro/files/patch-jpeg.c' >X--- jpeg.c.orig >X+++ jpeg.c >X@@ -5,6 +5,7 @@ >X >X #include <stdio.h> >X #include <stdlib.h> >X+#include <string.h> >X #include <malloc.h> >X #include "jpeglib.h" >X #include <setjmp.h> >END-of-pyro/files/patch-jpeg.c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 85842
: 56856