Commit graph

57 commits

Author SHA1 Message Date
Max Brazhnikov
7d5e6b666c In preparation for Qt 5 ports:
Mk/Uses/qmake.mk:
- Add support for out-of-source builds
- Add support for Qt 5 ports
- Respect WITH_DEBUG

Mk/bsd.qt.mk:
- Massive rework for Qt 5 ports
- Remove '-phonon' from global configure args, thus allow qt4-designer and
  qt4-qtconfig to be built without Phonon support [1]

devel/qmake4:
- Improve mkspecs for gcc (mainly sync with linux version) and clang

devel/qt4-corelib:
- Convert to USES=iconv
- Remove ancient patch

devel/qt4-designer:
- Remove reference to WRKSRC from installed pkgconfig files [2]
- Don't build Qt Designer plugin for Phonon from outdated Qt sources.
  Separate port for plugin will be committed later

devel/qt4-assistant-adp, devel/qt4-libqtassistantclient:
- Convert to USES=qmake

Clean up Qt4 ports:
- Update comments
- Update description; use common description
- Consistently use QT_INCDIR, QT_LIBDIR, etc.
- Use options helpers
- Convert to new LIB_DEPENDS syntax
- Update DESKTOP_ENTRIES to avoid conflicts with Qt 5 ports
- Rename/move several ports for unification with Qt 5 ports

PR:		ports/184620 [1]
Reported by:	Kevin Zheng <kevinz5000@gmail.com>

PR:		ports/181141 [2]
Reported by:	thierry

PR:		ports/185101
Exp-run by:	bdrewery

This is mostly solely avilla's work in area51, kudos to him! And a couple
commits from myself, so you know who's collecting pointyhats :)
2014-01-06 16:16:52 +00:00
Raphael Kubo da Costa
ecda38b0a5 Update Qt to 4.8.5 and Qt Creator to 2.8.0.
Proudly brought to you by the KDE on FreeBSD team, with commits by makc@,
Schaich Alonso and yours truly.

Besides the tons of upstream fixes, we have mkspecs for GCC 4.9 and clang33
(from ports), staging support in the Makefiles and dependency fixes related
to pkg-config.

Many thanks to the people who helped test the ports using our area51
repository, and also to the people who provided patches and bug reports via
GNATS!

PR:		ports/180615
	        ports/181921
		ports/182049
2013-10-13 23:15:50 +00:00
Baptiste Daroussin
7e5a7bfffd Add NO_STAGE all over the place in preparation for the staging support (cat: x11-toolkits) 2013-09-20 23:57:47 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Baptiste Daroussin
b66d32f5b3 Remove latest usage of X_FONTS_ENCODINGS_PORT and X_FONTS_TTF_PORT 2013-07-08 11:42:01 +00:00
Raphael Kubo da Costa
ac6d3964e4 Add the patch I added to qt4-corelib in r317896 to some other Qt ports.
These ports which previously failed to build with clang-i386 use their
private copies of the qsimd_p.h header, since this private header is not
installed at all (which, in turns, makes the PORTREVISION bump in
qt4-corelib quite useless).

We thus need to add a copy of the same patch to all these ports to make sure
the qsim_p.h they use when being built is actually the one we want.

Hopefully this gets miwi happy and people on clang-i386 can build these
ports again.
2013-05-15 11:40:38 +00:00
Raphael Kubo da Costa
760949cffa Import my upstream commit to fix the detection of 3dNOW! support.
The patch was originally written by dim@ and fixes the way Qt includes the
<mm3dnow.h> header. See the upstream commits' message for more information.

Practically speaking, this should make the Qt ports build with clang on i386
again, and allows us to revert commits r316233, r316348 and r316341: miwi
was very laconic in his commit messages, but the changes all point to the
issue being fixed here.

Submitted by:	dim
2013-05-11 17:31:45 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Martin Wilke
1e188c75cf - Make qt4 compile under FreeBSD 10
Approved by:	makc @#kde-freebsd/freenode
2013-04-22 15:03:18 +00:00
Koop Mast
7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00
Max Brazhnikov
c2dd4d2e2d KDE/FreeBSD team presents Qt 4.8.4 and QtCreator 2.6.1 ports.
The area51 repository features commits by Alonso Schaich, avilla, fluffy,
jhale, makc and rakuco.

Common changes:
- Trim Makefile header
- Convert to new option framework
- Add/improve desktop entries
- Remove upstreamed patches

Mk/bsd.qt.mk:
- Set QMAKESPEC at late stage (to fix potential problem if USE_GCC is used) [1]

