Commit graph

303 commits

Author SHA1 Message Date
Guido Falsi
d03d9426a4 - Update calibre to 5.13.0
- While here, remove outdated hal information from pkg-message
2021-03-10 14:29:15 +00: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
Loïc Bartoletti
108f234f7f PyQt5: Update PyQt5 to 5.15.3, QScintilla2 to 2.12.0, py-qtbuilder to 1.9.0
* PyQt5: update to 5.15.3

This is a minor feature and bug-fix release. There are corresponding releases of the other PyQt5-related packages.

 - Added the missing QImage.setAlphaChannel().
 - Support for the QtNetworkAuth library has been moved to a separate PyQtNetworkAuth package.
 - Wheels no longer bundle the corresponding Qt libraries and instead automatically install them from an external wheel.

* QScintilla2: update to 2.12.0

This adds support for Qt6 and removes support for Qt4.

 - Change the new distname (again)i due to a conflict
 - Use the new sip-build system

* devel/py-qtbuilder: update to 1.9.0
* devel/py-sip: fix flavor for sip-distinfo

PR:		253865
Exp-run by:	antoine
2021-03-08 06:49:17 +00:00
Guido Falsi
2816e1bb7a Update calibre to 5.12.0 2021-02-28 19:11:05 +00:00
Guido Falsi
c9e453111b Update calibre to 5.11.0 2021-02-12 12:23:23 +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
Guido Falsi
de50de770c Update calibre to 5.10.1 2021-01-23 09:47:09 +00:00
Guido Falsi
eb051c75be Update calibre to 5.10.0 2021-01-22 15:00:46 +00:00
Guido Falsi
2fd6ed2c62 - Update calibre to 5.9.0
- Add patch (merged upstream) to allow running with python <3.8
2021-01-09 12:52:59 +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
Guido Falsi
cf162cbd41 Update calibre to 5.8.1 2020-12-24 16:38:15 +00:00
Guido Falsi
e17a13d2c3 Remove some patches to build files not needed anymore with the
update to py-sip 5.5.0 in r558168.

No functional change, so no PORTREVISION bump.
2020-12-16 10:30:37 +00:00
Loïc Bartoletti
ecb5b21c9e Update PyQt5 to 5.15.2, sip to 5.5.0, py-qtbuilder to 1.6.0 and py-qt5-sip to 12.8.1
PR:		251764
Exp-run by: antoine
2020-12-15 17:56:00 +00:00
Guido Falsi
4c9aa676c0 Update calibre to 5.7.2 2020-12-12 18:32:04 +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
Loïc Bartoletti
47b26d9293 Update Qt/PySide2 to 5.15.2 / PyQt to 5.15.1 / SIP to 5.4.0
This commit combines several updates.

- Update Qt to 5.12.2
- Update PyQt to 5.15.1
- Since PySide 5.15.1 is broken with Qt 5.15.2, so PySide and Shiboken are also updated to 5.15.2.
- Update sip to 5.4.0

SIP is a collection of tools  to create Python bindings for C and C++ libraries and used by PyQt and wxPython. There are some changes with sip5 [1]:
- python 3.5+ is required
- sip drops support of old deprecated methods as sipdistutils & cie.
- this version breaks also PyQt5 extension ABI. SIP files will be installed in ${PYTHON_SITELIBDIR}/PyQt${_PYQT_VERSION}/bindings
- some ports will use the new pyqtbuilder package with the pyproject.toml setup. Instead if the project have a setup.py, you should use sip-build to build it.
- if a port needs sip, it should also needs pysip. BTW, py-qt5-core requires pysip, so that should be enough for PyQt packages.

List of ports impacted by this change. Most of the patches have been integrated or are in the process of being integrated upstream:

- devel/libsavitar
- graphics/py-python-poppler-qt5
- net-im/scudcloud
- net/libarcus
- print/py-frescobaldi
- science/py-veusz
- graphics/qgis and graphics/qgis-ltr
- deskutils/calibre

A special note regarding calibre. New versions require sip>=5, we update it to the latest version (thanks to madpilot@)

science/scidavis will remove the PyQt binding soon and there is no patch planned, so we remove the python option (ok makc@)

While here, convert some ports to USE_PYQT (cad/cura, cad/uranium, devel/eric6, ...)

Thanks to tcberner and adridg!

[1] https://www.riverbankcomputing.com/static/Docs/sip/

