Date: Sun, 7 May 2017 21:26:29 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440371 - in head/graphics/podofo: . files Message-ID: <201705072126.v47LQTis051490@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 7 21:26:29 2017 New Revision: 440371 URL: https://svnweb.freebsd.org/changeset/ports/440371 Log: Update to 0.9.5 - Build and install static library - Use _CMAKE_BOOL - Update pkg-descr - Take maintainership Added: head/graphics/podofo/files/patch-cmake-modules-FindLua51.cmake - copied unchanged from r440370, head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake head/graphics/podofo/files/patch-src-CMakeLists.txt - copied unchanged from r440370, head/graphics/podofo/files/patch-src_CMakeLists.txt Deleted: head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake head/graphics/podofo/files/patch-src_CMakeLists.txt head/graphics/podofo/files/patch-src_base_PdfMemoryManagement.cpp Modified: head/graphics/podofo/Makefile head/graphics/podofo/distinfo head/graphics/podofo/pkg-descr head/graphics/podofo/pkg-plist Modified: head/graphics/podofo/Makefile ============================================================================== --- head/graphics/podofo/Makefile Sun May 7 21:26:23 2017 (r440370) +++ head/graphics/podofo/Makefile Sun May 7 21:26:29 2017 (r440371) @@ -2,45 +2,42 @@ # $FreeBSD$ PORTNAME= podofo -PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTVERSION= 0.9.5 CATEGORIES= graphics print MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDF manipulation library and tools LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi -LIB_DEPENDS= libidn.so:dns/libidn \ +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ - libfontconfig.so:x11-fonts/fontconfig + libidn.so:dns/libidn -USES= cmake compiler dos2unix ssl -CMAKE_ARGS= -DPODOFO_BUILD_SHARED:BOOL=TRUE \ - -DPODOFO_BUILD_STATIC:BOOL=FALSE \ - -DOPENSSL_INCLUDE_DIR:PATH="${OPENSSLINC}" \ - -DOPENSSL_LIBRARIES:PATH="${OPENSSLDIR}" +OPTIONS_DEFINE= IMPOSE JPEG PNG TIFF +OPTIONS_DEFAULT=JPEG PNG TIFF +IMPOSE_DESC= Build impose tool (Lua required) + +CMAKE_ARGS= -DOPENSSL_INCLUDE_DIR="${OPENSSLINC}" \ + -DOPENSSL_LIBRARIES="${OPENSSLDIR}" \ + -DPODOFO_BUILD_SHARED=TRUE \ + -DPODOFO_BUILD_STATIC=TRUE USE_LDCONFIG= yes -DOS2UNIX_FILES= cmake/modules/FindFREETYPE.cmake +USES= cmake compiler dos2unix ssl -OPTIONS_DEFINE= IMPOSE JPEG PNG TIFF -OPTIONS_DEFAULT= JPEG PNG TIFF +DOS2UNIX_FILES= cmake/modules/FindFREETYPE.cmake -IMPOSE_DESC= Build impose tool (needs Lua) -IMPOSE_USES= lua:51 -IMPOSE_CMAKE_ON= -DWANT_LUA:BOOL=TRUE +IMPOSE_CMAKE_BOOL= WANT_LUA IMPOSE_CXXFLAGS= -I${LUA_INCDIR} IMPOSE_LDFLAGS= -L${LUA_LIBDIR} - -JPEG_CMAKE_ON= -DWANT_LIBJPEG:BOOL=TRUE +IMPOSE_USES= lua +JPEG_CMAKE_BOOL= WANT_LIBJPEG JPEG_USES= jpeg - -PNG_CMAKE_ON= -DWANT_PNG:BOOL=TRUE +PNG_CMAKE_BOOL= WANT_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png - -TIFF_CMAKE_ON= -DWANT_TIFF:BOOL=TRUE +TIFF_CMAKE_BOOL= WANT_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff .include <bsd.port.pre.mk> Modified: head/graphics/podofo/distinfo ============================================================================== --- head/graphics/podofo/distinfo Sun May 7 21:26:23 2017 (r440370) +++ head/graphics/podofo/distinfo Sun May 7 21:26:29 2017 (r440371) @@ -1,3 +1,3 @@ -TIMESTAMP = 1465922141 -SHA256 (podofo-0.9.4.tar.gz) = ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 -SIZE (podofo-0.9.4.tar.gz) = 1147939 +TIMESTAMP = 1494045852 +SHA256 (podofo-0.9.5.tar.gz) = 854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 +SIZE (podofo-0.9.5.tar.gz) = 1160799 Copied: head/graphics/podofo/files/patch-cmake-modules-FindLua51.cmake (from r440370, head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/podofo/files/patch-cmake-modules-FindLua51.cmake Sun May 7 21:26:29 2017 (r440371, copy of r440370, head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake) @@ -0,0 +1,20 @@ +--- cmake/modules/FindLua51.cmake.orig 2016-05-02 18:30:40 UTC ++++ cmake/modules/FindLua51.cmake +@@ -33,7 +33,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h + ) + + FIND_LIBRARY(LUA_LIBRARY +- NAMES lua51 lua5.1 lua ++ NAMES lua51 lua5.1 lua-5.1 lua + PATHS + $ENV{LUA_DIR} + NO_DEFAULT_PATH +@@ -41,7 +41,7 @@ FIND_LIBRARY(LUA_LIBRARY + ) + + FIND_LIBRARY(LUA_LIBRARY +- NAMES lua51 lua5.1 lua ++ NAMES lua51 lua5.1 lua-5.1 lua + PATHS + ~/Library/Frameworks + /Library/Frameworks Copied: head/graphics/podofo/files/patch-src-CMakeLists.txt (from r440370, head/graphics/podofo/files/patch-src_CMakeLists.txt) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/podofo/files/patch-src-CMakeLists.txt Sun May 7 21:26:29 2017 (r440371, copy of r440370, head/graphics/podofo/files/patch-src_CMakeLists.txt) @@ -0,0 +1,24 @@ +--- src/CMakeLists.txt.orig 2016-04-21 20:19:17 UTC ++++ src/CMakeLists.txt +@@ -268,8 +268,8 @@ IF(PODOFO_BUILD_STATIC) + ADD_LIBRARY(podofo_static STATIC ${PODOFO_BASE_SOURCES} ${PODOFO_DOC_SOURCES}) + TARGET_LINK_LIBRARIES(podofo_static ${PODOFO_LIB_DEPENDS}) + SET_TARGET_PROPERTIES(podofo_static PROPERTIES +- VERSION "${PODOFO_LIBVERSION}" +- SOVERSION "${PODOFO_SOVERSION}" ++ VERSION "0" ++ SOVERSION "0" + CLEAN_DIRECT_OUTPUT 1 + OUTPUT_NAME "podofo" + COMPILE_FLAGS "-DBUILDING_PODOFO" +@@ -292,8 +292,8 @@ IF(PODOFO_BUILD_SHARED) + # Visual Studio, since it produces invalid warnings about STL + # use. + SET_TARGET_PROPERTIES(podofo_shared PROPERTIES +- VERSION "${PODOFO_LIBVERSION}" +- SOVERSION "${PODOFO_SOVERSION}" ++ VERSION "0" ++ SOVERSION "0" + CLEAN_DIRECT_OUTPUT 1 + OUTPUT_NAME "podofo" + COMPILE_FLAGS "-DBUILDING_PODOFO" Modified: head/graphics/podofo/pkg-descr ============================================================================== --- head/graphics/podofo/pkg-descr Sun May 7 21:26:23 2017 (r440370) +++ head/graphics/podofo/pkg-descr Sun May 7 21:26:29 2017 (r440371) @@ -1,5 +1,13 @@ -PoDoFo is a library to work with the PDF file format. The name comes -from the first letter of PDF (Portable Document Format). A few tools -to work with PDF files are already included in the PoDoFo package. +PoDoFo is a library to work with the PDF file format. The name comes from the +first letter of PDF (Portable Document Format). A few tools to work with PDF +files are already included in the PoDoFo package. -WWW: http://podofo.sourceforge.net +The PoDoFo library is a free, portable C++ library which includes classes to +parse PDF files and 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 (for example the parser could be used in a PDF viewer). Besides +parsing PoDoFo includes also very simple classes to create your own PDF files. +All classes are documented so it is easy to start writing your own application +using PoDoFo. + +WWW: http://podofo.sourceforge.net/ Modified: head/graphics/podofo/pkg-plist ============================================================================== --- head/graphics/podofo/pkg-plist Sun May 7 21:26:23 2017 (r440370) +++ head/graphics/podofo/pkg-plist Sun May 7 21:26:29 2017 (r440371) @@ -11,6 +11,7 @@ bin/podofoincrementalupdates bin/podofomerge bin/podofopages bin/podofopdfinfo +bin/podofosign bin/podofotxt2pdf bin/podofotxtextract bin/podofouncompress @@ -53,7 +54,6 @@ 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 @@ -114,9 +114,6 @@ 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 @@ -125,6 +122,7 @@ include/podofo/doc/PdfTilingPattern.h include/podofo/doc/PdfXObject.h include/podofo/podofo-base.h include/podofo/podofo.h +lib/libpodofo.a lib/libpodofo.so lib/libpodofo.so.0 man/man1/podofobox.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705072126.v47LQTis051490>