pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics Add gl2ps 1.4.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/941b2daa7960
branches:  trunk
changeset: 451965:941b2daa7960
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue May 04 14:05:43 2021 +0000

description:
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.

diffstat:

 graphics/Makefile            |   3 ++-
 graphics/gl2ps/DESCR         |  14 ++++++++++++++
 graphics/gl2ps/Makefile      |  22 ++++++++++++++++++++++
 graphics/gl2ps/PLIST         |  12 ++++++++++++
 graphics/gl2ps/buildlink3.mk |  18 ++++++++++++++++++
 graphics/gl2ps/distinfo      |   6 ++++++
 6 files changed, 74 insertions(+), 1 deletions(-)

diffs (109 lines):

diff -r af23b5f2acdb -r 941b2daa7960 graphics/Makefile
--- a/graphics/Makefile Tue May 04 13:55:14 2021 +0000
+++ b/graphics/Makefile Tue May 04 14:05:43 2021 +0000
@@ -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+=       gimp2-wideangle
 SUBDIR+=       giram
 SUBDIR+=       girara
+SUBDIR+=       gl2ps
 SUBDIR+=       gle
 SUBDIR+=       glew
 SUBDIR+=       glfw
diff -r af23b5f2acdb -r 941b2daa7960 graphics/gl2ps/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gl2ps/DESCR      Tue May 04 14:05:43 2021 +0000
@@ -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.
diff -r af23b5f2acdb -r 941b2daa7960 graphics/gl2ps/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gl2ps/Makefile   Tue May 04 14:05:43 2021 +0000
@@ -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@localhost
+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"
diff -r af23b5f2acdb -r 941b2daa7960 graphics/gl2ps/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gl2ps/PLIST      Tue May 04 14:05:43 2021 +0000
@@ -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
diff -r af23b5f2acdb -r 941b2daa7960 graphics/gl2ps/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gl2ps/buildlink3.mk      Tue May 04 14:05:43 2021 +0000
@@ -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
diff -r af23b5f2acdb -r 941b2daa7960 graphics/gl2ps/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gl2ps/distinfo   Tue May 04 14:05:43 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index