This switches to the 0.20 release branch - many fixes and improvements.
(0.18 was skipped)
The qt3 frontend isn't supported anymore - the poppler016 pkg is kept
for now for KDE3. Atm, it conflicts with newer popper pkgs. This can be
fixed by renaming include paths and libraries, but this would need
modifications of the KDE3 pkgs.
changes: bugfixes
pkgsrc change: set --enable-cms in frontend components if it was
set in the base pkg -- the layout of some classes depends on this
definition, and inconsistencies can lead to crashes
(see poppler bug #35381)
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
provides both fmin(3) and fmax(3). The build is still broke under
NetBSD 5.0_STABLE built from sources after 2010-03-12. A possible fix
for this case is to upgrade to NetBSD 5.1*.
circumstances. This leads to NaNs passed to cairo which makes that
literally "nan" is inserted into the output file when printing. The
resulting file crashes ghostscript, and also poppler when it is fed
to it again.
I didn't read PDF specs yet to understand where the math is failing,
just avoided the division by zero.
changes:
-Security fixes from xpdf 3.02pl4
-bugfixes
-qt4 API improvements
pkgsrc change: add patch for CVE-2009-3607 (integer overflow
in create_surface_from_thumbnail_data)
(which got slightly out of sync) and use the original Makefile,
fixes an unresolved autoconf variable in the .pc file reported
by Hasso Tepper
bump PKGREVISION
This is a major update, switches to the 0.12 release branch.
Most notable change is that the color management stuff which we had
as patches in pkgsrc is official now.
Otherwise - many fixes and enhancements.
(while this is a .0 release I've been tracking the 0.11.x snapshots
and release candidate for a while so I don't expect big problems)
-if a choice field defines both an "export value" and a "name", use the
latter as "value" if selected (according to the PDF spec) -- makes
that I can fill in my company's travel expenses form correctly
(there is still an issue with captions of check boxes / radio
buttons which looks like a font problem)
-where iconv() is called to fill in a text field, use "UTF-8" and
"UTF-16BE" as encoding names rather than the less portable
"UTF8" and "UTF16BE" -- this makes it work on NetBSD
bump PKGREVISION
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Changes since 0.10.4:
core:
* Read the UF entry if present and prefer it over F in Filespec dictionary
* Fix typo that was making CairoOutputDev crash on some files. Bug #17337
* Make JBIG2Stream more robust to corrupt input data
* Do not blindly follow loops parsing OutlineItem. Bug #18364
* Set up the error manager before calling jpeg_create_decompress. Bug #20484
* Check there is an optional content config before using it. Bug #20587
* Fix rendering of some PDF with OpenType fonts. Bug #20605
build system:
* Yet more support for build on windows
* Use AC_CHECK_HEADER to find headers. Bug #20538
* Check for pkgconfig before using it
* General autotools improvements
changes:
-fixed some crashes and a memory leak
-fixed pdfimages to work for jpeg
pkgsrc change: pulled in color management support from the development
branch (but tested by me for many weeks), as an option which is on
per default
Release 0.10.3
core:
* Fix a crash on documents with malformed outline. Bug #19024
* Fix leak on AnnotScreen destructor. Bug #19095
* Fix wrong PS generation when a large image is in Patterns. Bug #18908
* Remove BaseFile.h it was never used. Bug #19298
* Improve document saving
* Fix PS generation of PDF with malformed font Length2 definition
* Fix a leak while parsing annotations
* Fix rendering of some checkboxes
Qt4:
* Fix positioning of Form rects on PDF with cropbox
* Fix positioning of Annotation rects on PDF with cropbox. Bug #18558.
* Small documentation improvements
* Make Document::fonts() work when called more than once. Bug #19405
build system:
* CMake: look harder for openjpeg
* CMake: update the poppler core headers installation
* Autotools: do not install Function.cc as it's not a header
Qt:
* Fix deserialization of links right coordinate
Release 0.10.2
core:
* Fix a crash when selecting text in word mode
* Fix a crash in some malformed documents (second argument
of opMarkPoint is not a dictionary)
* Ensure cairo font matrix is invertable. Fixes bugs #18254
and #18429
* Fix a memory leak (Bug #18924)
Qt4:
* Fix deserization of links right coordinate
misc:
* Fix build on Solaris 10 + Sun Studio 12
* Compile with -pedantic
The previous libraries had major of 3 and now they are 4.
I didn't bump those depending on this as this update happened
months ago.
I noticed this two ways:
new poppler didn't work with my already installed evince and
new poppler didn't work with my alreadyinstalled poppler-glib.