40 Commits

Author SHA1 Message Date
zhuk
251bb0813d Disable documentation again, bulk builds done by sthen@ and naddy@
continue to reveal dragons here and there. Freinds^WHacking never ends...
2015-04-23 11:49:07 +00:00
zhuk
0613a78bf3 Add another gross hack to make sure qhelpgenerator, when we ask for building
Qt5 documentation, is always picked up from build directory.

Remove IGNORE-qch as things should build fine again (unless a problem naddy@
seen today is unrelated).
2015-04-22 14:12:03 +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
a45ebee497 Add IGNORE-qch for now, until the issue with trying to run qhelpgenerator
from LOCALBASE is resolved.

Found by sthen@.
2015-04-20 19:32:38 +00:00
zhuk
7620026661 If file is updated automatically, it should be committed automatically
as well, right?.. Missing distinfo from Qt5 port update to 5.4.1, noticed
by RD Thrush and naddy@.

Sorry. :(
2015-04-20 06:23:13 +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
aa988913b0 Bump after the recent changes in packaging dbus and dconf. 2015-04-04 09:20:59 +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
landry
9784eb5c5e BROKEN-sparc64 = tries to include a non-existent qatomic_sparc.h in src/corelib/thread/qbasicatomic.h 2015-01-12 20:30:18 +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
pascal
6aed10138f Fix in powerpc by linking with --relax.
ok toolchain@ via landry@
2015-01-09 08:10:56 +00:00
zhuk
37882e094d Fix problem with all SQL drivers being probed during CMake-based configure
stage, when not all of them get installed. Actually, it was a matter of
shuffling a few .cmake files between packages.
2015-01-06 21:32:41 +00:00
landry
e148fd3b61 Surprisingly, qt5 fails to build on powerpc, relocation overflow when
linking libQt5WebKit. All hail our glorious binutils!
2015-01-05 18:13:32 +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
00b4fbef9f My CMake-related expiriments left out Qt5LinguistTools CMake files out
of package; fix that. Should fix the problem aja@ see with new Stellarium.
2014-12-22 21:30:41 +00:00
espie
b14f0f3424 same issue as qt4's qmake. requires nojunk 2014-12-22 18:51:58 +00:00
naddy
c38ae5a9a4 enable parallel building; ok zhuk@ 2014-12-22 18:00:13 +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
30d602cb96 Since GStreamer 0.10 support is disabled in Qt5, there is no libgsttools_p. 2014-12-11 17:50:03 +00:00
zhuk
d02c74d212 Tweak comments. No functional changes. 2014-12-11 17:48:44 +00:00
zhuk
b958c69f87 Zap forgotten ".if", and tweak whitespace while there. 2014-12-11 17:45:04 +00:00
zhuk
2848bc103a Use existing _MODQT5_SETUP insted of inventing new variable.
No functional change.
2014-12-11 17:39:03 +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
3ed16840ff PLIST-main tweaks. Not connected to builds, so no bump. 2014-12-10 21:22:46 +00:00
zhuk
b6aeff45c7 Allow to avoid automatic addition of gcc4 to MODULES.
This is needed in some very complicated cases (hi, Poppler!).
2014-12-10 20:11:03 +00:00
zhuk
055de4438b Since Qt5 is built with eg++, force gcc4 in MODULES for dependant ports.
There are no such in CVS yet, so no actual change.
2014-12-09 12:38:06 +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