Commit graph

301 commits

Author SHA1 Message Date
Tobias C. Berner
a831c679c4 graphics/poppler: update to 20.11.0
Release 20.11.0:
        core:
         * More work on rendering of standalone Annot Widgets. Issue #806
         * Fix crashes in embedded file handling on broken files. Issue #967
         * Fix uninitialized memory read on broken files
         * Save a bit of memory in Dict data

        cpp:
         * Fix crashes in embedded file handling on broken files. Issue #966

        utils:
         * pdftohtml: HTML and XML output includes font opacity.

        qt5:
         * Rename ArthurOutputDev to QPainterOutputDev

        build system:
         * Fix linker error when gtk is not in a default location
         * Add some checks for gtk-doc support
         * Reorganize GObject introspection config
         * Enable CMAKE_LINK_DEPENDS_NO_SHARED

PR:		250786
Exp-run by:	antoine
2020-11-03 19:48:54 +00:00
Tobias C. Berner
aa3db148fc graphics/poppler: update to 20.10.0
Release 20.10.0:
        core:
         * Filter out repeated forms
         * Implement EmbedStream::reset()
         * CairoOutputDev: evict just font faces owned solely by cache.
         * Splash: Rename Yd to Ydown, Xu to Xup, etc.
         * Splash: fix crash in out-of-memory situation.
         * Fix some undefined behaviour situation with forged files

PR:		250052
Exp-run by:	antoine
2020-10-11 10:58:15 +00:00
Tobias C. Berner
5dc59a82ae graphics/poppler: update to 20.09.0
Release 20.09.0:
        core:
         * Compability fix for Forms
         * Fix fetching of Objects failing in some cases
         * Fix clearing date in Annot setModified/setDate
         * TextSelectionPainter: support glyphless fonts
         * Splash: Don't try read past end of image
         * avoid abort() on large memory allocation
         * Fix memory leak on broken files
         * Fix potential invalid memory read
         * Small code improvements

        qt5:
         * Document TextAnnotation::inplaceAlign
         * Make Annotation::setModification/CreationDate work on existing annots
         * Be a bit more stubborn converting dates that come from xml
         * Clean as many null characters from the end as possible when converting strings

        glib:
         * Add accessor functions for PopplerAttachment
         * Deprecate PopplerAttachment GTime fields
         * Deprecate PopplerDocument date properties

        utils:
         * pdftoppm: report error and exit if output file cannot be written
         * Document that PDF-file can be '-' to read it from stdin

        build system:
         * cmake: Modern way to link against libpng, zlib and libtiff
         * cmake: Remove stray support for lcms1 in pdftocairo

PR:		249060
Exp-run by:	antoine
2020-09-10 18:32:06 +00:00
Tobias C. Berner
97cf82ea46 Bump revisions of poppler consumers after r544863 2020-08-14 04:22:13 +00:00
Dirk Meyer
9e9d8a6113 - update to 2.44.1 2020-07-23 18:02:34 +00:00
Piotr Kubaj
2b6e758edd graphics/graphviz: switch to clang on powerpc64, if available
LLVM bug is already fixed.
2020-07-17 10:54:55 +00:00
Tobias C. Berner
5060d003ef graphics/poppler: update to 0.90
Release 0.90.0:
        core:
         * Color profile tweaks
         * Small signature improvements
         * BBoxOutputDev: Fix calculation when type3 fonts are involved
         * Fix potential crash when reading Forms
         * Fix infinite loop in broken file
        glib:
         * Fix adding annots in rotated pages
         * Add ability to reset forms
         * Several fixes to the documentation
        qt5:
         * Make it clear we require Qt 5.5
         * demo: Fix crash on broken files
         * Small documentation improvements
        utils:
         * pdftoppm: Add option to set display profile
         * pdftops: Add a -rasterize option with values always, never, or whenneeded
        build system:
         * Require cmake 3.5
         * More modern cmake way to link against curl

