30 Commits

Author SHA1 Message Date
zhuk
64c8dd9bd6 Update to Qt 5.5.1.
Some updates, unbreaking stuff, to follow.
2016-03-06 11:56:41 +00:00
zhuk
c104dcee3e Fix fd_set handling bug in Qt5 as well.
okay naddy@
2016-02-22 20:38:08 +00:00
sthen
a0d09ffbad remove devel/flex dep, these are ok with base flex 2015-11-20 11:24:04 +00:00
zhuk
420b39ef2d Allow COPTS/CXXOPTS ha^Wfeature to work in qmake-generated makefiles.
Similar feature existed in qt4 port, but was lost during Qt5 porting.

Inspired by conversation with Caspar Schutijser, should help him on
updating Qt Creator port.
2015-10-20 21:37:26 +00:00
ajacoutot
8e5bc8506f Unbreak: libexecinfo header seems to be picked up after the switch to gcc4.9, so
add the corresponding QMAKE_LIBS_EXECINFO to qmake.conf for the time being.
2015-05-29 07:14:44 +00:00
zhuk
e191b5b217 Improve hack that avoids picking up compiler intrinsics from
/usr/include in favor of /usr/local/lib/gcc ones by Qt5: now it
helps all qmake-qt5-based software as well.

Fixes problems aja@ was seeing with games/gottcode/tanglet at least.
2015-05-04 10:37:01 +00:00
zhuk
0f44a60a31 It's always better to run update-patches BEFORE commit... 2015-04-25 18:41:30 +00:00
zhuk
c1305c51e5 Remove patch not needed anymore since we have .cpp.o rule in sys.mk now. 2015-04-24 16:31:57 +00:00
zhuk
e7223cf23d Add a deubg printout for qhelpgenerator, which should help to find the root
cause of packaging bug naddy@ observes.

Enable documentation generation again.
2015-04-24 16:16:39 +00:00
zhuk
9e46863387 Drop the patch not needed anymore. Bump REVISION because the affected file
goes into package.
2015-04-22 12:29:34 +00:00
zhuk
9f8f3ac2d5 Update x11/qt5 to 5.4.1. Improvements included:
* Builds fine when another version being installed;
  * Start building documentation, HTML generator bug was fixed (patch is
    waiting for inclusion upstream);

This update do NOT include QtWebEngine: it relies on building from
Chromium sources (bundled with Qt5) and is a real pain to proceed; so lets
concentrate on what we already have.

All dependant ports are checked by building and running.
2015-04-19 13:18:28 +00:00
ajacoutot
d140c22fb9 Fix qtWebkit build with new GLib. 2015-03-27 16:02:32 +00:00
zhuk
0652476dd9 Try to allow Qt5 to get compiled on SPARC: native atomics implementation
was dropped in Qt 5.2, but Qt could use GCC ones - why not?

Initial report from landry@
2015-01-24 22:09:40 +00:00
zhuk
c31af39d7c Avoid last bits of rand() usage in Qt5 libraries. 2015-01-21 20:49:50 +00:00
zhuk
ea1384638b More strcpy() fixes for Qt5. Now, if you see warnings from linker, you
can't reassure yourself that "it's Qt5, not my app" anymore.

Noticed by Adam Wolk (hope now I thank the right person), thanks!
2015-01-21 20:40:46 +00:00
zhuk
83b6a8d8d8 Enable W^X in JIT for Qt5 WebKit.
Tested using Otter Browser on amd64.
2015-01-20 13:38:42 +00:00
zhuk
5d2a0ac57a Make Qt5 pick up certs from /etc/ssl. Fixes annoying warnings in browsers.
Similar (but less invasive) patch was done for Qt4 as well. There is no
valid point for allowing Qt5 to look at many other places, which could
happen be accessible by unauthorized users by occasion, thus we hardcode
the /etc/ssl/ as the only vaild place.
2015-01-20 13:27:59 +00:00
naddy
9b935b0068 <sys/socket.h> already exposes struct iovec, no need to include <sys/uio.h>.
Remove now useless patches.
2015-01-20 11:44:19 +00:00
zhuk
6239cddefd /tmp/cvszOZN00 2015-01-15 11:10:02 +00:00
zhuk
cdecce878f Better patch (likely to fix at least some crashes seen in Qt5Webkit),
similar to what real upstream (i.e, WebKitGTK) has.
2015-01-10 22:02:56 +00:00
zhuk
9a16c55c34 Enable W^X in Qt5WebKit/QtDeclarative JIT.
The code looks like initially developed for iOS, but compiles perfectly
on OpenBSD as well. No reason to avoid another hardening that comes
for free, right?
2014-12-26 00:02:32 +00:00
zhuk
361940faf2 On OpenBSD, we override shared library versions. This breaks Qt-GTK
interaction, as found by Adam Wolk (thanks!).

Fix by stopping requiring exact major version of GTK+ libraries.
2014-12-25 23:35:44 +00:00
zhuk
2856c09139 Forgotten to being committed qstrcpy-related patch.
Noticed by naddy@.
2014-12-20 12:15:34 +00:00
zhuk
497ce7ec75 Remove qstrcpy() from Qt5. It has no forgivable reason to exist.
Thanks to sthen@ for grepping in sources of Qt-based ports.
2014-12-13 05:47:37 +00:00
zhuk
544d3d0047 Check that QMAKE_OPENBSD_SHLIB is set as well; otherwise, let the qmake
follow the usual rules.

Not connected to build => no bump.
2014-12-12 23:31:33 +00:00
zhuk
24a406099e Fix usage of Qt5 from CMake.
CMake files are not installed in ${PREFIX}/lib anymore; instead,
the qt5.port.mk will provide necessary environment variables to help
CMake to find the Qt5 packages.

Not connected to build, so no bump.
2014-12-11 13:24:27 +00:00
zhuk
b142a87b32 Enable C++11 in Qt5. Needed, e.g., in modern Qt Creator.
With help from espie@ in alloca(3)-related bits.
2014-12-10 22:42:17 +00:00
zhuk
38fb3e8d1b Avoid usage of GStreamer 0.10. 2014-12-10 22:40:05 +00:00
zhuk
8772f4cf34 Allow V4L support to compile.
Help from armani@, thanks!
2014-12-10 21:23:54 +00:00
zhuk
96feb7792a Import Qt 5.3.2.
Qt is a full development framework with tools designed to streamline
the creation of applications and user interfaces for desktop,
embedded, and mobile platforms.

This port is not enabled yet, because some ports will pick up Qt5
instead of Qt4, breaking build. Those will be fixed separately soon.

There are some non-critical things left to do:

1. Support for OpenBSD sensors framework.
2. V4L2 support.
3. -L${LOCALBASE}/* could come before -L${WRKBUILD}/* when linking is
   done across Qt module boundaries. This means that builds of Qt 5.y
   while having Qt 5.x installed (x < y) will be busted.

Volunteers are welcome to come in and help fixing those problems.

Last note: don't even try to build "debug" FLAVOR unless you know
what you're doing and you have about 20GB of free space. You've
been warned.

landry@ agrees on continuing working in-tree
2014-12-08 20:33:38 +00:00