pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/uPDFParser



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 22 14:58:00 UTC 2026

Added Files:
        pkgsrc/print/uPDFParser: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
print/uPDFParser: import uPDFParser-0.1

A very simple PDF parser that will load PDF objects without
interpretation (zlib, streams, string encoding...).  It's also
possible to write a new PDF or update one.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/print/uPDFParser/DESCR \
    pkgsrc/print/uPDFParser/Makefile pkgsrc/print/uPDFParser/PLIST \
    pkgsrc/print/uPDFParser/buildlink3.mk pkgsrc/print/uPDFParser/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/print/uPDFParser/DESCR
diff -u /dev/null pkgsrc/print/uPDFParser/DESCR:1.1
--- /dev/null   Sun Nov 22 14:58:00 2026
+++ pkgsrc/print/uPDFParser/DESCR       Sun Nov 22 14:58:00 2026
@@ -0,0 +1,3 @@
+A very simple PDF parser that will load PDF objects without
+interpretation (zlib, streams, string encoding...).  It's also
+possible to write a new PDF or update one.
Index: pkgsrc/print/uPDFParser/Makefile
diff -u /dev/null pkgsrc/print/uPDFParser/Makefile:1.1
--- /dev/null   Sun Nov 22 14:58:00 2026
+++ pkgsrc/print/uPDFParser/Makefile    Sun Nov 22 14:58:00 2026
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2026/11/22 14:58:00 wiz Exp $
+
+DISTNAME=      v0.1
+PKGNAME=       uPDFParser-${DISTNAME:S,^v,,}
+CATEGORIES=    print
+MASTER_SITES=  https://forge.soutade.fr/soutade/uPDFParser/archive/
+DIST_SUBDIR=   uPDFParser
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://forge.soutade.fr/soutade/updfparser
+COMMENT=       Very simple PDF parser to load PDF objects without interpretation
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/updfparser
+USE_LANGUAGES= c++
+USE_TOOLS+=    gmake
+# just builds a test binary
+#TEST_TARGET=  test
+MAKE_FLAGS+=   BUILD_SHARED=1
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+
+INSTALLATION_DIRS+=    include lib
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/include/* ${DESTDIR}${PREFIX}/include
+       ${INSTALL_LIB} ${WRKSRC}/*.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/print/uPDFParser/PLIST
diff -u /dev/null pkgsrc/print/uPDFParser/PLIST:1.1
--- /dev/null   Sun Nov 22 14:58:00 2026
+++ pkgsrc/print/uPDFParser/PLIST       Sun Nov 22 14:58:00 2026
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/22 14:58:00 wiz Exp $
+include/uPDFObject.h
+include/uPDFParser.h
+include/uPDFParser_common.h
+include/uPDFTypes.h
+lib/libupdfparser.so
Index: pkgsrc/print/uPDFParser/buildlink3.mk
diff -u /dev/null pkgsrc/print/uPDFParser/buildlink3.mk:1.1
--- /dev/null   Sun Nov 22 14:58:00 2026
+++ pkgsrc/print/uPDFParser/buildlink3.mk       Sun Nov 22 14:58:00 2026
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/11/22 14:58:00 wiz Exp $
+
+BUILDLINK_TREE+=       uPDFParser
+
+.if !defined(UPDFPARSER_BUILDLINK3_MK)
+UPDFPARSER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.uPDFParser+=     uPDFParser>=0.1
+BUILDLINK_PKGSRCDIR.uPDFParser?=       ../../print/uPDFParser
+.endif # UPDFPARSER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -uPDFParser
Index: pkgsrc/print/uPDFParser/distinfo
diff -u /dev/null pkgsrc/print/uPDFParser/distinfo:1.1
--- /dev/null   Sun Nov 22 14:58:00 2026
+++ pkgsrc/print/uPDFParser/distinfo    Sun Nov 22 14:58:00 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/22 14:58:00 wiz Exp $
+
+BLAKE2s (uPDFParser/v0.1.tar.gz) = 4e992c703601d579e01c42c7308349b15337d4a064c8300b1b5e0e30c397e595
+SHA512 (uPDFParser/v0.1.tar.gz) = fe90e45aebbe1f60010778002191be53955d6608d37dba05778eb43dc5d8933d0daf57d49635d97405cefefaf5ddd5916b9895cafd90367a22f4a9fdbcb3526a
+Size (uPDFParser/v0.1.tar.gz) = 14537 bytes



Home | Main Index | Thread Index | Old Index