devel/qmake:
- Fix crash due to off-by one error [2]

multimedia/qt4-phonon*:
- Deprecate in favour of multimedia/phonon*

www/qt4-webkit:
- Make dependence on GStreamer optional [3]

devel/qtcreator:
- Enable qml-designer in devel/qtcreator (requires privite Qt headers) [4]

Reported by:	avg via irc [1]
Submitted by:	avg via maillist [2]
PR:		ports/175644 [3]
Submitted by:	danfe [3]
PR:		ports/169809 [4]
Reported by:	tcb <tcberner at gmail.com> [4]
2013-02-03 17:21:56 +00:00
Alberto Villa
014d8ee951 - Backport patch to fix text cursor position:
https://bugs.kde.org/show_bug.cgi?id=296490
- Bump PORTREVISION.

Obtained from:	Qt Project
2012-07-04 17:46:23 +00:00
Alberto Villa
e12c7843b1 - Add note about kern.ipc.shmall tuning.
- No PORTREVISION bump needed.
2012-06-15 08:09:21 +00:00
Martin Wilke
9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00
Raphael Kubo da Costa
7522974a94 The KDE on FreeBSD team is happy to update Qt to its 4.8.2 release.
The upstream changelog can be seen in
<https://qt.gitorious.org/qt/qt/blobs/4.8/dist/changes-4.8.2>.

Relevant changes include a few patches having been integrated upstream
and thus removed from the ports tree and some improved work on USE_QT4
in bsd.qt.mk.
2012-06-02 00:08:27 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Max Brazhnikov
d76f1d8bf4 KDE/FreeBSD team presents Qt 4.8.1 in ports! 2012-05-25 01:44:04 +00:00
Alberto Villa
492e3e6a29 - Fix MIT-SHM problem.
- Bump PORTREVISION.

Qt raster graphics system engine tries to attach to shared memory
segments marked for removal, which is forbidden by POSIX (shmctl(2)).
Backport a fix to invert order of operations.
The issue was triggered by Marble and KDE-Games, which resulted in
blank windows.

PR:		164742
Approved by:	portmgr via miwi
Obtained from:	Qt Project
Feature safe:	yes
2012-03-13 10:03:32 +00:00
Max Brazhnikov
45ef7f0c3a Unbreak 2011-05-03 21:24:38 +00:00
Pav Lucistnik
a441031b5a - Limit brokedness status to amd64 arch
Reported by:	Michael Butler <imb@protected-networks.net>
2011-05-02 21:28:05 +00:00
Pav Lucistnik
1dd03d4314 - Mark BROKEN on 9.X: does not compile
image/qimage_ssse3.cpp:68: error: '__m128i' does not name a type

Reported by:	pointyhat
2011-05-01 22:58:49 +00:00
Alberto Villa
b140da0491 - Update Qt to 4.7.2.
- Backport QSslCertificate patch.
2011-03-25 09:54:16 +00:00
Max Brazhnikov
43a46c6993 KDE FreeBSD team is glad to present Qt 4.7.1 in ports.
Along with Qt4 the following ports are updated:

PyQt4 ports to 4.8.1
devel/py-sip to 4.11.2
devel/qscintilla2 to 2.4.5
PyKDE3 to 3.16.7
PyQt3 tp 3.18.2-snapshot-20091119

New ports added:
devel/qt4-declarative
devel/py-qt4-declarative
x11/qt4-graphicssystems-opengl

This release has been contributed by:
Thomas Abthorpe (tabthorpe)
Max Brazhnikov (makc)
Dima Panov (fluffy)
Alberto Villa (avilla)

We'd like to thank Martin Wilke (miwi) for exp-run.
2010-12-02 19:47:17 +00:00
Kris Moore
ee837cebf4 Improve handing of LD_LIBRARY_PATH when doing non-standard LOCALBASE builds. 2010-10-15 20:54:22 +00:00
Max Brazhnikov
49bbb6792c Fix build for on powerpc64
PR:		ports/148199
Submitted by:	nwhitehorn@
2010-07-09 16:24:55 +00:00
Dima Panov
0a0091d287 - The FreeBSD KDE team is pleased to announce Qt-4.6.2 for FreeBSD
With hat on:	kde@
2010-05-11 10:09:51 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Max Brazhnikov
43902f6ecc The FreeBSD KDE team is pleased to announce Qt-4.6.1 for FreeBSD. 2010-01-21 21:13:21 +00:00
Martin Wilke
e9424863a5 - Update to Qt-4.5
The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (myself)
2009-11-26 23:24:38 +00:00
Max Brazhnikov
e90ceb3252 - add dependency on devel/xdg-utils to improve usability under non-KDE/GNOME [1]
- add dependency on basic set of TrueType fonts [2]
- minor clean-ups
- bump PORTREVISION

