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.