Update to version 0.9.3

This commit is contained in:
Pawel Pekala 2014-07-08 19:54:20 +00:00
parent bd445ab0c7
commit ffd1c72f1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361283
6 changed files with 28 additions and 49 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= podofo
PORTVERSION= 0.9.2
PORTREVISION= 2
PORTVERSION= 0.9.3
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
COMMENT= PDF manipulation library and tools

View File

@ -1,2 +1,2 @@
SHA256 (podofo-0.9.2.tar.gz) = 465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3
SIZE (podofo-0.9.2.tar.gz) = 1092131
SHA256 (podofo-0.9.3.tar.gz) = ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8
SIZE (podofo-0.9.3.tar.gz) = 1135095

View File

@ -1,5 +1,5 @@
--- CMakeLists.txt.orig 2012-12-12 23:55:46.000000000 +0100
+++ CMakeLists.txt 2013-02-24 15:50:09.000000000 +0100
--- CMakeLists.txt.orig 2014-06-15 18:53:10.000000000 +0200
+++ CMakeLists.txt 2014-07-08 16:13:02.647407659 +0200
@@ -16,6 +16,11 @@
SET(PODOFO_SOVERSION "${PODOFO_VERSION_MAJOR}.${PODOFO_VERSION_MINOR}.${PODOFO_VERSION_PATCH}")
SET(PODOFO_LIBVERSION "${PODOFO_SOVERSION}")
@ -12,7 +12,7 @@
#
# Main includes
@@ -326,6 +331,7 @@
@@ -340,6 +345,7 @@
MESSAGE("Libidn not found. AES-256 Encryption support will be disabled")
ENDIF(LIBIDN_FOUND)
@ -20,7 +20,7 @@
FIND_PACKAGE(LIBJPEG)
IF(LIBJPEG_FOUND)
@@ -335,7 +341,9 @@
@@ -349,7 +355,9 @@
ELSE(LIBJPEG_FOUND)
MESSAGE("Libjpeg not found. JPEG support will be disabled")
ENDIF(LIBJPEG_FOUND)
@ -30,7 +30,7 @@
FIND_PACKAGE(TIFF)
IF(TIFF_FOUND)
@@ -345,7 +353,9 @@
@@ -359,7 +367,9 @@
ELSE(TIFF_FOUND)
MESSAGE("Libtiff not found. TIFF support will be disabled")
ENDIF(TIFF_FOUND)
@ -40,42 +40,43 @@
FIND_PACKAGE(PNG)
IF(PNG_FOUND)
@@ -355,8 +365,10 @@
@@ -369,9 +379,11 @@
ELSE(PNG_FOUND)
MESSAGE("LibPng not found. PNG support will be disabled")
ENDIF(PNG_FOUND)
+ENDIF(WANT_PNG)
IF(NOT PODOFO_BUILD_LIB_ONLY)
+IF(WANT_CppUnit)
FIND_PACKAGE(CppUnit)
IF(CppUnit_FOUND)
@@ -366,6 +378,7 @@
@@ -381,6 +393,7 @@
ELSE(CppUnit_FOUND)
MESSAGE("Cppunit not found. No unit tests will be built.")
ENDIF(CppUnit_FOUND)
+ENDIF(WANT_CppUnit)
FIND_PACKAGE(OpenSSL)
ENDIF(NOT PODOFO_BUILD_LIB_ONLY)
@@ -425,6 +438,7 @@
ENDIF(NOT WIN32)
@@ -443,6 +456,7 @@
ENDIF(DEFINED JPEG_RUNTIME_COMPATIBLE)
IF(NOT PODOFO_BUILD_LIB_ONLY)
+IF(WANT_LUA)
FIND_PACKAGE(LUA)
IF(LUA_FOUND)
# If we have lua, we can build podofoimpose.
@@ -436,6 +450,7 @@
@@ -454,6 +468,7 @@
ELSE(LUA_FOUND)
MESSAGE("Lua not found - PoDoFoImpose and PoDoFoColor will be built without Lua support")
ENDIF(LUA_FOUND)
+ENDIF(WANT_LUA)
ENDIF(NOT PODOFO_BUILD_LIB_ONLY)
# Check if we should build a multithreaded version of PoDoFo
@@ -463,9 +478,6 @@
@@ -482,9 +497,6 @@
ENDIF(WANT_BOOST)
INCLUDE_DIRECTORIES(
@ -85,7 +86,7 @@
${FREETYPE_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${EXTRA_INCLUDES}
@@ -505,7 +517,7 @@
@@ -524,7 +536,7 @@
#
# Setup directories we will need
#

View File

@ -1,19 +0,0 @@
--- cmake/modules/FindFREETYPE.cmake.orig 2013-12-23 19:53:54.000000000 +0200
+++ cmake/modules/FindFREETYPE.cmake 2013-12-23 19:54:05.000000000 +0200
@@ -12,14 +12,14 @@
SET(FREETYPE_FIND_QUIETLY 1)
-FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD ft2build.h
+FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD freetype2/ft2build.h
/usr/include/
/usr/local/include/
/usr/X11/include/
NO_CMAKE_SYSTEM_PATH
)
-FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
+FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER config/ftheader.h
/usr/include/freetype2
/usr/local/include/freetype2
/usr/X11/include/freetype2

View File

@ -1,11 +0,0 @@
--- src/base/PdfLocale.h.orig 2010-10-25 19:19:15.000000000 +0200
+++ src/base/PdfLocale.h 2013-09-10 18:00:08.338272701 +0200
@@ -1,8 +1,6 @@
#ifndef PODOFO_PDFLOCALE_H
#define PODOFO_PDFLOCALE_H
-namespace std { class ios_base; };
-
namespace PoDoFo {
/**

View File

@ -32,6 +32,7 @@ include/podofo/base/PdfEncoding.h
include/podofo/base/PdfEncodingFactory.h
include/podofo/base/PdfEncrypt.h
include/podofo/base/PdfError.h
include/podofo/base/PdfExtension.h
include/podofo/base/PdfFileStream.h
include/podofo/base/PdfFilter.h
include/podofo/base/PdfFiltersPrivate.h
@ -52,6 +53,7 @@ include/podofo/base/PdfRect.h
include/podofo/base/PdfRefCountedBuffer.h
include/podofo/base/PdfRefCountedInputDevice.h
include/podofo/base/PdfReference.h
include/podofo/base/PdfSigIncWriter.h
include/podofo/base/PdfStream.h
include/podofo/base/PdfString.h
include/podofo/base/PdfTokenizer.h
@ -97,6 +99,7 @@ include/podofo/doc/PdfFontTTFSubset.h
include/podofo/doc/PdfFontTrueType.h
include/podofo/doc/PdfFontType1.h
include/podofo/doc/PdfFontType1Base14.h
include/podofo/doc/PdfFontType3.h
include/podofo/doc/PdfFunction.h
include/podofo/doc/PdfHintStream.h
include/podofo/doc/PdfIdentityEncoding.h
@ -111,19 +114,25 @@ include/podofo/doc/PdfPagesTreeCache.h
include/podofo/doc/PdfPainter.h
include/podofo/doc/PdfPainterMM.h
include/podofo/doc/PdfShadingPattern.h
include/podofo/doc/PdfSigIncMemDocument.h
include/podofo/doc/PdfSigIncPainter.h
include/podofo/doc/PdfSigIncSignatureField.h
include/podofo/doc/PdfSignOutputDevice.h
include/podofo/doc/PdfSignatureField.h
include/podofo/doc/PdfStreamedDocument.h
include/podofo/doc/PdfTable.h
include/podofo/doc/PdfTilingPattern.h
include/podofo/doc/PdfXObject.h
include/podofo/podofo-base.h
include/podofo/podofo.h
lib/libpodofo.so
lib/libpodofo.so.0
man/man1/podofobox.1.gz
man/man1/podofocolor.1.gz
man/man1/podofocountpages.1.gz
man/man1/podofocrop.1.gz
man/man1/podofoencrypt.1.gz
man/man1/podofogc.1.gz
man/man1/podofoimg2pdf.1.gz
man/man1/podofoimgextract.1.gz
man/man1/podofoimpose.1.gz