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: 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
same poppler version. So make the BUILDLINK_API_DEPENDS.poppler
an exact match.
(Noticed pkgconfig error when building evince with a poppler
and poppler-glib with different versions.)
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)
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:
-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
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.
Release 0.10.0
core:
* Fix crashes on PDF using Stitching or Axial Shading painting
* Fix rendering of PDF with Type1 fonts that have more than
one encoding definition per line
* Do not try to save documents that have Encryption as we
do not support that and the user ended with a broken file
* Fix crash on files with OptionalContentGroup but no Name
Qt4:
* Fix the area of the links to be correctly reported on rotated documents
misc:
* Mingw+Msys should work
Release 0.9.3 (0.10 RC 2)
core:
* Fix rendering regression on some embedded fonts
* Fix rendering regression of some special fonts
* Fix crash on documents with bogus jpeg data
Qt4:
* The printing flag defaults to true on PSConverter
* Documentation improvement
utils:
* Fix regression that made HmtlOutputDev ignore jpeg images
misc:
* Improve compilation on mingw
Release 0.9.2 (0.10 RC 1)
core:
* Fix conversion to PS some files (bug #17645)
* Small Form fixes
* Small JS fixes
* Improve memory usage of the cairo renderer
utils:
* Fix mismatched free/delete in pdftohtml
* Fix memory leak in pdftohtml
* Fix crash in pdftohtml
glib:
* Fix a crash in forms demo
misc:
* Compile with -pedantic
Release 0.9.1 (0.10 Beta 2)
Core:
* Fix crash on some AESv2 encrypted files (bugs #13972, #16092, #17523)
* Improve parsing of broken files (bug #17568)
glib frontend:
* Minor improvements to the demo application
utils:
* pdftohtml: Generate the outline file in the same place
of the other generated files (bug #17504)
Release 0.9.0 (0.10 Beta 1)
Core:
* Initial JavaScript support
* Annotation improvements
* Improvements in the Arthur based renderer
* Improvements in the Cairo based renderer
* Added a JPEG2000 decoder based on OpenJPEG
* Small fixes in ActualText implementation
* Fix jpeg rendering when not using the libjpeg based decoder
* Movie fixes
* Do not get out of memory on documents that specify huge fonts
* Emulate Adobe Reader behaviour on documents with duplicate keys in Dictionaries
* Forms improvements
Qt4 frontend:
* Annotation improvements
* Forms improvements
* Add the possibility of extracting embedded fonts
* Initial Movie support
* Documentation improvements
* Small improvements in the PS exporter
glib frontend:
* Annotation improvements
* Attachment fixes
utils:
* updated man pages
* Added -listenc to pdfinfo and pdftotext