Solaris 8 quake2 installer..
Vincent S. Cojot
coyote at step.polymtl.ca
Tue Jul 30 11:20:45 EDT 2002
Hello All,
I'm currently working on a small set of files that will build a Solaris
package from the quake2 source directory.. This will make it easier for
solaris users to install Quake2 on Solaris since they don't always have a
full dev. environment and when they do have such a thing it's not always
GNU. I really don't want to ask them to compile the damn thing.. :) I was
thinking of including the shareware data files in the base package but does
someone know if this would work? I don't recall if quake2r0.13.1 works with
the shareware data files.. Any ideas?
So far, I have these results:
root at bt:[/usr/local/src/quake2-r0.0.13.1/src/solaris/pkg][723]# pkginfo
|grep -i quake2
application iDquake2 ID Software Quake2 3.21 for Solaris 8
(X11,XIL,GLX,SDL).
root at bt:[/usr/local/src/quake2-r0.0.13.1/src/solaris/pkg][724]# pkginfo -l
iDquake2
PKGINST: iDquake2
NAME: ID Software Quake2 3.21 for Solaris 8 (X11,XIL,GLX,SDL).
CATEGORY: application,graphics,opengl
ARCH: sparc
VERSION: 3.21+r0.13.1
BASEDIR: /usr/local/share/games/quake2
VENDOR: http://www.icculus.org/quake2
DESC: ID Software Quake2 3.21+rCVS for Solaris 8
(http://www.icculus.org/quake2)
PSTAMP: coyote200207301644
INSTDATE: Jul 30 2002 17:07
EMAIL: coyote at step.polymtl.ca
STATUS: completely installed
FILES: 13 installed pathnames
4 directories
9 executables
9674 blocks used (approx)
And it is built as follows:
root at bt1ws02e:[/usr/local/src/quake2-r0.0.13.1/src/solaris/pkg][725]#
gmake pkggmake[1]: Entering directory `/usr/local/src/quake2-r0.0.13.1'
Makefile.Solaris:40: Using OS configuration for SunOS ...
gmake -f Makefile.Solaris targets BUILDDIR=debugsparc CFLAGS="-Wall -pipe
-Dstricmp=strcasecmp -DC_ONLY -DSOLARIS -DSUNXIL_WARNING_DISABLE
-DSOL8_XIL_WORKAROUND -g -DLINUX_VERSION='\"3.21+rCVS Debug\"'"
gmake[2]: Entering directory `/usr/local/src/quake2-r0.0.13.1'
Makefile.Solaris:40: Using OS configuration for SunOS ...
gmake[2]: Nothing to be done for `targets'.
gmake[2]: Leaving directory `/usr/local/src/quake2-r0.0.13.1'
gmake -f Makefile.Solaris targets BUILDDIR=releasesparc CFLAGS="-Wall -pipe
-Dstricmp=strcasecmp -DC_ONLY -DSOLARIS -DSUNXIL_WARNING_DISABLE
-DSOL8_XIL_WORKAROUND -ffast-math -funroll-loops -fomit-frame-pointer
-fexpensive-optimizations -DLINUX_VERSION='\"3.21+rCVS\"'"
gmake[2]: Entering directory `/usr/local/src/quake2-r0.0.13.1'
Makefile.Solaris:40: Using OS configuration for SunOS ...
gmake[2]: Nothing to be done for `targets'.
gmake[2]: Leaving directory `/usr/local/src/quake2-r0.0.13.1'
gmake[1]: Leaving directory `/usr/local/src/quake2-r0.0.13.1'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/quake2' ->
`/tmp/quake2-build/quake2'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/sdlquake2' ->
`/tmp/quake2-build/sdlquake2'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ref_glx.so' ->
`/tmp/quake2-build/ref_glx.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ref_sdlgl.so' ->
`/tmp/quake2-build/ref_sdlgl.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ref_softsdl.so' ->
`/tmp/quake2-build/ref_softsdl.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ref_softx.so' ->
`/tmp/quake2-build/ref_softx.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ref_xil.so' ->
`/tmp/quake2-build/ref_xil.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/gamesparc.so' ->
`/tmp/quake2-build/baseq2/gamesparc.so'
`/usr/local/src/quake2-r0.0.13.1/releasesparc/ctf/gamesparc.so' ->
`/tmp/quake2-build/ctf/gamesparc.so'
sed -e "/VERSION=/s/.*/VERSION=3.21+r0.13.1/" < pkginfo.template > pkginfo
pkgmk -o -d /tmp -a sparc
## Building pkgmap from package prototype file.
## Processing pkginfo file.
## Attempting to volumize 13 entries in pkgmap.
part 1 -- 10052 blocks, 21 entries
## Packaging one part.
/tmp/iDquake2/pkgmap
/tmp/iDquake2/pkginfo
/tmp/iDquake2/reloc/baseq2/gamesparc.so
/tmp/iDquake2/install/copyright
/tmp/iDquake2/reloc/ctf/gamesparc.so
/tmp/iDquake2/install/depend
/tmp/iDquake2/install/postinstall
/tmp/iDquake2/install/postremove
/tmp/iDquake2/install/preinstall
/tmp/iDquake2/install/preremove
/tmp/iDquake2/reloc/quake2
/tmp/iDquake2/reloc/ref_glx.so
/tmp/iDquake2/reloc/ref_sdlgl.so
/tmp/iDquake2/reloc/ref_softsdl.so
/tmp/iDquake2/reloc/ref_softx.so
/tmp/iDquake2/reloc/ref_xil.so
/tmp/iDquake2/reloc/sdlquake2
## Validating control scripts.
## Packaging complete.
pkgtrans -s /tmp /usr/local/src/quake2-r0.0.13.1/iDquake2-r0.13.1-sparc.pkg
iDquake2
Transferring <iDquake2> package instance
Check directory /usr/local/src/quake2-r0.0.13.1 for
iDquake2-r0.13.1-sparc.pkg Solaris package.
Vincent
More information about the quake2
mailing list