166 Commits

Author SHA1 Message Date
dcoppa
69ec48c907 $ file /usr/local/lib/qt4/bin/{findtr,syncqt}
/usr/local/lib/qt4/bin/findtr: a /usr/bin/perl -w script text executable
/usr/local/lib/qt4/bin/syncqt: a /usr/bin/perl -w script text executable

These are both perl scripts, so use INSTALL_SCRIPT instead of
INSTALL_PROGRAM.

While here: qt-project.org -> qt.io in some comments.
2016-11-07 09:46:29 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
dcoppa
16547e01f0 USE_WXNEEDED, add "-Wl,-z,wxneeded" to Qt5WebKit and QtWebKit
pkg-config files.

Similar commit to what was done to www/webkit, and www/webkitgtk4.

OK ajacoutot@, landry@
2016-09-06 09:00:19 +00:00
jca
12d284b187 Add an abstraction for the lrelease Qt tool
ok sthen@ zhuk@
2016-05-18 19:12:22 +00:00
zhuk
ed298848a3 Zap more lines from qmake-based ports by moving them from
the "MODULES=x11/qtX + CONFIGURE_STYLE=qmake" logic to
the "MODULES=devel/qmake x11/qtX" logic.

Discussed with espie@ a few weeks ago.
2016-03-26 20:37:34 +00:00
naddy
2c4204cf62 remove SHARED_ONLY from simple ports that use the gettext or libiconv module 2016-03-18 21:38:22 +00:00
zhuk
3b286ff983 Switch to a separate qmake.port.mk. Simplifies logic a lot.
This removes support of separate qmake versions in one port: as we
discovered, there are no ports actually needing this; strangers like
print/poppler don't use qmake in build.

This should be transparent to current ports. But expect more tweaks there:
for now, qt?.port.mk forces qmake.port.mk inclusion, but that will be
reworked to a more common scheme.

Same idea from (at least) espie@ and me; also, espie@ agrees on the plan.
2016-03-10 17:45:11 +00:00
zhuk
7a14b38014 Don't use MAKE_FILE, but hardcode Makefile instead: that's what qmake
actually generates, and some tricky ports like games/gambatte fail when
qmake-specific part tries to use MAKE_FILE variable.
2016-03-09 16:54:28 +00:00
zhuk
1da7a6a5ad Don't write GNU make-style lines in makefiles, for variables not used
in OpenBSD at all. Unbreaks some not-yet-ported software.
2016-03-08 13:32:24 +00:00
zhuk
ca0f46bce1 Unbreak the case of USE_SYSTRACE=Yes: we tried to run under systrace
always, and bsd.port.mk invokes systrace for us already when in do-build
or do-install target.
2016-03-07 10:13:32 +00:00
zhuk
bac221c6eb Add support for CONFIGURE_STYLE=qmake. No ports affected, since this is
an opt-in. Actual qmake-based ports will be switched on case-by-case
basis in the near future.

Unslacking after discussion with at least naddy@ & espie@ from... 2014?!

Oh my.
2016-03-06 23:59:51 +00:00
zhuk
579b91f112 It's always better to commit from the right tree. POLLOUT, not POLLHUP. 2016-02-10 13:26:46 +00:00
zhuk
ee66b8cdb3 Fix stack smashing happening when Qt4-based program opens more than
FD_SETSIZE (1024 by default) file descriptors. This is often the case
for KDE4 apps when using libinotify as directory monitoring backend.

Positive feedback from deraadt@, final okay sthen@
2016-02-10 13:12:23 +00:00
zhuk
3e0f94a8dc Fix wrong fix (made by yours truly as well) for TLS protocol choosing.
It was the same story again: TLSv1_*_method() are TLSv1.0, not TLSv1.x.

Should fix problems landry@ and sthen@ (and likely others) were seeing.

