Commit graph

26 commits

Author SHA1 Message Date
Antoine Brodin
cf6456491e Clean up plist 2019-04-25 14:48:37 +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
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
Jason E. Hale
7a32b40299 Update to 0.8.2
Remove DESKTOP_ENTRIES; desktop file is included with the source now
2018-07-26 14:47:23 +00:00
Jason E. Hale
44d5d419b5 Update to 0.8.1
Now uses PyQt 5.x
2018-02-16 15:12:39 +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
Bryan Drewery
f3af3367aa Allow these ports to build with PACKAGE_BUILDING_FLAVORS set.
Poudriere in particulr did not properly handle DEPENDS_ARGS which
made these ports not properly install dependencies.  That bug
is being addressed along with adding FLAVORS support to it.

With hat:	portmgr
MFH:		2017Q2
2017-06-04 21:49:48 +00:00
Sunpoet Po-Chuan Hsieh
e730d999d3 Add more PLIST_SUB to Mk/Uses/python.mk
- Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX
- Add PYTHON2 and PYTHON3
- Respect PYTHON_VERSION
- Rename PYOEXTENSION to PYTHON_PYOEXTENSION

This change would help:
- Build databases/postgresql*-plpython with Python 3
  (It has PLIST issue since bsd.python.mk to Uses/python.mk transition)
- Simplify Makefile

PR:		205807
Differential Revision:	https://reviews.FreeBSD.org/D4758
Exp-run by:	antoine
2017-01-07 21:42:28 +00:00
Jason E. Hale
21e018c19c Update to 0.7.1
Convert to USES=pyqt
Add NO_ARCH
Fix plist for Python 3.5
2016-11-08 15:51:11 +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
Ruslan Makhmatkhanov
1d86d24911 Bump minimal python3 version to 3.3 in USES
Because we are going to remove python 3.2 from the ports tree

With hat:   python
2016-02-02 20:01:44 +00:00
Baptiste Daroussin
74c050c183 Remove Author from pkg-descr and white space fixes 2015-03-02 23:31:09 +00:00
Antoine Brodin
942951d86b Cleanup plist 2014-11-14 09:39:21 +00:00
Jason E. Hale
95ce87428b - Since Python 3.x packages aren't available, add a check to
prevent pkg-fallout errors

===>   rpcalc-0.7.0 depends on package: py33-qt4-gui>=0 - not found
===>    Verifying install for py33-qt4-gui>=0 in /usr/ports/x11-toolkits/py-qt4-gui
===>   rpcalc-0.7.0 depends on package: /packages/All/py33-qt4-gui-4.11.1,1.txz - not found
===>   USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
*** Error code 1
2014-09-13 23:39:20 +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
Jason E. Hale
e81c83fa66 - Update to 0.7.0
- Stagify
- Add LICENSE
- Add DESKTOP_ENTRIES
- USE_PYTHON -> USES=python (new version requires 3.2+)
- Take maintainership
2014-08-29 22:31:57 +00:00
Baptiste Daroussin
d235aae94b Reset maintainership for ports not staged with no pending PR
With hat:	portmgr
2014-07-23 17:30:45 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Alexey Dokuchaev
341abe40f0 In categories starting with [h-m], remove empty lines from pkg-plist (and
purge one empty file).
2013-03-17 14:13:50 +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
Max Brazhnikov
6b63000267 Chase PyQT update 2012-05-25 01:50:36 +00:00
Doug Barton
989772c9ac The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
2011-10-24 09:11:38 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Edwin Groothuis
ff39ef5985 Add @dirrmtry share/icons. 2010-01-31 11:48:44 +00:00
Edwin Groothuis
b0b88cc34a New port: math/rpcalc
rpCalc started out as a little program written to try out various
    Python GUI toolkits. But I ended up using it all the time (it's
    much quicker to pull it up than to pull an actual HP calculator
    out of the desk), and I made several improvements. So I decided
    to make it available to others who also like RPN calculators.

    WWW: http://rpcalc.bellz.org/index.html
    Author: Doug Bell <doug101 AT bellz DOT org>
2010-01-31 10:28:11 +00:00