commit gl2ps for openSUSE:Factory
Hello community, here is the log from the commit of package gl2ps for openSUSE:Factory checked in at 2013-03-28 13:12:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gl2ps (Old) and /work/SRC/openSUSE:Factory/.gl2ps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gl2ps", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/gl2ps/gl2ps.changes 2012-10-07 08:20:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gl2ps.new/gl2ps.changes 2013-03-28 13:12:57.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Mar 26 18:56:27 UTC 2013 - asterios.dramis@gmail.com + +- Update to version 1.3.8: + * Handling of arbitrary length messages in gl2psPrintf. + * Added gl2psTextOptColor + * Minor fixes. +- Corrected no-copy-dt-needed-entries.patch (link libm to the libgl2ps library, + upstream fix). + +------------------------------------------------------------------- Old: ---- gl2ps-1.3.7.tgz New: ---- gl2ps-1.3.8.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gl2ps.spec ++++++ --- /var/tmp/diff_new_pack.unXdTQ/_old 2013-03-28 13:12:58.000000000 +0100 +++ /var/tmp/diff_new_pack.unXdTQ/_new 2013-03-28 13:12:58.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gl2ps # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,14 @@ %define so_ver 1 Name: gl2ps -Version: 1.3.7 +Version: 1.3.8 Release: 0 Summary: OpenGL to PostScript Printing Library License: LGPL-2.0+ or SUSE-GL2PS-2.0 Group: System/Libraries Url: http://www.geuz.org/gl2ps/ Source0: http://geuz.org/gl2ps/src/%{name}-%{version}.tgz -# PATCH-FIX-OPENSUSE no-copy-dt-needed-entries.patch asterios.dramis@gmail.com -- Fix linking with --no-copy-dt-needed-entries +# PATCH-FIX-UPSTREAM no-copy-dt-needed-entries.patch asterios.dramis@gmail.com -- Fix linking with --no-copy-dt-needed-entries Patch0: no-copy-dt-needed-entries.patch BuildRequires: cmake BuildRequires: freeglut-devel @@ -89,20 +89,16 @@ cd build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" +__libsuffix=$(echo %_lib | cut -b4-) cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DLIB_SUFFIX="$__libsuffix" \ -DCMAKE_BUILD_TYPE=release .. make %{?_smp_mflags} VERBOSE=1 cd .. %install -cd build -%make_install -cd .. - -if [ "x%{_lib}" != "xlib" ]; then - mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} -fi +%make_install -C build # Remove static libraries rm -f %{buildroot}%{_libdir}/libgl2ps.a @@ -122,6 +118,6 @@ %files -n libgl2ps%{so_ver} %defattr(-,root,root,-) -%{_libdir}/libgl2ps.so.1* +%{_libdir}/libgl2ps.so.%{so_ver}* %changelog ++++++ gl2ps-1.3.7.tgz -> gl2ps-1.3.8.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gl2ps-1.3.7-source/CMakeLists.txt new/gl2ps-1.3.8-source/CMakeLists.txt --- old/gl2ps-1.3.7-source/CMakeLists.txt 2012-09-02 11:07:33.000000000 +0200 +++ new/gl2ps-1.3.8-source/CMakeLists.txt 2012-11-27 20:41:06.000000000 +0100 @@ -49,7 +49,7 @@ set(GL2PS_MAJOR_VERSION 1) set(GL2PS_MINOR_VERSION 3) -set(GL2PS_PATCH_VERSION 7) +set(GL2PS_PATCH_VERSION 8) set(GL2PS_EXTRA_VERSION "" CACHE STRING "GL2PS extra version string") set(GL2PS_VERSION "${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}") @@ -70,6 +70,12 @@ set(GL2PS_OS "${CMAKE_SYSTEM_NAME}") endif(APPLE) +include(CheckFunctionExists) +check_function_exists(vsnprintf HAVE_VSNPRINTF) +if(NOT HAVE_VSNPRINTF) + add_definitions(-DHAVE_NO_VSNPRINTF) +endif(NOT HAVE_VSNPRINTF) + find_package(OpenGL) if(OPENGL_FOUND) list(APPEND EXTERNAL_INCLUDES ${OPENGL_INCLUDE_DIR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gl2ps-1.3.7-source/gl2ps.c new/gl2ps-1.3.8-source/gl2ps.c --- old/gl2ps-1.3.7-source/gl2ps.c 2012-09-02 11:07:33.000000000 +0200 +++ new/gl2ps-1.3.8-source/gl2ps.c 2012-11-27 20:41:06.000000000 +0100 @@ -421,15 +421,39 @@ va_list args; #if defined(GL2PS_HAVE_ZLIB) + static char buf[1024]; + char *bufptr = buf; + GLboolean freebuf = GL_FALSE; unsigned int oldsize = 0; - static char buf[1000]; +#if !defined(GL2PS_HAVE_NO_VSNPRINTF) + /* Try writing the string to a 1024 byte buffer. If it is too small to fit, + keep trying larger sizes until it does. */ + size_t bufsize = sizeof(buf); +#endif if(gl2ps->options & GL2PS_COMPRESS){ va_start(args, fmt); +#if defined(GL2PS_HAVE_NO_VSNPRINTF) ret = vsprintf(buf, fmt, args); +#else + ret = vsnprintf(bufptr, bufsize, fmt, args); +#endif va_end(args); +#if !defined(GL2PS_HAVE_NO_VSNPRINTF) + while(ret >= (bufsize - 1) || ret < 0){ + /* Too big. Allocate a new buffer. */ + bufsize *= 2; + if(freebuf == GL_TRUE) gl2psFree(bufptr); + bufptr = (char *)gl2psMalloc(bufsize); + freebuf = GL_TRUE; + va_start(args, fmt); + ret = vsnprintf(bufptr, bufsize, fmt, args); + va_end(args); + } +#endif oldsize = gl2ps->compress->srcLen; gl2ps->compress->start = (Bytef*)gl2psReallocCompress(oldsize + ret); - memcpy(gl2ps->compress->start+oldsize, buf, ret); + memcpy(gl2ps->compress->start + oldsize, bufptr, ret); + if(freebuf == GL_TRUE) gl2psFree(bufptr); ret = 0; } else{ @@ -570,17 +594,17 @@ return list->n; } -static void *gl2psListPointer(GL2PSlist *list, GLint index) +static void *gl2psListPointer(GL2PSlist *list, GLint idx) { if(!list){ gl2psMsg(GL2PS_ERROR, "Cannot point into unallocated list"); return NULL; } - if((index < 0) || (index >= list->n)){ + if((idx < 0) || (idx >= list->n)){ gl2psMsg(GL2PS_ERROR, "Wrong list index in gl2psListPointer"); return NULL; } - return &list->array[index * list->size]; + return &list->array[idx * list->size]; } static void gl2psListSort(GL2PSlist *list, @@ -843,7 +867,8 @@ /* Helper routines for text strings */ static GLint gl2psAddText(GLint type, const char *str, const char *fontname, - GLshort fontsize, GLint alignment, GLfloat angle) + GLshort fontsize, GLint alignment, GLfloat angle, + GL2PSrgba color) { GLfloat pos[4]; GL2PSprimitive *prim; @@ -871,7 +896,10 @@ prim->pattern = 0; prim->factor = 0; prim->width = 1; - glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); + if (color) + memcpy(prim->verts[0].rgba, color, 4 * sizeof(float)); + else + glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); prim->data.text = (GL2PSstring*)gl2psMalloc(sizeof(GL2PSstring)); prim->data.text->str = (char*)gl2psMalloc((strlen(str)+1)*sizeof(char)); strcpy(prim->data.text->str, str); @@ -1406,7 +1434,7 @@ static GLint gl2psFindRoot(GL2PSlist *primitives, GL2PSprimitive **root) { - GLint i, j, count, best = 1000000, index = 0; + GLint i, j, count, best = 1000000, idx = 0; GL2PSprimitive *prim1, *prim2; GL2PSplane plane; GLint maxp; @@ -1436,13 +1464,13 @@ } if(count < best){ best = count; - index = i; + idx = i; *root = prim1; - if(!count) return index; + if(!count) return idx; } } /* if(index) gl2psMsg(GL2PS_INFO, "GL2PS_BEST_ROOT was worth it: %d", index); */ - return index; + return idx; } else{ return 0; @@ -1522,12 +1550,12 @@ { GL2PSprimitive *prim, *frontprim = NULL, *backprim = NULL; GL2PSlist *frontlist, *backlist; - GLint i, index; + GLint i, idx; tree->front = NULL; tree->back = NULL; tree->primitives = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - index = gl2psFindRoot(primitives, &prim); + idx = gl2psFindRoot(primitives, &prim); gl2psGetPlane(prim, tree->plane); gl2psAddPrimitiveInList(prim, tree->primitives); @@ -1535,7 +1563,7 @@ backlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); for(i = 0; i < gl2psListNbr(primitives); i++){ - if(i != index){ + if(i != idx){ prim = *(GL2PSprimitive**)gl2psListPointer(primitives,i); switch(gl2psSplitPrimitive(prim, tree->plane, &frontprim, &backprim)){ case GL2PS_COINCIDENT: @@ -3114,7 +3142,7 @@ static void gl2psPrintPostScriptBeginViewport(GLint viewport[4]) { - GLint index; + GLint idx; GLfloat rgba[4]; int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; @@ -3133,10 +3161,10 @@ glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); } else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; + glGetIntegerv(GL_INDEX_CLEAR_VALUE, &idx); + rgba[0] = gl2ps->colormap[idx][0]; + rgba[1] = gl2ps->colormap[idx][1]; + rgba[2] = gl2ps->colormap[idx][2]; rgba[3] = 1.0F; } gl2psPrintf("%g %g %g C\n" @@ -3413,7 +3441,7 @@ cnt, text->fontsize, x, y, text->str); } else{ - rad = (GLfloat)(M_PI * text->angle / 180.0F); + rad = (GLfloat)(3.141593F * text->angle / 180.0F); srad = (GLfloat)sin(rad); crad = (GLfloat)cos(rad); gl2ps->streamlength += gl2psPrintf @@ -3426,6 +3454,11 @@ } } +static void gl2psPutPDFSpecial(GL2PSstring *text) +{ + gl2ps->streamlength += gl2psPrintf("%s\n", text->str); +} + static void gl2psPutPDFImage(GL2PSimage *image, int cnt, GLfloat x, GLfloat y) { gl2ps->streamlength += gl2psPrintf @@ -3549,6 +3582,12 @@ } lastt = tmpt; break; + case GL2PS_SPECIAL: + gl2psPDFgroupObjectInit(&gro); + gro.ptrlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); + gl2psListAdd(gro.ptrlist, &p); + gl2psListAdd(gl2ps->pdfgrouplist, &gro); + break; default: break; } @@ -3790,6 +3829,11 @@ prim->verts[0].xyz[1]); } break; + case GL2PS_SPECIAL: + for(j = 0; j <= lastel; ++j){ + prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); + gl2psPutPDFSpecial(prim->data.text); + } default: break; } @@ -4758,7 +4802,7 @@ static void gl2psPrintPDFBeginViewport(GLint viewport[4]) { int offs = 0; - GLint index; + GLint idx; GLfloat rgba[4]; int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; @@ -4776,10 +4820,10 @@ glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); } else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; + glGetIntegerv(GL_INDEX_CLEAR_VALUE, &idx); + rgba[0] = gl2ps->colormap[idx][0]; + rgba[1] = gl2ps->colormap[idx][1]; + rgba[2] = gl2ps->colormap[idx][2]; rgba[3] = 1.0F; } offs += gl2psPrintPDFFillColor(rgba); @@ -5193,7 +5237,7 @@ static void gl2psPrintSVGBeginViewport(GLint viewport[4]) { - GLint index; + GLint idx; char col[32]; GLfloat rgba[4]; int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; @@ -5210,10 +5254,10 @@ glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); } else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; + glGetIntegerv(GL_INDEX_CLEAR_VALUE, &idx); + rgba[0] = gl2ps->colormap[idx][0]; + rgba[1] = gl2ps->colormap[idx][1]; + rgba[2] = gl2ps->colormap[idx][2]; rgba[3] = 1.0F; } gl2psSVGGetColorString(rgba, col); @@ -5423,7 +5467,7 @@ static void gl2psPrintPGFBeginViewport(GLint viewport[4]) { - GLint index; + GLint idx; GLfloat rgba[4]; int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; @@ -5440,10 +5484,10 @@ glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); } else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; + glGetIntegerv(GL_INDEX_CLEAR_VALUE, &idx); + rgba[0] = gl2ps->colormap[idx][0]; + rgba[1] = gl2ps->colormap[idx][1]; + rgba[2] = gl2ps->colormap[idx][2]; rgba[3] = 1.0F; } gl2psPrintPGFColor(rgba); @@ -5610,7 +5654,7 @@ GLint nr, GLint ng, GLint nb, GLint buffersize, FILE *stream, const char *filename) { - GLint index; + GLint idx; int i; if(gl2ps){ @@ -5721,10 +5765,10 @@ gl2ps->colorsize = colorsize; gl2ps->colormap = (GL2PSrgba*)gl2psMalloc(gl2ps->colorsize * sizeof(GL2PSrgba)); memcpy(gl2ps->colormap, colormap, gl2ps->colorsize * sizeof(GL2PSrgba)); - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - gl2ps->bgcolor[0] = gl2ps->colormap[index][0]; - gl2ps->bgcolor[1] = gl2ps->colormap[index][1]; - gl2ps->bgcolor[2] = gl2ps->colormap[index][2]; + glGetIntegerv(GL_INDEX_CLEAR_VALUE, &idx); + gl2ps->bgcolor[0] = gl2ps->colormap[idx][0]; + gl2ps->bgcolor[1] = gl2ps->colormap[idx][1]; + gl2ps->bgcolor[2] = gl2ps->colormap[idx][2]; gl2ps->bgcolor[3] = 1.0F; } else{ @@ -5820,20 +5864,29 @@ return res; } +GL2PSDLL_API GLint gl2psTextOptColor(const char *str, const char *fontname, + GLshort fontsize, GLint alignment, GLfloat angle, + GL2PSrgba color) +{ + return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, alignment, angle, + color); +} + GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, GLshort fontsize, GLint alignment, GLfloat angle) { - return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, alignment, angle); + return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, alignment, angle, NULL); } GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname, GLshort fontsize) { - return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, GL2PS_TEXT_BL, 0.0F); + return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, GL2PS_TEXT_BL, 0.0F, + NULL); } GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str) { - return gl2psAddText(GL2PS_SPECIAL, str, "", 0, format, 0.0F); + return gl2psAddText(GL2PS_SPECIAL, str, "", 0, format, 0.0F, NULL); } GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, @@ -6076,3 +6129,8 @@ else return "Unknown format"; } + +GL2PSDLL_API GLint gl2psGetFileFormat() +{ + return gl2ps->format; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gl2ps-1.3.7-source/gl2ps.h new/gl2ps-1.3.8-source/gl2ps.h --- old/gl2ps-1.3.7-source/gl2ps.h 2012-09-02 11:07:33.000000000 +0200 +++ new/gl2ps-1.3.8-source/gl2ps.h 2012-11-27 20:41:06.000000000 +0100 @@ -76,11 +76,15 @@ # endif #endif +#if defined(HAVE_NO_VSNPRINTF) +# define GL2PS_HAVE_NO_VSNPRINTF +#endif + /* Version number */ #define GL2PS_MAJOR_VERSION 1 #define GL2PS_MINOR_VERSION 3 -#define GL2PS_PATCH_VERSION 7 +#define GL2PS_PATCH_VERSION 8 #define GL2PS_EXTRA_VERSION "" #define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \ @@ -175,6 +179,9 @@ GLshort fontsize); GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, GLshort fontsize, GLint align, GLfloat angle); +GL2PSDLL_API GLint gl2psTextOptColor(const char *str, const char *fontname, + GLshort fontsize, GLint align, GLfloat angle, + GL2PSrgba color); GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str); GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, GLint xorig, GLint yorig, @@ -191,6 +198,7 @@ const unsigned char *imagemap); GL2PSDLL_API const char *gl2psGetFileExtension(GLint format); GL2PSDLL_API const char *gl2psGetFormatDescription(GLint format); +GL2PSDLL_API GLint gl2psGetFileFormat(); #if defined(__cplusplus) } Files old/gl2ps-1.3.7-source/gl2ps.pdf and new/gl2ps-1.3.8-source/gl2ps.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gl2ps-1.3.7-source/gl2ps.tex new/gl2ps-1.3.8-source/gl2ps.tex --- old/gl2ps-1.3.7-source/gl2ps.tex 2012-09-02 11:07:33.000000000 +0200 +++ new/gl2ps-1.3.8-source/gl2ps.tex 2012-11-27 20:41:06.000000000 +0100 @@ -62,7 +62,7 @@ \title{GL2PS: an OpenGL to PostScript printing library} \author{Christophe Geuzaine} -\date{Version 1.3.7, September 2 2012} +\date{Version 1.3.8, November 27 2012} \maketitle @@ -70,24 +70,24 @@ <table width="50%" style="border:0;padding:4px;"> <tr style="border:0;padding:4px;"> <td style="border:0;padding:4px;"><a - href="http://geuz.org/gl2ps/outBspCulledCompressed.ps.gz"><img + href="http://geuz.org/gl2ps/outBspCulled.ps"><img src="http://geuz.org/gl2ps/outThumbnail.png" alt="PS"></a></td> <td style="border:0;padding:4px;"><a - href="http://geuz.org/gl2ps/outBspCulledCompressed.eps.gz"><img + href="http://geuz.org/gl2ps/outBspCulled.eps"><img src="http://geuz.org/gl2ps/outThumbnail.png" alt="EPS"></a></td> <td style="border:0;padding:4px;"><a href="http://geuz.org/gl2ps/outBspCulledCompressed.pdf"><img src="http://geuz.org/gl2ps/outThumbnail.png" alt="PDF"></a></td> <td style="border:0;padding:4px;"><a - href="http://geuz.org/gl2ps/outBspCulledCompressed.svgz"><img + href="http://geuz.org/gl2ps/outBspCulled.svg"><img src="http://geuz.org/gl2ps/outThumbnail.png" alt="SVG"></a></td> </tr> <tr style="border:0;padding:4px;"> <td colspan="4" style="border:0;padding:4px;"><small><em>Example: compressed -<a href="http://geuz.org/gl2ps/outBspCulledCompressed.ps.gz">PS</a>, -<a href="http://geuz.org/gl2ps/outBspCulledCompressed.eps.gz">EPS</a>, +<a href="http://geuz.org/gl2ps/outBspCulled.ps">PS</a>, +<a href="http://geuz.org/gl2ps/outBspCulled.eps">EPS</a>, <a href="http://geuz.org/gl2ps/outBspCulledCompressed.pdf">PDF</a> and -<a href="http://geuz.org/gl2ps/outBspCulledCompressed.svgz">SVG</a> +<a href="http://geuz.org/gl2ps/outBspCulled.svg">SVG</a> files created with the <tt>gl2psTest.c</tt> demo provided in the distribution. This illustrates the handling of smooth shading, intersecting primitives, line stippling, vector text rendering, @@ -99,7 +99,7 @@ </center> <h2>Download</h2> The latest stable version of GL2PS is <a -href="http://geuz.org/gl2ps/src/gl2ps-1.3.7.tgz">gl2ps-1.3.7.tgz</a>. Older +href="http://geuz.org/gl2ps/src/gl2ps-1.3.8.tgz">gl2ps-1.3.8.tgz</a>. Older versions and nightly source snapshots are available <a href="http://geuz.org/gl2ps/src/">here</a>. For read-only svn access use: '<code>svn co https://geuz.org/svn/gl2ps/trunk gl2ps</code>' (username: @@ -420,6 +420,11 @@ \item[\dd{GL2PS_SUCCESS}] otherwise. \end{description} +Note that gl2ps 1.3.8 introduces a variant of \dd{gl2psTextOpt}, called +\dd{gl2psTextOptColor}, which takes one additional arguement of type +\dd{GL2PSrgba}. This was introduced for systems which do not keep track of +the current raster color in feedback mode. + % ------------------------------------------------------------------------- \subsection{\texttt{gl2psDrawPixels}} @@ -895,7 +900,9 @@ \noemail{Ion Vasilief}{lion\_vasilief@yahoo.fr} and Paul Griffiths for rotated text in PDF output; % -\noemail{Ben Abbott}{bpabbott@mac.com} for text alignment in SVG. +\noemail{Ben Abbott}{bpabbott@mac.com} for text alignment in SVG; +% +\noemail{David Lonie}{david.lonie@kitware.com} for VTK patches. \section{Links} \label{sec:links} @@ -1041,12 +1048,10 @@ glPixelZoom) in postscript images; fixed text rotation in TeX; added support for text alignment in SVG; fixed other minor bugs. \item[1.3.7] (Sep 2, 2012) Minor documentation and build system fixes. +\item[1.3.8] (Nov 27, 2012) Handling of arbitrary length messages in + gl2psPrintf; added \dd{gl2psTextOptColor}; minor fixes. \end{description} -\special{html: -<h2>Documentation translations</h2> -<p> -<a href="http://www.webhostinghub.com/support/by/edu/gl2ps-an-uk">Ukrainian translation</a><br> -<p>Back to <a href="/">geuz.org</a>} +\special{html:<p>Back to <a href="/">geuz.org</a>} \end{document} ++++++ no-copy-dt-needed-entries.patch ++++++ --- /var/tmp/diff_new_pack.unXdTQ/_old 2013-03-28 13:12:59.000000000 +0100 +++ /var/tmp/diff_new_pack.unXdTQ/_new 2013-03-28 13:12:59.000000000 +0100 @@ -1,14 +1,14 @@ ---- CMakeLists.txt.orig 2011-08-14 20:15:31.000000000 +0300 -+++ CMakeLists.txt 2012-03-18 18:45:39.057686046 +0200 -@@ -134,9 +134,9 @@ +--- CMakeLists.txt.orig 2012-11-27 21:41:06.000000000 +0200 ++++ CMakeLists.txt 2013-03-26 20:51:25.311336670 +0200 +@@ -106,6 +106,11 @@ + endif(PNG_FOUND) + endif(ENABLE_PNG) - if(GLUT_FOUND) - add_executable(gl2psTest WIN32 gl2psTest.c) -- target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES}) -+ target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES} -lm) - add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c) -- target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) -+ target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES} -lm) - endif(GLUT_FOUND) ++find_library(MATH_LIBRARY m) ++if(MATH_LIBRARY) ++ list(APPEND EXTERNAL_LIBRARIES ${MATH_LIBRARY}) ++endif(MATH_LIBRARY) ++ + include_directories(${EXTERNAL_INCLUDES}) - find_package(LATEX) + if(OPENGL_FOUND) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de