[105300] trunk/dports/graphics/podofo

devans at macports.org devans at macports.org
Tue Apr 16 17:52:12 PDT 2013


Revision: 105300
          https://trac.macports.org/changeset/105300
Author:   devans at macports.org
Date:     2013-04-16 17:52:12 -0700 (Tue, 16 Apr 2013)
Log Message:
-----------
podofo: update to version 0.9.2.

Modified Paths:
--------------
    trunk/dports/graphics/podofo/Portfile

Added Paths:
-----------
    trunk/dports/graphics/podofo/files/
    trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff
    trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff

Modified: trunk/dports/graphics/podofo/Portfile
===================================================================
--- trunk/dports/graphics/podofo/Portfile	2013-04-16 23:11:01 UTC (rev 105299)
+++ trunk/dports/graphics/podofo/Portfile	2013-04-17 00:52:12 UTC (rev 105300)
@@ -6,8 +6,7 @@
 PortGroup       conflicts_build 1.0
 
 name            podofo
-version         0.9.1
-revision        3
+version         0.9.2
 license         GPL-2 LGPL-2
 categories      graphics
 maintainers     devans openmaintainer
@@ -24,28 +23,37 @@
     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       sha1    d04c26b93dcf5f82a8dd90e02df6de95fb98ef47 \
-                rmd160  4d65f78cf4929eda44b5f27d518d104380e58160
+checksums       sha256  465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 \
+                rmd160  69bf1035f2466ba95208830038c6f8e303580a5b
 
 depends_build   port:cmake
 
-depends_lib     port:fontconfig \
+depends_lib     port:zlib \
+                port:freetype \
+                port:fontconfig \
+                port:libidn \
+                port:openssl \
                 port:libpng \
+                port:jpeg \
                 port:tiff \
                 port:cppunit \
-                port:openssl \
                 port:lua
 
 conflicts_build ${name}
 
+patchfiles      patch-src-base-PdfEncrypt.cpp.diff \
+                patch-cmake-modules-FindFREETYPE.cmake.diff
+
 compiler.blacklist clang
+use_parallel_build no
 
 configure.cmd   cmake
+
 configure.args-append  -G \"Unix Makefiles\" \
                 -DWANT_FONTCONFIG:BOOL=TRUE \
                 -DPODOFO_BUILD_SHARED:BOOL=TRUE \
                 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
-                -DCMAKE_INCLUDE_PATH=${prefix}/include/ \
+                -DCMAKE_INCLUDE_PATH=${prefix}/include \
                 -DCMAKE_LIBRARY_PATH=${prefix}/lib
 
 livecheck.type  regex

Added: trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff	                        (rev 0)
+++ trunk/dports/graphics/podofo/files/patch-cmake-modules-FindFREETYPE.cmake.diff	2013-04-17 00:52:12 UTC (rev 105300)
@@ -0,0 +1,18 @@
+--- cmake/modules/FindFREETYPE.cmake.orig	2013-04-16 16:17:30.000000000 -0700
++++ cmake/modules/FindFREETYPE.cmake	2013-04-16 16:19:45.000000000 -0700
+@@ -13,6 +13,7 @@
+ SET(FREETYPE_FIND_QUIETLY 1)
+ 
+ FIND_PATH(FREETYPE_INCLUDE_DIR_FT2BUILD ft2build.h
++  ${CMAKE_INCLUDE_PATH}
+   /usr/include/
+   /usr/local/include/
+   /usr/X11/include/
+@@ -20,6 +21,7 @@
+ )
+ 
+ FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
++  ${CMAKE_INCLUDE_PATH}/freetype2
+   /usr/include/freetype2
+   /usr/local/include/freetype2
+   /usr/X11/include/freetype2

Added: trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff
===================================================================
--- trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff	                        (rev 0)
+++ trunk/dports/graphics/podofo/files/patch-src-base-PdfEncrypt.cpp.diff	2013-04-17 00:52:12 UTC (rev 105300)
@@ -0,0 +1,12 @@
+--- 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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130416/0cb23d17/attachment-0001.html>


More information about the macports-changes mailing list