Update to PoDoFo 0.9.8 (last <1 version)

From earlier last year, when upstream froze their tree to switch to a new
pdfmm code base with their 1.0.0 release: https://podofo.sourceforge.net/

Looks like this version fixes some CVEs:
https://sourceforge.net/p/podofo/code/commit_browser

Symbol removals and size changes as per check_sym, so bump major.

Tidy up the Makefile while here.
No PLIST change.
Builds fine, sysutils/krename still builds against the new version.
This commit is contained in:
kn 2023-01-15 10:56:35 +00:00
parent 9defe5c902
commit 9b472190d0
2 changed files with 9 additions and 6 deletions

View File

@ -1,8 +1,8 @@
COMMENT= library and tools to modify and parse PDF documents
DISTNAME= podofo-0.9.7
DISTNAME= podofo-0.9.8
SHARED_LIBS += podofo 3.0 # 0.9
SHARED_LIBS += podofo 4.0 # 0.9.8
CATEGORIES= textproc
@ -16,8 +16,9 @@ WANTLIB += jpeg m png ssl tiff unistring z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/}
MODULES= devel/cmake
MODULES= devel/cmake
# C++
COMPILER = base-clang ports-gcc
LIB_DEPENDS= converters/libunistring \
@ -26,6 +27,9 @@ LIB_DEPENDS= converters/libunistring \
graphics/png \
graphics/tiff
# only for tests
BUILD_DEPENDS= devel/cppunit
CXXFLAGS = -I${X11BASE}/include
MODCMAKE_LDFLAGS = -L${X11BASE}/lib
@ -36,7 +40,6 @@ CONFIGURE_ARGS+= -DFREETYPE_INCLUDE_DIR=${X11BASE}/include/freetype2 \
post-extract:
rm ${WRKSRC}/cmake/modules/FindZLIB.cmake
BUILD_DEPENDS= devel/cppunit
do-test:
${WRKBUILD}/test/unit/podofo-test

View File

@ -1,2 +1,2 @@
SHA256 (podofo-0.9.7.tar.gz) = fPLnFtqu+JZHxU/80IlASS/UDDhe8EDOdSk5a/rcHrg=
SIZE (podofo-0.9.7.tar.gz) = 1005247
SHA256 (podofo-0.9.8.tar.gz) = XeYH4V8ZK4rZBzgwB1nYjeoPXM3OO/AASKDJMrxkUVQ=
SIZE (podofo-0.9.8.tar.gz) = 1012918