note: script detailed in `man revbump` insisted on bumping pkgrevision of
print/poppler, it's probably wrong, but not committing this change is wronger.
fixing CVE-2017-14517 CVE-2017-14518 CVE-2017-14519 CVE-2017-14520
CVE-2017-15565
upstream notable changes:
Release 0.61.1
core:
* CairoOutputDev: don't overflow y * stride when accessing image data
cpp:
* Fix for corrupted image files on Windows. Bug #102494
build system:
* Fix incorrect paths in .pc files. Bug #103578
* add the custom buildtests target only once. Bug #103003
Release 0.61.0
core:
* Fix crashes in broken files
* Cleanup unused functions from GlobalParams
* Tweak LZWStream::processNextCode error handling. Bug #103174
* Warning fixes
* Remove t1lib code
qt5:
* Clean up the remaining Splash code in Arthur backend. Bug #103117
* ArthurOutputDev: Properly implement saveState/restoreState. Bug #103118
* Fix leak in ArthurOutputDev::updateFont. Bug #103508
build system:
* Use GNUInstallDirs. Bug #103211
* mingw: Install pkg-config files
* mingw: change library names to include the soversion. Bug #103157
* Fix installing a .cc file as header
* Use -pthread flag instead of -lpthread
Release 0.60.1
qt5:
* ArthurOutputDev: Add missing 'return' in error paths
build system:
* FindLIBOPENJPEG.cmake: Add CheckCXXSourceCompiles
Release 0.60.0
core:
* Enable libcurl support by default
* PSOutputDev: Fix wrong text generation. Bug #102760
* Added methods to get and set the font size of text fields. Bug #101692
* CairoOutputDev: Do not extend the pattern in drawImageMaskRegular
* CairoOutputDev: do not use the custom downscaling for rendering images when using cairo >= 1.14
* Fix build with old clang
* Fix various crashes in broken files
* Fix some warnings
* Add some constness to the basic classes
* Remove unused functions from GlobalParams
qt5:
* Added methods to get and set the font size of text fields. Bug #101692
* Add whether renderToImage shows annotations
* ArthurOutputDev: Replace Splash font rendering by Qt font rendering
* ArthurOutputDev: Implement the drawSoftMaskedImage method
* ArthurOutputDev: Fix several small bugs related to dash pattern handling
* Fix two minor typos
build system:
* cmake is now the default build system
* autotools based build system has been removed
utils:
* pdfinfo: don't truncate dest name
Release 0.34.0
core:
* Splash: Fix crash in PDF with nested softmasks. Bug #91240
* Splash: Speed up of rendering icc based images. Bug #90171
* PSOutputDev: Embed Type1 fonts to PostScript files correctly. Bug #19747
* Fix pedantic memory leak
glib:
* update new symbols section
build system:
* cmake: Make sure ENABLE_LIBOPENJPEG is either 0 or 1
Release 0.33.0
core:
* Fix regression in pdftops parameter passing. Bug #89827
* Combine base characters and diacritical marks. Bug #87215
* Use width from W array for WMode positioning. Bug #89621
* Fixed adding annotation of Subtype Popup to pdf page. Bug #89136
* CairoOutputDev: Fix memory leak in CairoFreeTypeFont::create
* SplashOutputDev: memset on error to have reproducible outputs
qt4:
* Fix PDF Text String -> QString conversion. KDE Bug #344849
qt5:
* Fix PDF Text String -> QString conversion. KDE Bug #344849
glib:
* Add poppler_annot_markup_set_popup_rectangle()
* Fix segfault when creating PopplerAction. Bug #90093
utils:
* pdftohtml: Set exit status adecuately. Bug #83609
build system:
* configure: Fix invalid shell comparaison in libtiff test
Release 0.26.1
core:
* Use field value V for radio buttons. Bug #75979
* Fix extraction of text in some files. Bug #78145
* Only add annotations of the current page when splitting. Bug #77549
build system:
* autoconf: Fix libopenjpeg 1.5 detection on some systems. Bug #78389
glib:
* Fix multiple definition of PopplerTextSpan
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: 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)