235 Commits

Author SHA1 Message Date
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
rsadowski
a03e778695 Drop RTLD_NODELETE patch, from Brad 2021-06-04 20:11:21 +00:00
tb
21d28f2317 x11/qt5/qtbase: prepare for LIBRESSL_HAS_TLS1_3
Upstream has erroneous #ifdefs which will lead to a runtime abort
if both TLS1_3_VERSION and OPENSSL_NO_PSK are defined. Adjust
them. Additionally, libssl will need to provide
SSL_SESSION_is_resumable and SSL_set_psk_use_session_callback.

ok rsadowski (maintainer)
2021-05-27 14:32:14 +00:00
rsadowski
d74a9b87f0 Regen PLIST after any bits have fallen over in the ports tree.
I see no one wants to investigate the issue and neither do I.
Unbreak the package. Seen in all bulk builds.
2021-05-22 05:20:11 +00:00
cwen
38b0940493 qtwebkit: unbreak with clang 11 on powerpc
Disable some code assuming that 8 byte __sync_* operators are not
available on that arch and as such trying to redefine builtin functions.

OK jca@, gkoehler@ and rsadowski@ (maintainer)
2021-05-11 15:33:59 +00:00
ajacoutot
d78cd41d6a Fix build with GLib >=2.68 (first batch). 2021-05-09 08:55:41 +00:00
sthen
d8203ac1b0 qtwebkit: backport patch to unbreak with newer Bison
From d92b11fea65364fefa700249bd3340e0cd4c5b31 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <mitya57@gmail.com>
Date: Tue, 4 Aug 2020 21:04:06 +0300
Subject: [PATCH] Let Bison generate the header directly, to fix build with Bison 3.7
2021-05-08 14:58:43 +00:00
sthen
c46380e020 set FIX_EXTRACT_PERMISSIONS 2021-05-08 12:43:06 +00:00
tb
9942e8d28c x11/qt5/qtbase: Explicitly disable DTLS support
Now that libssl exposes DTLS1_2_VERSION, the configure check picks up
DTLS which depends on BIO_ADDR and a modified DTLSv1_listen(3) that
we currently don't support.

