summaryrefslogtreecommitdiff
path: root/graphics/podofo/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/podofo/files')
-rw-r--r--graphics/podofo/files/patch-CMakeLists.txt20
-rw-r--r--graphics/podofo/files/patch-src-podofo-CMakeLists.txt (renamed from graphics/podofo/files/patch-src-CMakeLists.txt)8
-rw-r--r--graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt11
3 files changed, 14 insertions, 25 deletions
diff --git a/graphics/podofo/files/patch-CMakeLists.txt b/graphics/podofo/files/patch-CMakeLists.txt
index d4fa141f26d0..e1fbc8716862 100644
--- a/graphics/podofo/files/patch-CMakeLists.txt
+++ b/graphics/podofo/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2018-07-08 10:33:27 UTC
+--- CMakeLists.txt.orig 2021-01-05 16:56:54 UTC
+++ CMakeLists.txt
-@@ -339,6 +339,7 @@ ELSE(LIBIDN_FOUND)
+@@ -348,6 +348,7 @@ ELSE(LIBIDN_FOUND)
MESSAGE("Libidn not found. AES-256 Encryption support will be disabled")
ENDIF(LIBIDN_FOUND)
@@ -8,7 +8,7 @@
FIND_PACKAGE(LIBJPEG)
IF(LIBJPEG_FOUND)
-@@ -348,7 +349,9 @@ IF(LIBJPEG_FOUND)
+@@ -357,7 +358,9 @@ IF(LIBJPEG_FOUND)
ELSE(LIBJPEG_FOUND)
MESSAGE("Libjpeg not found. JPEG support will be disabled")
ENDIF(LIBJPEG_FOUND)
@@ -18,7 +18,7 @@
FIND_PACKAGE(TIFF)
IF(TIFF_FOUND)
-@@ -358,7 +361,9 @@ IF(TIFF_FOUND)
+@@ -367,7 +370,9 @@ IF(TIFF_FOUND)
ELSE(TIFF_FOUND)
MESSAGE("Libtiff not found. TIFF support will be disabled")
ENDIF(TIFF_FOUND)
@@ -28,7 +28,7 @@
FIND_PACKAGE(PNG)
IF(PNG_FOUND)
-@@ -369,6 +374,7 @@ ELSE(PNG_FOUND)
+@@ -378,6 +383,7 @@ ELSE(PNG_FOUND)
MESSAGE("LibPng not found. PNG support will be disabled")
SET(PNG_LIBRARIES "")
ENDIF(PNG_FOUND)
@@ -36,7 +36,7 @@
FIND_PACKAGE(UNISTRING)
-@@ -384,6 +390,7 @@ ENDIF(UNISTRING_FOUND)
+@@ -393,6 +399,7 @@ ENDIF(UNISTRING_FOUND)
IF(NOT PODOFO_BUILD_LIB_ONLY)
@@ -44,7 +44,7 @@
FIND_PACKAGE(CppUnit)
IF(CppUnit_FOUND)
-@@ -393,6 +400,7 @@ IF(CppUnit_FOUND)
+@@ -402,6 +409,7 @@ IF(CppUnit_FOUND)
ELSE(CppUnit_FOUND)
MESSAGE("Cppunit not found. No unit tests will be built.")
ENDIF(CppUnit_FOUND)
@@ -52,7 +52,7 @@
ENDIF(NOT PODOFO_BUILD_LIB_ONLY)
-@@ -433,6 +441,7 @@ ELSE(WANT_FONTCONFIG)
+@@ -442,6 +450,7 @@ ELSE(WANT_FONTCONFIG)
ENDIF(WANT_FONTCONFIG)
IF(NOT PODOFO_BUILD_LIB_ONLY)
@@ -60,7 +60,7 @@
FIND_PACKAGE(LUA)
IF(LUA_FOUND)
# If we have lua, we can build podofoimpose.
-@@ -444,6 +453,7 @@ IF(LUA_FOUND)
+@@ -453,6 +462,7 @@ IF(LUA_FOUND)
ELSE(LUA_FOUND)
MESSAGE("Lua not found - PoDoFoImpose and PoDoFoColor will be built without Lua support")
ENDIF(LUA_FOUND)
@@ -68,7 +68,7 @@
ENDIF(NOT PODOFO_BUILD_LIB_ONLY)
-@@ -530,7 +540,7 @@ ENDIF(WIN32 OR PODOFO_BUILD_STATIC)
+@@ -539,7 +549,7 @@ ENDIF(WIN32 OR PODOFO_BUILD_STATIC)
#
# Setup directories we will need
#
diff --git a/graphics/podofo/files/patch-src-CMakeLists.txt b/graphics/podofo/files/patch-src-podofo-CMakeLists.txt
index 2da848249e58..305f5cdf6821 100644
--- a/graphics/podofo/files/patch-src-CMakeLists.txt
+++ b/graphics/podofo/files/patch-src-podofo-CMakeLists.txt
@@ -1,6 +1,6 @@
---- src/CMakeLists.txt.orig 2018-03-11 11:42:20 UTC
-+++ src/CMakeLists.txt
-@@ -263,8 +263,8 @@ IF(PODOFO_BUILD_STATIC)
+--- src/podofo/CMakeLists.txt.orig 2020-03-27 16:13:28 UTC
++++ src/podofo/CMakeLists.txt
+@@ -265,8 +265,8 @@ IF(PODOFO_BUILD_STATIC)
ADD_LIBRARY(podofo_static STATIC ${PODOFO_BASE_SOURCES} ${PODOFO_DOC_SOURCES} ${PODOFO_HEADER_FILES})
TARGET_LINK_LIBRARIES(podofo_static ${PODOFO_LIB_DEPENDS})
SET_TARGET_PROPERTIES(podofo_static PROPERTIES
@@ -11,7 +11,7 @@
CLEAN_DIRECT_OUTPUT 1
OUTPUT_NAME "podofo"
COMPILE_FLAGS "-DBUILDING_PODOFO"
-@@ -287,8 +287,8 @@ IF(PODOFO_BUILD_SHARED)
+@@ -289,8 +289,8 @@ IF(PODOFO_BUILD_SHARED)
# Visual Studio, since it produces invalid warnings about STL
# use.
SET_TARGET_PROPERTIES(podofo_shared PROPERTIES
diff --git a/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt b/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt
deleted file mode 100644
index e67b8949b0f7..000000000000
--- a/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Prior to 3.12 cmake silently created an empty destination directory if the origin of the copy_directory does not exist.
-
---- test/TokenizerTest/CMakeLists.txt.orig 2007-09-16 09:33:38 UTC
-+++ test/TokenizerTest/CMakeLists.txt
-@@ -7,5 +7,6 @@ ADD_DEPENDENCIES(TokenizerTest ${PODOFO_
- ADD_CUSTOM_COMMAND(
- TARGET TokenizerTest
- POST_BUILD
-+ COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects"
- COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects"
- )