PR:                250853
Exp-run by:        antoine
2020-12-08 20:03:07 +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
Jan Beich
6d5d6429d5 devel/icu: update to 68.1
Changes:	http://site.icu-project.org/download/68
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-11-03 00:56:26 +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
Loïc Bartoletti
2933bb22c3 Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Use pypi for PYQT [1]
- Add devel/py-qt5-sip (Don't use it for now. It will be used in future updates of PyQt with py-sip >= 5)
- Add missing py-qt5 ports: comms/py-qt5-sensors, devel/py-qt5-location, devel/py-qt5-remoteobjects, net/py-qt5-networkauth
- Strip libs
- Refactor *_PATH and *_PORT parts

[1] RiverBankComputing doesn't offer links to download latest version of some ports

PR:		247369
Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D25749
Exp-run by:	antoine
2020-10-05 15:50:03 +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
Guido Falsi
c3d45e257e Update claibre to 4.23.0 2020-08-21 21:22:41 +00:00
Tobias C. Berner
97cf82ea46 Bump revisions of poppler consumers after r544863 2020-08-14 04:22:13 +00:00
Guido Falsi
a5c0f4767a Update calibre to 4.22.0 2020-08-02 10:16:24 +00:00
Guido Falsi
f9cb27aa85 Update calibre to 4.21.0 2020-07-17 07:51:24 +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
Guido Falsi
c9942e3405 - Update clibre to 4.20.0
- Remove options, making port python3 only
2020-07-03 21:26:58 +00:00
Guido Falsi
7709a3e947 Update calibre to 4.19.0 2020-06-20 10:10:29 +00:00
Guido Falsi
86b629feec Update calibre to 4.18.0 2020-06-05 23:00:52 +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
Tobias C. Berner
cf8724d68b deskutils/calibre: prepare for Qt5-5.15 2020-05-30 08:59:03 +00:00
Guido Falsi
4cc4fe832a Update calibre to 4.17.0 2020-05-23 19:34:53 +00:00
Guido Falsi
a87692e912 Update calibre to 4.16.0 2020-05-15 22:27:29 +00:00
Guido Falsi
d1f873e6c1 Update calibre to 4.15.0 2020-05-02 23:06:47 +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
Guido Falsi
d81d4c8fa7 Update calibre to 4.14.0 2020-04-25 19:43:59 +00:00
Jan Beich
ffb8eb82e5 devel/icu: update to 67.1
Changes:	http://site.icu-project.org/download/67
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-04-23 20:14:49 +00:00
Loïc Bartoletti
5ead0a2f78 Update py-sip to 4.19.21 and qscintilla2 to 2.11.4
- Update py-sip to 4.19.21
  - Update qscintilla2 to 2.11.4
  - Replace MASTER_SITE_RIVERBANK with https versions
  - Replace QSCI2_DISTNAME to match with the new one

PR:		245308
Approved by:	tcberner (mentor)
Exp-run by:	antoine
2020-04-11 05:04:40 +00:00
Tobias Kortkamp
c27a2c4161 deskutils/calibre: Drop misspelled OPTINS_SUB
Build was not broken because USES=python already adds PYTHON2 and
PYTHON3 subs.

Reported by:	portscan
2020-04-07 16:06:27 +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
Guido Falsi
fc686c24d4 - Update calibre to 4.13.0
- Make PYTHON3 the default option
2020-03-27 15:22:13 +00:00
Antoine Brodin
1bf9457272 Convert the tree to use PY_PILLOW
With hat:	portmgr
Originally submitted by:	kai
2020-03-24 19:54:57 +00:00
Guido Falsi
bf783138c5 Put correct python interpreter in calibre startup script.
Reported by:	Alexander Leidinger <Alexander@leidinger.net>
2020-03-21 19:56:08 +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
Guido Falsi
23fccb23c8 - Enable compiling calibre with python 3
- Add options to choose which python version to depend on
- Make the deprecation warning conditional on which option is selected

Due to upstreaam support for python3 being experimental, leave the
default at python 2.

Plan is to switch the default to python 3 after 2020Q2 is branched
to expose it to more testing.
2020-03-20 11:39:29 +00:00
Jan Beich
f821cdc347 devel/icu: update to 66.1
Changes:	http://site.icu-project.org/download/66
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2020-03-13 09:47:16 +00:00
Antoine Brodin
5ae8688c07 Deprecate some ports using deprecated version of python
With hat:	portmgr
2020-03-08 17:01:46 +00:00
Guido Falsi
4600731a6b Update calibre to 4.12.0 2020-03-07 12:05:48 +00:00
Kai Knoblich
74174b2661 graphics/py-pillow: Update to 7.0.0
* Repo-Copy the Pillow 6.2.2 release to graphics/py-pillow6 to retain
  backwards compatibility for Python 2 consumers as the Pillow 7.0.0 release
  dropped the support for Python 2.

* Apply conditional statements to use either Pillow 7.x or Pillow 6.x for
  consumers that can be built for Python 2 or newer.

* Exceptions are ports that can be built only for either Python 2 or
  Python 3.  For the first case, consumers are just assigned to the
  repo-copied graphics/py-pillow6.

* Also remove Pillow from BUILD_DEPENDS of math/py-PyWavelets as it is not
  listed in setup.py as a build dependency [1] and relax the version
  requirements of Pillow for www/py-wagtail.

Release Notes:

* https://pillow.readthedocs.io/en/latest/releasenotes/index.html

Backward Incompatible Changes (7.0.0):

* https://pillow.readthedocs.io/en/latest/releasenotes/7.0.0.html#backwards-incompatible-changes

Detailed Changelog:

* https://github.com/python-pillow/Pillow/blob/7.0.0/CHANGES.rst

PR:		243665
Submitted by:	sunpoet (patch for 7.0.0 and repo-copied version)
Reviewed by:	koobs [1], sunpoet
Approved by:	koobs (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23713
2020-02-24 11:36:15 +00:00
Guido Falsi
d4708c180d Update calibre to 4.11.2 2020-02-22 18:08:11 +00:00