PR:		247736
Exp-run by:	antoine
2020-07-06 06:17:18 +00:00
Sunpoet Po-Chuan Hsieh
cb333cf1ec Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message
- Update dependent ports:
  - Fix build with swig 4.0.1
  - Update *_DEPENDS
  - Remove BINARY_ALIAS

Changes:	http://www.swig.org/news.php
PR:		246613
Exp-run by:	antoine
2020-06-17 18:17:45 +00:00
Tobias C. Berner
99bd3bb02d graphics/poppler: update to 0.89.0
Release 0.89.0:
        core:
         * Add support for ResetForm action. Issue #225
         * Fix crash in PDFDoc::getSignatureFields when there's no Forms at all
         * Fix exporting to PS of some files with CID fonts
         * Use ICC profiles in PS output (if new enough lcms is used)
         * Allow almost-singular tiling pattern matrices. Issue #894
         * Fix memory leak when failing to load some fonts
         * CairoOutputDev: Use stroke opacity when clipping to a stroke path
         * CairoOutputDev: Fix tiling patterns when pattern cell is too far. Issue #190

        glib:
         * Add poppler_movie_get_aspect

        cpp:
         * Add the font infos to the text_box object

Exp-run by:	antoine
PR:		246848
2020-06-02 14:47:29 +00:00
Dirk Meyer
0aeabe551c - depend on groff only when needed
Suggested by:	Renato Botelho
2020-05-15 16:58:07 +00:00
Dirk Meyer
eff60e5ddb - update libgd to 2.3.0
- new option RAQM
- resurrect deprecated gdlib-config
- bump dependend ports
2020-05-04 21:31:39 +00:00
Tobias C. Berner
1c19339682 graphics/poppler: update to 0.88.0
Release 0.88.0:

        core:
         * Support Widget Annotation Buttons not linked to any Form
         * SplashOuputDev: Use stroking opacity when clipping to a stroke path
         * Handle 1 bit RGB images in ICC colorspace
         * Internal code improvements

        qt5:
         * Add Document::signatures. Returns signatures not attached to any page
         * ArthurOutputDev: Fix font hinting
         * ArthurOutputDev: Set the opacity when filling with axial gradients
         * ArthurOutputDev: Implement the clipToStrokePath method
         * ArthurOutputDev: Use stroking opacity when clipping to a stroke path

        glib:
         * Add poppler_page_get_bounding_box
         * Add poppler_form_field_get_alternate_ui_name
         * Implement rotation for 'flagNoRotate' annots. Issue #767

        cpp:
         * Add non_raw_non_physical layout for page::text()

        utils:
         * pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page
         * pdfsig: Show also signatures that aren't attached to any page
2020-05-02 10:00:12 +00:00
Piotr Kubaj
08bb56c814 graphics/graphviz: fix build on powerpc64 elfv2
Clang 10 SIGILL's during compilation of this port after upgrade to 2.44.0. Switch to GCC for the time being while this issue is being investigated.
2020-04-14 14:11:16 +00:00
Dirk Meyer
782e24779e - update to 2.44.0 2020-04-12 12:39:22 +00:00
Dirk Meyer
59ff7b75f0 - update to 2.42.4 2020-04-09 19:24:26 +00:00
Tobias C. Berner
ff3b39857e graphics/poppler: update to 0.87.0
Release 0.87.0:
        core:
         * Fix crashes due to inconsistent vtables for Clang builds
         * Fix leak in broken files
         * Internal code improvements

        qt5:
         * Add option to get form choice for export value
         * ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695

        glib:
         * Internal code improvements

         utils:
         * pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest

PR:		245150
Exp-run by:	antoine
2020-04-02 04:41:02 +00:00
Tobias C. Berner
8e124cb8fb Update poppler to 0.86.1
Release 0.86.1:
        core:
         * Fix regression in Browse Link handling
         * Internal code improvements

