changes: bugfixes, among them a format string problem (CVE-2013-4474)
pkgsrc change: kill the poppler-cms/lcms option, it got broken recently
and it is not useful enough to justify the complexity
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1788http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1789http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1790
by updating to the latest stable version.
Changes against 0.22.1:
core:
* Correct rendering of underline and strike out annotations (Bug #61518)
* Workaround broken jpeg stream definitions (Bug #61994)
* SplashOutputDev: Restore CTM on early exits (Bug #61413)
* SplashOutputDev: Make sure we don't try to paint in x < 0 (KDE Bug #315432)
* Fix latin page labels. (Bug #61034)
* Fix compilation with jpeglib9
* Fix minor valgrind warning
utils:
* pdfimages: Fix extraction of some images (Bug #61168)
build system:
* Fix the build with automake-1.13
Changes against 0.22.0:
core:
* Fix crash in some pdf files when extracting text (Bug #59561)
* Fix crashes in wrongly formed files
* Fix wrong warning when opening some files (Bug #58966)
build system:
* Improve autoconf jpeglib.h detection (Bug #59186)
Changes against 0.20 include
Release 0.22.0
core:
* Fix crash in invalid files that define a <= 0 bits per image value
* Fix a few issues in JPX decoding when not using OpenJPEG
* TextOutputDev: Use page size for max value in TextPage::visitSelection
* Fix typo in error message
utils:
* Fix pdfunite regression (Bug #58569)
* Demo fixes and improvements
misc:
* pdf-inspector improvements
Release 0.21.4
core:
* SplashOutputDev: Fix crash when rendering in monochrome mode
* SplashOutputDev: Fix line widths in monochrome mode (Bug #57294)
* PSOutputDev: Fix crop on EPS conversion (Bug #30692)
* TextOutputDev: Fix minor logic mistake
* Fix assert on some malformed files (Bug #58257)
* Move #include "jpeglib.h" into .cc file (Bug #57687)
* Filter text that may end up being written to the shell
* Fix windows compile warnings
glib:
* Add poppler_annot_set_flags (Bug #58015)
* Demo fixes and improvements
qt4:
* Fix check_lexer on 32-bit systems
Release 0.21.3
core:
* Splash: Implement bilinear image scaling (Bug #22138)
* CairoOutputDev: Update fill and stroke color in startPage (Bug #54526)
* Fix GooString::insert()
* Allow large chars in TextPage
* Fix crash on ActualText::end
* Don't use memcpy to copy classes
* Fix warnings
glib:
* Check if words end with spaces (Bug #54504)
* Ensure text is only computed on first render
* Fix warnings while generating introspection file
* Fix returns tag in PopplerAttachmentSaveFunc api doc
* Minor demo fixes
Release 0.21.2
core:
* CairoOutputDev: make drawImage work with images > 32767 in width/height
(Bug #56858)
* CairoOutputDev: Fix soft mask when image resolution != smask resolution
(Bug #57070)
* CairoOutputDev: Fix crash in CairoImageOutputDev with
setSoftMaskFromImageMask (Bug #57067)
* Remove a check on fonts that we don't need (Bug #56753)
* Misc code cleanups
utils:
* pdftocairo: Add tiff output support (Bug #57006)
* pdfunite: Fix -v (Bug #56817)
* Misc code cleanups
Release 0.21.1
core:
* Annotation improvements
* Form improvements
* CairoImageOutputDev: Support parameterized Gouraud shading (Bug #56463)
* UTF validation fixes
* Do not call drawing routines if we don't need non text (Bug #54617)
* Fix Memory leak in CharCodeToUnicode (Bug #54702)
qt4:
* Make LinkRendition properties available (Bug #55378)
* Accessors for FormWidgetChoice::editChoice
* Implement overprint
Release 0.21.0
core:
* Support the modification of files with Encrypt
* Annotation improvements
* Form improvements
* Splash: Implement DeviceN support
* Splash: Avoid bogus memory error for tilingPattern
* TextOutputDev: Allow multiple fonts in a TextWord
* Kill the concept of base dir
* PSOutputDev: Always write HiResBoundingBox (Bug #53159)
* Convert UTF-16 to UCS-4 when reading toUnicode cmap
* GooString formatting: add support for uppercase hexadecimal
* Use error() instead of fprintf(stderr, ...) in Annot::layoutText
* poppler-config.h: remove WITH_FONTCONFIGURATION_* macros
glib:
* Annotation improvements
* Add poppler_page_remove_annot()
* Add poppler_document_new_from_stream
* Add poppler_document_new_from_gfile
* Add poppler_page_find_text_with_options (Bug #2951)
* Demo improvements
* Port tests and demo to GTK+3
qt4:
* Add accessor methods for movie poster information
* Make 'additional actions' available in Annotation API (Bug #53589)
* Add whole-page search method to Poppler::Page
* Small changes in tests
utils:
* pdftohtml: Make the output more xhtml compliant
* pdftohtml: Add -fontfullname. (Bug #49872)
* pdftohtml: Do not invoke gs anymore
build system:
* Add the possibility of using lcms1 even if lcms2 is installed
* Remove extra fontconfig CFLAGS and LIBS
changes:
-Improvements regarding embedded file handling
-bugfixes
-cleanup
pkgsrc note: shlib major changes, revbumps needed. also switch to
lcms2 for the "cms" option
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.
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
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.
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
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.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
changes:
-fix crashes on certain input
-Fix leaks
-Do not limit CharCodeToUnicodeString to 8 characters
-Support for surrogates outside the BMP plane
pkgsrc note: the crashes had been fixed by patches in pkgsrc before
This switches to the new 0.6 branch which is not source compatible
to 0.5.x.
Most notable changes:
-Merge xpdf 3.02 changes
-Support for Sound objects
-Support for Opening/Closing page actions
-Support for page duration
-Improve PS Tokenizer performance
-Beginning of Interactive Form support
-xpdfrc is no longer used for anything
-Fix security issue MOAB-06-01-2007
-Lots of bugs fixed
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".
SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
changes:
-improved Qt bindings
-Cairo backend now supports masked images
-make glib bindings more language binding friendly
-Search now works with ligatures
-glib bindings now has an entry point to render to a cairo_t
-GCC 4.1 and MSVC compilation fixes
-bugfixes and cleanup