BSD Ports

graphics/svgalib 1.4.3_10 MidnightBSD

Low level console graphics library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
publicdom
Categories
graphics, devel

Description

This is a low level console graphics library, originally based on VGAlib 1.2 by Tommy Frandsen. VGAlib supported a number of standard VGA graphics modes, as well as high resolution/high color modes found on many popular graphics adapters. As of now, support for many more chipsets had been added.

It supports transparent virtual console switching, that is, you can switch consoles to and from text and graphics mode consoles using Alt-[Function Key]. Also, SVGAlib corrects most of VGAlib's textmode corruption behavior by catching SIGSEGV, SIGFPE, SIGILL, and other fatal signals and ensuring that a program is running in the currently visible virtual console before setting a graphics mode.

In the other systems

SystemPortVersion
MidnightBSDgraphics/svgalib1.4.3_10
FreeBSDgraphics/svgalib1.4.3_8
DragonFlygraphics/svgalib1.4.3_8
HardenedBSDgraphics/svgalib1.4.3_8
GhostBSDgraphics/svgalib1.4.3_8

Install

Binary package:

mport install svgalib

From mports:

cd /usr/mports/graphics/svgalib && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	svgalib>0:graphics/svgalib
LIB_DEPENDS=	libvga.so:graphics/svgalib

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
cpe gmake uidfix dos2unix shebangfix
Service scripts
none

Files

Manual pages 239
  • accel(6)
  • bg_test(6)
  • convfont(1)
  • currentcontext(3)
  • dumpreg(1)
  • eventtest(6)
  • fix132x43(1)
  • forktest(6)
  • fun(6)
  • gl_allocatecontext(3)
  • gl_bcircle(3)
  • gl_circle(3)
  • gl_clearscreen(3)
  • gl_colorfont(3)
  • gl_compileboxmask(3)
  • gl_compiledboxmasksize(3)
  • gl_copybox(3)
  • gl_copyboxfromcontext(3)
  • gl_copyboxtocontext(3)
  • gl_copyscreen(3)
  • gl_disableclipping(3)
  • gl_enableclipping(3)
  • gl_enablepageflipping(3)
  • gl_expandfont(3)
  • gl_fillbox(3)
  • gl_fillcircle(3)
  • gl_font8x8(3)
  • gl_freecontext(3)
  • gl_getbox(3)
  • gl_getcontext(3)
  • gl_getpalette(3)
  • gl_getpalettecolor(3)
  • gl_getpalettecolors(3)
  • gl_getpixel(3)
  • gl_getpixelrgb(3)
  • gl_hline(3)
  • gl_line(3)
  • gl_printf(3)
  • gl_putbox(3)
  • gl_putboxmask(3)
  • gl_putboxmaskcompiled(3)
  • gl_putboxpart(3)
  • gl_rgbcolor(3)
  • gl_scalebox(3)
  • gl_setclippingwindow(3)
  • gl_setcontext(3)
  • gl_setcontextheight(3)
  • gl_setcontextvga(3)
  • gl_setcontextvgavirtual(3)
  • gl_setcontextvirtual(3)
  • gl_setcontextwidth(3)
  • gl_setdisplaystart(3)
  • gl_setfont(3)
  • gl_setfontcolors(3)
  • gl_setpalette(3)
  • gl_setpalettecolor(3)
  • gl_setpalettecolors(3)
  • gl_setpixel(3)
  • gl_setpixelrgb(3)
  • gl_setrgbpalette(3)
  • gl_setscreenoffset(3)
  • gl_setwritemode(3)
  • gl_striangle(3)
  • gl_swtriangle(3)
  • gl_triangle(3)
  • gl_trigetcolorlookup(3)
  • gl_trisetcolorlookup(3)
  • gl_trisetdrawpoint(3)
  • gl_write(3)
  • gl_writen(3)
  • gl_wtriangle(3)
  • graph_mem(3)
  • joystick_button1(3)
  • joystick_button2(3)
  • joystick_button3(3)
  • joystick_button4(3)
  • joystick_close(3)
  • joystick_getaxis(3)
  • joystick_getb1(3)
  • joystick_getb2(3)
  • joystick_getb3(3)
  • joystick_getb4(3)
  • joystick_getbutton(3)
  • joystick_getnumaxes(3)
  • joystick_getnumbuttons(3)
  • joystick_getx(3)
  • joystick_gety(3)
  • joystick_getz(3)
  • joystick_init(3)
  • joystick_setdefaulthandler(3)
  • joystick_sethandler(3)
  • joystick_update(3)
  • joystick_x(3)
  • joystick_y(3)
  • joystick_z(3)
  • joytest(6)
  • keyboard_clearstate(3)
  • keyboard_close(3)
  • keyboard_getstate(3)
  • keyboard_init(3)
  • keyboard_init_return_fd(3)
  • keyboard_keypressed(3)
  • keyboard_setdefaulteventhandler(3)
  • keyboard_seteventhandler(3)
  • keyboard_translatekeys(3)
  • keyboard_update(3)
  • keyboard_waitforupdate(3)
  • keytest(6)
  • libvga.config(5)
  • libvga.et4000(5)
  • lineart(6)
  • mach32info(6)
  • mjoytest(6)
  • mode3(8)
  • mouse_close(3)
  • mouse_getbutton(3)
  • mouse_getcaps(3)
  • mouse_getposition_6d(3)
  • mouse_getx(3)
  • mouse_gety(3)
  • mouse_init(3)
  • mouse_init_return_fd(3)
  • mouse_setdefaulteventhandler(3)
  • mouse_seteventhandler(3)
  • mouse_setposition(3)
  • mouse_setposition_6d(3)
  • mouse_setrange_6d(3)
  • mouse_setscale(3)
  • mouse_setwrap(3)
  • mouse_setxrange(3)
  • mouse_setyrange(3)
  • mouse_update(3)
  • mouse_waitforupdate(3)
  • mousetest(6)
  • plane(6)
  • printftest(6)
  • restorefont(1)
  • restorepalette(1)
  • restoretextmode(1)
  • runx(1)
  • savetextmode(1)
  • scrolltest(6)
  • setmclk(1)
  • speedtest(6)
  • spin(6)
  • svgakeymap(1)
  • svgalib(7)
  • svgalib.chips(7)
  • svgalib.et4000(7)
  • svgalib.faq(7)
  • svgalib.mach32(7)
  • svgalibrc(5)
  • svidtune(6)
  • testaccel(6)
  • testgl(6)
  • testlinear(6)
  • textmode(1)
  • threed(6)
  • threedkit(7)
  • vga_accel(3)
  • vga_addmode(3)
  • vga_addtiming(3)
  • vga_bitblt(3)
  • vga_blitwait(3)
  • vga_changetiming(3)
  • vga_claimvideomemory(3)
  • vga_clear(3)
  • vga_copytoplanar16(3)
  • vga_copytoplanar256(3)
  • vga_copytoplane(3)
  • vga_disabledriverreport(3)
  • vga_drawline(3)
  • vga_drawpixel(3)
  • vga_drawscanline(3)
  • vga_drawscansegment(3)
  • vga_dumpregs(3)
  • vga_ext_set(3)
  • vga_fillblt(3)
  • vga_flip(3)
  • vga_getch(3)
  • vga_getcolors(3)
  • vga_getcurrentchipset(3)
  • vga_getcurrentmode(3)
  • vga_getcurrenttiming(3)
  • vga_getdefaultmode(3)
  • vga_getgraphmem(3)
  • vga_getkey(3)
  • vga_getmodeinfo(3)
  • vga_getmodename(3)
  • vga_getmodenumber(3)
  • vga_getmonitortype(3)
  • vga_getmousetype(3)
  • vga_getpalette(3)
  • vga_getpalvec(3)
  • vga_getpixel(3)
  • vga_getscansegment(3)
  • vga_gettextfont(3)
  • vga_gettextmoderegs(3)
  • vga_getxdim(3)
  • vga_getydim(3)
  • vga_guesstiming(3)
  • vga_hasmode(3)
  • vga_hlinelistblt(3)
  • vga_imageblt(3)
  • vga_init(3)
  • vga_lastmodenumber(3)
  • vga_lockvc(3)
  • vga_oktowrite(3)
  • vga_puttextfont(3)
  • vga_runinbackground(3)
  • vga_runinbackground_version(3)
  • vga_safety_fork(3)
  • vga_screenoff(3)
  • vga_screenon(3)
  • vga_setchipset(3)
  • vga_setchipsetandfeatures(3)
  • vga_setcolor(3)
  • vga_setdisplaystart(3)
  • vga_setegacolor(3)
  • vga_setflipchar(3)
  • vga_setlinearaddressing(3)
  • vga_setlogicalwidth(3)
  • vga_setmode(3)
  • vga_setmodeX(3)
  • vga_setmousesupport(3)
  • vga_setpage(3)
  • vga_setpalette(3)
  • vga_setpalvec(3)
  • vga_setreadpage(3)
  • vga_setrgbcolor(3)
  • vga_settextmoderegs(3)
  • vga_setwritepage(3)
  • vga_unlockvc(3)
  • vga_waitevent(3)
  • vga_waitretrace(3)
  • vga_white(3)
  • vgagl(7)
  • vgatest(6)
  • wrapdemo(6)
pkg-plist 263
  • bin/dumpreg
  • bin/restorefont
  • bin/restorepalette
  • bin/restoretextmode
  • bin/savetextmode
  • bin/svgakeymap
  • bin/textmode
  • etc/vga/dvorak-us.keymap
  • etc/vga/libvga.config
  • etc/vga/libvga.et4000
  • etc/vga/null.keymap
  • include/linux/kd.h
  • include/linux/keyboard.h
  • include/vga.h
  • include/vgagl.h
  • include/vgajoystick.h
  • include/vgakeyboard.h
  • include/vgamouse.h
  • lib/libvga.a
  • lib/libvga.so
  • lib/libvga.so.1
  • lib/libvgagl.a
  • lib/libvgagl.so
  • lib/libvgagl.so.1
  • share/man/man1/convfont.1.gz
  • share/man/man1/dumpreg.1.gz
  • share/man/man1/fix132x43.1.gz
  • share/man/man1/restorefont.1.gz
  • share/man/man1/restorepalette.1.gz
  • share/man/man1/restoretextmode.1.gz
  • share/man/man1/runx.1.gz
  • share/man/man1/savetextmode.1.gz
  • share/man/man1/setmclk.1.gz
  • share/man/man1/svgakeymap.1.gz
  • share/man/man1/textmode.1.gz
  • share/man/man3/currentcontext.3.gz
  • share/man/man3/gl_allocatecontext.3.gz
  • share/man/man3/gl_bcircle.3.gz
  • share/man/man3/gl_circle.3.gz
  • share/man/man3/gl_clearscreen.3.gz
  • share/man/man3/gl_colorfont.3.gz
  • share/man/man3/gl_compileboxmask.3.gz
  • share/man/man3/gl_compiledboxmasksize.3.gz
  • share/man/man3/gl_copybox.3.gz
  • share/man/man3/gl_copyboxfromcontext.3.gz
  • share/man/man3/gl_copyboxtocontext.3.gz
  • share/man/man3/gl_copyscreen.3.gz
  • share/man/man3/gl_disableclipping.3.gz
  • share/man/man3/gl_enableclipping.3.gz
  • share/man/man3/gl_enablepageflipping.3.gz
  • share/man/man3/gl_expandfont.3.gz
  • share/man/man3/gl_fillbox.3.gz
  • share/man/man3/gl_fillcircle.3.gz
  • share/man/man3/gl_font8x8.3.gz
  • share/man/man3/gl_freecontext.3.gz
  • share/man/man3/gl_getbox.3.gz
  • share/man/man3/gl_getcontext.3.gz
  • share/man/man3/gl_getpalette.3.gz
  • share/man/man3/gl_getpalettecolor.3.gz
  • share/man/man3/gl_getpalettecolors.3.gz
  • share/man/man3/gl_getpixel.3.gz
  • share/man/man3/gl_getpixelrgb.3.gz
  • share/man/man3/gl_hline.3.gz
  • share/man/man3/gl_line.3.gz
  • share/man/man3/gl_printf.3.gz
  • share/man/man3/gl_putbox.3.gz
  • share/man/man3/gl_putboxmask.3.gz
  • share/man/man3/gl_putboxmaskcompiled.3.gz
  • share/man/man3/gl_putboxpart.3.gz
  • share/man/man3/gl_rgbcolor.3.gz
  • share/man/man3/gl_scalebox.3.gz
  • share/man/man3/gl_setclippingwindow.3.gz
  • share/man/man3/gl_setcontext.3.gz
  • share/man/man3/gl_setcontextheight.3.gz
  • share/man/man3/gl_setcontextvga.3.gz
  • share/man/man3/gl_setcontextvgavirtual.3.gz
  • share/man/man3/gl_setcontextvirtual.3.gz
  • share/man/man3/gl_setcontextwidth.3.gz
  • share/man/man3/gl_setdisplaystart.3.gz
  • share/man/man3/gl_setfont.3.gz
  • share/man/man3/gl_setfontcolors.3.gz
  • share/man/man3/gl_setpalette.3.gz
  • share/man/man3/gl_setpalettecolor.3.gz
  • share/man/man3/gl_setpalettecolors.3.gz
  • share/man/man3/gl_setpixel.3.gz
  • share/man/man3/gl_setpixelrgb.3.gz
  • share/man/man3/gl_setrgbpalette.3.gz
  • share/man/man3/gl_setscreenoffset.3.gz
  • share/man/man3/gl_setwritemode.3.gz
  • share/man/man3/gl_striangle.3.gz
  • share/man/man3/gl_swtriangle.3.gz
  • share/man/man3/gl_triangle.3.gz
  • share/man/man3/gl_trigetcolorlookup.3.gz
  • share/man/man3/gl_trisetcolorlookup.3.gz
  • share/man/man3/gl_trisetdrawpoint.3.gz
  • share/man/man3/gl_write.3.gz
  • share/man/man3/gl_writen.3.gz
  • share/man/man3/gl_wtriangle.3.gz
  • share/man/man3/graph_mem.3.gz
  • share/man/man3/joystick_button1.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
svgalib-1.4.3.tar.gz8402825cc75a3a4acb26b57b302b19df406dd772a85cc218d1527c4a57eff53b29ce13
Master sites 1
  • http://www.svgalib.org/