fpc/packages/svgalib
pierre 1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
..
examples + Update all Makefile's modified by 2011-08-16 20:10:19 +00:00
src
fpmake.pp * Trunk version to 2.7.1 2011-08-03 13:59:33 +00:00
Makefile + Update all Makefile's modified by 2011-08-16 20:10:19 +00:00
Makefile.fpc * Trunk version to 2.7.1 2011-08-03 13:59:33 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00

This is the svgalib unit for Free Pascal.

Requirements:

To use this unit, you need at least:
 - Free Pascal 0.99.8 or higher
 - libsvga 1.2.10 or higher

Installation:

Edit the makefile to suit your setup (compile, options, where do you want to install)

Just type 'make', and all units will be compiled.
Type 'make install' to install the units.

Testing:

Two small testprograms have been provided:

vgatest : This is a translation of the C program that comes with svgalib.
testvga : Small program to demonstrate that you can draw lines on the screen in any mode.

typing 'make test' will compile the programs.

It is possible that you must be root to run these programs, 
The SVGAlib docs I have aren't clear about that.
If the programs should be able run as another user, you should make them setuid root.

I tested everything as root, and it ran smoothly, your mileage may vary, however.

Michael.