NEW: print/gl2ps

2015-04-24 Thread Ingo Feinerer
Hi,

I am an occasional Octave (math/octave) user. Newer versions check for
gl2ps. Please find attached a corresponding port for it:

GL2PS is a C library providing high quality vector output for any OpenGL
application.

Please someone test (and commit) it.

There are two nice examples (see pkg/PLIST) included which can be
compiled with

gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib -L/usr/local/lib 
gl2psTestSimple.c -o gl2psTestSimple -lglut -lGL -lGLU -lX11 -lm -lgl2ps
gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib -L/usr/local/lib 
gl2psTest.c -o gl2psTest -lglut -lGL -lGLU -lX11 -lm -lgl2ps

They work for me (on amd64) and math/octave (newer than what is
currently in ports) is happy with it as well.

Thanks!

Best regards,
Ingo


gl2ps.tar.gz
Description: application/tar-gz


Re: NEW: print/gl2ps

2015-04-30 Thread Ingo Feinerer
ping?
(original message with attachment at 
https://marc.info/?l=openbsd-ports&m=142989681714213&w=2)

On Fri, Apr 24, 2015 at 07:31:02PM +0200, Ingo Feinerer wrote:
> I am an occasional Octave (math/octave) user. Newer versions check for
> gl2ps. Please find attached a corresponding port for it:
> 
> GL2PS is a C library providing high quality vector output for any OpenGL
> application.
> 
> Please someone test (and commit) it.
> 
> There are two nice examples (see pkg/PLIST) included which can be
> compiled with
> 
> gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib 
> -L/usr/local/lib gl2psTestSimple.c -o gl2psTestSimple -lglut -lGL -lGLU -lX11 
> -lm -lgl2ps
>
> gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib 
> -L/usr/local/lib gl2psTest.c -o gl2psTest -lglut -lGL -lGLU -lX11 -lm -lgl2ps
> 
> They work for me (on amd64) and math/octave (newer than what is
> currently in ports) is happy with it as well.