Release 0.86.0:
        core:
         * Fix link content exfiltration attack
         * Splash: Implement gouraudTriangleShadedFill for some non parametrized shadings. Issue #881
         * Fix case unsensitive search for Old Hungarian, Warang Citi, Medefaidrin and Adlam
         * Internal code improvements

        glib:
         * Automatic handle of page's cropbox on annots. Issue #129
         * Fix memory leak if poppler_document_new_from_file fails
         * Minor speed optimization on poppler_page_get_annot_mapping

         utils:
         * pdfdetach: add 'savefile' option
         * pdftoppm/pdftocairo: Fix more odd/even mismatch

        qt5:
         * Fix loading from iodevice

PR:		244827
Exp-run by:	antoine
2020-03-21 12:57:09 +00:00
Dirk Meyer
01f0e3964b - update to 2.42.3
- update MASTER_SITES
2020-02-08 07:39:38 +00:00
Tobias C. Berner
336f10c8b0 Bump revision of poppler dependencies
- poppler was updated in r525051, bump revisions
2020-02-03 19:32:51 +00:00
Tobias C. Berner
90a4ed701a graphics/poppler: update to 0.84.0
Release 0.84.0:
        core:
         * Fix crash when converting from Unicode to ASCII-7
         * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
         * JBIG2Stream: fix potential crash in malformed documents
         * JBIG2Stream: fix leak in reset() if called several times
         * Internal code improvements

        utils:
         * pdfimages: Add error message if first page is larger then number of pages.
         * pdfinfo: Improved paper size recognition
         * pdfsig: Fix exit code when dumping signatures
         * pdftocairo: Error out when even/odd selects 0 pages
         * pdftohtml: Fix memory leak
         * pdftoppm: Add an option to scale before rotate
         * pdftoppm: Add -hide-annotations option
         * pdftoppm: Error out when even/odd selects 0 pages
         * pdftops: Improve -optimizecolorspace

        qt5:
         * Code cleanups

        glib:
         * Fix compiler warnings

Release 0.83.0
        core:
         * Improve when a file is recognized as Linearized
         * Improve const-ness of the code
         * Make code a bit more readable/maintanable
         * Fix uninitialized memory uses in broken files

        utils:
         * pdffonts: Make code a bit more readable/maintanable
         * pdftohtml: Make code a bit more readable/maintanable

        qt5:
         * Remove a bunch of unused internal functions
         * trUtf8 -> tr (less warnings)

        build system:
         * make-glib-api-docs: switch to python3

PR:		243433
Exp-run by:	antoine
2020-01-22 17:59:22 +00:00
Dirk Meyer
1421cc1eaf - update to 3.1 2020-01-01 20:53:40 +00:00
Niclas Zeising
a3c56e68df Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:21:16 +00:00
Tobias C. Berner
3ca3ffe455 graphics/poppler: update to 0.82.0
Release 0.82.0:
        core:
         * Fix not being able to open some files. Issue #832
         * Fix crashes in malformed files
         * Fix memory leak on broken files
         * Minor performance improvements
         * Minor code improvements

        glib:
         * Add poppler_document_new_from_bytes
         * PopplerAttachment: Silence deprecation warnings for ctime/mtime

        build system:
         * pdf-inspector: Support builddir != srcdir
         * Install Cairo* headers if Cairo has been found

Thanks to adridg@ for fixing all the fallout.

Exp-run by:	antoine
PR:		241532
Approved by:	gnome (kwm, implicit)
2019-11-01 21:51:36 +00:00
Dirk Meyer
74426a2ea9 - new option GO
- fix option PYTHON
PR:		241123
2019-10-08 19:35:03 +00:00
Dirk Meyer
b33997bb6f -fix for aarch64
PR:	241073
2019-10-07 08:56:11 +00:00
Dirk Meyer
d932a94230 - mark BROKEN for arm64 and aarch64 2019-10-06 20:33:52 +00:00
Dirk Meyer
33e9ed4599 - add more dependecies 2019-09-28 12:59:42 +00:00
Niclas Zeising
f916d5a212 graphics/graphviz: Remove depenendy on libXp
Remove dependency on libXp, it is not needed and libXp is getting
deprecated.

