Commit graph

55 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
6f33a4b950 Update to 0.7.5 2018-07-26 14:52:32 +00:00
Jason E. Hale
d507710565 - Update to 0.7.4
- Desktop file is now included in source
2018-04-05 21:54:49 +00:00
Jason E. Hale
470331d08a Remove extra occurrence of 'sip' 2018-02-17 01:08:32 +00:00
Jason E. Hale
1168bb1707 Update to 0.7.3
Now uses PyQT 5.x
2018-02-16 15:11:49 +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
9ab6e45abc Update to 0.6.1
Convert to USES=pyqt
Add NO_ARCH
Fix plist for Python 3.5
2016-11-08 15:47:49 +00:00
Mathieu Arnold
f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +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
Dmitry Marakasov
b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00
Antoine Brodin
cff02893b4 Cleanup plist 2014-11-13 23:24:00 +00:00
Jason E. Hale
b3568403b8 - Update to 0.6.0
- Convert USE_PYTHON=yes -> USES=python:3.2+ (new version requires 3.x only)
- Take maintainership
2014-09-14 22:51:46 +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
Danilo Egea Gondolfo
17600a4d3a - Add stage support 2014-02-16 19:01:57 +00:00
Emanuel Haupt
5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +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
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
Eitan Adler
d1f32a3e5d Style: tab -> space.
Most contributors copy an existing port when writing their own so reduce the number of bad examples in the tree.
2013-03-28 16:28:59 +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
81c27c891a Bump PORTREVISION after DESKTOP_ENTRIES update 2013-01-23 15:00:18 +00:00
Max Brazhnikov
5dd37213f5 - Update DESKTOP_ENTRIES:
* rephrase Comment field or use port ${COMMENT} if appropriate
  * adjust Icon field according to the Desktop Entry Specification
  * update Categories field: remove deprecated category Application;
    set main category, if missing
- Remove indefinite article and/or rephrase COMMENT
- Trim Makefile header
- Other minor changes
2013-01-07 02:07:26 +00:00
Pawel Pekala
3440421302 Update to version 0.5.2
PR:		ports/172032
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-11-09 22:49:15 +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
Martin Wilke
95aeea0f07 -Update to 0.5.1
PR:		158475
Submitted by:	Ports Fury
2011-07-02 07:37:14 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Martin Wilke
b27a14324c - Update to 0.5.0
PR:		146306
Submitted by:	Ports Fury
2010-05-09 11:22:02 +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
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Dima Panov
afb550e3cf The KDE FreeBSD team is proud to announce the release of SIP-4.10 and
PyQt-4.7 for FreeBSD. The official update notes can be found at
http://www.riverbankcomputing.com

We'd like to say thanks to all helpers, testers and submitters.
2010-01-30 14:27:27 +00:00
Martin Wilke
6493038ea9 - Update to 0.4.3
PR:		139768
Submitted by:	Ports Fury
2009-10-20 09:40:18 +00:00
Max Brazhnikov
9e273df185 Bump PORTREVISION after QScintilla2 update 2009-02-14 23:01:24 +00:00
Martin Wilke
5dab2fab2f - Update to 0.4.2
PR:		124847
Submitted by:	Ports Fury
2008-06-23 10:51:37 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke
c6561f9e15 - Update to 0.4.1
PR:		121088
Submitted by:	Ports Fury
2008-02-27 07:01:16 +00:00
Erwin Lansing
e3532b980f Chase MASTER_SITES
Submitted by:	pointyhat
2007-12-24 12:42:04 +00:00
Martin Wilke
ccb622936b - Update to 0.4.0
PR:		118615
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-12-15 18:18:41 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Stefan Walter
ea4053a5a4 Unmark BROKEN, it's fetchable again.
PR:		111278
Submitted by:	"Josh Paetzel" <josh@tcbug.org>
2007-04-06 14:52:22 +00:00
Martin Wilke
f8ed5bbdd6 - Marked broken (Unfetchable)
Submitted by:   pointyhat via krisbot
2007-03-26 18:41:50 +00:00
Martin Wilke
4b027cce3a - Update to 0.3.2
PR:             110344
Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
2007-03-16 21:05:52 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Edwin Groothuis
a437d08eca Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:30:01 +00:00
Pav Lucistnik
6d7f8c459f - Add SHA256 2005-11-25 15:48:16 +00:00
Volker Stolz
caa6499962 Fix build: USE_PYTHON=2.4+
Noticed by: cluster
2005-09-08 15:41:35 +00:00