Commit graph

50 commits

Author SHA1 Message Date
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
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
Martin Neubauer
698c158298 graphics/py-python-poppler-qt5: Add flavours
PR:		264988
2022-07-03 19:43:35 +01:00
Loïc Bartoletti
2d8f857316 devel/py-qt5, devel/py-sip: Update versions
- Update sip to 6.5.1
- Update PyQt5 to 5.15.6
- Update PyQtChart, PyQtNetworkAuth and PyQtWebengine to 5.15.5
- Update PyQtSip to 12.9.1
- Update PyQtBuilder to 1.12.2
- Add ${_MAKE_JOBS} for pyqt.mk (reported by Tatsuki Makino)

PR:		261685
Exp-run by:	antoine
2022-03-07 18:39:13 +01:00
Loïc Bartoletti
4f0a5e1540 PyQt: Update sip to 6.5.0, reintroduce sip4 and simplify PyQt framework.
SIP:
As mentioned in the update from sip to sip5, this is a transitional version
to remove what is deprecated in sip4.
Sip6 completely removes the deprecated parts.
Unfortunately, some ports — mostly cura things — can not use sip6, so we
reintroduce sip4.

PyQt:
At the same time, we took the opportunity to simplify PyQT and propose only one
package as for devel/pyside2. */py-qt5-* have been merged — excepted chart,
networkauth and webengine — into devel/py-qt5-pyqt.

This allows us to be in adequacy with the packages that the author of these
libraries proposes, namely:

PyQt - devel/py-qt5-pyqt
PyQt-Charts - x11-toolkits/py-qt5-chart
PyQt-NetworkAuth – net/py-qt5-networkauth
PyQt-WebEngine – www/py-qt5-webengine
SIP – devel/py-sip
py-sip - devel/py-qt5-sip
PyQt-builder - devel/py-qtbuilder
Qscintilla - devel/py-qt5-qscintilla2

Reviewed by:	diizzy, kde
Tested by:	kai, rhurlin, arrowd, madpilot
Approved by:	makc, tcberner, kde
Differential Revision:	https://reviews.freebsd.org/D33237
Exp-run by:	antoine
2022-01-27 07:12:26 +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
Dmitry Marakasov
f2fb21df07 graphics/py-python-poppler-qt5: limit supported python verions
With python 3.6:

/usr/local/lib/qt5/bin/qmake -query
sip-build: An internal error occurred...
Traceback (most recent call last):
  File "/usr/local/bin/sip-build", line 33, in <module>
    sys.exit(load_entry_point('sip==5.5.0', 'console_scripts', 'sip-build')())
  File "/usr/local/lib/python3.6/site-packages/sipbuild/tools/build.py", line 37, in main
    handle_exception(e)
  File "/usr/local/lib/python3.6/site-packages/sipbuild/exceptions.py", line 81, in handle_exception
    raise e
  File "/usr/local/lib/python3.6/site-packages/sipbuild/tools/build.py", line 33, in main
    "Build the project in-situ.")
  File "/usr/local/lib/python3.6/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
    project.setup(pyproject, tool, tool_description)
  File "/usr/local/lib/python3.6/site-packages/sipbuild/project.py", line 479, in setup
    self.apply_user_defaults(tool)
  File "/usr/local/lib/python3.6/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
    super().apply_user_defaults(tool)
  File "/usr/local/lib/python3.6/site-packages/sipbuild/project.py", line 228, in apply_user_defaults
    bindings.apply_user_defaults(tool)
  File "project.py", line 50, in apply_user_defaults
    cflags = self.run_pkg_config('--cflags-only-I').split()
  File "project.py", line 45, in run_pkg_config
    text=True)
  File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/local/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'text'
*** Error code 1

With python 3.10:

/usr/local/lib/qt5/bin/qmake -query
sip-build: Python v3.10 is not supported

Also call sip-build by python versions to fix build with non-default python.

Approved by:	portmgr blanket
2021-11-03 21:26:42 +03:00
Tobias C. Berner
e140c1eb79 graphics/poppler: bump consumers after 2dee0997fb 2021-10-12 20:23:21 +02:00
Tobias C. Berner
392e088e76 poppler: bump revisions of users
Bump the remaining users of poppler after d98b56f1de

PR:		258206
2021-09-06 18:39:42 +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
Loïc Bartoletti
be86c4fe23 misc/qtchooser: remove
QtChooser allows you to select your version of Qt among those installed.
However, this tool is no longer supported upstream and will not be
available for Qt6.
By default, our Qt installations are done in
${LOCALBASE}/lib/qt${QT_VERSION} as recommended.

We have added symbolic linking for the main binaries to
${LOCALBASE}/bin with the suffix -qt5.
2021-07-04 18:55:16 +02:00
Kevin Bowling
da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07: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
Dmitry Marakasov
0729af4255 Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:43 +03: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
Kai Knoblich
1de6a814ee graphics/py-python-poppler-qt5: Fix packaging with Python 3.8 and onward
* Add a workaround to make the transition from Python 3.7 to Python 3.8
  possible because the name of the .so file is slightly different between
  the two releases.

* Use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make the
  port PREFIX safe.

