From 951e0c97279e1353d45ff35cb2dee986d310fcac Mon Sep 17 00:00:00 2001 From: jtb Date: Wed, 7 Feb 2001 22:19:40 +0000 Subject: Initial import of g2: Powerful, easy to use 2D graphics library --- graphics/g2/Makefile | 14 ++++++++++++++ graphics/g2/files/md5 | 3 +++ graphics/g2/pkg/COMMENT | 1 + graphics/g2/pkg/DESCR | 20 ++++++++++++++++++++ graphics/g2/pkg/PLIST | 5 +++++ 5 files changed, 43 insertions(+) create mode 100644 graphics/g2/Makefile create mode 100644 graphics/g2/files/md5 create mode 100644 graphics/g2/pkg/COMMENT create mode 100644 graphics/g2/pkg/DESCR create mode 100644 graphics/g2/pkg/PLIST (limited to 'graphics/g2') diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile new file mode 100644 index 00000000000..bb881a44ec5 --- /dev/null +++ b/graphics/g2/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $ + +DISTNAME= g2-0.40 +CATEGORIES= graphics +MASTER_SITES= ftp://g2.sourceforge.net/pub/g2/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://g2.sourceforge.net/ + +GNU_CONFIGURE= yes +USE_X11= yes +ALL_TARGET= depend all + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/g2/files/md5 b/graphics/g2/files/md5 new file mode 100644 index 00000000000..02621c19278 --- /dev/null +++ b/graphics/g2/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $ + +MD5 (g2-0.40.tar.gz) = 5f6f4a426ba9e111ab23dce657afe7cd diff --git a/graphics/g2/pkg/COMMENT b/graphics/g2/pkg/COMMENT new file mode 100644 index 00000000000..f2a5e9e95db --- /dev/null +++ b/graphics/g2/pkg/COMMENT @@ -0,0 +1 @@ +Powerful, easy to use 2D graphics library diff --git a/graphics/g2/pkg/DESCR b/graphics/g2/pkg/DESCR new file mode 100644 index 00000000000..3640a6247fa --- /dev/null +++ b/graphics/g2/pkg/DESCR @@ -0,0 +1,20 @@ +g2 is a simple to use graphics library for 2D graphical applications +written in Ansi-C. + +This library provides a comprehensive set of functions for +simultaneous generation of graphical output on different types of +devices. Presently, following devices are currently supported by g2: +X11, GIF, PostScript (xfig and Win32 are in developement). + +One major feature of the g2_library is the concept of virtual +devices. An arbitrary number of physical devices (such as GIF, or X11) +can be grouped to create a so-called virtual device. Commands sent to +such a virtual devices will automatically issued to all attached +physical devices. This allows for example simultaneous output to a GIF +file and a Postscript file. A virtual device in turn can be attached +to another virtual device, allowing to construct trees of devices. +Virtual devices can also be useful when using different +user-coordinate systems. E.g. one X11 window showing an overview of a +graphical output, and a second window showing a zoom of a more +detailed area of the graphic. Drawing in both windows is performed by +one single command to the virtual device. diff --git a/graphics/g2/pkg/PLIST b/graphics/g2/pkg/PLIST new file mode 100644 index 00000000000..3ca88572c2d --- /dev/null +++ b/graphics/g2/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $ +include/g2.h +include/g2_PS.h +include/g2_X11.h +lib/libg2.a -- cgit v1.2.3