libraries/podofo: Updated for version 0.8.2.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-10-16 23:19:35 -05:00 committed by Robby Workman
parent 35febf8935
commit aab36dae42
3 changed files with 5 additions and 26 deletions

View file

@ -1,19 +0,0 @@
diff --git a/test/unit/EncryptTest.cpp b/test/unit/EncryptTest.cpp index e0b4801..3355175 100644
--- a/test/unit/EncryptTest.cpp
+++ b/test/unit/EncryptTest.cpp
@@ -326,9 +326,9 @@ void EncryptTest::testEnableAlgorithms()
PdfObject object;
object.GetDictionary().AddKey(PdfName("Filter"), PdfName("Standard"));
- object.GetDictionary().AddKey(PdfName("V"), 4L);
- object.GetDictionary().AddKey(PdfName("R"), 4L);
- object.GetDictionary().AddKey(PdfName("P"), 1L);
+ object.GetDictionary().AddKey(PdfName("V"), static_cast<pdf_int64>(4L));
+ object.GetDictionary().AddKey(PdfName("R"), static_cast<pdf_int64>(4L));
+ object.GetDictionary().AddKey(PdfName("P"), static_cast<pdf_int64>(1L));
object.GetDictionary().AddKey(PdfName("O"), PdfString(""));
object.GetDictionary().AddKey(PdfName("U"), PdfString(""));

View file

@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=podofo
VERSION=0.8.1
VERSION=0.8.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -51,8 +51,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
patch -p1 < $CWD/podofo-0.8.1-casts.patch
mkdir build && cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -61,7 +59,7 @@ mkdir build && cd build
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
-DPODOFO_BUILD_SHARED:BOOL=TRUE \
-DPODOFO_USE_VISIBILITY=1 \
-DWANT_BOOST:BOOL=1 \
-DWANT_BOOST:BOOL=0 \
-DWANT_LIB64:BOOL=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release ..

View file

@ -1,8 +1,8 @@
PRGNAM="podofo"
VERSION="0.8.1"
VERSION="0.8.2"
HOMEPAGE="http://podofo.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.8.1.tar.gz"
MD5SUM="1d5cc8c03e2942266f96a7e8bf09dd0e"
DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.8.2.tar.gz"
MD5SUM="25d79f126a20680d69f95d33068f8599"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"