Commit graph

28 commits

Author SHA1 Message Date
Tobias C. Berner
ee161386d4 archivers/quazip: remove flavors (Qt4 deprecation) 2019-03-16 19:37:25 +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
Tobias C. Berner
5819a2bdea archivers/quazip: upgrade to 0.7.6
- the project has moved to github.
2019-01-05 14:10:17 +00:00
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00
Rene Ladan
7cbe341ae6 Use regular DEPRECATED and EXPIRATION_DATE variables in an "if FLAVOR" block
instead of flavoring the variables themselves. This caused too much hassle
for Tools/scripts/rmport.

Discussed with:	tcberner
2018-12-16 16:49:17 +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
Mark Linimon
bba27791f4 Appease portlint. 2018-11-01 01:40:47 +00:00
Tobias C. Berner
444ba1e560 archivers/quazip: fix build with GCC-based architectures
PR:		231690
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2018-10-20 17:01:44 +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
Tobias C. Berner
9870e21a41 Convert archivers/quazip and archivers/quazip-qt5 into flavors
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14640
2018-03-11 10:05:42 +00:00
Raphael Kubo da Costa
e98d0bca0b Update archivers/quazip and archivers/quazip-qt5 to 0.7.3. 2017-02-06 10:20:07 +00:00
Tobias C. Berner
24df34c6e2 Convert archivers/quazip-qt5 into a slave port, and switch to cmake for archivers/quazip.
* Convert to slaveport, as they are very similar
* Switch to cmake in archviers/quazip

Reviewed by:	rakuco
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D7909
2016-09-18 20:21:01 +00:00
Tobias C. Berner
f4b9941ac7 Update archivers/quazip and archivers/quazip-qt5 to 0.7.2
[The previous commit r22303 skipped archives/quazip]

* archivers/quazip
	Regenerate the qztest.pro patch for archivers/quazip
* archivers/quazip-qt5
	Drop the coinstallability patch as it is now part of the release
	Add upstreamed patch by rakuco@ to fix linking

Reviewed by: rakuco
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D7726
2016-09-17 09:31:15 +00:00
Tobias C. Berner
cbd601b279 Take maintainership of archivers/quazip
> I was wondering if you were willing to push archivers/quazip onto kde@
Of course, assign the maintanership to kde@, please. :)

Approved by: nivit (previous maintainer), rakuco (mentor)
2016-09-16 10:05:42 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Nicola Vitale
26251f0750 - Update to 0.7.1
- Add net/qt4-network to build dependencies and
  remove devel/qt4-testlib from run dependencies
2015-02-11 09:20:18 +00:00
Baptiste Daroussin
161b92dff7 Clean up plist 2014-10-19 23:12:06 +00:00
Nicola Vitale
798c36c6c4 - Add a patch to fix build, when a previous version is installed 2014-03-30 03:10:03 +00:00
Steve Wills
c2fb6a937f - Update to 0.6.2
- Fixes build on 11-CURRENT

PR:		ports/186611
Submitted by:	rakuco
Approved by:	maintainer timeout (nivit, >4 weeks)
2014-03-17 15:54:22 +00:00
Baptiste Daroussin
75d1dff36d Fix properties on pkg-plist 2014-01-21 22:55:59 +00:00
Max Brazhnikov
5898d7df5c - Convert to USES=qmake (and other USES while I'm here)
- Add state support
- Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc.

Approved by:	portmgr (blanket approval)
2013-11-22 12:55:00 +00:00
Baptiste Daroussin
b80ec3e204 Add NO_STAGE all over the place in preparation for the staging support (cat: archivers) 2013-09-20 13:11:20 +00:00
Nicola Vitale
1469649b38 - Unbreak the port by a patch suitable for the newer zlib
PR:	ports/181360
Submitted by:	marino
2013-08-28 15:40:54 +00:00
Baptiste Daroussin
54db8c8a2f Mark as broken: does not build
testquagzipfile.cpp: In member function 'void TestQuaGzipFile::read()':
testquagzipfile.cpp:11: error: 'gzFile_s' was not declared in this scope
testquagzipfile.cpp:11: error: expected primary-expression before '=' token
testquagzipfile.cpp:12: error: expected primary-expression before ',' token
testquagzipfile.cpp:13: error: expected primary-expression before ')' token
testquagzipfile.cpp: In member function 'void TestQuaGzipFile::write()':
testquagzipfile.cpp:35: error: 'gzFile_s' was not declared in this scope
testquagzipfile.cpp:35: error: expected primary-expression before '=' token
testquagzipfile.cpp:38: error: expected primary-expression before ',' token
testquagzipfile.cpp:39: error: expected primary-expression before ')' token

Reported by:	pkg-fallout
2013-07-24 06:01:03 +00:00
Nicola Vitale
a155398af8 - Commit updating of distinfo file for 0.5.1 2013-06-16 13:50:54 +00:00
Nicola Vitale
7672671c9c - Update to 0.5.1
- Add qtestlib to USE_QT4
- Add files/patch-qztest__testquagzipfile.cpp

Build log:	http://goo.gl/LJHzO
2013-06-16 13:49:17 +00:00
Nicola Vitale
6e24ca6748 QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
can be used to access ZIP archives. It uses Trolltech's Qt toolkit.

WWW: http://quazip.sourceforge.net/
2013-03-06 22:55:05 +00:00