Commit graph

361 commits

Author SHA1 Message Date
Tobias C. Berner
e3d436085f graphics/poppler: bump dependencies 2022-12-08 06:45:34 +01:00
Tobias C. Berner
3a7ab00b4f graphics/poppler: bump PORTREVISION of dependencies
- after update to 22.11 in d01d0d73b169
2022-11-08 06:07:17 +01:00
Tobias C. Berner
c8e8499d9e graphics/poppler: bump port revision of poppler consumers
- poppler was updated to 22.10 in df406767857ddfc6d9580d72b1613a7cf8579bbc
2022-10-08 16:42:49 +02:00
Felix Palmen
ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00
Tobias C. Berner
541d96e3f6 graphics/poppler: bump port revision of consumers after upgrade to 22.09 2022-09-11 09:26:19 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
630a8a1ea5 devel/qca: add flavors for Qt 5 and Qt 6 2022-08-26 08:30:22 +02:00
Dima Panov
4cf39decb3 */*: bump all consumers after recent boost upgrade 2022-08-12 17:46:53 +03:00
Tobias C. Berner
016c05440c graphics/poppler: bump dependencies
Bump port revisions of poppler users after 04f1b0c1a8
2022-08-09 07:50:08 +02:00
Tobias C. Berner
7e5fe8fd65 graphics/poppler: bump PORTREVISION of poppler consumers 2022-07-06 18:25:53 +02:00
Tobias C. Berner
7c24f75361 graphics/poppler: bump port revision of consumers after 22.06 upgrade 2022-06-05 16:03:51 +02:00
Dima Panov
b082b3d13e devel/boost-all: bump all library consumers after boost upgrade
PR:	246106
2022-05-22 23:17:16 +03:00
Tobias C. Berner
f22f615ec3 graphics/poppler: bump portrevision of consumers 2022-05-09 18:48:47 +02:00
Tobias C. Berner
7dd73cf435 graphics/poppler: bump portrevision of consumers
Bump revisions after 0ee787592d due to so-version bump.

PR:		 263009
2022-04-26 18:59:28 +02:00
Tobias C. Berner
887b16baf6 editors/calligra: prepare for poppler update to 22.04
PR:		263009
2022-04-26 18:51:38 +02:00
Tobias C. Berner
6f59b7b9ba graphics/poppler: bump consumers
Bump consumers of graphics/poppler after e25859e093
2022-03-29 20:37:09 +02:00
Dima Panov
02bb89822c editors/calligra: drop unneded dependency on openjpeg15 (+)
Calligra suite do not use openjpeg anymore.

Sponsored by:	Netzkommune GmbH
2022-02-18 12:40:55 +03:00
Adriaan de Groot
6880d50e13 editors/calligra: switch to C++17 for upcoming poppler
This is a fix-it-before-it-breaks commit. Upcoming poppler update
requires C++17 in consumers, while Calligra was fixed on C++14.
There is no upstream release for this.

This is a mess: the upstream repo contains fixes, but they're
mostly committed as "fix warnings" and many commits combine C++17-
related fixes with other bits and pieces. As a result, there's
some direct upstream patches now in files/ and a big glommed-
together one put together from parts of other commits.

PR:	260956
2022-01-21 22:41:06 +01:00
Tobias C. Berner
654acd8140 math/gsl: bump portrevision of consumers after update to 2.7.1
PR:		260201
2022-01-12 20:41:22 +01:00
Tobias C. Berner
fd68e9e2b6 graphics/poppler: update to 21.12
Release 21.12.0:
    core:
         * Add API to add images
         * CairoOutputDev: Fix de-duping of Flate images
         * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
         * Minor code improvements

    glib:
         * Add API for validation of signatures
         * Add API to read/save to file descriptor

    utils:
         * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117

    build system:
         * Increase C++ standard to 17

Exp-run by:	antoine
PR:		260344
2021-12-13 21:13:45 +01:00
Gleb Popov
e886c38c6e Bump PORTREVISION of graphics/poppler consumers.
PR:		259656
2021-11-08 18:16:57 +03:00
Tobias C. Berner
e140c1eb79 graphics/poppler: bump consumers after 2dee0997fb 2021-10-12 20:23:21 +02:00
Tobias C. Berner
d98b56f1de graphics/poppler: update to 21.09
Release 21.09.0:
        core:
         * Splash: Massive speed improvement on files that use lots of save/restore (q/Q) operators
         * Correct decoding of signature properties Reason & Location when they are Unicode
         * Fix issues with malformed files
         * MSVC build fixes

        build system:
         * Call cmake_minium_required() before project()
         * Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE}
         * correctly forward user-provided flags to try_compile()

Exp-run by:	antoine
PR:		258206
2021-09-06 18:31:18 +02:00
Tobias C. Berner
9a1df6a85c graphics/poppler: update to 21.08.0
Release 21.08.0:
        core:
         * Add API to allow addition and modification of outlines into a PDF
         * Use additional samples to test for constant parts of an axial gradient
         * forms: Create fallback fonts for some well known font names
         * Support reading the PDF Version from the Catalog
         * Fix XRef::copy when there are modified objects
         * Take into account that Date string may be in unicode
         * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error"
         * Replace a local bubble sort implementation by std::sort
         * Fix issues with malformed files

        build system:
         * Better error message when libjpeg is not found
         * Better error messages when libopenjpeg2 is not found

        qt5/qt6:
         * Document that a document has to outlive its pages
         * Make getPdfVersion return a dedicated version object

        glib:
         * mimick TextSelectionDumper logic change for spaceAfter

Exp-run by:	antoine
PR:		257539
2021-08-15 07:42:37 +02:00
Matthias Andree
56ffa089e2 *: graphics/openexr PORTREVISION bumps
OpenEXR changes its SONAME again, so bump PORTREVISION of its users.
2021-08-03 20:19:14 +02:00
Matthias Andree
3cda93bdf6 *: bump PORTREVISION after math/Imath update 2021-07-17 11:17:59 +02:00
Tobias C. Berner
680bd562fc */*: Update KDE Frameworks to 5.83
Saturday, 12 June 2021