PR:	240834
OK by:	bapt (just fix it)
2019-09-27 15:39:16 +00:00
Dirk Meyer
dcef20b4de - update to 2.42.2
- change MASTER_SITES
- add webp support
- use automake
- sort plist
2019-09-23 11:21:17 +00:00
Alexey Dokuchaev
3186e08e7c Update Guile to version 2.2.5, modern stable version, and fix dependent
ports to build against it.  Most changes are rather minor and mechanical
except for the devel/gdb (obtained via their bugtracker [1], courtesy of
Doug Evans).  One port (science/meep) I had to mark BROKEN after fixing
it proved to be very tedious and actually unreliable.  It is very old,
there are newer versions available so it should be fixed by updating.

One port (devel/libruin) had revealed a bug in the new Guile code (an
auxiliary script, really) that had to be worked-round; reference to the
problematic upstream commit is provided in the patch.

PR:		229613
Exp-run by:	antoine

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c8
2019-06-27 09:02:56 +00:00
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
Dirk Meyer
53246c9605 - fix bug from r496028
PR:		236606
2019-03-18 14:54:20 +00:00
Tobias C. Berner
ac2be2db9b graphics/graphviz: remove GVEDIT option (Qt4 deprecation)
Approved by:	portmgr (implicit)
2019-03-17 08:33:31 +00:00
Dirk Meyer
0065c7d4ab - order USES 2018-12-30 14:05:27 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Rene Ladan
99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Tobias Kortkamp
867a9a9750 Avoid accidentally auto-activating librsvg2 support in graphics/graphviz 2018-10-16 08:23:04 +00:00
Antoine Brodin
39aa490bf9 Fix packaging
Reported by:	pkg-fallout
2018-10-16 05:35:51 +00:00
Mathieu Arnold
4b92af08c8 Remove LIBRSVG2 option, it creates a dependency loop.
It is also discouraged upstream, graphviz can create svg without it.
2018-10-15 17:10:42 +00:00
Mark Linimon
aecf049634 Fix build on gcc-based archs by updating USES.
Tested on powerpc64 and amd64 (for no regression).

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-09-22 05:30:31 +00:00
Dirk Meyer
6a457e5a10 - update MASTER_SITES
PR:		231336
2018-09-16 05:48:52 +00:00
Fernando Apesteguía
d177d8bc64 devel/boehm-gc: update to 7.6.8
ChangeLog: https://github.com/ivmai/bdwgc/releases/tag/v7.6.8

* Giving maintainership to yasu@utahime.org
* Bumping PORTREVISION for dependent ports

PR:	230577
Submitted by:	yasu@utahime.org
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D16704
2018-08-31 18:27:13 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Carlos J. Puga Medina
53af4526a2 Bump PORTREVISION due upgrade of devel/boehm-gc to 7.6.6
PR:		228597
Approved by:	portmgr (antoine)
2018-06-01 10:16:41 +00:00
Dmitry Marakasov
4c7c37a8c6 - Switch to USES=localbase
- Always check OPSYS along with OSVERSION

Approved by:	portmgr blanket
2018-04-17 13:30:59 +00:00
Carlos J. Puga Medina
1b01573f84 Bump PORTREVISION due upgrade of devel/boehm-gc to 7.6.4
PR:		225560
Submitted by:	Yasuhiro KIMURA <yasu@utahime@org>
Reviewed by:	cpm
Approved by:	portmgr (antoine)
2018-03-10 11:22:59 +00:00
Dirk Meyer
afa0491149 - add depedency groff 2018-01-30 23:57:22 +00:00
Mark Linimon
3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +00:00