Add gl2ps 1.4.2
Based on thor@'s wip/gl2ps GL2PS is a C library providing high quality vector output for any OpenGL application. The main difference between GL2PS and other similar libraries (see section 7) is the use of sorting algorithms capable of handling intersecting and stretched polygons, as well as non manifold objects. GL2PS provides advanced smooth shading and text rendering, culling of invisible primitives, mixed vector/bitmap output, and much more... GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS), Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files, as well as L^AT[E]X files for the text fragments. GL2PS also provides limited, experimental support for Portable LaTeX Graphics (PGF). Adding new vector output formats should be relatively easy; you can also use the excellent pstoedit program to transform the PostScript files generated by GL2PS into many other vector formats such as xfig, cgm, wmf, etc.
This commit is contained in:
parent
fcf0027748
commit
6a9fe9d5c7
6 changed files with 74 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.929 2021/05/03 06:25:11 thor Exp $
|
||||
# $NetBSD: Makefile,v 1.930 2021/05/04 14:05:43 prlw1 Exp $
|
||||
#
|
||||
|
||||
COMMENT= Graphics tools and libraries
|
||||
|
@ -193,6 +193,7 @@ SUBDIR+= gimp-warp-sharp
|
|||
SUBDIR+= gimp2-wideangle
|
||||
SUBDIR+= giram
|
||||
SUBDIR+= girara
|
||||
SUBDIR+= gl2ps
|
||||
SUBDIR+= gle
|
||||
SUBDIR+= glew
|
||||
SUBDIR+= glfw
|
||||
|
|
14
graphics/gl2ps/DESCR
Normal file
14
graphics/gl2ps/DESCR
Normal file
|
@ -0,0 +1,14 @@
|
|||
GL2PS is a C library providing high quality vector output for any
|
||||
OpenGL application. The main difference between GL2PS and other
|
||||
similar libraries (see section 7) is the use of sorting algorithms
|
||||
capable of handling intersecting and stretched polygons, as well
|
||||
as non manifold objects. GL2PS provides advanced smooth shading and
|
||||
text rendering, culling of invisible primitives, mixed vector/bitmap
|
||||
output, and much more... GL2PS can currently create PostScript (PS),
|
||||
Encapsulated PostScript (EPS), Portable Document Format (PDF) and
|
||||
Scalable Vector Graphics (SVG) files, as well as L^AT[E]X files for the
|
||||
text fragments. GL2PS also provides limited, experimental support for
|
||||
Portable LaTeX Graphics (PGF). Adding new vector output formats should
|
||||
be relatively easy; you can also use the excellent pstoedit program to
|
||||
transform the PostScript files generated by GL2PS into many other vector
|
||||
formats such as xfig, cgm, wmf, etc.
|
22
graphics/gl2ps/Makefile
Normal file
22
graphics/gl2ps/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# $NetBSD: Makefile,v 1.1 2021/05/04 14:05:44 prlw1 Exp $
|
||||
|
||||
DISTNAME= gl2ps-1.4.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://geuz.org/gl2ps/src/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= thomas.orgis@uni-hamburg.de
|
||||
HOMEPAGE= https://geuz.org/gl2ps/
|
||||
COMMENT= OpenGL to PostScript printing library
|
||||
LICENSE= gnu-lgpl-v2
|
||||
|
||||
USE_CMAKE= yes
|
||||
|
||||
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
|
||||
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.include "../../graphics/freeglut/buildlink3.mk"
|
||||
.include "../../graphics/png/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
12
graphics/gl2ps/PLIST
Normal file
12
graphics/gl2ps/PLIST
Normal file
|
@ -0,0 +1,12 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:05:44 prlw1 Exp $
|
||||
include/gl2ps.h
|
||||
lib/libgl2ps.a
|
||||
lib/libgl2ps.so
|
||||
lib/libgl2ps.so.1
|
||||
lib/libgl2ps.so.${PKGVERSION}
|
||||
share/doc/gl2ps/COPYING.GL2PS
|
||||
share/doc/gl2ps/COPYING.LGPL
|
||||
share/doc/gl2ps/README.txt
|
||||
share/doc/gl2ps/gl2ps.pdf
|
||||
share/doc/gl2ps/gl2psTest.c
|
||||
share/doc/gl2ps/gl2psTestSimple.c
|
18
graphics/gl2ps/buildlink3.mk
Normal file
18
graphics/gl2ps/buildlink3.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2021/05/04 14:05:44 prlw1 Exp $
|
||||
|
||||
BUILDLINK_TREE+= gl2ps
|
||||
|
||||
.if !defined(GL2PS_BUILDLINK3_MK)
|
||||
GL2PS_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.gl2ps+= gl2ps>=1.4.2
|
||||
BUILDLINK_PKGSRCDIR.gl2ps?= ../../graphics/gl2ps
|
||||
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.include "../../graphics/freeglut/buildlink3.mk"
|
||||
.include "../../graphics/png/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
|
||||
.endif # GL2PS_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -gl2ps
|
6
graphics/gl2ps/distinfo
Normal file
6
graphics/gl2ps/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2021/05/04 14:05:44 prlw1 Exp $
|
||||
|
||||
SHA1 (gl2ps-1.4.2.tgz) = ee1eb8972e9d07bbe325552e4ec15d6828e8197c
|
||||
RMD160 (gl2ps-1.4.2.tgz) = 8f680025808a65c217c8dad3be3a524e6c0c337c
|
||||
SHA512 (gl2ps-1.4.2.tgz) = 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620
|
||||
Size (gl2ps-1.4.2.tgz) = 301134 bytes
|
Loading…
Reference in a new issue