FreeBSD Bugzilla – Attachment 187416 Details for
Bug 223204
[patch] print/gl2ps: update to 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
gl2ps.patch (text/plain), 7.54 KB, created by
Tijl Coosemans
on 2017-10-24 09:37:11 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2017-10-24 09:37:11 UTC
Size:
7.54 KB
patch
obsolete
>Index: print/gl2ps/Makefile >=================================================================== >--- print/gl2ps/Makefile (revision 452074) >+++ print/gl2ps/Makefile (working copy) >@@ -2,41 +2,23 @@ > # $FreeBSD$ > > PORTNAME= gl2ps >-PORTVERSION= 1.3.9 >-PORTREVISION= 2 >+PORTVERSION= 1.4.0 > CATEGORIES= print graphics > MASTER_SITES= http://www.geuz.org/gl2ps/src/ >-EXTRACT_SUFX= .tgz > > MAINTAINER= araujo@FreeBSD.org >-COMMENT= C library providing vector output for OpenGL application >+COMMENT= C library providing vector output for OpenGL applications > >-USE_GL= yes >-USE_XORG= x11 xmu xi >-USE_LDCONFIG= yes >-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source >+LICENSE= LGPL20+ >+LICENSE_FILE= ${WRKSRC}/COPYING.LGPL > >-OPTIONS_DEFINE= DOCS >+LIB_DEPENDS= libpng.so:graphics/png > >-pre-build: >- @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile >+USES= cmake:outsource tar:tgz >+USE_GL= gl >+USE_LDCONFIG= yes >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source > >-do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/libgl2ps.so ${STAGEDIR}${PREFIX}/lib >- ${LN} -s {PREFIX}/lib/libgl2ps.so ${STAGEDIR}${PREFIX}/lib/libgl2ps.so.1 >- ${INSTALL_DATA} ${WRKSRC}/libgl2ps.a ${STAGEDIR}${PREFIX}/lib >- ${INSTALL_DATA} ${WRKSRC}/gl2ps.h ${STAGEDIR}${PREFIX}/include >- >- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >- ${INSTALL_DATA} ${WRKSRC}/gl2psTest.c ${STAGEDIR}${EXAMPLESDIR} >- ${INSTALL_DATA} ${WRKSRC}/gl2psTestSimple.c ${STAGEDIR}${EXAMPLESDIR} >- @${SED} -e 's|%%CC%%|${CC}|g; \ >- s|%%RM%%|${RM}|g; \ >- s|%%CFLAGS%%|${CFLAGS}|g; \ >- s|%%LOCALBASE%%|${LOCALBASE}|g' \ >- <${FILESDIR}/Makefile.ex >${STAGEDIR}${EXAMPLESDIR}/Makefile >- >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${STAGEDIR}${DOCSDIR} >+OPTIONS_DEFINE= DOCS > > .include <bsd.port.mk> >Index: print/gl2ps/distinfo >=================================================================== >--- print/gl2ps/distinfo (revision 452074) >+++ print/gl2ps/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (gl2ps-1.3.9.tgz) = 8a680bff120df8bcd78afac276cdc38041fed617f2721bade01213362bcc3640 >-SIZE (gl2ps-1.3.9.tgz) = 294907 >+TIMESTAMP = 1508834464 >+SHA256 (gl2ps-1.4.0.tgz) = 03cb5e6dfcd87183f3b9ba3b22f04cd155096af81e52988cc37d8d8efe6cf1e2 >+SIZE (gl2ps-1.4.0.tgz) = 300339 >Index: print/gl2ps/files/Makefile.ex >=================================================================== >--- print/gl2ps/files/Makefile.ex (revision 452074) >+++ print/gl2ps/files/Makefile.ex (nonexistent) >@@ -1,19 +0,0 @@ >-# You'll need graphics/libglut in order to build example programs >- >-CC=%%CC%% >-RM=%%RM%% >- >-CFLAGS= %%CFLAGS%% -DHAVE_ZLIB -O3 -I%%LOCALBASE%%/include >-LDFLAGS= -lgl2ps -lGL -lGLU -lglut -L%%LOCALBASE%%/lib -lX11 -lXi -lXmu -lm -lz >- >-gl2psTest: gl2psTest.o >- ${CC} ${LDFLAGS} $> -o $@ >- >-gl2psTestSimple: gl2psTestSimple.o >- ${CC} ${LDFLAGS} $> -o $@ >- >-.c.o: >- ${CC} -c ${CFLAGS} $*.c >- >-clean: >- ${RM} -f gl2psTest gl2psTest.o gl2psTestSimple gl2psTestSimple.o > >Property changes on: print/gl2ps/files/Makefile.ex >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: print/gl2ps/files/Makefile.lib >=================================================================== >--- print/gl2ps/files/Makefile.lib (revision 452074) >+++ print/gl2ps/files/Makefile.lib (nonexistent) >@@ -1,13 +0,0 @@ >-CFLAGS+= -DHAVE_ZLIB -O3 -fPIC -I${LOCALBASE}/include >-LDFLAGS= -shared -E -lGL -L${LOCALBASE}/lib -L/usr/lib -lX11 -lXi -lXmu -lm -lz >- >-all: libgl2ps.so libgl2ps.a >- >-libgl2ps.a: gl2ps.o >- ${AR} qc $@ $> >- >-libgl2ps.so: gl2ps.o >- ${LD} ${LDFLAGS} $> -o $@ >- >-.c.o: >- ${CC} -c ${CFLAGS} $*.c > >Property changes on: print/gl2ps/files/Makefile.lib >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: print/gl2ps/files/patch-CMakeLists.txt >=================================================================== >--- print/gl2ps/files/patch-CMakeLists.txt (nonexistent) >+++ print/gl2ps/files/patch-CMakeLists.txt (working copy) >@@ -0,0 +1,32 @@ >+--- CMakeLists.txt.orig 2017-04-03 23:09:28 UTC >++++ CMakeLists.txt >+@@ -79,10 +79,9 @@ endif(NOT HAVE_VSNPRINTF) >+ find_package(OpenGL) >+ if(OPENGL_FOUND) >+ list(APPEND EXTERNAL_INCLUDES ${OPENGL_INCLUDE_DIR}) >+- list(APPEND EXTERNAL_LIBRARIES ${OPENGL_LIBRARIES}) >++ list(APPEND EXTERNAL_LIBRARIES ${OPENGL_gl_LIBRARY}) >+ endif(OPENGL_FOUND) >+ >+-find_package(GLUT) >+ if(GLUT_FOUND) >+ list(APPEND EXTERNAL_INCLUDES ${GLUT_INCLUDE_DIR}) >+ list(APPEND EXTERNAL_LIBRARIES ${GLUT_LIBRARIES}) >+@@ -138,8 +137,7 @@ endif(WIN32) >+ >+ install(FILES gl2ps.h DESTINATION include) >+ install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${GL2PS_DOC}) >+-install(FILES ${CMAKE_SOURCE_DIR}/COPYING.LGPL DESTINATION ${GL2PS_DOC}) >+-install(FILES ${CMAKE_SOURCE_DIR}/COPYING.GL2PS DESTINATION ${GL2PS_DOC}) >++install(FILES ${CMAKE_SOURCE_DIR}/gl2ps.pdf DESTINATION ${GL2PS_DOC}) >+ install(FILES ${CMAKE_SOURCE_DIR}/gl2psTest.c DESTINATION ${GL2PS_DOC}) >+ install(FILES ${CMAKE_SOURCE_DIR}/gl2psTestSimple.c DESTINATION ${GL2PS_DOC}) >+ >+@@ -150,7 +148,6 @@ if(GLUT_FOUND) >+ target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) >+ endif(GLUT_FOUND) >+ >+-find_package(LATEX) >+ if(PDFLATEX_COMPILER) >+ add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex >+ COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex > >Property changes on: print/gl2ps/files/patch-CMakeLists.txt >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: print/gl2ps/pkg-descr >=================================================================== >--- print/gl2ps/pkg-descr (revision 452074) >+++ print/gl2ps/pkg-descr (working copy) >@@ -5,8 +5,12 @@ stretched polygons, as well as non manifold objects. G > 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) >-and Portable Document Format (PDF) files, as well as LATEX files for the >-text fragments. >+GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS), >+Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files, as >+well as LATEX 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. > > WWW: http://www.geuz.org/gl2ps/ >Index: print/gl2ps/pkg-plist >=================================================================== >--- print/gl2ps/pkg-plist (revision 452074) >+++ print/gl2ps/pkg-plist (working copy) >@@ -2,7 +2,8 @@ include/gl2ps.h > lib/libgl2ps.a > lib/libgl2ps.so > lib/libgl2ps.so.1 >-%%EXAMPLESDIR%%/gl2psTest.c >-%%EXAMPLESDIR%%/gl2psTestSimple.c >-%%EXAMPLESDIR%%/Makefile >+lib/libgl2ps.so.1.4.0 >+%%PORTDOCS%%%%DOCSDIR%%/README.txt > %%PORTDOCS%%%%DOCSDIR%%/gl2ps.pdf >+%%PORTDOCS%%%%DOCSDIR%%/gl2psTest.c >+%%PORTDOCS%%%%DOCSDIR%%/gl2psTestSimple.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223204
: 187416