Commit [r12615] Maximize Restore History

Convert from 2.1.0 release to 2.2.1 release.

Convert to using patches to express changes to the 2.2.1 release
rather than files which are difficult to adjust for any upstream
libharu changes in future.

Tested by Alan W. Irwin <airwin.users.sourceforge.net> following
directions in README.libharu for a standalone build on Linux
and also using the build_projects approach on Linux.

ToDo: MinGW/MSYS/Wine currently fails (presumably due to
2.1.0 ==> 2.2.1 change). So will have to figure out
the problem, and update the patches for that case.

airwin 2013-10-21

added /trunk/cmake/build_projects/libharu/cmake.patch
added /trunk/cmake/build_projects/libharu/large_font.patch
added /trunk/cmake/build_projects/libharu/visibility.patch
removed /trunk/cmake/build_projects/libharu/cmake
removed /trunk/cmake/build_projects/libharu/demo
removed /trunk/cmake/build_projects/libharu/include
removed /trunk/cmake/build_projects/libharu/src
changed /trunk/cmake/build_projects/libharu/README.libharu
changed /trunk/cmake/build_projects/libharu/bp.cmake
copied /trunk/cmake/build_projects/libharu/include_hpdf_config.h.patch -> /trunk/cmake/build_projects/libharu/missing_zlib_headers.patch
/trunk/cmake/build_projects/libharu/cmake.patch Diff Switch to side-by-side view
Loading...
/trunk/cmake/build_projects/libharu/large_font.patch Diff Switch to side-by-side view
Loading...
/trunk/cmake/build_projects/libharu/visibility.patch Diff Switch to side-by-side view
Loading...
/trunk/cmake/build_projects/libharu/README.libharu Diff Switch to side-by-side view
Loading...
/trunk/cmake/build_projects/libharu/bp.cmake Diff Switch to side-by-side view
Loading...
/trunk/cmake/build_projects/libharu/include_hpdf_config.h.patch to /trunk/cmake/build_projects/libharu/missing_zlib_headers.patch
--- a/trunk/cmake/build_projects/libharu/include_hpdf_config.h.patch
+++ b/trunk/cmake/build_projects/libharu/missing_zlib_headers.patch
@@ -1,11 +1,11 @@
-diff -Naur build_libharu_original/src/hpdf_streams.c build_libharu/src/hpdf_streams.c
---- build_libharu_original/src/hpdf_streams.c	2008-05-27 11:23:31.000000000 -0700
-+++ build_libharu/src/hpdf_streams.c	2013-06-04 12:33:49.304096528 -0700
-@@ -17,6 +17,7 @@
+diff -Naur libharu-2.2.1_pristine/src/hpdf_streams.c libharu-2.2.1/src/hpdf_streams.c
+--- libharu-2.2.1_pristine/src/hpdf_streams.c	2010-02-08 01:49:57.000000000 -0800
++++ libharu-2.2.1/src/hpdf_streams.c	2013-10-21 11:47:12.026846086 -0700
+@@ -23,6 +23,7 @@
+ #include "hpdf_consts.h"
+ #include "hpdf_utils.h"
+ #include "hpdf_streams.h"
++#include "hpdf_config.h"
  
- #include <errno.h>
- 
-+#include "hpdf_config.h"
- #ifndef HPDF_NOZLIB
+ #ifndef LIBHPDF_HAVE_NOZLIB
  #include <zlib.h>
- #include <zconf.h>