Commit Graph

57 Commits

Author SHA1 Message Date
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
cc8a667aa2 pyqt: Change install directories for Python flavor support
* PyQt could not be installed for multiple Python versions at
  the same time, as there were conflicting files.

  This patch creates Python-version versioned directories for
  all these, and further installs binaries with a version number.

* Note, there might be some hickups for software that depends on
  on of the .so's provided by PyQt5, which might not be found
  anymore autmotically, and maybe need some LD-flaggery.

* Update PyQt5 to 5.10.1

* Mark www/py-qt5-webengine broken. It is unforuntately no longer
  compatible with the old qt5-webengine-5.9.4 we ship.

PR:		232745
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8714
2018-11-22 20:18:37 +00:00
Kurt Jaeger
a0316cf0e3 multimedia/py-openlp: Update 2.1.6 -> 2.4.6
- adds LICENSE_FILE
- copies OpenLP to ${PREFIX}/bin (= renamed copy of openlp.py)
  with appropriate workaround for the openlp.desktop file.
  This is required to start the software. Otherwise it yields the
  following error:
  ImportError: No module named 'openlp.core'; 'openlp' is not a package.
- added INSTALLS_ICONS to pet portlint
- merged pre-build target into post-build target
- sorted variables a bit

PR:		211665
Submitted by:	Kai <freebsd_ports@k-worx.org>
Changes:	https://openlp.org/blog/2017/04/02/fix-all-the-bugs-openlp-246
		https://openlp.org/blog/2017/02/05/a-few-more-bugs-fixed-openlp-245
		https://openlp.org/blog/2016/11/27/openlp-244-released
		https://openlp.org/blog/2016/09/25/openlp-243-and-personal-news
		https://openlp.org/blog/2016/06/26/openlp-242-released
		https://openlp.org/blog/2016/05/01/openlp-241-released
		https://openlp.org/blog/2016/02/14/openlp-24-released
		https://openlp.org/blog/2015/11/01/first-22-series-bugfix-release-openlp-221
		https://openlp.org/blog/2015/10/18/openlp-22-released