KDE today announces the release of KDE Frameworks 5.83.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Full announcement:
	https://kde.org/announcements/frameworks/5/5.83.0/

PR:		256665
Exp-run by:	antoine
2021-07-09 23:49:33 +02:00
Tobias C. Berner
fac489c164 graphics/poppler: update to 21.07.0
Release 21.07.0:
        core:
         * JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
         * PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088
         * CairoOutputDev: Fix memory leak on broken files
         * Minor code improvements

        build system:
         * set C standard to 11 without extensions

Exp-run by:	antoine
PR:		256981
2021-07-06 22:00:58 +02:00
Matthias Andree
4030a14b56 *: Bump PORTREVISION for openexr update
OpenEXR's patchlevel updated bumped the major version
of the OpenEXR library, hence bump PORTREVISION of all
ports that require OpenEXR.
2021-07-03 07:15:12 +02:00
Tobias C. Berner
63e653adaa math/gsl: update to 2.7
From [1]

* What is new in gsl-2.7:
	* fixed doc bug for gsl_histogram_min_bin (lhcsky at 163.com)
	* fixed bug #60335 (spmatrix test failure, J. Lamb)
	* fixed bug #36577
	* clarified documentation on interpolation accelerators (V. Krishnan)
	* fixed bug #45521 (erroneous GSL_ERROR_NULL in ode-initval2, thanks to M. Sitte)
	* fixed doc bug #59758
	* fixed bug #58202 (rstat median for n=5)
	* added support for native C complex number types in gsl_complex
	   when using a C11 compiler
	* upgraded to autoconf 2.71, automake 1.16.3, libtool 2.4.6
	* updated exponential fitting example for nonlinear least squares
	* added banded LU decomposition and solver (gsl_linalg_LU_band)
	* New functions added to the library:
	      - gsl_matrix_norm1
	      - gsl_spmatrix_norm1
	      - gsl_matrix_complex_conjtrans_memcpy
	      - gsl_linalg_QL: decomp, unpack
	      - gsl_linalg_complex_QR_* (thanks to Christian Krueger)
	      - gsl_vector_sum
	      - gsl_matrix_scale_rows
	      - gsl_matrix_scale_columns
	      - gsl_multilarge_linear_matrix_ptr
	      - gsl_multilarge_linear_rhs_ptr
	      - gsl_spmatrix_dense_add (renamed from gsl_spmatrix_add_to_dense)
	      - gsl_spmatrix_dense_sub
	      - gsl_linalg_cholesky_band: solvem, svxm, scale, scale_apply
	      - gsl_linalg_QR_UD: decomp, lssolve
	      - gsl_linalg_QR_UU: decomp, lssolve, QTvec
	      - gsl_linalg_QR_UZ: decomp
	      - gsl_multifit_linear_lcurvature
	      - gsl_spline2d_eval_extrap
	* bug fix in checking vector lengths in gsl_vector_memcpy (dieggsy@pm.me)
	* made gsl_sf_legendre_array_index() inline and documented
	      - gsl_sf_legendre_nlm()

