[121895] trunk/dports/graphics/podofo
devans at macports.org
devans at macports.org
Thu Jul 10 14:15:25 PDT 2014
Revision: 121895
https://trac.macports.org/changeset/121895
Author: devans at macports.org
Date: 2014-07-10 14:15:25 -0700 (Thu, 10 Jul 2014)
Log Message:
-----------
podofo: update to version 0.9.3.
Modified Paths:
--------------
trunk/dports/graphics/podofo/Portfile
trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff
Removed Paths:
-------------
trunk/dports/graphics/podofo/files/patch-ios_include.diff
trunk/dports/graphics/podofo/files/patch-lua-tools.diff
trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff
Modified: trunk/dports/graphics/podofo/Portfile
===================================================================
--- trunk/dports/graphics/podofo/Portfile 2014-07-10 20:44:17 UTC (rev 121894)
+++ trunk/dports/graphics/podofo/Portfile 2014-07-10 21:15:25 UTC (rev 121895)
@@ -6,8 +6,7 @@
PortGroup conflicts_build 1.0
name podofo
-version 0.9.2
-revision 4
+version 0.9.3
license GPL-2 LGPL-2
categories graphics
maintainers devans openmaintainer
@@ -24,8 +23,8 @@
modify their contents into memory. The changes can be written back to disk easily. \
The parser can also be used to extract information from a PDF file.
-checksums sha256 465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 \
- rmd160 69bf1035f2466ba95208830038c6f8e303580a5b
+checksums sha256 ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 \
+ rmd160 7db7f92d84913621dfa53fbecd3f394aa8105bf4
depends_lib port:zlib \
port:freetype \
@@ -45,10 +44,7 @@
conflicts_build ${name}
-patchfiles patch-src-base-PdfEncrypt.cpp.diff \
- patch-cmake-modules-FindFREETYPE.cmake.diff \
- patch-lua-tools.diff \
- patch-ios_include.diff
+patchfiles patch-cmake-modules-FindFREETYPE.cmake.diff
use_parallel_build no
Modified: trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff 2014-07-10 20:44:17 UTC (rev 121894)
+++ trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff 2014-07-10 21:15:25 UTC (rev 121895)
@@ -1,26 +1,27 @@
---- cmake/modules/FindFREETYPE.cmake.orig 2013-11-30 21:40:32.000000000 -0600
-+++ cmake/modules/FindFREETYPE.cmake 2013-11-30 21:40:27.000000000 -0600
-@@ -13,16 +13,12 @@
- SET(FREETYPE_FIND_QUIETLY 1)
-
+--- cmake/modules/FindFREETYPE.cmake.orig 2014-07-10 13:49:11.000000000 -0700
++++ cmake/modules/FindFREETYPE.cmake 2014-07-10 13:55:31.000000000 -0700
+@@ -15,9 +15,7 @@
+ # first we try to find ft2build.h in the new location as
+ # of freetype 2.5.1
FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD ft2build.h
-- /usr/include/
-- /usr/local/include/
-- /usr/X11/include/
+- /usr/include/freetype2
+- /usr/local/include/freetype2
+- /usr/X11/include/freetype2
+ ${CMAKE_INCLUDE_PATH}/freetype2
NO_CMAKE_SYSTEM_PATH
)
--FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
+@@ -34,9 +32,6 @@
+
+ # now try to find ftheader.h in the new location first
+ FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER config/ftheader.h
- /usr/include/freetype2
- /usr/local/include/freetype2
- /usr/X11/include/freetype2
-+FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER config/ftheader.h
-+ ${CMAKE_INCLUDE_PATH}/freetype2
${FREETYPE_INCLUDE_DIR_FT2BUILD}
- ${FREETYPE_INCLUDE_DIR_FT2BUILD}/freetype2
NO_CMAKE_SYSTEM_PATH
-@@ -43,7 +39,7 @@
+ )
+@@ -71,7 +66,7 @@
SET(FREETYPE_LIBRARY_NAMES_DEBUG ${FREETYPE_LIBRARY_NAMES_DEBUG} freetyped libfreetyped)
SET(FREETYPE_LIBRARY_NAMES_RELEASE ${FREETYPE_LIBRARY_NAMES_RELEASE} freetype libfreetype)
Deleted: trunk/dports/graphics/podofo/files/patch-ios_include.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-ios_include.diff 2014-07-10 20:44:17 UTC (rev 121894)
+++ trunk/dports/graphics/podofo/files/patch-ios_include.diff 2014-07-10 21:15:25 UTC (rev 121895)
@@ -1,21 +0,0 @@
---- src/base/PdfInputDevice.h.orig
-+++ src/base/PdfInputDevice.h
-@@ -22,6 +22,7 @@
- #define _PDF_INPUT_DEVICE_H_
-
- #include <istream>
-+#include <ios>
-
- #include "PdfDefines.h"
- #include "PdfLocale.h"
---- src/base/PdfLocale.h.orig
-+++ src/base/PdfLocale.h
-@@ -1,7 +1,7 @@
- #ifndef PODOFO_PDFLOCALE_H
- #define PODOFO_PDFLOCALE_H
-
--namespace std { class ios_base; };
-+#include <ios>
-
- namespace PoDoFo {
-
Deleted: trunk/dports/graphics/podofo/files/patch-lua-tools.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-lua-tools.diff 2014-07-10 20:44:17 UTC (rev 121894)
+++ trunk/dports/graphics/podofo/files/patch-lua-tools.diff 2014-07-10 21:15:25 UTC (rev 121895)
@@ -1,33 +0,0 @@
-diff -ur tools.orig/podofocolor/luaconverter.cpp tools/podofocolor/luaconverter.cpp
---- tools.orig/podofocolor/luaconverter.cpp 2010-12-29 10:08:31.000000000 -0800
-+++ tools/podofocolor/luaconverter.cpp 2013-07-02 18:22:36.000000000 -0700
-@@ -44,7 +44,7 @@
- LuaMachina::LuaMachina()
- {
- /* Init the Lua interpreter */
-- L = lua_open();
-+ L = luaL_newstate();
- if (!L)
- {
- throw std::runtime_error("Whoops! Failed to open lua!");
-@@ -117,7 +117,7 @@
- size_t len;
-
- luaL_checktype(m_machina.State(), 1, LUA_TTABLE);
-- len = luaL_getn( m_machina.State(), -1 );
-+ len = luaL_len( m_machina.State(), -1 );
- // Lua 5.1 only
- //len = lua_objlen( m_machina.State(), -1 );
-
-diff -ur tools.orig/podofoimpose/planreader_lua.cpp tools/podofoimpose/planreader_lua.cpp
---- tools.orig/podofoimpose/planreader_lua.cpp 2011-06-18 04:52:58.000000000 -0700
-+++ tools/podofoimpose/planreader_lua.cpp 2013-07-02 18:24:00.000000000 -0700
-@@ -23,7 +23,7 @@
- LuaMachina::LuaMachina()
- {
- /* Init the Lua interpreter */
-- L = lua_open();
-+ L = luaL_newstate();
- if (!L)
- {
- throw std::runtime_error("Whoops! Failed to open lua!");
Deleted: trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff 2014-07-10 20:44:17 UTC (rev 121894)
+++ trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff 2014-07-10 21:15:25 UTC (rev 121895)
@@ -1,12 +0,0 @@
---- src/base/PdfEncrypt.cpp.orig 2013-04-16 14:51:36.000000000 -0700
-+++ src/base/PdfEncrypt.cpp 2013-04-16 14:52:46.000000000 -0700
-@@ -45,7 +45,8 @@
-
- #ifdef __APPLE__
- #define COMMON_DIGEST_FOR_OPENSSL
--#include <CommonCrypto/CommonCrypto.h>
-+#include <CommonCrypto/CommonDigest.h>
-+#include <CommonCrypto/CommonCryptor.h>
- #else // __APPLE__
- #include <openssl/md5.h>
- #include <openssl/evp.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140710/04549ecb/attachment-0001.html>
More information about the macports-changes
mailing list