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)
(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)
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
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
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
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
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
poppler-qt can install its headers properly. Found by tron@.
This also helps in removing this shared directory (used in poppler-qt and
poppler-glib) from a single place.
Bump PKGREVISION of the three packages to 1.
This is a development version but is needed to update evince to 0.5.2,
which is part of GNOME 2.14.0.
Release 0.5.1
- Support for embedded files.
- Handle 0-width lines correctly.
- Avoid external file use when opening fonts.
- Only use vector fonts returned from fontconfig (#5758).
- Fix scaled 1x1 pixmaps use for drawing lines (#3387).
- drawSoftMaskedImage support in cairo backend.
- Misc bug fixes: #5922, #5946, #5749, #5952, #4030, #5420.
Release 0.5.0
- Font matching code for non embedded fonts now use fontconfig
instead of hard coded list of fonts.
- Merge in Xpdf 3.01 changes.
- Add command line tools from Xpdf.
- Make install of Xpdf header files ./configure'able.
poppler no longer requires glib and gtk2.
Update buildlink3.mk file for poppler-qt to only have BUILDLINK_DEPENDS
for this.
And increase PKGREVISION of kdegraphics3 because the poppler used
no longer needs glib and GTK2. (It doesn't look like anything else
in kdegraphics3 uses glib nor gtk2 now.)
Remove distinfo from poppler-qt.
Make sure that poppler-qt depends on at least same version of poppler.
Take maintainership for poppler-qt.
This updates poppler-qt to 0.4.4. (I didn't check to see if fixes
are related to "qt".)