[1] http://git.savannah.gnu.org/cgit/gsl.git/tree/NEWS

PR:		256423
Exp-run by:	antoine
2021-06-16 21:31:27 +02:00
Tobias C. Berner
c567676136 graphics/poppler: update to 21.06.0
Release 21.06.0:
        core:
         * Fix rendering of some extended latin1 characters in annotations. Issue #1070
         * Support some not so well formed documents with password. Issue #1083
         * Add API to get notified if the xref is reconstructed
         * Add somewhat fancier left/right signature visual representation
         * Fix crashes in malformed files
         * Minor code improvements

        qt6:
         * Change some functions to return std::unique_ptr

        qt5/qt6:
         * Add API to get notified if the xref is reconstructed
         * Add somewhat fancier left/right signature visual representation
         * Don't assert when trying to invert singular matrices

        build system:
         * make boost opt-out if building splash

- Add dependency on boost to enable the splash backend.

PR:		256370
Exp-run by:	antoine
2021-06-07 15:26:18 +02:00
Matthias Andree
1d5b7c913b Bump portrevisions of openexr and Imath users. 2021-05-18 19:15:57 +02:00
Tobias C. Berner
cc4315b370 graphics/poppler: update to 21.05.0
Release 21.05.0:
        core:
         * Fix crashes in malformed files
         * Export SplashFont* symbols used by Scribus
         * Minor code improvements

        qt5/qt6:
         * Make sure new signatures are always properly oriented
         * Allow to pass the border width when signing

        glib:
         * Enhance find to support multi-line matching

        utils:
         * pdftoppm: Fix regression when using single scaleTo. Issue #1062

        build system:
         * Allow to disable building manual tests

PR:		255562
Exp-run by:	antoine
2021-05-06 06:12:26 +02:00
Tobias C. Berner
2f973a2955 graphics/poppler: update to 21.04.0
Release 21.04.0:
        core:
         * Hide symbols by default
         * TextSelectionDumper: fix word order for RTL text
         * Fix rendering of text in some files. Issue #1052
         * Implement rendering of Masks of Image subtype. Issue #1058
         * Forms: fix unclicking standalone form buttons. Issue #1034

        glib:
         * Expose more fields from MediaRendition in PopplerMedia
         * Use stock glib macro to define boxed type
         * Remove incorrecly used volatile from enum type registration code

        qt5:
         * Fix crash in files with malformed signatures
         * Fix memory leak when QImage constructor "fails"

        qt6:
         * Fix crash in files with malformed signatures
         * Fix memory leak when QImage constructor "fails"

        utils:
         * pdfsig: New paragraph for "-sign" in manpage
         * pdfimages: Do not assert in "too big images". Issue #1061

        build system:
         * Require cmake >= 3.10
         * Require Qt 5 >= 5.9
         * Require glib >= 2.56
         * Require gtk 3 >= 3.22
         * Require gdk-pixbuf >= 2.36

PR:		poppler-21.04.0
Exp-run by:	antoine
2021-04-16 06:29:51 +02:00
Matthias Andree
73ab07c25a chase library renames for OpenEXR/Imath 3.0 2021-04-12 02:33:48 +02:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias C. Berner
0ef82d433f graphics/poppler: update to 21.03.0
Release 21.03.0:
        core:
         * Fix parsing text in some broken pdf files. Issue #1040
         * Fix memory issue when using threads. Issue #1050
         * TextSelectionDumper: Fix getText() for space after word
         * Change signature of OutputDev:tilingPatternFill
         * Make PDFDocBuilder return a std::unique_ptr
         * Improve well formed check for shading functions
         * Fix leak in case of fread failing
         * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
         * PSOutputDev: Fix stack overflow in broken files

        glib:
         * poppler_annot_free_text_get_callout_line: Fix wrong static cast
         * poppler-structure-element: fix memleak
         * Improve documentation
         * demo: keep same visual appearance between displayed and copied text

        utils:
         * pdftotext: Add -cropbox option
         * pdftoppm: Add -progress option
         * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927

        qt6:
         * Add missing poppler-qt6.pc.cmake

PR:		253953
Exp-run by:	antoine
2021-03-08 19:32:55 +00:00
Matthias Andree
1c11b9ae32 graphics/openexr, ilmbase: security update to v2.5.5
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.5

