diff options
author | root | 2006-04-24 09:03:08 -0500 |
---|---|---|
committer | root | 2006-04-24 09:03:08 -0500 |
commit | 84d8b510ac289af0a43bfa9e110844af27a90196 (patch) | |
tree | d7093929b954dd2f71114bff270755e18f737eb1 /display/svgalib |
initial commit from stable 0.3
Diffstat (limited to 'display/svgalib')
-rwxr-xr-x | display/svgalib/BUILD | 53 | ||||
-rwxr-xr-x | display/svgalib/DETAILS | 18 | ||||
-rw-r--r-- | display/svgalib/HISTORY | 64 | ||||
-rwxr-xr-x | display/svgalib/INSTALL | 13 | ||||
-rwxr-xr-x | display/svgalib/TRIGGERS | 1 |
5 files changed, 149 insertions, 0 deletions
diff --git a/display/svgalib/BUILD b/display/svgalib/BUILD new file mode 100755 index 0000000000..ef7dee2850 --- /dev/null +++ b/display/svgalib/BUILD @@ -0,0 +1,53 @@ +message "${MESSAGE_COLOR}If this fails, disable kernel module versioning{$DEFAULT_COLOR}" && + +# Some other fixes I needed to do +sedit 's:<config.h>:\"config.h\":' threeDKit/3dinit.c && +sedit 's:<config.h>:\"config.h\":' threeDKit/3dkit.c && +sedit 's:<config.h>:\"config.h\":' threeDKit/triangl.c && +sedit 's:<config.h>:\"config.h\":' threeDKit/wrapsurf.c && + +# Disable kernel module support while building stages +sedit 's:installmodule ::' Makefile && + +# First build static +make_single && +make static && + +# Have to remove for shared to build ... +rm -f src/svgalib_helper.h && +# Then build shared ... +make shared && + +# Missing in some cases ... +ln -s libvga.so.${VERSION} sharedlib/libvga.so && +# Build lrmi and tools ... +make LDFLAGS="-L../sharedlib" textutils lrmi utils && +# Build the gl stuff too +make -C gl && +make -C gl libvgagl.so.${VERSION} && +# Missing in some cases ... +ln -s libvgagl.so.${VERSION} sharedlib/libvgagl.so && +rm -f src/svgalib_helper.h && +make -C src libvga.so.${VERSION} && +cp -a src/libvga.so.${VERSION} sharedlib/ && +# Build threeDKit ... +make LDFLAGS='-L../sharedlib' -C threeDKit lib3dkit.a && +# Build demo's ... +make CFLAGS="${CFLAGS} -I../gl -I../include" demoprogs \ + LDFLAGS='-L../sharedlib' && + +cd kernel/svgalib_helper && +if [ `uname -r | cut -d. -f1,2` == "2.6" ] +then + message "${MESSAGE_COLOR}Building for 2.6...${DEFAULT_COLOR}" && + make +else + message "${MESSAGE_COLOR}Building for 2.4...${DEFAULT_COLOR}" && + env -u ARCH \ + make -f Makefile.alt INCLUDEDIR="/usr/src/linux/include" \ + clean all +fi && +cd - && + +sedit 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \ +Makefile diff --git a/display/svgalib/DETAILS b/display/svgalib/DETAILS new file mode 100755 index 0000000000..d45cae6312 --- /dev/null +++ b/display/svgalib/DETAILS @@ -0,0 +1,18 @@ + SPELL=svgalib + VERSION=1.9.21 + SOURCE=$SPELL-$VERSION.tar.gz +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION + SOURCE_URL[0]=http://www.arava.co.il/matan/svgalib/${SOURCE} + MD5[0]='8a01bb4a56cd74a0642031781d760152' + WEB_SITE=http://www.svgalib.org/ + ENTERED=20011117 + UPDATED=20011117 + LICENSE[0]=GPL + BUILD_API=2 + SHORT="Graphics library to provide VGA and SVGA modes in a console" +cat << EOF +svgalib is a low-level graphics library that provides VGA and SVGA +modes in a console. It is not intended as an alternative to X for +apps, but rather a set of tools for things like VGA games, image +viewing in modes that X cannot support, etc. +EOF diff --git a/display/svgalib/HISTORY b/display/svgalib/HISTORY new file mode 100644 index 0000000000..2a777701ee --- /dev/null +++ b/display/svgalib/HISTORY @@ -0,0 +1,64 @@ +2005-04-21 Sergey Lipnevich <sergey@sourcemage.org> + * DETAILS: upgrade to 1.9.21. + +2005-04-07 Eric Sandall <eric@sandall.us> + * DETAILS: Removed MAKE_NJOBS=1 + * BUILD: Run make_single before make + * INSTALL: Run make_normal before make install + +2004-09-18 Eric Sandall <eric@sandall.us> + * TRIGGERS: Recast when linux is cast (Bug #7335) + +2004-07-11 Eric Sandall <eric@sandall.us> + * WIP: Works better than it did... + Removed, seems to work fine here + +2004-07-09 Eric Sandall <eric@sandall.us> + * linux-2.6.patch: Remove unneeded patch + * INSTALL: No longer apply linux-2.6.patch + Use different install command for 2.6 kernels + * BUILD: Use different compile command for 2.6 kernels + Should use `make` not `make clean all` for 2.6 + +2004-07-08 Eric Sandall <eric@sandall.us> + * DETAILS: BUILD_API=2 + Shortened SHORT + * BUILD: Converted to BUILD_API 2 + Add "-I../include" to CFLAGS for making demoprogs (Bug #7069) + * INSTALL: Added + Apply linux-2.6.patch if running a 2.6 kernel + * linux-2.6.patch: Patch for no modversions.h in 2.6 kernels + (Bug #7072) + * WIP: The patch is never applied... + +2004-07-02 Seth Woolley <seth@tautology.org> + * BUILD: make all, not modules for helper module. + +2004-06-22 Sergey Lipnevich <sergey@sourcemage.org> + * DETAILS: upgrade to 1.9.19; + * BUILD,*.patch: remove patches. + +2004-05-14 Eric Sandall <eric@sandall.us> + * BUILD: Remove reference to gentoo's patch, since + I forgot to add it and svgalib works without it. :) + Bug #6554 thanks to Adam Clark + +2004-05-12 Eric Sandall <eric@sandall.us> + * DETAILS: Updated to 1.9.18 (Bug #6554) + Still fails with multiple make jobs + Removed MAINTAINER + * svgalib-1.9.18-gcc33.patch,svgalib-1.9.18-gcc34.patch + svgalib-1.9.18-linux2.6-v2.patch: Added (Bug #6554) from: + http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-libs/svgalib/files + * BUILD: Apply patches from Gentoo + Do some voodoo from Gentoo's ebuild + Fix a few extra files for threeDKit + * HISTORY: Formatted to Guru Handbook + +2003-07-10 Eric Sandall <eric@sandall.us> + * DETAILS: Updated to 1.9.17 (Bug #3692) + Added MAKE_NJOBS=1 + +2002-06-12 Unet <unet@sourcemage.org> + * Created this. + diff --git a/display/svgalib/INSTALL b/display/svgalib/INSTALL new file mode 100755 index 0000000000..44d4ac49b6 --- /dev/null +++ b/display/svgalib/INSTALL @@ -0,0 +1,13 @@ +make_normal && +make prefix=${INSTALL_ROOT}/usr install && +cd kernel/svgalib_helper && +if [ `uname -r | cut -d. -f1,2` == "2.6" ] +then + message "${MESSAGE_COLOR}Installing for 2.6...${DEFAULT_COLOR}" && + make install +else + message "${MESSAGE_COLOR}Installing for 2.4...${DEFAULT_COLOR}" && + env -u ARCH \ + make -f Makefile.alt prefix=${INSTALL_ROOT} \ + INCLUDEDIR="/usr/src/linux/include" install +fi diff --git a/display/svgalib/TRIGGERS b/display/svgalib/TRIGGERS new file mode 100755 index 0000000000..bb1c400625 --- /dev/null +++ b/display/svgalib/TRIGGERS @@ -0,0 +1 @@ +on_cast linux cast_self |