Joint work with and final okay sthen@
2016-01-06 17:17:32 +00:00
sthen
391dc93fe7 REVISION bumps following the additional member in struct if_data,
to make sure packages get updated
2015-10-05 16:29:01 +00:00
dcoppa
8a8649cef5 Fix libQtNetwork warnings following SSLv3 removal
OK sthen@, zhuk@
2015-09-17 12:24:41 +00:00
dcoppa
ab5d45ef88 Add lconvert to ${PROGRAMS4}, so that a symlink:
/usr/local/bin/lconvert4 -> /usr/local/lib/qt4/bin/lconvert

is created.

Fixes a mail/trojita build failure spotted by ajacoutot.

lconvert was introduced with Qt-4.5, so we probably forgot to add
it to ${PROGRAMS4} at the time...

Tested in a bulk. OK ajacoutot@, zhuk@
2015-09-16 07:13:02 +00:00
dcoppa
cb2f2345d4 Bugfixing update to qt-4.8.7.
And use the new "qt.io" for HOMEPAGE / MASTER_SITES.

No fallout in a bulk build (ajacoutot@)

OK espie@ (maintainer)
2015-06-03 07:28:01 +00:00
kettenis
a317cf2c85 On amd64 we need to make sure function calls in inline assembly code go
through the PLT, so do on OpenBSD what Linux and FreeBSD are already doing.

Fixes build with binutils 2.17 and fixes a potential runtime issue with
binutils 2.15.

ok espie@
2015-05-13 14:03:07 +00:00
zhuk
207a81481b Disable SSLv3 by default in Qt4.
okay espie@ (MAINTAINER), went through a couple of KDE4 builds.

