9 Commits

Author SHA1 Message Date
Tobias C. Berner
d163307e80 graphics/poppler: update to 0.77.0
Release 0.77.0:
        core:
         * Fix crash on signature handling. Issue #766
         * Fix small memory leak in SignatureHandler::getCertificateInfo
         * Splash: Restrict filling of overlapping boxes. Issue #750
         * Fix crash on malformed files

        qt5:
         * Fix optional content handling with exclusive layers

        cpp:
         * Make render_page thread-safe

        utils:
         * pdfsig: Fix small memory leak
         * pdftotext: Fix typo in manpage

PR:		238115
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-06-01 06:39:22 +00:00
Tobias C. Berner
753388101e graphics/poppler: update to 0.76.1
From Changelog at https://poppler.freedesktop.org/releases.html :

Release 0.76.1:
        core:
         * Make the mul tables be calculated at compile time with constexpr.
         * splash: Fix compile with SPLASH_CMYK enabled
         * Some typo fixing in error messages

        qt5:
         * Fix regression in annotation handling

        build system:
         * Fix some typos in build system output and comments

Release 0.76.0:

        core:
         * Fix regression on case-insensitive search. Issue #743
         * Remove GooList, use std::vector instead
         * Fix radiobutton reporting wrong state. Issue #159
         * Handle UTF16-LE strings
         * Don't error out if there's no DA in FreeText annotation
         * cairo: Compute correct coverage values for box filter.
         * cairo: Constrain number of cycles in rescale filter.
         * Read more fields from ViewerPreferences
         * Introduce and use Ref::INVALID
         * Fix crashes in broken files
         * Fix mismatched free/delete
         * Add missing include guards

        utils:
         * pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Issue #742

All the required patches have been obtained via gentoo.

PR:		237846
Exp-run by:	antoine
Approved by:	kwm
2019-05-13 18:33:10 +00:00
Tobias C. Berner
4cc15e71ec graphics/poppler: update to 0.75
Release 0.75.0:
	core:
		* Fix rendering of some annotations
		* Fix crashes in broken files
		* Small internal code improvements

	cpp:
		* Improve documentation
		* tests: Add showing version information to poppler-dump

	utils:
		* pdfattach: new util
		* pdftohtml: add -dataurls parameter
		* pdftoppm: add -sep and -forcenum parameters
		* pdftohtml: make singleHtml and stout not mutually exclusive
		* pdfsig: fix use after free

- bump revisions of dependent ports due to shlib version change

PR:		236791
Exp-run by:	antoine
Approved by:	kwm (gnome)
2019-03-27 21:29:30 +00:00
Mark Linimon
b88bc8da17 Fix build on gcc-based architectures:
/usr/local/lib/libpoppler.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, char const*, unsigned long) const@GLIBCXX_3.4.21'

Approved by:	portmgr (tier-2 blanket)
2019-03-13 04:39:03 +00:00
Tobias C. Berner
b316a92062 Bump revisions after poppler upgrade.
As reported libreoffice requires a bump in revision, to be on the save
side, bump all the consumers of poppler.

Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
2019-02-11 19:44:51 +00:00
Tobias C. Berner
1fb34516c1 Update poppler to 0.72
This update brings many changes
- the build system has switched to cmake
- some ports needed to be switched to use their bundled
  version of poppler:
  - print/tex-luatex (r487226)
  - print/tex-xetex (r487226)
  - editors/opeonffice-devel
- Qt4 support has been dropped
  - print/frescobaldi has been removed for this reason.
- most of the added patches can be removed with the next
  upgrade of the concerning port.

PR:		233452
Exp-run by:	antoine
Approved by:	gnome (kwm)
Differential Revision:	https://reviews.freebsd.org/D17456
2018-12-16 15:10:42 +00:00
Tobias Kortkamp
66a23c72c5 Unbreak graphics/diff-pdf
wxWidgets 3.0 isn't actually required and it builds and runs fine with 2.8.
Loosen the version requirement in configure.ac.

PR:		229902
Approved by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)
2018-07-20 13:03:25 +00:00
Antoine Brodin
2751aecda4 Mark BROKEN: fails to configure
checking for wxWidgets version >= 3.0.0... no (version 2.8.12 is not new enough)
configure: error: wxWidgets is required

Reported by:	pkg-fallout
2018-07-20 08:19:55 +00:00
Yuri Victorovich
7a2ec8ed2e New port: graphics/diff-pdf: Tool for visually comparing two PDFs
PR:		229757
Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu>
2018-07-17 17:52:25 +00:00