Module submission - PDFlib-Lite duncan.gibson at
Sat Mar 24 18:37:43 CET 2007

module name       : PDFlib-Lite
suggested section : libs
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

while trawling through the old modules, I found that pdflib-4.0.3
had a broken download link, and that PDFlin-7.0.1 is a binary blob
that requires the purchase of a licence to remove a watermark from
the output pdf file. The old pdflib module is an optional_depends
for php5 and php5-suhosin, so I guess nobody is using it anyway, or
else someone would already have noticed.

However, there is a PDFlib-Lite-7.0.1 which provides source code
for a subset of the PHPlib functionality, but the exact licence
terms are a bit confused. In the readme it states:

  PDFlib Lite can freely be used for non-profit personal use.

but there is a PDFlib-Lite-license.pdf with all legalese that I
think says the same thing via lots of definitions and exemptions.
I not sure how to specify that in DETAILS/LICENCE though.

PDFlib-Lite downloads, builds and installs without problems.
I've tested running pdfimage, and some of the C examples. I have
not tested the other language bindings even though I've added
optional_depends for perl, python and tcl.

Duncan / engelsman

-------------- next part --------------
--- PDFlib-Lite/DEPENDS	1970-01-01 01:00:00.000000000 +0100
+++ PDFlib-Lite/DEPENDS	2007-03-24 17:05:10.000000000 +0100
@@ -0,0 +1,16 @@
+optional_depends  "perl"  \
+	"" \
+	"--with-perl=no" \
+	"optional Perl binding" &&
+optional_depends  "Python" \
+	"--with-py=/var/lib/python2.5 --with-pyincl=/usr/include/python2.5" \
+	"--with-py=no" \
+	"optional Python binding" &&
+optional_depends  "tcl" \
+	"" \
+	"--with-tcl=no" \
+	"optional Tcl binding"
+# should probably add optional_depends on java, ruby and openssl too
--- PDFlib-Lite/DETAILS	1970-01-01 01:00:00.000000000 +0100
+++ PDFlib-Lite/DETAILS	2007-03-24 18:29:04.000000000 +0100
@@ -0,0 +1,22 @@
+          MODULE=PDFlib-Lite
+         VERSION=7.0.1
+          SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL[0]=
+   SOURCE_VFY[0]=sha1:096f0b569695aab6fbf675f4eeb19b32d4e5e443
+        WEB_SITE=
+         ENTERED=20070324
+         UPDATED=20070324
+           SHORT="library for processing PDF documents"
+cat << EOF
+PDFlib is a library for generating PDF files. It offers an API with
+support for text, vector graphics, raster image, and hypertext. Call
+PDFlib routines from within your client program and voila: dynamic
+PDF files!
+PDFlib Lite is the Open-source edition for basic PDF generation, free
+for personal use.  PDFlib Lite does not support all languages, and is
+not available on EBCDIC platforms.
+Important note: PDFlib Lite supports only a subset of PDFlib features.
-------------- next part --------------
lvu submit PDFlib-Lite 2a2ed0e1479c8b8e1be8c449720aadf0  - 2.6.12 gcc-3.4.6 glibc-2.3.6

More information about the Lunar mailing list