2018-08-09 02:51:19 +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
60539b7275 multimedia/*phonon*: update and flavorize with @qt4/@qt5
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14632
2018-06-21 16:52:09 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Thomas Abthorpe
e51177b920 - Reassign ports to the heap 2018-02-23 01:33:00 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Tobias C. Berner
f3c180c343 Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more
* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
  By moving the libraries we should finally be able to get rid of the inplace
  upgrade bug (see ports bugs 194088, 195105 and 198720):  when Qt5's libraries
  were lying in /usr/local/lib, which would often get added by pkgconfig to the
  linker paths via dependencies, the already installed libraries were linked
  against, instead of the ones that were being built. This forced us to make
  sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
  linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]

There are several new Qt5 ports which all have been created by Marie Loise Nolden
<nolden@kde.org>. Thanks again.

PR:		216797
Exp-Run by:	antoine
Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9213
2017-02-18 19:48:05 +00:00
Tobias C. Berner
4c7d30bb70 Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.

Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9261
2017-02-04 13:37:15 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Thomas Abthorpe
d41be378cc - Depend on sqlalchemy to fix builds
- Bump PORTREVISION

Reported by:	pkgbot
MFH:		2016Q3
2016-08-06 16:06:57 +00:00
Mathieu Arnold
00d52a3e4c Remove useless WRKSRC definitions.
While there, correct DEV_WARNINGS when they occur.

Sponsored by:	Absolight
2016-05-25 15:43:34 +00:00
Matthew Seaman
d91eb811d5 Reorganise and modernise the py-sqlalchemy ports.
- Introduce new ports for the sqlalchemy 0.9 and 1.0 release branches.
 - Deprecate the ports for the 0.6 and 0.7 release branches, as these
   have been declared EoL and are no longer supported by upstream.
 - Update to the latest available version in each branch.

In detail:

   Port                 Version Maintainer
   ----------------------------------------------
   py-sqlalchemy06      0.6.9   nivit@FreeBSD.org (Deprecate 2016-08-20) [1]
   py-sqlalchemy07      0.7.10  nivit@FreeBSD.org (renamed py-sqlalchemy, Deprecate 2016-08-20) [1]
   py-sqlalchemy08      0.8.7   nivit@FreeBSD.org (renamed py-sqlalchemy-devel) [1]
   py-sqlalchemy09      0.9.10  m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2]
   py-sqlalchemy10      1.0.13  m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2]

 - Use options-helpers and option dependent make targets.
 - Use autoplist for documents as well as python code
 - Add all the docments to the packages: previously an arbitrary
   subset was added in a way that excluded CSS, images and other HTML
   assets.
 - Use TEST_DEPENDS and add a TEST_TARGET instead of having a 'TEST'
   option.
 - Use py-pytest for 0.9.x and later, rather than py-nose.
 - Add CONFLICTS_INSTALL between all of the py-sqlalchemyXY ports.

PR:		191442
Submitted by:	robak
Reviewed by:	robak
Reviewed by:	pi
Approved by:	nivit (maintainer timeout, ~300days) [1]
Approved by:    m.tsatsenko@gmail.com (maintainer) [2]
Sponsored by:	https://reviews.freebsd.org/D908
2016-05-22 10:52:44 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Thomas Abthorpe
5d5b7b6d46 - Update to 2.1.6 2015-12-08 18:09:55 +00:00
Dmitry Marakasov
e083903646 - Remove extra entry from pkg-plist
- Add NO_ARCH

Approved by:	portmgr blanket
2015-10-03 02:08:06 +00:00
Thomas Abthorpe
391b4af4c3 - Update to 2.1.5 2015-06-08 23:27:39 +00:00
Dmitry Marakasov
40f13c68dc - Drop @dirrm* from and add empty directories to pkg-plists
Approved by:	portmgr blanket
2015-02-01 20:24:27 +00:00
Marcus von Appen
1727182e5d - Convert ports of multimedia/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 17:22:07 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Thomas Abthorpe
6d5a293387 - Update to 2.0.5 2014-09-05 03:36:58 +00:00
Baptiste Daroussin
b67bcd423b Catch a couple of missing convertsion to :tu/:tl
Submitted by:	ak
With hat:	portmgr
2014-05-05 11:15:53 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Max Brazhnikov
d2de2b00e4 - Bump PORTREVISION after KDE4_PREFIX change 2014-02-18 14:31:32 +00:00
Thomas Abthorpe
e75ba5211b - Support STAGEDIR
- Thanks to antoine@ who did all the real work to clean this up

Submitted by:	antoine
2014-01-21 13:53:43 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Dmitry Marakasov
d46ccd7303 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with m)
Approved by:	portmgr (bdrewery)
2013-10-22 13:56:27 +00:00
William Grzybowski
834014c72d multimedia/py-openlp: change beautifulsoup dependency
- Change beautifulsoup dependency, version 3.0 is going to be removed

Approved by:	maintainer (via email)
2013-10-03 12:04:43 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Thomas Abthorpe
667d5a45a8 - Update to 2.0.3 2013-09-19 05:15:24 +00:00
Li-Wen Hsu
bd71998654 Chase renaming databases/py-migrate to databases/py-sqlalchemy-migrate 2013-09-01 12:58:10 +00:00
Thomas Abthorpe
63f199abfc - Update to 2.0.1 2013-03-20 15:22:04 +00:00
Max Brazhnikov
3503833535 Bump PORTREVISON after devel/py-sip and devel/qscintilla2 update.
x11-toolkits/py-qt:
- mark BROKEN: does not build with latest devel/py-sip
2013-02-03 18:16:54 +00:00
Thomas Abthorpe
7f108fa76e - Fix plist
- Bump PORTREVISION

Submitted by:	pointyhat via beatmail
2012-10-02 04:15:01 +00:00
Thomas Abthorpe
b9f09f1543 - Update to 1.9.12 2012-09-22 05:51:27 +00:00
Thomas Abthorpe
87f7e29875 - Remove patchfiles neglected in last commit
Pointyhat to::	tabthorpe
Notified by:	QAT
2012-08-24 23:40:38 +00:00
Thomas Abthorpe
47ceda3b2c - Update to 1.9.11 2012-08-24 20:48:26 +00:00
Thomas Abthorpe
7d683e0f93 - Update to 1.9.10
Submitted by:	Raoul Synman (Upline developer)
2012-07-19 18:10:16 +00:00
Thomas Abthorpe
387c3ac8e7 - Update to 1.9.9
Prodded by:	superfly via irc
2012-06-13 03:18:36 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Max Brazhnikov
6b63000267 Chase PyQT update 2012-05-25 01:50:36 +00:00
Thomas Abthorpe
d1cbbf2243 - Add py-qt4-opengl dependency
- Bump PORTREVISION
2012-04-28 02:48:24 +00:00
Thomas Abthorpe
cd9cfcfc41 - Update to 1.9.8 2011-12-28 07:09:04 +00:00
Thomas Abthorpe
41fd500bce - Update to 1.9.7 2011-09-26 01:53:15 +00:00
Thomas Abthorpe
dae2acd86a - Build with easy_install
- Update plist
- Bump PORTREVISION

PR:		ports/160285
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-09-21 03:55:54 +00:00
Thomas Abthorpe
ec31ae89de - Update to 1.9.6
Thanks to:	Raoul "Superfly" Snyman (upstream developer)
2011-09-09 19:15:47 +00:00
Nicola Vitale
af6c478e11 - Fix path/typo in the tuple of py-sqlalchemy in RUN_DEPENDS
Reported by:	pavbot
2011-06-25 07:35:30 +00:00
Nicola Vitale
2623e5f297 - Fix RUN_DEPENDS after the repocopy of databases/py-sqlalchemy
(This port doesn't yet support SQLAlchemy 0.7.X)
- Bump PORTREVISION
2011-06-23 14:20:04 +00:00