ok jsing rsadowski sthen
2021-03-31 17:21:17 +00:00
sthen
067be72356 revert previous, back to py2 - it isn't using MODPY_BIN to feed in the
path of python, just relying on detecting at configure time, so it picks
up a py2 which just happens to be installed
2021-03-03 09:44:57 +00:00
sthen
e42a97e988 switch qtwebengine BDEP from python 2 to python 3, it built ok for me
with that. (chromium/iridium didn't).
2021-03-02 18:18:43 +00:00
kn
6cd3e9da9f Build with Python 3
Builds fine and packages (no PLIST change) without Python 2 installed.
This is to reduce the "show-reverse-deps lang/python/2.7" list.

OK rsadowski
2021-03-01 14:25:15 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
fa1a0d0dc4 reenable qtwebengine on i386, it builds there OK now.
I suspect it possibly hit the QIODevice::readLine() problem fixed in
https://codereview.qt-project.org/c/qt/qtbase/+/317907 that I backported.
2021-02-14 14:34:01 +00:00
sthen
dbdd1142f5 qtbase5: backport upstream fix; "Fixes a regression in Qt 5.15 causing
QByteArray's that are returned by QIODevice::readLine() to
consume large amounts of memory."  ok rsadowski

likely to fix, among other things, redonculous memory use in lconvert,
as noticed in builds (and build failures) of astro/stellarium
2021-02-01 21:27:49 +00:00
rsadowski
9d883d0e9d Unbreak qtwebengine on arm64
OK phessler@
2021-01-31 16:34:50 +00:00
rsadowski
3f51413281 "now that we have struct ip_mreqn, start using that to avoid multiple"
multicast errors, form www/chromium robert@
2021-01-28 11:51:25 +00:00
rsadowski
c79cf052c2 Add a new mirror mirrors.ocf.berkeley.edu 2021-01-19 09:06:34 +00:00
rsadowski
490485bb0d Add missing patch 2021-01-19 08:34:02 +00:00
rsadowski
a529d24e2c Add missing qtspeech patches 2021-01-19 06:18:23 +00:00
rsadowski
27e38d6397 Update Qt to 5.15.2
This updates Qt to the latest LTS version and also contains qtwebengine 5.15.2.
LTS, whatever this mines this days.

Many thanks to all who made this possible and all the test/cpu hours!
George Koehler (octave runtime test),powerpc (cwen@), sparc64 (kmos@),
amd64,i386 (landry@ and Me)

OK landry@
2021-01-19 06:16:28 +00:00
sthen
3bfd516161 qtwebkit: disable dwz for aarch64
assertion "off == cu_size" failed: file "dwz.c", line 9607, function "recompute_abbrevs"
2020-11-23 12:39:34 +00:00
jeremy
06ac160d22 Bump related ports after default Ruby version switch
OK gkoehler@
2020-11-17 03:19:36 +00:00
cwen
9139caa299 qt5/qtbase: does not need audio/pulseaudio, reenable on !rust archs
Remove pulseaudio from BUILD_DEPENDS; there is no reference in the source code
and no configure check anymore. This reenables most of x11/qt5/* on !rust archs,
since pulseaudio needs the rust-powered spidermonkey78.

Was already hinted by adr <adr () sdf ! org> on a now closely related issue.
Tested on macppc and amd64.

OK kn@ and rsadowski@ (maintainer)
2020-10-20 16:30:27 +00:00
rsadowski
f7bb9ac822 Bump after hunspell update
The library name has changed from hunspell-1.6 to hunspell-1.7.
2020-10-09 19:12:00 +00:00
landry
7b210bcb9b Make sure systemwide minizip isnt detected.
qtwebengine bundles two incompatible versions of minizip in its chromium
copy, and everything blows if the systemwide minizip is detected.
2020-10-06 16:51:19 +00:00
naddy
4d90c22827 fix build on aarch64 by reverting (!) upstream qtwebengine-chromium's
"Fix building on aarch64 without fp16" commit
2020-09-28 14:24:42 +00:00
rsadowski
4e663bf482 Fix text-to-speech in Qt5 by adding missing dependency 2020-09-20 18:49:42 +00:00
jsg
0e21764c1b stop using -march=i686 for 64 bit atomics on i386
the now default -march=i586 includes 64 bit atomics
from Brad ok sthen@
2020-08-07 14:30:10 +00:00
rsadowski
a8290c1c33 Add missing dependency lcms2, spotted by naddy@, thanks! 2020-06-10 19:50:28 +00:00
sthen
7b9dee5fee move from setting qtwebkit version in a variable in Makefile.version and
passing it around via qt5.port.mk to setting it directly in the qtwebkit
port and setting PKGSPEC so that it's passed automatically.

test/ok rsadowski@
2020-06-09 22:43:16 +00:00
sthen
14d59fd15d remove unused MASTER_SITES0 which is set based on qtwebkit version but
at download.qt.io (which isn't going to work because we're using a fork)
2020-06-09 22:41:43 +00:00
ajacoutot
58ec9d8d05 Unbreak PKGNAME.
ok jasper@
2020-06-09 17:35:12 +00:00
jasper
39567b34b2 bump after libxslt dependency changed 2020-06-09 07:14:44 +00:00
sthen
ea58916fbf mark BROKEN-i386, this can't be built on the build machines.
it maybe possible to get it building with -Wl,--no-keep-memory or maybe
by using ld.bfd instead of LLD, if someone wants to figure out the qmake/gn
bits needed I can test diffs
2020-06-04 14:18:57 +00:00
sthen
957a415293 x11/qt5: allow ONLY_FOR_ARCHS to be overridden by ports underneath this dir.
-ONLY_FOR_ARCHS =	${GCC4_ARCHS} ${CLANG_ARCHS}
+ONLY_FOR_ARCHS ?=	${GCC4_ARCHS} ${CLANG_ARCHS}

The only port changed by this is qtwebengine, making it honour the more
restrictive ONLY_FOR_ARCHS setting in its Makefile.
2020-06-04 14:14:27 +00:00
sthen
fe1dfc73c9 qtwebengine: try DPB_PROPERTIES=lonesome on i386 to see if that allows
it to build.

[memory below the 4GB line is very limited on at least some modern
intel x86 processors as used in the package build cluster; according to
Dell systems with Skylake CPUs "allocate more memory" (to the hardware)
"as they are often configured with Thunderbolt capability" ...
"regardless of the system having actual Thunderbolt hardware" and
according to Acer they "reserve more memory for PCI-Express and MMIO
devices" - presumably same for Kaby Lake as in the build machines].
2020-05-25 11:51:12 +00:00
rsadowski
20c940311a Enable x11/qt5/{qtwebengine,qtwebglplugin,qtwebview,docs} 2020-05-22 07:33:47 +00:00
rsadowski
03857b49f1 Add ONLY_FOR_ARCHS to amd64 aarch64 i386, spotted by cwen 2020-05-18 15:29:08 +00:00
rsadowski
cdf210f11f fix build; forget to remove qtbase 2020-05-16 10:00:41 +00:00
rsadowski
88b9cb36d3 Remove ENGINIO_*; Enginio is dead 2020-05-16 09:53:09 +00:00
rsadowski
d81c8194ff Remove qtcanvas3d (Gone since version 5.13) 2020-05-16 09:45:39 +00:00
rsadowski
f53d72c892 Unbreak offline Qt5 documentation
The following doc components are gone
- qtconnectivity
- qtdatavis3d
- qtdeclarative
- qtwebkit (The effort is no longer worth it)

All doc components are installed in separate directories
2020-05-16 09:43:44 +00:00
rsadowski
c1060c3439 Add qtwebglplugin 5.13.2
Qt QPA plugin for running an application via a browser using streamed WebGL
commands
2020-05-16 08:16:39 +00:00
rsadowski
7f481c0aef Update qtwebview to 5.13.2 2020-05-16 07:53:22 +00:00
rsadowski
f7dcd54d23 Update QtWebEngine to 5.13.2
QtWebEngine is not yet enabled (hooked up) but this version works for the most
use-cases. Google maps, Youtube stream with sound, nextcloud...  I have not
tested video conferences, this is not the main use case either.

Most applications do not use QtWebEngine to implement a browser but to interact
with certain HTTPS services/websites or for showing HTML docs.

Next tasks:
 - Slowly switch and test some KDE5 applications from qtwebkit to qtwebengine
 - py-qtwebengine

FYI: We're not going to switch otter-browser to QtWebEngine. Otter is the only
browser really working on macppc.

To be honest, this would never be possible without the incredible chromium
patches collection of robert@ and his input. So a lot of patches come from
www/chromium/patches and some form FreeBSD.
2020-05-16 07:02:59 +00:00
rsadowski
7367c7e4a5 Update qtwebkit to 5.212.0alpha4v0
Changelog:
- https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4

Port changelog:
- Switch QT5_WEBKIT_VERSION from 5.212.0 to 5.212.0alpha4v0 which includes
  an EPOCH bump.
- Switch to py3, MODPY_VERSION=${MODPY_DEFAULT_VERSION_3}
  - upstream: "QtWebKit does not require Python 2 anymore for building and can
    use Python 3 instead"
- Bump QT5_WEBKIT_VERSION/MODQT5_WEBKIT_VERSION consumer

sparc64 build by jca@ Thanks!
2020-04-05 15:43:05 +00:00
rsadowski
64550cf6fe Add missing python module. Spotted by aja 2020-03-21 21:18:06 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
naddy
94ee1d9516 fix spelling of REVISION 2020-03-16 11:26:47 +00:00