"Specific OSS-fuzz issues include:

    OSS-fuzz #30291 Timeout in openexr_exrcheck_fuzzer
    OSS-fuzz #29106 Heap-buffer-overflow in Imf_2_5::FastHufDecoder::decode
    OSS-fuzz #28971 Undefined-shift in Imf_2_5::cachePadding
    OSS-fuzz #29829 Integer-overflow in Imf_2_5::DwaCompressor::initializeBuffers
    OSS-fuzz #30121 Out-of-memory in openexr_exrcheck_fuzzer"

Bump PORTREVISION of ports that directly depend on openexr and/or ilmbase.

MFH:		2021Q1
Security:	98044aba-6d72-11eb-aed7-1b1b8a70cc8b
2021-02-13 11:08:29 +00:00
Tobias C. Berner
ed28803b50 graphics/poppler: update to 21.02
Release 21.02.0:
        core:
         * GfxCal*ColorSpace: introduce Bradford transform for chromatic adaptation
         * Fix memory leak if saving the file fails
         * Internal code improvements
         * Fix various issues handling broken files
         * Make checkedAdd work for long long in MSVC

        qt5:
         * Properly export NewSignatureData class
         * Fix regression in QIODeviceOutStream + MSVC

        qt6:
         * Properly export NewSignatureData class
         * Fix regression in QIODeviceOutStream + MSVC

        utils:
         * pdftohtml: Fix error() parameter type

PR:		253183
Exp-run by:	antoine
2021-02-09 11:10:57 +00:00
Tobias C. Berner
c565bdb335 graphics/poppler: update to 21.01.0
Release 21.01.0:
        core:
         * Faster routines for jpeg decoding
         * Fix reading signatures in encrypted files
         * Add white point correction when lcms is used
         * JBIG2Stream: Fix byte counting
         * Fix potential data loss if we try to fetch a non existing Ref after modifying the document
         * Specifically use DeviceGray instead of DefaultGray for softmasks
         * Fix various issues handling broken files

        utils:
         * pdftocairo: Setmode binary for windows
         * pdfsig: Add hability to digitally sign files
         * pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdfimages: Account for rotation in PPI calculation

        qt5:
         * Add hability to digitally sign files

        qt6:
         * Add hability to digitally sign files

        build system:
         * Enable clang-tidy bugprone-signed-char-misuse

PR:		252377
Exp-run by:	antoine
2021-01-07 19:23:00 +00:00
Matthias Andree
c77c064297 graphics/openexr: really commit v2.5.4 update.
Unfortunately, this was missed with the ilmbase update, and
causes yet another PORTREVISION bump on all dependent ports.

repeating ilmbase's commit log here:

"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<a40a6151c4>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)

Reported by:	VVD (IRC, #bsdports)
2021-01-03 16:57:29 +00:00
Matthias Andree
db0013e446 graphics/openexr: graphics/ilmbase: v2.5.4 update
"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>

Cherry-pick upstream commit for GCC 11 compatibility:
<a40a6151c4>

Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)

MFH:		2021Q1 (this requires discussion by ports-secteam@!)
2021-01-03 10:30:56 +00:00
Thierry Thomas
0b5864f66c - Upgrade math/eigen3 to 3.3.8;
- Add some dependencies which might be detected by Find_Package but not registered;

- Bump PORTREVISION of consumers.

PR:		250833
Submitted by:	/me
Approved by:	tcberner@ (KDE / maintainer) + exp-run
2020-12-12 17:04:37 +00:00
Tobias C. Berner
773872818c graphics/poppler: update to 20.12.0
Changelog:
        core:
         * Draw better circles for circle annotations
         * Fix annotation line width if no appearance stream or style are given
         * Tweak rendering of highlight annotations
         * Fix border rendering of some annotations
         * Fix rendering of some files. Issue #976 Issue #567
         * PSOutputDev: provide options to set the rasterization color space and ICC profile
         * PSOutputDev: for splashModeCMYK8 and language level >=2 activate overprint emulation
         * PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint
         * Use the font name without subset tag when querying for a system font
         * Splash: Fix wrong x adjustment during clipping
         * Splash: Fix blitImage in uncolored tiling patterns
         * timeToDateString: We forgot the ' after the minutes
         * Move psLevel to PSOutputDev creation
         * Fix several issues in broken files

        utils:
         * pdftops: provide options to set the rasterization color space and ICC profile
         * pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation

        cpp:
         * New fuzzers

        glib:
         * New fuzzers

        qt5:
         * New fuzzers

        build system:
         * gcc: Enable -fno-operator-names
         * Remove obsolete bool-to-binary macro
         * Remove obsolete version-check macro for pkgconfig
         * Remove .pc files for private back-ends
         * Remove redundant unit-test macro

PR:		251537
Exp-run by:	antoine
2020-12-11 20:10:03 +00:00
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