PR:		ports/138722 [1]
Reported by:	Mark Andrews [1], bsam via #bsdports [2]
Feature safe:	yes
2009-09-15 19:30:47 +00:00
Martin Wilke
437140d5ee - Update Qt4 to 4.5.2
The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (pav/miwi)
2009-08-04 20:04:38 +00:00
Dirk Meyer
0c45b9a6c1 - fix BUILD_DEPENDS 2009-05-19 21:05:16 +00:00
Dirk Meyer
512a567ee1 - use cups-client as depency
Approved by:	miwi
2009-05-18 13:56:18 +00:00
Max Brazhnikov
0b3d180207 Add patch to fix crash in qt painting engine (KDE bugs/174065) 2009-03-02 21:27:41 +00:00
Markus Brueffer
6f4bc1adac - Fix a bug in in QGraphicsProxyWidget that is responsible for many
notification related crashes in KDE4's plasma desktop. This patch
  will be part of Qt 4.4.4.
- Bump PORTREVISION

KDE Bug:	175753, 176235
Submitted by:	Dwayne MacKinnon <dmk@ncf.ca>
Obtained from:	KDE SVN
2009-02-18 18:14:49 +00:00
Max Brazhnikov
5c3471f6f0 kde@freebsd team is pleased to announce the update for Qt4 ports.
Qt4 ports have been updated from 4.4.1 to 4.4.3.  With this update
new port misc/qt4-l10n has been added.  This port provides localisation
support for Qt4 developers tools designer, linguist, etc.

Approved by:	miwi (mentor)
2009-01-13 20:34:49 +00:00
Martin Wilke
78e0f8b14b - Reconvert to USE_XORG
Submitted by:	Baptiste Daroussin (via #bsdports)
2008-09-05 12:15:53 +00:00
Martin Wilke
d56984b056 - Update to qt 4.4.1
Note:
	With this update several ports specific problems
	have been fixed. Qt4 headers and libraries have
	been moved to include/qt4 and lib/qt4. bsd.qt.mk
	defines QT_INCDIR and QT_LIBDIR now, which could
	be used in qt4-dependent ports if required.

Thanks to:	Max Brazhnikov Danny Pansters
2008-08-04 23:30:38 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Michael Nottebrock
104079cc5e Some more include search path massaging for the WITH_CUPS case.
PR:	ports/122017
2008-03-31 19:02:32 +00:00
Michael Nottebrock
06ccc547f1 Update to Qt 4.3.4 2008-03-13 17:57:19 +00:00
Michael Nottebrock
deaff82245 Update to Qt 4.3.1. 2007-09-02 06:23:28 +00:00
Michael Nottebrock
e332496be5 - bsd.qt.mk:
QT_COMPONENTS can now be depended on at runtime or buildtime only by
specifiying them as <component>_build or <component>_run, respectively.
Specifying <component> without any suffix will depend on the component
at both build- and runtime just like before.

- Convert Qt core ports to use the new dependency switches.

- Add a patch to corelib to fix Qt4 on ARM, submitted by:
  Björn König <bkoenig@alpha-tierchen.de>
2007-08-02 22:37:40 +00:00
Michael Nottebrock
a8f26cf252 Fix various format string vulnerabilities in Qt3 and Qt4.
Security:	http://trolltech.com/company/newsroom/announcements/press.2007-07-27.750375
Security:	CVE-2007-3388
2007-07-30 21:53:10 +00:00
Michael Nottebrock
902b1b5d70 The bug that makes gcc 3.4 choke on some amd64 inline assembler does not
only affect the Qt4 core ports but ports depending on them as well, so
try a more sweeping approach for a workaround.
2007-07-27 10:31:45 +00:00
Michael Nottebrock
e4cf5b355b Fix build on amd64.
PR: ports/114734
2007-07-21 13:46:37 +00:00
Michael Nottebrock
8bd00266dc Update to Qt 4.3.0, introduce bsd.qt.mk.
Approved by: portmgr (bsd.port.mk changes)
2007-07-16 10:12:15 +00:00
Michael Nottebrock
5a7a691ef8 Avoid picking up qt33 headers 2007-06-01 20:26:48 +00:00