pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/podofo Initial import of podofo-0.7.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dda329e047d9
branches:  trunk
changeset: 400085:dda329e047d9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 11 09:41:35 2009 +0000

description:
Initial import of podofo-0.7.0:

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.

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.

diffstat:

 print/podofo/DESCR            |  13 ++++++
 print/podofo/Makefile         |  31 ++++++++++++++
 print/podofo/PLIST            |  91 +++++++++++++++++++++++++++++++++++++++++++
 print/podofo/buildlink3.mk    |  17 ++++++++
 print/podofo/distinfo         |   6 ++
 print/podofo/patches/patch-aa |  13 ++++++
 6 files changed, 171 insertions(+), 0 deletions(-)

diffs (195 lines):

diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/DESCR        Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +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.
+
+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.
diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/Makefile     Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
+#
+
+DISTNAME=      podofo-0.7.0
+CATEGORIES=    print
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=podofo/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://podofo.sourceforge.net/
+COMMENT=       Library to work with the PDF file format
+#LICENSE=      gnu-lgpl-v? AND gnu-gpl-v?
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    pkg-config
+CMAKE_ARGS+=   -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include
+CMAKE_ARGS+=   -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
+CFLAGS+=       -fPIC
+CXXFLAGS+=     -fPIC
+
+# optional: lua support
+# tests-depend on cppunit (for unit tests)
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/PLIST        Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +1,91 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
+bin/podofoencrypt
+bin/podofoimgextract
+bin/podofoimpose
+bin/podofomerge
+bin/podofopdfinfo
+bin/podofotxt2pdf
+bin/podofotxtextract
+bin/podofouncompress
+include/podofo/Pdf3rdPtyForwardDecl.h
+include/podofo/PdfAcroForm.h
+include/podofo/PdfAction.h
+include/podofo/PdfAnnotation.h
+include/podofo/PdfArray.h
+include/podofo/PdfCanvas.h
+include/podofo/PdfColor.h
+include/podofo/PdfContents.h
+include/podofo/PdfContentsTokenizer.h
+include/podofo/PdfData.h
+include/podofo/PdfDataType.h
+include/podofo/PdfDate.h
+include/podofo/PdfDefines.h
+include/podofo/PdfDestination.h
+include/podofo/PdfDictionary.h
+include/podofo/PdfDifferenceEncoding.h
+include/podofo/PdfDocument.h
+include/podofo/PdfElement.h
+include/podofo/PdfEncoding.h
+include/podofo/PdfEncodingFactory.h
+include/podofo/PdfEncrypt.h
+include/podofo/PdfError.h
+include/podofo/PdfExtGState.h
+include/podofo/PdfField.h
+include/podofo/PdfFileSpec.h
+include/podofo/PdfFileStream.h
+include/podofo/PdfFilter.h
+include/podofo/PdfFiltersPrivate.h
+include/podofo/PdfFont.h
+include/podofo/PdfFontCID.h
+include/podofo/PdfFontCache.h
+include/podofo/PdfFontFactory.h
+include/podofo/PdfFontMetrics.h
+include/podofo/PdfFontSimple.h
+include/podofo/PdfFontTTFSubset.h
+include/podofo/PdfFontTrueType.h
+include/podofo/PdfFontType1.h
+include/podofo/PdfFunction.h
+include/podofo/PdfHintStream.h
+include/podofo/PdfImage.h
+include/podofo/PdfImmediateWriter.h
+include/podofo/PdfInfo.h
+include/podofo/PdfInputDevice.h
+include/podofo/PdfInputStream.h
+include/podofo/PdfLocale.h
+include/podofo/PdfMemDocument.h
+include/podofo/PdfMemStream.h
+include/podofo/PdfName.h
+include/podofo/PdfNamesTree.h
+include/podofo/PdfObject.h
+include/podofo/PdfOutlines.h
+include/podofo/PdfOutputDevice.h
+include/podofo/PdfOutputStream.h
+include/podofo/PdfPage.h
+include/podofo/PdfPagesTree.h
+include/podofo/PdfPainter.h
+include/podofo/PdfPainterMM.h
+include/podofo/PdfParser.h
+include/podofo/PdfParserObject.h
+include/podofo/PdfRect.h
+include/podofo/PdfRefCountedBuffer.h
+include/podofo/PdfRefCountedInputDevice.h
+include/podofo/PdfReference.h
+include/podofo/PdfRijndael.h
+include/podofo/PdfShadingPattern.h
+include/podofo/PdfStream.h
+include/podofo/PdfStreamedDocument.h
+include/podofo/PdfString.h
+include/podofo/PdfTable.h
+include/podofo/PdfTokenizer.h
+include/podofo/PdfVariant.h
+include/podofo/PdfVecObjects.h
+include/podofo/PdfVersion.h
+include/podofo/PdfWriter.h
+include/podofo/PdfXObject.h
+include/podofo/PdfXRef.h
+include/podofo/PdfXRefStream.h
+include/podofo/podofo.h
+include/podofo/podofoapi.h
+include/podofo/util/PdfMutex.h
+include/podofo/util/PdfMutexWrapper.h
+lib/libpodofo.a
diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/buildlink3.mk        Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
+
+BUILDLINK_TREE+=       podofo
+
+.if !defined(PODOFO_BUILDLINK3_MK)
+PODOFO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.podofo+= podofo>=0.7.0
+BUILDLINK_PKGSRCDIR.podofo?=   ../../nih/podofo
+BUILDLINK_DEPMETHOD.podofo?=   build
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.endif # PODOFO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -podofo
diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/distinfo     Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
+
+SHA1 (podofo-0.7.0.tar.gz) = bd9862770c99f5790e6be53a57c77c5d4796d841
+RMD160 (podofo-0.7.0.tar.gz) = 37721670a706da614b61ec9620fb1ef46aaff4ae
+Size (podofo-0.7.0.tar.gz) = 1117023 bytes
+SHA1 (patch-aa) = 7d3bb709d86ad13b21120d41223a4d84c5d9215d
diff -r e0e7e2fb910a -r dda329e047d9 print/podofo/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/patches/patch-aa     Sun Oct 11 09:41:35 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
+
+--- cmake/modules/FindFREETYPE.cmake.orig      2007-11-07 17:45:20.000000000 +0000
++++ cmake/modules/FindFREETYPE.cmake
+@@ -41,7 +41,7 @@ ENDIF(NOT FREETYPE_FIND_QUIETLY)
+ SET(FREETYPE_LIBRARY_NAMES_DEBUG ${FREETYPE_LIBRARY_NAMES_DEBUG} freetyped libfreetyped)
+ SET(FREETYPE_LIBRARY_NAMES_RELEASE ${FREETYPE_LIBRARY_NAMES_RELEASE} freetype libfreetype)
+ 
+-SET(FREETYPE_LIB_PATHS /usr/lib /usr/local/lib)
++#SET(FREETYPE_LIB_PATHS /usr/lib /usr/local/lib)
+ 
+ FIND_LIBRARY(FREETYPE_LIBRARY_RELEASE
+   ${FREETYPE_LIBRARY_NAMES_RELEASE}



Home | Main Index | Thread Index | Old Index