diff options
Diffstat (limited to 'Build/source/libs/poppler/TLpatches')
-rw-r--r-- | Build/source/libs/poppler/TLpatches/ChangeLog | 383 | ||||
-rw-r--r-- | Build/source/libs/poppler/TLpatches/TL-Changes | 29 | ||||
-rw-r--r-- | Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX | 25 | ||||
-rw-r--r-- | Build/source/libs/poppler/TLpatches/patch-03-Object-functions | 43 |
4 files changed, 480 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/TLpatches/ChangeLog b/Build/source/libs/poppler/TLpatches/ChangeLog new file mode 100644 index 00000000000..7beafc5db27 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/ChangeLog @@ -0,0 +1,383 @@ +2017-01-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.51.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-12-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.50.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-11-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.49.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-10-08 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.48.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-08-19 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.47.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-07-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.46.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-06-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.45.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-05-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.44.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + * patch-04-ULLONG-constants: Removed. + +2016-04-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.43.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-LLONG_MAX, patch-03-Object-functions, + patch-04-ULLONG-constants: Adapted. + +2016-03-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-04-ULLONG-constants: new patch. + +2016-03-18 Luigi Scarso <luigi.scarso@gmail.com> + + Imported poppler-0.42.0 source tree from: + http://poppler.freedesktop.org/ + Added @POPPLER_TREE@/poppler/SignatureInfo.cc to Makefile.am + +2016-02-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.41.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2016-01-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.40.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2015-12-28 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + Imported poppler-0.39.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2015-10-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.37.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2015-09-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.36.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted. + +2015-09-01 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-03-Object-functions (new): Declare parameter of Object + member functions initCmd, isStream, and streamIs as const. + +2015-08-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.35.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2015-07-09 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.34.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2015-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.33.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2015-03-08 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.32.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2015-02-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.31.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2015-01-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.30.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-12-05 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.29.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-11-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.28.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + * patch-10-UTF-16BE (removed): Included upstream. + +2014-10-08 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-10-UTF-16BE (new): Backport from poppler git + (submitted by Luigi Scarso <luigi.scarso@gmail.com>). + +2014-09-29 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.5 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-08-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.4 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-07-21 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.3 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-06-20 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.2 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-05-24 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.1 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2014-05-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.26.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + + * patch-03-NOMINMAX (removed): Now included upstream. + +2014-03-27 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.25.2 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + + * patch-03-NOMINMAX (new): Avoid to redefine NOMINMAX. + +2014-01-03 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.25.1 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-12-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.25.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-12-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.24.4 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-10-28 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.24.3 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-09-30 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.24.2 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-09-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.24.1 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-07-30 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.24.0 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-07-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.23.4 source tree from: + http://poppler.freedesktop.org/ + + * patch-02-LLONG_MAX: Adapted. + +2013-07-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.23.3 source tree from: + http://poppler.freedesktop.org/ + + * patch-01-MINGW_PRINTF_FORMAT (removed): Now included upstream. + * patch-02-LLONG_MAX: Adapted. + +2013-06-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.23.2 source tree from: + http://poppler.freedesktop.org/ + + * patch-01-disable-jpeg (removed): Now included upstream. + * patch-02-warnings (removed): Obsoleted by gcc-4.6. + + * patch-01-MINGW_PRINTF_FORMAT (new): MinGW32 may not define + __MINGW_PRINTF_FORMAT (and __USE_MINGW_ANSI_STDIO could be 0). + * patch-02-LLONG_MAX (new): If necessary define LLONG_MAX etc. + +2013-03-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.22.2 source tree from: + http://poppler.freedesktop.org/ + * patch-02-warnings: Adapted. + + * patch-01-disable-jpeg (new): We build without libjpeg. + +2012-12-31 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.22.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-warnings: Adapted. + +2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.21.0 source tree from: + http://poppler.freedesktop.org/ + * patch-02-warnings: Adapted. + +2012-07-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.20.2 source tree from: + http://poppler.freedesktop.org/ + * patch-02-warnings: Adapted. + +2012-05-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.20.0 source tree from: + http://poppler.freedesktop.org/ + * patch-01-missing-param (removed): Obsolete. + * patch-02-warnings: Adapted. + +2012-05-09 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.19.4 source tree from: + http://poppler.freedesktop.org/ + * patch-03-POPPLER_VERSION (removed): Obsolete. + * patch-01-missing-param (new): Bug fix, missing new func param. + * patch-02-warnings: Adapted. + +2012-02-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.18.4 source tree from: + http://poppler.freedesktop.org/ + * patch-01-PDF_PARSER_ONLY (removed): Obsolete. + * patch-0[23]-*: Adapted. + +2011-10-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-04-mingw (removed): Instead add `-lgdi32'. + +2011-10-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-04-mingw (new): Split off ... + * patch-01-PDF_PARSER_ONLY: ... from here. + +2011-10-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-03-POPPLER_VERSION: Reorg definition of POPPLER_VERSION. + +2011-10-08 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported poppler-0.18.0 source tree from: + http://poppler.freedesktop.org/ + * patch-0[123]-*: Adapted. + +2011-04-14 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-01-PDF_PARSER_ONLY: Fix PDF_PARSER_ONLY for MinGW. + + * patch-03-POPPLER_VERSION (new): #define POPPLER_VERSION. + +2011-04-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-02-warnings (new): + poppler/Movie.cc: Cast -1 to Gulong. + goo/PNGWriter.h: Add newline at end of file. + +2011-04-12 Taco Hoekwater <taco@luatex.org> + + Imported poppler-0.12.4 source tree from: + http://poppler.freedesktop.org/ + + * patch-01-PDF_PARSER_ONLY (new): Implement PDF_PARSER_ONLY. + diff --git a/Build/source/libs/poppler/TLpatches/TL-Changes b/Build/source/libs/poppler/TLpatches/TL-Changes new file mode 100644 index 00000000000..0fd4201ee14 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/TL-Changes @@ -0,0 +1,29 @@ +Changes applied to the poppler-0.51.0 tree as obtained from: + http://poppler.freedesktop.org/ + +Removed: + Makefile.in + aclocal.m4 + compile + config.guess + config.sub + configure + depcomp + install-sh + ltmain.sh + missing + test-driver + fofi/Makefile.in + goo/Makefile.in + poppler/Makefile.in + splash/Makefile.in + +Removed unused dirs: + cmake + cpp + glib + m4 + qt4 + qt5 + test + utils diff --git a/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX b/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX new file mode 100644 index 00000000000..1e6f0282cb0 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX @@ -0,0 +1,25 @@ +diff -ur poppler-0.51.0.orig/goo/GooString.h poppler-0.51.0/goo/GooString.h +--- poppler-0.51.0.orig/goo/GooString.h Fri Dec 16 04:08:06 2016 ++++ poppler-0.51.0/goo/GooString.h Mon Jan 16 08:28:38 2017 +@@ -36,6 +36,21 @@ + #endif + + #include <limits.h> // for LLONG_MAX and ULLONG_MAX ++ ++/* <limits.h> and/or the compiler may or may not define these. */ ++/* Minimum and maximum values a `signed long long int' can hold. */ ++#ifndef LLONG_MAX ++# define LLONG_MAX 9223372036854775807LL ++#endif ++#ifndef LLONG_MIN ++# define LLONG_MIN (-LLONG_MAX - 1LL) ++#endif ++ ++/* Maximum value an `unsigned long long int' can hold. (Minimum is 0.) */ ++#ifndef ULLONG_MAX ++# define ULLONG_MAX 18446744073709551615ULL ++#endif ++ + #include <stdarg.h> + #include <stdlib.h> // for NULL + #include "gtypes.h" diff --git a/Build/source/libs/poppler/TLpatches/patch-03-Object-functions b/Build/source/libs/poppler/TLpatches/patch-03-Object-functions new file mode 100644 index 00000000000..00fae66add6 --- /dev/null +++ b/Build/source/libs/poppler/TLpatches/patch-03-Object-functions @@ -0,0 +1,43 @@ +diff -ur poppler-0.51.0.orig/poppler/Object.h poppler-0.51.0/poppler/Object.h +--- poppler-0.51.0.orig/poppler/Object.h Fri Dec 16 04:08:06 2016 ++++ poppler-0.51.0/poppler/Object.h Mon Jan 16 08:31:27 2017 +@@ -148,7 +148,7 @@ + Object *initStream(Stream *streamA); + Object *initRef(int numA, int genA) + { initObj(objRef); ref.num = numA; ref.gen = genA; return this; } +- Object *initCmd(char *cmdA) ++ Object *initCmd(const char *cmdA) + { initObj(objCmd); cmd = copyString(cmdA); return this; } + Object *initError() + { initObj(objError); return this; } +@@ -195,7 +195,7 @@ + GBool isName(const char *nameA) + { return type == objName && !strcmp(name, nameA); } + GBool isDict(const char *dictType); +- GBool isStream(char *dictType); ++ GBool isStream(const char *dictType); + GBool isCmd(const char *cmdA) + { return type == objCmd && !strcmp(cmd, cmdA); } + +@@ -245,7 +245,7 @@ + Object *dictGetValNF(int i, Object *obj); + + // Stream accessors. +- GBool streamIs(char *dictType); ++ GBool streamIs(const char *dictType); + void streamReset(); + void streamClose(); + int streamGetChar(); +@@ -352,10 +352,10 @@ + + #include "Stream.h" + +-inline GBool Object::streamIs(char *dictType) ++inline GBool Object::streamIs(const char *dictType) + { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); } + +-inline GBool Object::isStream(char *dictType) ++inline GBool Object::isStream(const char *dictType) + { return type == objStream && streamIs(dictType); } + + inline void Object::streamReset() |