* Also add "gl" to USE, introduce USE_{GL,QT} to fix stage QA issues and pet
  portclippy by sorting the entries of USE_PYQT as well. [1]

PR:		254427
Submitted by:	<m.ne@gmx.net> (maintainer) [1]
Approved by:	<m.ne@gmx.net> (maintainer)
2021-03-21 08:30:59 +00:00
Loïc Bartoletti
0b7a24020a PyQt5: Update PyQt5 to 5.15.4 and py-qtbuilder to 1.9.1
PR:		254218
Exp-run by:	antoine
2021-03-16 09:29:53 +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
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
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
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
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
Tobias C. Berner
97cf82ea46 Bump revisions of poppler consumers after r544863 2020-08-14 04:22:13 +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
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
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
Danilo G. Baio
1f3b6beeee graphics/py-python-poppler-qt5: Update GitHub repository
Moved from a personal to a project's account.
No contents changed.

PR:		245775
Submitted by:	m.ne@gmx.net (maintainer)
2020-04-28 00:01:15 +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 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
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
Tobias C. Berner
791152fff6 graphics/py-python-poppler-qt5: Update to 0.75.0
PR:		242182
Submitted by:	m.ne@gmx.net  (maintainer)
2019-11-23 21:29:43 +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
Tobias C. Berner
f4566d704a graphics/poppler: update to 0.81.0
Release 0.81.0:
        core:
         * Splash: Always enable support for CMYK rasterization
         * CairoOutputDev: Check scaled dimensions for 0. Issue #737
         * BaseCryptStream: Fix potential uninitialized memory read
         * SplashBitmap: Fix wrong width condition for splashModeDeviceN8
         * Fix crashes in malformed files

PR:		240781
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-09-29 07:25:04 +00:00
Steve Wills
5bc77ee8c2 graphics/py-python-poppler-qt5: Fix build on i386
PR:		240817
Submitted by:	m.ne@gmx.net (maintainer)
2019-09-26 18:43:37 +00:00
Steve Wills
c4929a40b5 graphics/py-python-poppler-qt5: Update to 0.74.0
PR:		240677
Submitted by:	m.ne@gmx.net
2019-09-23 20:59:04 +00:00
Tobias C. Berner
0ee39c1b52 graphics/poppler: update to 0.80.0
Release 0.80.0:
core:
 * Annotations: Implement support for setting a different text in the appearance stream than the real text
 * Splash: Optionally use small_vector from boost
 * Fix memory leaks on broken files
 * Fix abort on broken files
 * Small code simplifications
 * Remove USE_FIXEDPOINT support. Issue #821

qt5:
 * Fix MSVC build
 * Add subsitute-font information
 * Fix since marker of some functions
 * Fix leak when aborting text extraction
 * Small code simplifications

glib:
 * Make print scaling getter visible
 * Make Duplex/NumCopies/PrintPageRange preference available in API
 * Implement Movie API

utils:
 * pdftotext: Add -nodiag flag to remove diagonal text on output

build system:
 * Mark external lib include dirs as SYSTEM

PR:		240176
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-09-01 20:46:38 +00:00
Tobias C. Berner
a5b210399a graphics/poppler: update to 0.79.0
Release 0.79.0:
        core:
         * Fix regression on TextSelectionPainter
         * Fix parsing of DefaultAppearance
         * Fix memory leak in PostScriptFunction
         * Fix crashes in fuzzed files

        qt5:
         * Implemented support for setIcon by changing appearance
         * Added option to set the form available to print
         * QString::null is deprecated, use QString()
         * Replace deprecated qStableSort with std::stable_sort

        build system:
         * Turn README into README.md and expand it

PR:		239277
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-07-31 21:14:15 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Tobias C. Berner
4d160bfcf5 graphics/poppler: update to 0.78.0
Release 0.78.0:
        core:
         * Fix line annotation arrows for usage in dimensioning
         * Handle Ink annots without an InkList but with an AP
         * Fix typos preventing parsing of Movie start and duration
         * Fix crash on malformed files

        glib:
         * Add poppler_document_create_dests_tree()
         * Don't use the deprecated g_type_class_add_private()
         * Document the differences between render() and render_for_printing()
         * Fix introspection for poppler_document_new_from_data
         * Don't create PopplerInputStream with length 0. Issue #414
         * Document G_IO_ERROR as a possible error condition
         * docs: Add index for API new in 0.78

        build system:
         * Fixes cross compilation of gir in Void Linux
         * Add -Wshadow to the default warning flags
         * install pkg-config pc files if pkg-config is found

PR:		238857
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-06-29 08:55:17 +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
Sunpoet Po-Chuan Hsieh
cd2752f30d Update WWW
Approved by:	portmgr (blanket)
2019-02-01 21:44:01 +00:00
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Mark Linimon
7c3613b32e This port needs USES=compiler:c++11-lang to build on GCC-based architectures.
PR:		234511
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2019-01-02 09:20:02 +00:00
Tobias C. Berner
c27c5e8d74 Reinstate graphics/py-poppler-qt4@r487595 as graphics/py-python-poppler-qt5
PR:		234085
Submitted by:	m.ne@gmx.net
2018-12-27 20:10:30 +00:00