BSD Ports

graphics/g2 0.50nb43 NetBSD

Powerful, easy to use 2D graphics library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
Categories
graphics
Package size
85.4 KiB, 450.1 KiB installed

Description

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 development).

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.

In the other systems

SystemPortVersion
NetBSDgraphics/g20.50nb43
FreeBSDgraphics/g20.72
DragonFlygraphics/g20.72

Install

Binary package:

pkgin install g2

From pkgsrc:

cd /usr/pkgsrc/graphics/g2 && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Commit history 5

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
5e4aea17e2 wiz *: recursive bump for pcre2 10.48
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.
618415630a wiz *: recursive bump for perl5 5.44.0