206 Commits

Author SHA1 Message Date
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
rsadowski
0d96ee09e8 Enable cups and double-conversion support again
cups is necessary to fix ALL Qt5 print dialogs and double-conversion to return
to the status quo. Cause I'm here, some Makefile cleanups.

Tweak by Vadim, thanks!
2020-03-15 19:57:07 +00:00
rsadowski
6f99bb89df Update Qt to 5.13.2 and meta/qt5
Notable changes:

The good:
- Most of the work was done in qtbase
- The qtbase port comes with zstd support by default enabled
- Switched from c++11 to c++17
- Option "-openssl-linked" works now, no more ssl,crypto dlopen()d
- All shred lib bumped to be safe
- Many cleaning jobs in the Makefiles
- Add a new Qt submodule: QtLottie
- qtcanvas3d submodule is gone

The bad:
- The docs package is broken for now and unhooked
- vulkan is disabled until arm64 is vulkanready.
- Still no qtwebengine. (That would be a full time job)
- system double-conversion is no longer found by the configure step.
 - Be my guest to fix it.

The ugly:
- patch-qmake_generators_unix_unixmake_cpp
 -- That was the biggest problem, at the p2k19 I decided to solve by:
 "Transform /usr/ports/pobj/xxx/lib/libQt5Core.so into
 -L/usr/ports/pobj/xxx/build-amd64/lib -lQt5Core" ... works!

Many thanks to all who made this possible and all the test hours!
Special thanks to  sthen@, landry@, jca@ and cwen@

OK sthen@, landry@
2020-03-13 16:53:49 +00:00
rsadowski
b525531cdf Import QtLottie 5.13.2
QML API for rendering graphics and animations

Qt Lottie Animation provides a QML API for rendering graphics and animations
that are exported in JSON format by the Bodymovin plugin for Adobe After
Effects.

OK sthen@, landry@
2020-03-13 16:39:39 +00:00
rsadowski
718e639183 Fix typo in patch
http://build-failures.rhaalovely.net/aarch64/2020-02-23/x11/qt5/qtwebkit.log
2020-02-25 14:03:00 +00:00
cwen
84da683b34 x11/qt5/qt3d: use system assimp and drop patches for bundled assimp
OK rsadowski@
2020-02-23 16:16:17 +00:00
rsadowski
431b6a99ca Remove qtwebkit-examples, useless since the last qtwebkit update 2020-02-23 05:55:05 +00:00
sthen
5770d6f98e "x11/qt5/qtwebkit>=${QT5_WEBKIT_VERSION},<${QT5_NEXT_VERSION}" is no longer
valid now that the qtwebkit version is higher than the main Qt version.
Replace with "x11/qt5/qtwebkit>=${QT5_WEBKIT_VERSION}", unbreaking build.
2020-02-21 00:56:29 +00:00
rsadowski
e4040b530f Update QtWebKit from 5.9.0 to 5.212.0.
5.212.0 comes from an independent project: https://github.com/qtwebkit/qtwebkit
It's a QtWebKit with a more modern WebKit code base which fix a lot of bugs and
security holes.

Notable port changes:

- Remove qtwebkit-examples, this can go away
- Build the old qtwebkit docs, there is no new one.
- Almost all patches can be removed. New patches come from NetBSD.
- Tweak: Remove TEST_*, there is no test suite.
- Tweak: Remove MACHINE_ARCH sh so keep in sync with www/webkitgtk4


powerpc (cwen@), sparc64 (jca@), amd64,i386 (landry@ and I)

Input and help by many. Great ports team effort!
2020-02-19 16:08:53 +00:00
zhuk
835a90bb50 Start building debug packages for Qt5.
Some tweaks to come later, but this should be enough for real work for now.

okay rsadowski@
2020-01-07 20:22:06 +00:00
rsadowski
6b791626b0 unbreak qt5-docs
Renew the MASTER_SITES for qtwebkit

