pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
podofo010: add old podofo version, for calibre
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Nov 14 00:09:20 2025 +0100
Changeset: 0d87a62af8b1d8dac2af0433003da33d0f3b9a93
Modified Files:
Makefile
calibre/Makefile
Added Files:
calibre/TODO
podofo010/DESCR
podofo010/Makefile
podofo010/PLIST
podofo010/buildlink3.mk
podofo010/distinfo
Log Message:
podofo010: add old podofo version, for calibre
update calibre dependencies and TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d87a62af8b1d8dac2af0433003da33d0f3b9a93
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
calibre/Makefile | 5 +-
calibre/TODO | 2 +
podofo010/DESCR | 15 +++++
podofo010/Makefile | 34 +++++++++++
podofo010/PLIST | 151 ++++++++++++++++++++++++++++++++++++++++++++++++
podofo010/buildlink3.mk | 17 ++++++
podofo010/distinfo | 5 ++
8 files changed, 228 insertions(+), 2 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 74d073f922..ace8ec1cbb 100644
--- a/Makefile
+++ b/Makefile
@@ -3301,6 +3301,7 @@ SUBDIR+= pmk
SUBDIR+= png2ico
SUBDIR+= pngnq
SUBDIR+= pnmcurve
+SUBDIR+= podofo010
SUBDIR+= pointtools-git
SUBDIR+= poke-git
SUBDIR+= polarssl11
diff --git a/calibre/Makefile b/calibre/Makefile
index 134406d5f2..8a3faed085 100644
--- a/calibre/Makefile
+++ b/calibre/Makefile
@@ -126,7 +126,8 @@ do-test:
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/application.mk"
-.include "../../archivers//bzip2/buildlink3.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/espeak-ng/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
BUILDLINK_API_DEPENDS.chmlib+= chmlib>=0.40
.include "../../devel/chmlib/buildlink3.mk"
@@ -144,7 +145,7 @@ _PYSETUPTOOLSINSTALLARGS= # empty
# because the setup.py is not the standard one and behaves differently.
_PYSETUPINSTALLARGS= ${PYSETUPINSTALLARGS} ${PYSETUPOPTARGS} ${_PYSETUPTOOLSINSTALLARGS}
.include "../../multimedia/ffmpeg8/buildlink3.mk"
-.include "../../print/podofo/buildlink3.mk"
+.include "../../wip/podofo010/buildlink3.mk"
BUILDLINK_API_DEPENDS.poppler+= poppler>=0.20.2
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
diff --git a/calibre/TODO b/calibre/TODO
new file mode 100644
index 0000000000..3b466880d4
--- /dev/null
+++ b/calibre/TODO
@@ -0,0 +1,2 @@
+Missing dependency:
+calibre-8.14.0/src/calibre/utils/tts/piper.cpp:22:10: fatal error: onnxruntime_cxx_api.h: No such file or directory
diff --git a/podofo010/DESCR b/podofo010/DESCR
new file mode 100644
index 0000000000..9ae39c145c
--- /dev/null
+++ b/podofo010/DESCR
@@ -0,0 +1,15 @@
+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.
+
+This packages the old 0.10 branch just for calibre.
diff --git a/podofo010/Makefile b/podofo010/Makefile
new file mode 100644
index 0000000000..869024b618
--- /dev/null
+++ b/podofo010/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.53 2025/11/10 13:53:33 wiz Exp $
+
+DISTNAME= podofo-0.10.5
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GITHUB:=podofo/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/podofo/podofo/
+COMMENT= Library to work with the PDF file format (old 0.10 branch)
+LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES= c++17
+
+# cmake checks for this version
+GCC_REQD+= 9
+
+USE_TOOLS+= pkg-config
+
+CMAKE_CONFIGURE_ARGS+= -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
+CMAKE_CONFIGURE_ARGS+= -DFREETYPE_INCLUDE_DIR_FTHEADER:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2/config
+CMAKE_CONFIGURE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/podofo010/PLIST b/podofo010/PLIST
new file mode 100644
index 0000000000..c2b3b1f58e
--- /dev/null
+++ b/podofo010/PLIST
@@ -0,0 +1,151 @@
+@comment $NetBSD$
+include/podofo/auxiliary/EnumFlags.h
+include/podofo/auxiliary/InputDevice.h
+include/podofo/auxiliary/InputStream.h
+include/podofo/auxiliary/MathBase.h
+include/podofo/auxiliary/Matrix.h
+include/podofo/auxiliary/OutputDevice.h
+include/podofo/auxiliary/OutputStream.h
+include/podofo/auxiliary/Rect.h
+include/podofo/auxiliary/StateStack.h
+include/podofo/auxiliary/StreamDevice.h
+include/podofo/auxiliary/StreamDeviceBase.h
+include/podofo/auxiliary/Vector2.h
+include/podofo/auxiliary/Version.h
+include/podofo/auxiliary/basecompat.h
+include/podofo/auxiliary/basedefs.h
+include/podofo/auxiliary/baseincludes.h
+include/podofo/auxiliary/basetypes.h
+include/podofo/auxiliary/nullable.h
+include/podofo/auxiliary/podofo_config.h
+include/podofo/auxiliary/span.h
+include/podofo/auxiliary/span.hpp
+include/podofo/main/PdfAcroForm.h
+include/podofo/main/PdfAction.h
+include/podofo/main/PdfAnnotation.h
+include/podofo/main/PdfAnnotationActionBase.h
+include/podofo/main/PdfAnnotationCollection.h
+include/podofo/main/PdfAnnotationWidget.h
+include/podofo/main/PdfAnnotation_Types.h
+include/podofo/main/PdfArray.h
+include/podofo/main/PdfButton.h
+include/podofo/main/PdfCIDToGIDMap.h
+include/podofo/main/PdfCMapEncoding.h
+include/podofo/main/PdfCanvas.h
+include/podofo/main/PdfCanvasInputDevice.h
+include/podofo/main/PdfCatalog.h
+include/podofo/main/PdfCharCodeMap.h
+include/podofo/main/PdfCheckBox.h
+include/podofo/main/PdfChoiceField.h
+include/podofo/main/PdfColor.h
+include/podofo/main/PdfComboBox.h
+include/podofo/main/PdfCommon.h
+include/podofo/main/PdfContentStreamOperators.h
+include/podofo/main/PdfContentStreamReader.h
+include/podofo/main/PdfContents.h
+include/podofo/main/PdfData.h
+include/podofo/main/PdfDataContainer.h
+include/podofo/main/PdfDataProvider.h
+include/podofo/main/PdfDate.h
+include/podofo/main/PdfDeclarations.h
+include/podofo/main/PdfDestination.h
+include/podofo/main/PdfDictionary.h
+include/podofo/main/PdfDifferenceEncoding.h
+include/podofo/main/PdfDocument.h
+include/podofo/main/PdfElement.h
+include/podofo/main/PdfEncoding.h
+include/podofo/main/PdfEncodingCommon.h
+include/podofo/main/PdfEncodingFactory.h
+include/podofo/main/PdfEncodingMap.h
+include/podofo/main/PdfEncodingMapFactory.h
+include/podofo/main/PdfEncodingShim.h
+include/podofo/main/PdfEncrypt.h
+include/podofo/main/PdfError.h
+include/podofo/main/PdfExtGState.h
+include/podofo/main/PdfExtension.h
+include/podofo/main/PdfField.h
+include/podofo/main/PdfFieldChildrenCollection.h
+include/podofo/main/PdfFileSpec.h
+include/podofo/main/PdfFilter.h
+include/podofo/main/PdfFont.h
+include/podofo/main/PdfFontCID.h
+include/podofo/main/PdfFontCIDTrueType.h
+include/podofo/main/PdfFontCIDType1.h
+include/podofo/main/PdfFontConfigWrapper.h
+include/podofo/main/PdfFontManager.h
+include/podofo/main/PdfFontMetrics.h
+include/podofo/main/PdfFontMetricsFreetype.h
+include/podofo/main/PdfFontMetricsObject.h
+include/podofo/main/PdfFontMetricsStandard14.h
+include/podofo/main/PdfFontObject.h
+include/podofo/main/PdfFontSimple.h
+include/podofo/main/PdfFontTrueType.h
+include/podofo/main/PdfFontTrueTypeSubset.h
+include/podofo/main/PdfFontType1.h
+include/podofo/main/PdfFontType3.h
+include/podofo/main/PdfGraphicsState.h
+include/podofo/main/PdfIdentityEncoding.h
+include/podofo/main/PdfImage.h
+include/podofo/main/PdfImmediateWriter.h
+include/podofo/main/PdfIndirectObjectList.h
+include/podofo/main/PdfInfo.h
+include/podofo/main/PdfListBox.h
+include/podofo/main/PdfMath.h
+include/podofo/main/PdfMemDocument.h
+include/podofo/main/PdfMemoryObjectStream.h
+include/podofo/main/PdfMetadata.h
+include/podofo/main/PdfName.h
+include/podofo/main/PdfNameTree.h
+include/podofo/main/PdfObject.h
+include/podofo/main/PdfObjectStream.h
+include/podofo/main/PdfObjectStreamParser.h
+include/podofo/main/PdfObjectStreamProvider.h
+include/podofo/main/PdfOperatorUtils.h
+include/podofo/main/PdfOutlines.h
+include/podofo/main/PdfPage.h
+include/podofo/main/PdfPageCollection.h
+include/podofo/main/PdfPainter.h
+include/podofo/main/PdfPainterPath.h
+include/podofo/main/PdfPainterTextObject.h
+include/podofo/main/PdfParser.h
+include/podofo/main/PdfParserObject.h
+include/podofo/main/PdfPostScriptTokenizer.h
+include/podofo/main/PdfPredefinedEncoding.h
+include/podofo/main/PdfPushButton.h
+include/podofo/main/PdfRadioButton.h
+include/podofo/main/PdfReference.h
+include/podofo/main/PdfResources.h
+include/podofo/main/PdfSignature.h
+include/podofo/main/PdfSigner.h
+include/podofo/main/PdfStatefulEncrypt.h
+include/podofo/main/PdfStreamedDocument.h
+include/podofo/main/PdfStreamedObjectStream.h
+include/podofo/main/PdfString.h
+include/podofo/main/PdfStringStream.h
+include/podofo/main/PdfTextBox.h
+include/podofo/main/PdfTextState.h
+include/podofo/main/PdfTokenizer.h
+include/podofo/main/PdfTrailer.h
+include/podofo/main/PdfVariant.h
+include/podofo/main/PdfVariantStack.h
+include/podofo/main/PdfWriter.h
+include/podofo/main/PdfXMPMetadata.h
+include/podofo/main/PdfXMPPacket.h
+include/podofo/main/PdfXObject.h
+include/podofo/main/PdfXObjectForm.h
+include/podofo/main/PdfXObjectPostScript.h
+include/podofo/main/PdfXRef.h
+include/podofo/main/PdfXRefEntry.h
+include/podofo/main/PdfXRefStream.h
+include/podofo/main/PdfXRefStreamParserObject.h
+include/podofo/podofo.h
+include/podofo/staging/PdfFunction.h
+include/podofo/staging/PdfPainterExtensions.h
+include/podofo/staging/PdfShadingPattern.h
+include/podofo/staging/PdfTilingPattern.h
+lib/libpodofo.so
+lib/libpodofo.so.${PKGVERSION}
+lib/libpodofo.so.2
+lib/pkgconfig/libpodofo.pc
+share/podofo/podofo-config-noconfig.cmake
+share/podofo/podofo-config.cmake
diff --git a/podofo010/buildlink3.mk b/podofo010/buildlink3.mk
new file mode 100644
index 0000000000..84e1f71611
--- /dev/null
+++ b/podofo010/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.15 2025/08/30 22:46:11 wiz Exp $
+
+BUILDLINK_TREE+= podofo
+
+.if !defined(PODOFO_BUILDLINK3_MK)
+PODOFO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.podofo+= podofo>=0.10.5<1.0
+BUILDLINK_PKGSRCDIR.podofo?= ../../wip/podofo010
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif # PODOFO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -podofo
diff --git a/podofo010/distinfo b/podofo010/distinfo
new file mode 100644
index 0000000000..eb614fdb50
--- /dev/null
+++ b/podofo010/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.26 2025/11/10 13:53:33 wiz Exp $
+
+BLAKE2s (podofo-0.10.5.tar.gz) = 6f0aa993b6d3b1c302de19142cd8f343a7c2d078d96c41858f31c1fc484e00cb
+SHA512 (podofo-0.10.5.tar.gz) = 9b9921100c638d591e8796ec4bedb6eb4496bfe4fdb0d633ea6619da899451a1c0239b1f95fabc61b08572d1eab5a3f67c4a97f869520c8f2a1b89e060b8b3bb
+Size (podofo-0.10.5.tar.gz) = 1696209 bytes
Home |
Main Index |
Thread Index |
Old Index