diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES')
6 files changed, 0 insertions, 248 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/ChangeLog b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/ChangeLog deleted file mode 100644 index ceca1f0d96e..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/ChangeLog +++ /dev/null @@ -1,116 +0,0 @@ -2010-09-23 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-04-freetype to allow to build with freetype-2.4.0 - - Problem detected and solution inspired by Paul Vojta - <vojta@math.berkeley.edu>, mail from Tue, 17 Aug 2010 12:30:13. - -2010-07-05 Peter Breitenlohner <peb@mppmu.mpg.de> - - Portability patches from Martin Gieseking. - - Added patch-01-path, mail from Thu, 24 Jun 2010 09:16:04. - Added patch-02-namespace, mail from Thu, 24 Jun 2010 15:49:05. - Added patch-03-esc, mail from Thu, 24 Jun 2010 22:41:57. - -2010-06-23 Peter Breitenlohner <peb@mppmu.mpg.de> - - Imported release 1.0.2. - - Removed patch-01-isopen, patch-02-newline-at-end-of-file, - patch-07-libdvisvgm-uint32, patch-08-static-const-members, - patch-30-WIN32-warning, - now all included in the original source tree. - -2010-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> - - Imported release 1.0.1. - - Removed patch-01-potracelib-warning, patch-02-libdvisvgm-warnings, - patch-03-libdvisvgm-uninitialized, patch-04-libdvisvgm-virtual, - patch-05-libdvisvgm-dlfcn, patch-06-libdvisvgm-HAVE_LIBGS, - patch-09-unistd, patch-10-TL-help, patch-20-gettimeofday-or-ftime, - now all included in the original source tree. - - Added patch-01-isopen. - * src/GFGlyphTracer.h: Avoid recent C++ STL extensions. - From Martin Gieseking <martin.gieseking@uos.de>. - - Added patch-02-newline-at-end-of-file. - * src/FontEncoding.cpp: Add newline at end of file. - -2010-06-07 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-08-static-const-members, from vvv. - * src/FontCache.cpp (FontCache::VERSION), - src/gzstream.cpp (gzstreambuf::bufferSize): Initialized static - const class members need also to be declared (at least for AIX) - -2010-06-05 Karl Berry <karl@tug.org> - - * patch-07-libdvisvgm-uint32: declare glyphIndex as FT_UInt in the - first place, instead of casting. From vvv, confirmed for his AIX. - -2010-05-31 Karl Berry <karl@tug.org> - - Added patch-07-libdvisvgm-uint32. - * src/FontEngine.cpp: must cast &glyphindex to (FT_Uint *) - for AIX compiler (tlbuild 28 May 2010 15:23:25). - - Added patch-09-unistd. - * src/FileSystem.cpp: unconditionally include <unistd.h>. - (Needed on AIX, tlbuild 28 May 2010 15:08:06.) - -2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-30-WIN32-warning. - * src/MetafontWrapper.cpp (execute) [WIN32]: Initialize the - DWORD exitcode with (DWORD)-1 to avoid warning. - -2009-12-14 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-20-gettimeofday-or-ftime. - * configure.ac, src/dvisvgm.cpp: Check for gettimeofday() - and <sys/time.h> or ftime() and <sys/timeb.h>. - -2009-11-18 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-05-libdvisvgm-dlfcn. - * src/Ghostscript.h: #include <dlfcn.h> only when used. - * src/DVIToSVG.cpp, src/Ghostscript.{cpp,h}: - Use defined(DISABLE_GS) instead of DISABLE_GS. - - Added patch-06-libdvisvgm-HAVE_LIBGS. - * src/Ghostscript.{cpp,h}: Use defined(HAVE_LIBGS). - -2009-11-14 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-03-libdvisvgm-uninitialized. - * src/InputReader.cpp (skipUntil): Avoid uninitialized variable. - - Added patch-04-libdvisvgm-virtual. - * src/CmdLineParserBase.h, src/CommandLine.h: Added virtual - destructors because there are virtual functions. - - Added patch-10-TL-help. - * src/dvisvgm.cpp (show_help): With our proxy configure.ac - PACKAGE_BUGREPORT is "tex-k@tug.org" and can't be used as email - for the copyright. - -2009-11-13 Peter Breitenlohner <peb@mppmu.mpg.de> - - Added patch-01-potracelib-warning. - * potracelib/potracelib.[ch]: Change return type of - potrace_version() from 'char *' to 'const char *'. - - Added patch-02-libdvisvgm-warnings. - * src/Color.cpp (float_to_byte): Cast from double to UInt8. - * src/Color.cpp (HSB2RGB), - src/ColorSpecialHandler.cpp (hsb_to_rgb), - src/PsSpecialHandler.cpp (setdash), - src/TpicSpecialHandler.cpp (drawArc): Casts from double to int. - * src/PsSpecialHandler.h (setlinecap, setlinejoin): Casts from - double to unsigned int. - * src/FontManager.cpp (vfFirstFontNum): Cast from unsigned int - to int. - diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/TL-Changes b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/TL-Changes deleted file mode 100644 index 06f9b20b7a2..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/TL-Changes +++ /dev/null @@ -1,10 +0,0 @@ -Changes applied to the dvisvgm-1.0.2 tree as obtained from: - http://downloads.sourceforge.net/dvisvgm/dvisvgm-1.0.2.tar.gz - -Removed: - config.guess - config.sub - depcomp - install-sh - missing - diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-01-path b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-01-path deleted file mode 100644 index de62a54225f..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-01-path +++ /dev/null @@ -1,54 +0,0 @@ -diff -ur dvisvgm-1.0.2.orig/src/GraphicPath.h dvisvgm-1.0.2/src/GraphicPath.h ---- dvisvgm-1.0.2.orig/src/GraphicPath.h 2010-06-16 19:09:47.000000000 +0200 -+++ dvisvgm-1.0.2/src/GraphicPath.h 2010-07-05 10:38:09.963061244 +0200 -@@ -247,7 +247,7 @@ - * @param[in] optimize if true, shorthand drawing commands (sconicto, scubicto,...) are considered */ - template <typename T> - void GraphicPath<T>::iterate (Actions &actions, bool optimize) const { -- ConstIterator prev; // pointer to preceding command -+ ConstIterator prev = _commands.end(); // pointer to preceding command - Point fp; // first point of current path - Point cp; // current point - Point pstore[2]; -@@ -280,7 +280,7 @@ - } - break; - case Command::CONICTO: -- if (optimize && prev->type == Command::CONICTO && params[0] == pstore[1]*T(2)-pstore[0]) { -+ if (optimize && prev != _commands.end() && prev->type == Command::CONICTO && params[0] == pstore[1]*T(2)-pstore[0]) { - actions.sconicto(params[1]); - actions.draw('T', params+1, 1); - } -@@ -293,7 +293,7 @@ - break; - case Command::CUBICTO: - // is first control point reflection of preceding second control point? -- if (optimize && prev->type == Command::CUBICTO && params[0] == pstore[1]*T(2)-pstore[0]) { -+ if (optimize && prev != _commands.end() && prev->type == Command::CUBICTO && params[0] == pstore[1]*T(2)-pstore[0]) { - actions.scubicto(params[1], params[2]); - actions.draw('S', params+1, 2); - } -diff -ur dvisvgm-1.0.2.orig/src/PsSpecialHandler.h dvisvgm-1.0.2/src/PsSpecialHandler.h ---- dvisvgm-1.0.2.orig/src/PsSpecialHandler.h 2010-06-17 19:07:35.000000000 +0200 -+++ dvisvgm-1.0.2/src/PsSpecialHandler.h 2010-07-05 10:38:09.963061244 +0200 -@@ -31,9 +31,10 @@ - - class PsSpecialHandler : public SpecialHandler, protected PSActions - { -+ typedef GraphicPath<double> Path; -+ - class ClippingStack - { -- typedef GraphicPath<double> Path; - public: - void push (); - void push (const Path &path); -@@ -100,7 +101,7 @@ - SpecialActions *_actions; - bool _initialized; - XMLElementNode *_xmlnode; ///< if != 0, created SVG elements are appended to this node -- GraphicPath<double> _path; -+ Path _path; - DPair _currentpoint; ///< current PS position - double _linewidth; ///< current linewidth - double _miterlimit; ///< current miter limit diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-02-namespace b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-02-namespace deleted file mode 100644 index ed4a24d2bb7..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-02-namespace +++ /dev/null @@ -1,30 +0,0 @@ -diff -ur dvisvgm-1.0.2.orig/src/InputBuffer.h dvisvgm-1.0.2/src/InputBuffer.h ---- dvisvgm-1.0.2.orig/src/InputBuffer.h 2010-06-16 19:08:12.000000000 +0200 -+++ dvisvgm-1.0.2/src/InputBuffer.h 2010-07-05 10:39:29.396407278 +0200 -@@ -4,7 +4,7 @@ - ** This file is part of dvisvgm -- the DVI to SVG converter ** - ** Copyright (C) 2005-2010 Martin Gieseking <martin.gieseking@uos.de> ** - ** ** --** This program is free software; you can redistribute it and/or ** -+** This program is free software; you can redistribute it and/or ** - ** modify it under the terms of the GNU General Public License as ** - ** published by the Free Software Foundation; either version 3 of ** - ** the License, or (at your option) any later version. ** -@@ -15,7 +15,7 @@ - ** GNU General Public License for more details. ** - ** ** - ** You should have received a copy of the GNU General Public License ** --** along with this program; if not, see <http://www.gnu.org/licenses/>. ** -+** along with this program; if not, see <http://www.gnu.org/licenses/>. ** - *************************************************************************/ - - #ifndef INPUTBUFFER_H -@@ -101,7 +101,7 @@ - _size = size; - } - -- void assign (const char *buf) {assign(buf, strlen(buf));} -+ void assign (const char *buf) {assign(buf, std::strlen(buf));} - int peek () const {return _size > 0 ? *_pos : -1;} - int peek (unsigned n) const {return _size >= n ? _pos[n] : -1;} - bool eof () const {return _size <= 0;} diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-03-esc b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-03-esc deleted file mode 100644 index 68969261935..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-03-esc +++ /dev/null @@ -1,26 +0,0 @@ -diff -ur dvisvgm-1.0.2.orig/src/Terminal.cpp dvisvgm-1.0.2/src/Terminal.cpp ---- dvisvgm-1.0.2.orig/src/Terminal.cpp 2010-06-08 10:40:37.000000000 +0200 -+++ dvisvgm-1.0.2/src/Terminal.cpp 2010-07-05 10:40:35.135954475 +0200 -@@ -134,9 +134,9 @@ - } - #else - if (color == DEFAULT) -- os << "\e[0m"; -+ os << "\x1B[0m"; - else -- os << "\e[" << (light ? '1': '0') << ';' << (30+(color & 0x07)) << 'm'; -+ os << "\x1B[" << (light ? '1': '0') << ';' << (30+(color & 0x07)) << 'm'; - #endif - } - -@@ -158,8 +158,8 @@ - } - #else - if (color == DEFAULT) -- os << "\e[0m"; -+ os << "\x1B[0m"; - else -- os << "\e[" << (40+(color & 0x07)) << 'm'; -+ os << "\x1B[" << (40+(color & 0x07)) << 'm'; - #endif - } diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype b/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype deleted file mode 100644 index 364711a9bfd..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2-PATCHES/patch-04-freetype +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur dvisvgm-1.0.2.orig/src/FontEngine.cpp dvisvgm-1.0.2/src/FontEngine.cpp ---- dvisvgm-1.0.2.orig/src/FontEngine.cpp 2010-06-16 19:08:12.000000000 +0200 -+++ dvisvgm-1.0.2/src/FontEngine.cpp 2010-09-23 17:52:38.000000000 +0200 -@@ -262,7 +262,7 @@ - - - // handle API change in freetype version 2.2.1 --#if FREETYPE_MAJOR >= 2 && FREETYPE_MINOR >= 2 && FREETYPE_PATCH >= 1 -+#if ((FREETYPE_MAJOR >> 16)|(FREETYPE_MINOR >> 8)|FREETYPE_PATCH) >= ((2>>16)|(2>>8)|1) - typedef const FT_Vector *FTVectorPtr; - #else - typedef FT_Vector *FTVectorPtr; |