This should been committed a while ago. Even more, I was thinking that this
patch *was* committed at Oct 22... It's probably better late than never.
2014-11-13 18:33:24 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
landry
30babd84f5 BROKEN-hppa = libQtWebKit.so.3.0: undefined reference to `__sync_sub_and_fetch_4'
No point in trying to build it for days before seeing it failing horribly
because hppa/atomic ops/webkit... there might be an easy fix/workaround;
but right now hope is lost.
2014-08-18 18:29:08 +00:00
dcoppa
4ff10fcb72 Ooops! Unbreak. 2014-07-12 11:33:32 +00:00
dcoppa
0669ee3cc2 Update qt4 to version 4.8.6.
OK espie@, jasper@, bcallah@ some time ago
2014-07-12 11:10:14 +00:00
naddy
a31af4faa8 Fix a GNU-ism in a sed expression that gets copied into generated Makefiles. 2014-05-26 19:24:28 +00:00
ajacoutot
93ef35c247 Add textproc/icu4c to run_depends since it gets dlopen'd.
ok espie@ (maintainer)
2014-04-09 12:30:41 +00:00
dcoppa
b035ee0b27 Fix for CVE-2013-4549: QXmlSimpleReader in Qt before 5.2 allows
context-dependent attackers to cause a denial of service (memory
consumption) via an XML Entity Expansion (XEE) attack

From upstream via Arch Linux

OK espie@ (maintainer)
2014-03-12 13:18:37 +00:00
naddy
14ddc1fd12 don't include <sys/timeb.h>; ok espie@ 2013-12-05 16:54:19 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
dcoppa
014edbca03 Revert "QTBUG-15319: fix shortcuts with secondary Xkb layout."
The change which attempted to fix QTBUG-15319 broke keyboard shortcuts
for non latin keyboard layouts.

This patch reverts QTBUG-15319 (f45cdeda8) since it caused a
regression.

From upstream via Arch Linux.

OK espie@ (maintainer)
2013-11-15 10:52:24 +00:00
sthen
7e3095cdd6 Partially revert fix for CVE-2013-0254 which does not work with our
privilege-separated X and caused broken displays for applications using
qt frames, diff from dcoppa, okay espie.

(An alternative fix would be to disable shm support, i.e.
"CONFIGURE_ARGS += -no-mitshm", I'd prefer this but it would need further
testing).
2013-10-24 08:39:14 +00:00
dcoppa
0f85a8da17 Maintenance update to qt-4.8.5 (plus three bugfixes from upstream
via Arch Linux).
Feedback from zhuk@, espie@, and Amit Kulkarni.
ABI/API compatibility analysis done with abi-compliance-checker.

ok espie@ (MAINTAINER)
2013-10-04 13:15:39 +00:00
brad
17833ea850 Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes co-routines. The X86
specific GCC ASM co-routine support hid the fact that there was an issue.
The only fallback code so far is POSIX user contexts which OpenBSD does not
support.

Input from and Ok sthen@ jasper@
2013-06-12 20:36:33 +00:00
naddy
10bfdff492 the png headers are now directly under include/ 2013-06-04 18:41:39 +00:00
brad
0b77cf86a5 Switch from using MySQL to using MariaDB. MariaDB is a drop-in replacement.
ok sthen aja
2013-05-25 00:33:09 +00:00
sthen
e5afc3fb45 As worked out by naddy, qt4 only builds gtk theme support if gtk+2
was present at configure time, so the build is non-deterministic.
(notably audio/musique build fails unless qt4 was built with gtk
theme support). Add gtk+2 as a build dep to avoid this. Sync WANTLIB
while there.  ok espie@
2013-04-27 15:42:15 +00:00
brad
83f4b5395c Better comment explaining the purpose of the workaround.
ok espie@
2013-03-16 08:44:55 +00:00
landry
af6d444f4b Fix moc/BOOST_JOIN breakage after boost 1.53 update, from Amit Kulkarni.
https://bugreports.qt-project.org/browse/QTBUG-22829
Unbreaks games/pokerth and cad/openscad.

ok espie@ (maintainer)
2013-03-15 17:01:31 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
zhuk
ef5f85b58c Add /etc/ssl to the list of directories containing "system" CA certs,
allowing Qt4 (and thus KDE4) programs to use /etc/ssl/cert.pem.

okay @espie
2013-03-08 18:12:38 +00:00
espie
9c744b5f7c grr double define does nothing 2013-01-19 11:08:09 +00:00
bcallah
c6f73143af Allow qt4 to build on mips64* - note that build is quite literal here.
The resulting qt4 does not work.

ok espie@ landry@ jasper@
2013-01-14 22:09:43 +00:00
espie
1d27848ff3 use new dpb annotation to work around bug in dependency scanners.
as discussed with dcoppa@, sthen@
2013-01-03 15:48:42 +00:00
landry
c4c6cd0dc5 Fix QtWebkit on amd64. With the default 512Mb datasize ulimit, any app
using it crashes right away at startup, since it tries to preallocate
1Gb of memory.

From webkit's patch-Source_JavaScriptCore_jit_ExecutableAllocatorFixedVMPool_cpp
tested with mnemosyne & arora.
2012-11-05 16:29:50 +00:00
sthen
3df6228b5a When dlopen()ing shared libraries for optional dependencies, Qt4 wants to
load a specific version of the library to avoid ABI breakages, however it uses
upstream shared lib versions which don't match those in our ports. This has
already been patched where it tries to open gtk+2/cups by removing the version
check. See ports@ thread "UPDATE: kdiff3-0.9.97" where this was discussed with
fgsch, dcoppa, espie and myself, upshot is this isn't totally clean but isn't
really worse than what we had before and it fixes use of icu4c from Qt4.
This diff from fgsch, testing/ok by me, ok espie.
2012-10-11 01:18:09 +00:00
naddy
a6ebe21f0d mark for parallel building 2012-09-30 20:27:50 +00:00
ajacoutot
d9a4bcc50e Bump after gstreamer-plugins-base subpackaging change. 2012-09-06 12:38:35 +00:00
ajacoutot
0bbbd35e32 register-plist did not catch the devel/glib2 -main -> empty change.
espie asked me in such a nice way to fix this that I'm bumping all ports
that have a direct dependency on glib2.
2012-09-01 14:36:56 +00:00
ajacoutot
d53ee2856c Handle cups >= 1.6 2012-08-04 15:07:24 +00:00
espie
b60dcae74a update to 4.8.2
- since we no longer have GCC3_ARCHES, simplify, no way it's gonna compile
on a GCC2_ARCH anyways (size matters)
- so, we have only SHARED_ONLY arches, remove those frags as well.
- fold back qt4-sqlite since sqlite is part of core now.
2012-06-14 09:38:35 +00:00