Use maintained pdflib-lite for build and runtime dependency.
Changelog:
4.1.2
- fix problem in PHP 7 that when extending the PDFlib class it was not possible to access any members of the extended class.
4.1.1
- fix build problem when compiling statically into PHP
4.1.0
- add support for PDFlib 9.1
4.0.1
- fix bug #73249
- improve PHP7 wrapper (fixed crash when extending PDFlib class)
4.0.0
- add support for PHP7
3.0.4
- avoid deprecated warnings for API's which are not yet deprecated when building against an older PDFlib Version.
3.0.3
- fixed bug #66346 (undefined reference to `pdf_begin_pattern_ext')
3.0.2
- support PDFlib 9.0.2
3.0.1
- support PDFlib 9.0.1
- fix bug https://bugs.php.net/bug.php?id=64455
- support for PDFlib 7/8/9 and PDFlib Light
- dropped support for PDFlib 6 and earlier
Problems found locating distfiles:
Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz
Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz
Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz
Package dvidvi: missing distfile dvidvi-1.0.tar.gz
Package lgrind: missing distfile lgrind.tar.bz2
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.
It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.
To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
2.1.7 - fixed [PECL-BUG] Bug #16066 [NEW]: Missing php_pdflib.h in archive.
2.1.6 - added PDF_utf32_to_utf16()
- improved show_boxed() function
- fixed GD_SUPPORT (not supported)
2.1.5 - switched to package.xml 2.0 Format
- improved exception handling
2.1.4 - fixed wrong handling of int parameters which on some 64bit platforms
caused problems.
2.1.3 - fixed potential crash after exceptions
- show_boxed was missing in the OO-Wrapper
2.1.2 - fixed: Bug #9216 Don't build with PHP 5.2 (again)
2.1.1 - utf16_to_utf8() adn utf8_to_utf16() was missing in the OO-Wrapper
2.1.0 - added support for PDFlib 7
- prepaired for build with PHP 5.2 (API of PHP_ME_MAPPING changed)
2.0.5 Bugfixes:
- fixed Bug http://pecl.php.net/bugs/bug.php?id=3554
2.0.4 Bugfixes:
- fixed buildproblems when used link PDFLib statically into PHP.
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.
OK from jlam@ and adrianp@.
Changes since 1.0:
Version 2.0:
A major rework
- supports PDFlib 5 and PDFlib 6
- adds an Object Oriented API to PDFlib (for PHP 5 only)
- uses PHP exceptions (for PHP 5 only)
- only official PDFlib API's are included (plus pdf_open_memory_image)
- changed old API's with varargs to only accept all args now
- disables VIRTUAL_DIR support (use SerachPath instead)
- disables CHECK_OPEN_BASEDIR checks
Version 2.0.1, 2.0.2:
- various bugfixes
Version 2.0.3:
Bugfixes:
- PDF_get_parameter crashed when called with only 2 parameters.
Enhancements:
- added pdf_utf8_to_utf16() and pdf_utf16_to_utf8() API's.
- included support for PDFlib4 again
Many thanks to Rainer Schaff for revitalizing PDFlib4 support :)
PDFlib on-the-fly PDF generation. This replaces php4-only php4-zip.
While there is newer version available in PECL (2.0.2 ATM), it doesn't
build with PDFlib 4.x, so we use version 1.0, i.e. the same version
which ships with PHP 4.3.9.