pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/graphene



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Fri Sep  4 11:21:41 UTC 2020

Added Files:
        pkgsrc/graphics/graphene: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add graphene 1.10.2

Needed for GTK4.

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/graphene/DESCR \
    pkgsrc/graphics/graphene/Makefile pkgsrc/graphics/graphene/PLIST \
    pkgsrc/graphics/graphene/buildlink3.mk pkgsrc/graphics/graphene/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/graphene/DESCR
diff -u /dev/null pkgsrc/graphics/graphene/DESCR:1.1
--- /dev/null   Fri Sep  4 11:21:41 2020
+++ pkgsrc/graphics/graphene/DESCR      Fri Sep  4 11:21:41 2020
@@ -0,0 +1,23 @@
+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.
Index: pkgsrc/graphics/graphene/Makefile
diff -u /dev/null pkgsrc/graphics/graphene/Makefile:1.1
--- /dev/null   Fri Sep  4 11:21:41 2020
+++ pkgsrc/graphics/graphene/Makefile   Fri Sep  4 11:21:41 2020
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/09/04 11:21:41 prlw1 Exp $
+
+DISTNAME=      graphene-1.10.2
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ebassi/graphene/releases/download/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://ebassi.github.io/graphene/
+COMMENT=       Thin layer of graphic data types
+LICENSE=       mit
+
+USE_TOOLS+=    pkg-config
+
+MESON_ARGS+=   -Dgobject_types=true
+MESON_ARGS+=   -Dintrospection=true
+MESON_ARGS+=   -Dtests=false
+MESON_ARGS+=   -Dinstalled_tests=false
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/graphene/PLIST
diff -u /dev/null pkgsrc/graphics/graphene/PLIST:1.1
--- /dev/null   Fri Sep  4 11:21:41 2020
+++ pkgsrc/graphics/graphene/PLIST      Fri Sep  4 11:21:41 2020
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/04 11:21:41 prlw1 Exp $
+include/graphene-1.0/graphene-box.h
+include/graphene-1.0/graphene-euler.h
+include/graphene-1.0/graphene-frustum.h
+include/graphene-1.0/graphene-gobject.h
+include/graphene-1.0/graphene-macros.h
+include/graphene-1.0/graphene-matrix.h
+include/graphene-1.0/graphene-plane.h
+include/graphene-1.0/graphene-point.h
+include/graphene-1.0/graphene-point3d.h
+include/graphene-1.0/graphene-quad.h
+include/graphene-1.0/graphene-quaternion.h
+include/graphene-1.0/graphene-ray.h
+include/graphene-1.0/graphene-rect.h
+include/graphene-1.0/graphene-simd4f.h
+include/graphene-1.0/graphene-simd4x4f.h
+include/graphene-1.0/graphene-size.h
+include/graphene-1.0/graphene-sphere.h
+include/graphene-1.0/graphene-triangle.h
+include/graphene-1.0/graphene-types.h
+include/graphene-1.0/graphene-vec2.h
+include/graphene-1.0/graphene-vec3.h
+include/graphene-1.0/graphene-vec4.h
+include/graphene-1.0/graphene-version-macros.h
+include/graphene-1.0/graphene-version.h
+include/graphene-1.0/graphene.h
+lib/girepository-1.0/Graphene-1.0.typelib
+lib/graphene-1.0/include/graphene-config.h
+lib/libgraphene-1.0.so
+lib/libgraphene-1.0.so.0
+lib/libgraphene-1.0.so.0.1000.2
+lib/pkgconfig/graphene-1.0.pc
+lib/pkgconfig/graphene-gobject-1.0.pc
+share/gir-1.0/Graphene-1.0.gir
Index: pkgsrc/graphics/graphene/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/graphene/buildlink3.mk:1.1
--- /dev/null   Fri Sep  4 11:21:41 2020
+++ pkgsrc/graphics/graphene/buildlink3.mk      Fri Sep  4 11:21:41 2020
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/09/04 11:21:41 prlw1 Exp $
+
+BUILDLINK_TREE+=       graphene
+
+.if !defined(GRAPHENE_BUILDLINK3_MK)
+GRAPHENE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.graphene+=       graphene>=1.10.2
+BUILDLINK_PKGSRCDIR.graphene?=         ../../graphics/graphene
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # GRAPHENE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -graphene
Index: pkgsrc/graphics/graphene/distinfo
diff -u /dev/null pkgsrc/graphics/graphene/distinfo:1.1
--- /dev/null   Fri Sep  4 11:21:41 2020
+++ pkgsrc/graphics/graphene/distinfo   Fri Sep  4 11:21:41 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/09/04 11:21:41 prlw1 Exp $
+
+SHA1 (graphene-1.10.2.tar.xz) = da75005317ca0e22f554e3cee60b5964b04f9926
+RMD160 (graphene-1.10.2.tar.xz) = d6fca6c59522bacc8e61d0a24bb5d1ca9d9485cc
+SHA512 (graphene-1.10.2.tar.xz) = a8a8ef1e4ccffee2313a18b9b8dda06c7ede6d49fdde8578694500634e3c90278fd30af7d88938d5ecb08c519cc3e09d21fe69d0f21cb766e056ceedbb3eafb0
+Size (graphene-1.10.2.tar.xz) = 292372 bytes



Home | Main Index | Thread Index | Old Index