OK sthen@
2019-11-06 17:12:15 +00:00
jca
4eae6a81da Unbreak fetching distfiles
qt5/docs may be marked BROKEN, dpb(1) will still try to download its
distfiles.  I have checked that the checksums match other ports under
x11/qt5.

While here, also clean up REVISION as noted by sthen@

ok sthen@
2019-11-06 12:56:30 +00:00
naddy
073a808221 missing bumps after MAINTAINER change 2019-11-06 08:54:31 +00:00
rsadowski
745519a5fc Update Qt to latest TLS version 5.9.8
Tested in an amd64 bulk build by naddy@ Thanks!
multimedia/qtav was fixed. Docs is still broken but fixes are comming soon.

Drop maintainer address because nobody controls the google mailing list
openbsd-kde@googlegroups.com.
2019-11-05 10:18:53 +00:00
sthen
172d41c037 missed bump 2019-10-18 13:14:36 +00:00
rsadowski
270ee6a914 enable math/double-conversion in qtbase
While here, refresh WANTLIB and fix mysql WANTLIB
2019-10-17 19:58:16 +00:00
ajacoutot
3d9d3f5e75 Fix build with icu4c >= 65 2019-10-05 09:51:36 +00:00
cwen
4366382507 qt3d: fix the build with ports-gcc. There was a namespace issue in
the bundled assimp.

OK jca@, "go ahead" rsadowski@
2019-08-25 20:10:37 +00:00
ajacoutot
f72af7c6d5 Mark BROKEN. It fails to package for weeks now (confirmed by naddy).
"KDE porting team" does not seem to care.
2019-08-15 20:41:15 +00:00
sthen
155a4dd0fe update PERMIT_PACKAGE* in qt5/Makefile.inc, drop PERMIT_PACKAGE_CDROM from qtwebengine 2019-07-13 11:02:18 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
sthen
109458a8fa bump REVISION for ports using x11/qt5 MODULES and containing .la files in
their PLIST, following the addition of patch-qmake_generators_unix_unixmake2_cpp
to x11/qt5/qtbase/patches which adds a missing newline.
2019-06-24 20:56:45 +00:00
sthen
3da442a955 Fix .la files generated by qt5's qmake, there was a missing newline before
a comment resulting in libtool scripts not being able to parse the line
correctly. Problem reported by Vadim Penzin. Use of 'endl' rather than
'\n' requested by rsadowski.

Bumps to follow for other ports using the qt5 module and including .la files.
2019-06-24 20:50:41 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
jca
d4e14aa86e Let this build on sparc64 2019-03-21 15:59:11 +00:00
cwen
6309a2bb3b qt5.port.mk: change COMPILER
Move it to "base-clang ports-gcc" and bump REVISION accordingly.
This unbreaks Qt5-related binaries runtime on macppc.

OK sthen@
2019-03-08 20:00:39 +00:00
cwen
bc351ba8c5 qtquickcontrols2: make use of MODQT5_COMMENT in PLISTs. It
unbreaks the packaging on !x86 archs.

OK landry@ rsadowski@
2019-03-08 12:57:11 +00:00
cwen
a241d4cd12 qtquickcontrols: make use of MODQT5_COMMENT in PLISTs. It
unbreaks the packaging on !x86 archs.

OK landry@ rsadowski@
2019-03-08 12:50:37 +00:00
cwen
62a2d28320 qtgraphicaleffects: make use of MODQT5_COMMENT in PLIST. It
unbreaks the packaging on !x86 archs.

OK landry@ rsadowski@
2019-03-08 12:48:02 +00:00
cwen
da67aaa1d3 qt5.port.mk: add "MODQT5_COMMENT" SUBST_VAR
.qmlc and .jsc files cannot be built on !x86, breaking the packaging of
a few x11/qt5 subports on these archs. We're introducing here
MODQT5_COMMENT in a similar way to what python does with MODPY_COMMENT.

Tested on macppc amd amd64. Hints by George Koehler and landry@,
proposed by sthen@ (thanks you all!), applied by me.

OK landry@ rsadowski@
2019-03-08 12:43:29 +00:00