summaryrefslogtreecommitdiffstats
path: root/package/qt
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405Romain Naour2016-04-201-0/+7
| | | | | | | | | | | | | | | See bug report https://sourceware.org/bugzilla/show_bug.cgi?id=19405 Fixes: http://autobuild.buildroot.net/results/ee562524c5b12191e584ceae89006c5a5103e700 Signed-off-by: Romain Naour <romain.naour@gmail.com> [Thomas: - rename BR2_TOOLCHAIN_BINUTILS_HAS_BUG_19405 to BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 - propagate to the qwt package, which is now selecting BR2_PACKAGE_QT_GUI_MODULE.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix static linkingJörg Krause2016-04-151-0/+116
| | | | | | | | | | | | | | | | | | | | | | `-ldl` option is used unconditionally in `QMAKE_LIBS_DYNLOAD` while libdl is not supported when libc is static. As the value of `QMAKE_LIBS_DYNLOAD` goes into 'Libs.private' field of the pkgconfig files created by qmake, static linking with qt will fail with: /usr/bin/ld: cannot find -ldl Fix this issue by adding a build test to configure to check if libdl is supported. `QMAKE_LIBS_DYNLOAD` in "src/corelib/plugin/plugin.pri" is now used only if libdl is available. Fixes: http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/ http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/ Backported from Qt5: https://github.com/qtproject/qtbase/commit/f669ea0d54302de31456d57286aa0e4ca1443e98 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: Fix musl buildJörg Krause2016-04-151-0/+43
| | | | | | | | | | | | | | | | | | | | | | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' only for legacy glibc < 2 and not also for other libraries which may define it as per standards but are not glibc, e.g. musl. Fixes the following build error: In file included from ../../include/QtNetwork/private/qnet_unix_p.h:1:0, from kernel/qnetworkinterface_unix.cpp:46: ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h: In function 'int qt_safe_accept(int, sockaddr*, int*, int)': ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:121:76: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive] Fixes: http://autobuild.buildroot.net/results/709/709d547699596d09b4601a7940677d2010adeedf/ http://autobuild.buildroot.net/results/f05/f0589e1d06404a7bd57f5734228afe45164e553d/ Backported from Qt5: https://github.com/qtproject/qtbase/commit/813f468a14fb84af43c1f8fc0a1430277358eba2 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: get rid of extra spaces in license file listDanomi Manchego2016-04-131-6/+6
| | | | | | | | | Use "QT_LICENSE := $(QT_LICENSE), xxxx" construct to get rid of the extra spaces before commas added by the font license clauses. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add font license informationPeter Seiderer2016-02-271-0/+17
| | | | | | | | | | | | | | | With this implementation, the different licenses will be separated with <space><comma>. This is not nice, but to avoid it a pretty ugly construct is needed: QT_LICENSE = $(shell echo $(QT_LICENSE_BITS) | sed 's% , %, %g') Since the <space><comma> is just a minor nuisance, we're not going to that kind of complexity. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: properly enable script aarch64 supportGustavo Zacarias2016-02-241-1/+1
| | | | | | | It's BR2_aarch64, not aarch64 alone. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: script & webkit depend on BR2_TOOLCHAIN_HAS_SYNC_4Gustavo Zacarias2016-02-241-2/+4
| | | | | | | | | | | | They use __sync_add_and_fetch_4() and other 32-bit atomics, fixes: http://autobuild.buildroot.net/results/7ac/7acdbc54e26ad2ba4756512614192be0a086f563/ Also remove sparc from supported architectures since it won't grow atomics support magically. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt4: fix static building if libglib-2.0 is enabledAlexey Brodkin2016-01-141-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | Here we're seeing another issue with static builds. Problem is Qt's configuration system post-processes output of pkg-config removing duplicate entries. That's fine for dynamic builds - all symbols will be resolved in runtime but for static builds we need to specify explicit and correct list of libs. See more explanations in the patch itself. This patch was sent in Qt's Gerrit for review and could be seen here: https://codereview.qt-project.org/#/c/145967/ Fixes a couple of qt4 build failures: http://autobuild.buildroot.net/results/174/174c6e47eb761f9897275b6fedff742ace2f3081 http://autobuild.buildroot.net/results/273/273676f1deee986a205b63e92cd6042c29ba1578 http://autobuild.buildroot.net/results/4f9/4f92d1316e786d8bb3c16b748f1ab731562540e3 and many others. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Lada Trimasova <ltrimas@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: add missing select BR2_PACKAGE_TSLIBThomas Petazzoni2015-12-301-0/+5
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/36c/36c56d10abcf96afd389f2ebe8db4dc13659997b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain-external: CodeSourcery SH: support only one versionRomain Naour2015-12-201-1/+1
| | | | | | | | | | | | See the conclusion about external toolchains during the Buildroot meeting [1]: "In the future, we stick to a single external toolchain version. The Kconfig symbol should not encode the version (avoid legacy handling)" [1] http://elinux.org/index.php?title=Buildroot:DeveloperDaysELCE2015#Report Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix build for arm with BR2_STATIC_LIBSAlexander Lukichev2015-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | Some Buildroot-generated static toolchains for ARM do not have dlfcn.h header, which breaks builds of qt-4.8.7 because its QtCore's plugin loader expects this header to be present (and dynamic libraries to be supported). For certain platforms without dynamic libraries, there is a QT_NO_DYNAMIC_LIBRARY constant defined in plugin loader's source. This patch puts that constant into Qt's build environment if Buildroot is configured without shared library support. Fixes: - http://autobuild.buildroot.net/results/11a4c19638ca211bd2a424fd92602166235c9433 - http://autobuild.buildroot.net/results/c056e8781558267f6971a5f017f47e90dcf24e07 - http://autobuild.buildroot.net/results/b8f34afa8686e890a1a3882a52081bb6a3b9c13b and several others. Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix directfb-1.7.7 compile errorsPeter Seiderer2015-09-101-0/+163
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: enable Script and WebKit modules for ARCAlexey Brodkin2015-07-181-2/+2
| | | | | | | | | | | Now when ARC toolchain also supports NPTL both Qt's Script and WebKit modules could be successfully built and then executed on ARC. [Thomas: fix alphabetic ordering.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use backtick instead of $(shell ...) make functionArnout Vandecappelle2015-07-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is often difficult to know exactly when make will expand the variable, and usually it can only be expanded after the dependencies have been built (e.g. pkg-config or the .pc file). Using a backtick instead makes it very clear that it will be expanded only while executing the command. This change is useful for two cases: 1. The per-package staging (and host) directory will be created as part of the configure step, so any $(shell ...) variable that is used in the configure step will fail because the directory doesn't exist yet. 2. 'make printvars' evaluates the variables it prints. It will therefore trigger a lot of errors from missing .pc files and others. The backticks, on the other hand, are not expanded, so with this change the output of 'make printvars' becomes clean again. This commit contains only the easy changes: replace $(shell ...) with `...`, and also replace ' with " where needed. Follow-up commits will tackle the more complicated cases that need additional explanation. After this change, the following instances of $(shell ...) will remain: - All assignments that use := - All variables that are used in make conditionals (which don't expand the backticks). - All variables that only refer to system executables and make variables that don't change. - The calls to check-host-* in dependencies.mk, because it is eval'ed. [Original patch by Fabio Porcedda, but extended quite a bit by Arnout.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix execution on ARCAlexey Brodkin2015-07-112-0/+275
| | | | | | | | | | | | | | | | | | | | | | Even though Qt4 could be built for ARC cores during execution of Qt4 applications on target issues will happen. Most notable is will be segfaults due to unaligned access to data, especially in WebKit applications. Both patches were submitted upstream and if they ever get accepted they should be removed from Buildroot. https://codereview.qt-project.org/#/c/112667 https://codereview.qt-project.org/#/c/112668 [Thomas: renumber patches.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2015-06-221-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: bump to 4.8.7Luca Ceresoli2015-06-044-99/+4
| | | | | | | | Remove patches applied upstream. Add hash file. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: do not allow webkit with SuperH Sourcery toolchainThomas Petazzoni2015-05-171-2/+5
| | | | | | | | | | | | | | | Building webkit with the SuperH Sourcery toolchain fails with an assertion in binutils, so let's not allow to select webkit with this toolchain. We do not need to worry about reverse dependencies, since we use the existing BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT symbol to add this new dependency. Fixes: http://autobuild.buildroot.net/results/508cdeb67f272b61209f331ab7b990cb56f30817/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: fix webkit dependenciesGwenhael Goavec-Merou2015-05-171-2/+4
| | | | | | | | | | | | | | | | | | | fix: http://autobuild.buildroot.net/results/ce8/ce89ad1ca6aec9f7bb5549301bf4c0dcba9e0e37/ qtwebkit includes qscript headers. For packages like python-pyqt if webkit is available but not qscript, the compilation fails with : buildroot/output/build/python-pyqt-4.11.3/sip/QtWebKit/qwebframe.sip:79:0: ../../../host/usr/i686-buildroot-linux-gnu/sysroot/usr/include/QtWebKit/qwebframe.h:28:36: fatal error: QtScript/qscriptengine.h: No such file or directory This problem is not seen with Qt compilation because some relative include directly from sources are added. [Peter: also adjust comment] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* postgresql: mark as not available for static linkingThomas Petazzoni2015-05-161-0/+4
| | | | | | | | | | | | | | postgresql currently does not build in BR2_STATIC_LIBS=y configurations, and since there is little interest in using such a big piece of software in statically linked configuration, this commit makes postgresql depends on !BR2_STATIC_LIBS. Fixes: http://autobuild.buildroot.net/results/f9ed96d22e91cdba9ad92c4d4ea52e422bf1f1c9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: fix missing targetGwenhael Goavec-Merou2015-05-061-0/+2
| | | | | | | | | | | | Fix : http://autobuild.buildroot.net/results/093/09302c153418c3af6dc4cdd12a0149505cfbca0b/ http://autobuild.buildroot.net/results/96f/96f8a9758f0116aec999028fde1b9c983c143809/ sh target must be provided instead of generic to have the correct QT_NO_FPU behaviour. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "qt: add QT_COORD_TYPE to double option"Peter Korsgaard2015-05-052-15/+0
| | | | | | | | | | This reverts commit 7619aba496208102e098e24454371b9513ec2f90. This change causes a number of build issues with poppler / pinentry / python-pyqt and Qt itself on various architectures, so lets revert it for now and rework it for the 2015.08 cycle. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "qt: QT_COORD_TYPE_DOUBLE should only be set on soft float"Peter Korsgaard2015-05-051-1/+0
| | | | | | This reverts commit e07ec136ee3dd4bf16b18571623ac57f99136faa. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: QT_COORD_TYPE_DOUBLE should only be set on soft floatRichard Genoud2015-04-281-0/+1
| | | | | | | | | | | | | | | If QT_COORD_TYPE_DOUBLE is forced and hard float is used, Qt compilation breaks because it can't find hard coded operations on double. Moreover, QT_COORD_TYPE is float only if QT_NO_FPU is set. (cf src/corelib/global/qglobal.h) So, we can safely make the QT_COORD_TYPE_DOUBLE option depend on BR2_SOFT_FLOAT. Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: add QT_COORD_TYPE to double optionJulien D'Ascenzio2015-04-262-0/+15
| | | | | | | | | | On ARM-based platforms, qreal is a typedef for float for performance reasons. But we may want a double precision anyway. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-7/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: Fix powerpc64le arch config nameerico.nunes2015-04-131-2/+2
| | | | | | | | | buildroot references powerpc64 little endian as "powerpc64le" and not "powerpc64el". The typo in the supported architectures list caused this package to be unavailable for powerpc64 little endian. Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix postgresql plugin configurePeter Seiderer2015-04-131-0/+36
| | | | | | | | | | | Add upstream patch (see [1], [2]) which fixes a bug introduced by previous patch '0007-configure-add-psql_config-option.patch'. [1] https://bugreports.qt.io/browse/QTBUG-45463 [2] https://codereview.qt-project.org/110041 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: enable unixodbc supportBernd Kuhls2015-04-052-1/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-lfs enabler patchesGustavo Zacarias2015-04-011-41/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-14/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: remove postgresql introduced uclibc dependency for the PostgresSQL supportPeter Seiderer2015-03-151-4/+0
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix postgresql plugin compilePeter Seiderer2015-03-122-2/+63
| | | | | | | | | | | | | | | | | | | | | | Add qt4 '-psql_config' configure option and use it to set pg_config path in configure step instead of legacy PSQL_LIBS environment variable. Fixes [1]: PostgreSQL support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. make: *** [/ssd1/thomas/autobuild/instance-0/output/build/qt-4.8.6/.stamp_configured] Error 101 Patch suggested upstream ([2]). [1] http://autobuild.buildroot.net/results/1e9/1e949d4593836bc45a55e071cc54ff9c00fad8ae [2] https://codereview.qt-project.org/108345 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: all salute the passing of avr32Yann E. MORIN2015-02-142-4/+0
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-036-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: Force arm mode instead of Thumb1 modeRichard Genoud2015-02-021-0/+8
| | | | | | | | | | Qt has some assembly that doesn't exist in thumb1 mode. So, force arm mode for Qt Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: make QtDeclarative depend on QtSqlDanomi Manchego2015-01-241-0/+1
| | | | | | | | | As indicated by QtDeclarative.pc, QtDeclarative needs QtSql. It builds fine without it, but then you get a run-time error. So add QtSql to the QtDeclarative depends-on list. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: add X11 supportHadrien Boutteville2015-01-232-0/+61
| | | | | | | | | | | | | | | | | | | There are two possible configurations for Qt4 installation: standard (with X11) and embedded (for framebuffer). Both configurations cannot be used together for one installation and some options are specific to one configuration or the other. Add a choice to select the standard or the embedded installation to add X11 support. The integration is done in order to make maximum use of the current configuration logic, for example by using the same mkspecs files. Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: split script and webkit supported arches in two different variablesVicente Olivert Riera2015-01-101-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently in Buildroot we have a BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT variable indicating which architectures support Qt Webkit. We also make Qt Script depending on that variable, so we are assuming that Qt Script is supported for exactly the same architectures which support Qt Webkit, and that's not true. For instance, Qt Webkit is not supported for MIPS64 when using the n32 ABI, but Qt Script is actually supported. So, if we make BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT depending on !BR2_MIPS_NABI32 we will also disable Qt Script, because as I said before, Qt Script depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT, and we don't want that because Qt Script works. We fix this by creating another variable called BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT to state which architectures support Qt Script, so now we can differentiate them from the ones supporting Qt Webkit. Related: http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* qt: Webkit Module needs a toolchain with NPTLVicente Olivert Riera2014-11-281-1/+3
| | | | | | | | | | | | | | Qt Webkit Module uses pthread_getattr_np() which is implemented in toolchains with NPTL. Otherwise the compilation will fail showing this error message: wtf/StackBounds.cpp: In member function ‘void WTF::StackBounds::initialize()’: wtf/StackBounds.cpp:172:38: error: ‘pthread_getattr_np’ was not declared in this scope Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: Script Module needs a toolchain with NPTLVicente Olivert Riera2014-11-281-0/+5
| | | | | | | | | | | | | | Qt Script Module uses pthread_getattr_np() which is implemented in toolchains with NPTL. Otherwise the compilation will fail showing this error message: ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp: In function ‘void* QTJSC::currentThreadStackBase()’: ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:692:42: error: ‘pthread_getattr_np’ was not declared in this scope Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-09-012-1/+8
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * qt: add postgresql driver supportFloris Bos2014-08-152-1/+8
| | | | | | | | | | | | Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | qt: don't install translation files by defaultLuca Ceresoli2014-08-151-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 93917b6980f7f2b51302e1a3fa451b07cf7d674e (2013.11) introduced the installation of the binary .qm translation files, unconditionally. However, the installed size is very large for some embedded systems (about 8 MB), and they are not needed in many cases. In order to avoid such a waste of storage space, commit 2ff329412f490dc916bab3377073ef5950a46298 (2014.08) made this installation an option that could be disabled. For backward compatibility, the option default was set to yes. Given the size of these files, and that they had never been installed by Buildroot versions before 2013.11, change the default to not installing them. Interested users can still activate it as needed. Also update and improve the help text. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: Danomi Manchego <danomimanchego123@gmail.com> Cc: Danomi Manchego <danomimanchego123@gmail.com> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: make installation of translation files optionalDanomi Manchego2014-08-032-0/+9
| | | | | | | | | | | | | | | Commit 93917b6980f7f2b51302e1a3fa451b07cf7d674e introduced the installation of the binary .qm translation files, unconditionally. This patch introduces an option to disable this behavior, saving almost 8MB of space. [Thomas: rename option to BR2_PACKAGE_QT_TRANSLATION_FILES instead of BR2_PACKAGE_QT_INSTALL_TRANSLATION_FILES, and move its definition around the installation of examples/demos rather than in the middle of the options for the different modules.] Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: remove gcc 4.6.x specific kludgeThomas Petazzoni2014-07-101-5/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: add an option to install the test moduleSamuel Martin2014-05-032-0/+8
| | | | | | | | | | | | | | | | | | | | | | | When building Qt in a minimal configuration, a couple of Qt modules (QtNetwork, QtSql, QtTest and QtXml) are built in addition to QtCore, so they are installed in the sysroot but they are not copied into the target tree. Among these modules that could be built but optionally installed, only QtTest had no option to allow being installed in the target fs. Thus, programs linking against QtTest would successfully build, but would miserably fail at runtime due to this missing dependency. So far, the only package triggering this issue is OpenCV (the highgui module built with Qt support). A followup patch will add this missing dependency in OpenCV using this new option. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: webkit is now supported on MIPS64Vicente Olivert Riera2014-04-301-2/+3
| | | | | | | | | | | | | | Since qt's version has been bumped to 4.8.6 we can add support for webkit on MIPS64 architectures (both big and little endian). It wasn't possible on 4.8.5 because QtScript wasn't supported on MIPS64, but that has been fixed on 4.8.6. With reference to: https://codereview.qt-project.org/#change,73022 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud