libggi from the GGI project.

This commit is contained in:
todd 1999-02-01 09:25:07 +00:00
parent 599611692d
commit 47132f0434
6 changed files with 272 additions and 0 deletions

40
graphics/ggi/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/02/01 09:25:07 todd Exp $
#
DISTNAME= libggi-2.0b1
CATEGORIES= graphics
MASTER_SITES= ftp://sunsite.unc.edu:/pub/ggi/ggi/2_0_beta_1/ \
ftp://synergy.caltech.edu:/pub/ggi/ggi/2_0_beta_1/ \
ftp://www.us.ggi-project.org:/pub/ggi/ggi/2_0_beta_1/ \
ftp://gd.tuwien.ac.at:/graphics/libs/ggi/ggi/2_0_beta_1/ \
ftp://ftp.gts.cz:/pub/linux/ggi/ggi/2_0_beta_1/ \
ftp://ftp.bero-online.ml.org:/pub/linux/ggi/ggi/2_0_beta_1/ \
ftp://ftp.via.ecp.fr:/pub/ggi/ggi/2_0_beta_1/ \
ftp://ftp.unina.it:/pub/linux/ggi/ggi/2_0_beta_1/ \
ftp://sunsite.icm.edu.pl:/pub/unix/gui/ggi/ggi/2_0_beta_1/ \
ftp://ftp.mratnet.com:/pub/ggi/ggi/2_0_beta_1/
MAINTAINER= todd@openbsd.org
USE_GMAKE= YES
GNU_CONFIGURE= YES
.if (${MACHINE_ARCH} != "alpha")
CONFIGURE_ARGS+= --enable-shared
.endif
LIB_DEPENDS= gii\\.0\\.:${PORTSDIR}/graphics/gii
post-install:
${MKDIR} -p ${docdir}
${INSTALL_DATA} ${WRKSRC}/README ${docdir}/README
${INSTALL_DATA} ${WRKSRC}/libggi.conf ${docdir}/libggi.conf.example
${INSTALL_DATA} ${WRKSRC}/extensions/misc/libggimisc.conf \
${docdir}/libggimisc.conf.example
docdir=${PREFIX}/share/doc/ggi
.include <bsd.port.mk>
CONFIGURE_ARGS+= --enable-static --with-gii=${PREFIX}/
docdir=${PREFIX}/share/doc/ggi

1
graphics/ggi/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (libggi-2.0b1.tar.gz) = 2002a70787c4a146ed76e58c7b43d20e

View File

@ -0,0 +1,11 @@
--- display/terminfo/Makefile.in.orig Mon Feb 1 00:40:26 1999
+++ display/terminfo/Makefile.in Mon Feb 1 00:40:40 1999
@@ -83,7 +83,7 @@
sublib_libs = @sublib_libs@
INCLUDES = -I${top_srcdir}/include ${extra_includes}
-terminfo_la_LIBADD = ${top_builddir}/ggi/libggi.la -lncurses
+terminfo_la_LIBADD = ${top_builddir}/ggi/libggi.la -lcurses
LDFLAGS = ${extra_libraries} -sublib -export-symbols ${srcdir}/EXPSYMS
sublib_LTLIBRARIES = terminfo.la

1
graphics/ggi/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Generic Graphics Library

16
graphics/ggi/pkg/DESCR Normal file
View File

@ -0,0 +1,16 @@
LibGGI README
=============
LibGGI, the dynamic GGI (General Graphics Interface) library is a flexible
drawing library.
It provides an opaque interface to the display's acceleration functions. It
was originally intended to allow user programs to interface with KGI, the
GGI Kernel Graphics Interface, but other display types can be easily used by
loading the appropriate "display target" (e.g. X, memory).
LibGGI consists of a main library (libggi.so) and a multitude of
dynamic drivers. The library then loads the necessary "drivers" for the
requested mode, taking hints from the graphics device if necessary. LibGGI
can also load extension libraries, e.g. to provide enhanced 2D and 3D
functions.

203
graphics/ggi/pkg/PLIST Normal file
View File

@ -0,0 +1,203 @@
@cwd /usr/local/
@name libggi-2.0b1
/usr/local/bin/monitest
/usr/local/lib/ggi/display/mansync.so
/usr/local/lib/ggi/display/mansync.la
/usr/local/lib/ggi/display/mansync.a
/usr/local/lib/ggi/display/X.so
/usr/local/lib/ggi/display/X.la
/usr/local/lib/ggi/display/X.a
/usr/local/lib/ggi/display/Xlib.so
/usr/local/lib/ggi/display/Xlib.la
/usr/local/lib/ggi/display/Xlib.a
/usr/local/lib/ggi/display/file.so
/usr/local/lib/ggi/display/file.la
/usr/local/lib/ggi/display/file.a
/usr/local/lib/ggi/display/memory.so
/usr/local/lib/ggi/display/memory.la
/usr/local/lib/ggi/display/memory.a
/usr/local/lib/ggi/display/monotext.so
/usr/local/lib/ggi/display/monotext.la
/usr/local/lib/ggi/display/monotext.a
/usr/local/lib/ggi/display/multi.so
/usr/local/lib/ggi/display/multi.la
/usr/local/lib/ggi/display/multi.a
/usr/local/lib/ggi/display/palemu.so
/usr/local/lib/ggi/display/palemu.la
/usr/local/lib/ggi/display/palemu.a
/usr/local/lib/ggi/display/sub.so
/usr/local/lib/ggi/display/sub.la
/usr/local/lib/ggi/display/sub.a
/usr/local/lib/ggi/display/tele.so
/usr/local/lib/ggi/display/tele.la
/usr/local/lib/ggi/display/tele.a
/usr/local/lib/ggi/display/terminfo.so
/usr/local/lib/ggi/display/terminfo.la
/usr/local/lib/ggi/display/terminfo.a
/usr/local/lib/ggi/display/tile.so
/usr/local/lib/ggi/display/tile.la
/usr/local/lib/ggi/display/tile.a
/usr/local/lib/ggi/display/trueemu.so
/usr/local/lib/ggi/display/trueemu.la
/usr/local/lib/ggi/display/trueemu.a
/usr/local/lib/ggi/display/xf86dga.so
/usr/local/lib/ggi/display/xf86dga.la
/usr/local/lib/ggi/display/xf86dga.a
/usr/local/lib/ggi/display/X-misc.so
/usr/local/lib/ggi/display/X-misc.la
/usr/local/lib/ggi/display/X-misc.a
/usr/local/lib/ggi/default/stubs.so
/usr/local/lib/ggi/default/stubs.la
/usr/local/lib/ggi/default/stubs.a
/usr/local/lib/ggi/default/color.so
/usr/local/lib/ggi/default/color.la
/usr/local/lib/ggi/default/color.a
/usr/local/lib/ggi/default/text_16.so
/usr/local/lib/ggi/default/text_16.la
/usr/local/lib/ggi/default/text_16.a
/usr/local/lib/ggi/default/text_32.so
/usr/local/lib/ggi/default/text_32.la
/usr/local/lib/ggi/default/text_32.a
/usr/local/lib/ggi/default/linear_1.so
/usr/local/lib/ggi/default/linear_1.la
/usr/local/lib/ggi/default/linear_1.a
/usr/local/lib/ggi/default/linear_1_r.so
/usr/local/lib/ggi/default/linear_1_r.la
/usr/local/lib/ggi/default/linear_1_r.a
/usr/local/lib/ggi/default/linear_4.so
/usr/local/lib/ggi/default/linear_4.la
/usr/local/lib/ggi/default/linear_4.a
/usr/local/lib/ggi/default/linear_8.so
/usr/local/lib/ggi/default/linear_8.la
/usr/local/lib/ggi/default/linear_8.a
/usr/local/lib/ggi/default/linear_16.so
/usr/local/lib/ggi/default/linear_16.la
/usr/local/lib/ggi/default/linear_16.a
/usr/local/lib/ggi/default/linear_24.so
/usr/local/lib/ggi/default/linear_24.la
/usr/local/lib/ggi/default/linear_24.a
/usr/local/lib/ggi/default/linear_32.so
/usr/local/lib/ggi/default/linear_32.la
/usr/local/lib/ggi/default/linear_32.a
/usr/local/lib/ggi/default/planar.so
/usr/local/lib/ggi/default/planar.la
/usr/local/lib/ggi/default/planar.a
/usr/local/lib/ggi/default/ilbm.so
/usr/local/lib/ggi/default/ilbm.la
/usr/local/lib/ggi/default/ilbm.a
/usr/local/lib/ggi/default/iplanar_2p.so
/usr/local/lib/ggi/default/iplanar_2p.la
/usr/local/lib/ggi/default/iplanar_2p.a
/usr/local/lib/libggi.so.2.0
/usr/local/lib/libggi.la
/usr/local/lib/libggi.a
/usr/local/lib/libggimisc.so.1.0
/usr/local/lib/libggimisc.la
/usr/local/lib/libggimisc.a
/usr/local/man/man3/ggiInit.3ggi
/usr/local/man/man3/ggiExit.3ggi
/usr/local/man/man3/ggiPanic.3ggi
/usr/local/man/man3/ggiOpen.3ggi
/usr/local/man/man3/ggiClose.3ggi
/usr/local/man/man3/ggiCopyBox.3ggi
/usr/local/man/man3/ggiCrossBlit.3ggi
/usr/local/man/man3/ggiDBGetNumBuffers.3ggi
/usr/local/man/man3/ggiDBGetBuffer.3ggi
/usr/local/man/man3/ggiGetPixelFormat.3ggi
/usr/local/man/man3/ggiParseMode.3ggi
/usr/local/man/man3/ggiPrintMode.3ggi
/usr/local/man/man3/ggiDrawLine.3ggi
/usr/local/man/man3/ggiFillscreen.3ggi
/usr/local/man/man3/ggiDrawPixel.3ggi
/usr/local/man/man3/ggiPutPixel.3ggi
/usr/local/man/man3/ggiGetPixel.3ggi
/usr/local/man/man3/ggiDrawBox.3ggi
/usr/local/man/man3/ggiDrawHLine.3ggi
/usr/local/man/man3/ggiDrawVLine.3ggi
/usr/local/man/man3/ggiPutBox.3ggi
/usr/local/man/man3/ggiPutHLine.3ggi
/usr/local/man/man3/ggiPutVLine.3ggi
/usr/local/man/man3/ggiGetBox.3ggi
/usr/local/man/man3/ggiGetHLine.3ggi
/usr/local/man/man3/ggiGetVLine.3ggi
/usr/local/man/man3/ggiSetDisplayFrame.3ggi
/usr/local/man/man3/ggiSetWriteFrame.3ggi
/usr/local/man/man3/ggiSetReadFrame.3ggi
/usr/local/man/man3/ggiGetDisplayFrame.3ggi
/usr/local/man/man3/ggiGetWriteFrame.3ggi
/usr/local/man/man3/ggiGetReadFrame.3ggi
/usr/local/man/man3/ggiSetFlags.3ggi
/usr/local/man/man3/ggiFlush.3ggi
/usr/local/man/man3/ggiSetGCClipping.3ggi
/usr/local/man/man3/ggiSetGCForeground.3ggi
/usr/local/man/man3/ggiSetGCBackground.3ggi
/usr/local/man/man3/ggiGetGCClipping.3ggi
/usr/local/man/man3/ggiGetGCForeground.3ggi
/usr/local/man/man3/ggiSetMode.3ggi
/usr/local/man/man3/ggiGetGCBackground.3ggi
/usr/local/man/man3/ggiSetGraphMode.3ggi
/usr/local/man/man3/ggiSetTextMode.3ggi
/usr/local/man/man3/ggiCheckMode.3ggi
/usr/local/man/man3/ggiCheckGraphMode.3ggi
/usr/local/man/man3/ggiCheckTextMode.3ggi
/usr/local/man/man3/ggiGetMode.3ggi
/usr/local/man/man3/ggiSetOrigin.3ggi
/usr/local/man/man3/ggiSetPalette.3ggi
/usr/local/man/man3/ggiGetPalette.3ggi
/usr/local/man/man3/ggiSetGamma.3ggi
/usr/local/man/man3/ggiGetGamma.3ggi
/usr/local/man/man3/ggiMapColor.3ggi
/usr/local/man/man3/ggiUnmapPixel.3ggi
/usr/local/man/man3/ggiPackColors.3ggi
/usr/local/man/man3/ggiUnpackPixels.3ggi
/usr/local/include/ggi/internal/debug.h
/usr/local/include/ggi/internal/dltypes.h
/usr/local/include/ggi/internal/ggi-dl.h
/usr/local/include/ggi/internal/ggidlinit.h
/usr/local/include/ggi/internal/ggilibinit.h
/usr/local/include/ggi/internal/structs.h
/usr/local/include/ggi/internal/internal.h
/usr/local/include/ggi/internal/plat.h
/usr/local/include/ggi/internal/misc_int.h
/usr/local/include/ggi/display/aa.h
/usr/local/include/ggi/display/fbdev.h
/usr/local/include/ggi/display/file.h
/usr/local/include/ggi/display/glide.h
/usr/local/include/ggi/display/mansync.h
/usr/local/include/ggi/display/memory.h
/usr/local/include/ggi/display/modelist.h
/usr/local/include/ggi/display/monotext.h
/usr/local/include/ggi/display/multi.h
/usr/local/include/ggi/display/palemu.h
/usr/local/include/ggi/display/sub.h
/usr/local/include/ggi/display/svgalib.h
/usr/local/include/ggi/display/tele.h
/usr/local/include/ggi/display/tile.h
/usr/local/include/ggi/display/trueemu.h
/usr/local/include/ggi/display/vcsa.h
/usr/local/include/ggi/display/x.h
/usr/local/include/ggi/display/xf86dga.h
/usr/local/include/ggi/display/xlib.h
/usr/local/include/ggi/types.h
/usr/local/include/ggi/ggi.h
/usr/local/include/ggi/ggi_ext.h
/usr/local/include/ggi/misc.h
/usr/local/share/doc/ggi/README
/usr/local/share/doc/ggi/libggi.conf.example
/usr/local/share/doc/ggi/libggimisc.conf.example
@dirrm /usr/local/share/doc/ggi
@dirrm /usr/local/include/ggi/display
@dirrm /usr/local/include/ggi/internal
@dirrm /usr/local/include/ggi
@dirrm /usr/local/lib/ggi/default
@dirrm /usr/local/lib/ggi/display
@dirrm /usr/local/lib/ggi
@unexec echo "***"
@unexec echo "*** gii configuation files stored in /etc/ggi have not been"
@unexec echo "*** removed. You may wish to remove them manually."
@unexec echo "***"
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m /usr/local/lib
@exec [ -d /etc/ggi ] && mkdir -p /etc/ggi
@exec [ -f /etc/ggi/libggi.conf ] || cp /usr/local/share/doc/ggi/libggi.conf.example /etc/ggi/libggi.conf
@exec [ -f /etc/ggi/libggimisc.conf ] || cp /usr/local/share/doc/ggi/libggimisc.conf.example /etc/ggi/libggimisc.conf
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m /usr/local/lib