BSD Ports

graphics/graphene 1.10.8nb4 NetBSD

Thin layer of graphic data types

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
License
mit
Categories
graphics
Package size
101.9 KiB, 1026.2 KiB installed

Description

When creating graphic libraries you most likely end up dealing with points and rectangles. If you're particularly unlucky, you may end up dealing with affine matrices and 2D transformations. If you're writing a graphic library with 3D transformations, though, you are going to hit the jackpot: 4x4 matrices, projections, transformations, vectors, and quaternions.

Most of this stuff exists, in various forms, in other libraries, but it has the major drawback of coming along with the rest of those libraries, which may or may not be what you want. Those libraries are also available in various languages, as long as those languages are C++; again, it may or may not be something you want.

For this reason, I decided to write the thinnest, smallest possible layer needed to write a canvas library; given its relative size, and the propensity for graphics libraries to have a pun in their name, I decided to call it Graphene.

This library provides types and their relative API; it does not deal with windowing system surfaces, drawing, scene graphs, or input. You're supposed to do that yourself, in your own canvas implementation, which is the whole point of writing the library in the first place.

In the other systems

SystemPortVersion
NetBSDgraphics/graphene1.10.8nb4
FreeBSDgraphics/graphene1.10.8_1
OpenBSDgraphics/graphene1.10.8p1
DragonFlygraphics/graphene1.10.8_1
MidnightBSDgraphics/graphene1.10.8_1
HardenedBSDgraphics/graphene1.10.8_1
GhostBSDgraphics/graphene1.10.8_1

Install

Binary package:

pkgin install graphene

From pkgsrc:

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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.10.8nb4
NetBSD 10.1 aarch641.10.8nb3
SmartOS / illumos x86_641.10.8nb6
macOS 15 arm641.10.8nb6

Dependencies

Run dependencies 2

Commit history 3

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