summaryrefslogtreecommitdiff
path: root/meta/recipes-qt
Commit message (Collapse)AuthorAgeFilesLines
* qt4: add Upstream-Status to recently added qt-4.8.0 patchPaul Eggleton2012-01-051-0/+2
| | | | | | Add Upstream-Status to qmake_cxx_eval.patch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4: add version 4.8.0Paul Eggleton2012-01-0414-6/+382
| | | | | | | | | | | | | | | | | | | | | Version 4.8.0 makes a few minor changes in the internal build system - the following issues had to be worked around: * The -qt-gif configure option has been removed. This is actually the default and has been for some time, so remove it from qt4.inc. * The mkspecs have been refactored requiring us to copy our g++.conf file over the top of g++-unix.conf instead. Some modifications to this file were also necessary to remove some settings that are now in other conf files (and we don't modify those values in any case). * The LD environment variable needs to be unset during configure, or else the configure script overrides our value of QMAKE_LINK which selects ${CXX} as our linker. * QMAKE_CXX contains a reference to OE_QMAKE_CXX which the configure script does not expect and cannot expand and this results in webkit being disabled, so add a workaround for this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: fix incorrect architecture for qt4 toolsPaul Eggleton2012-01-043-6/+2
| | | | | | | | | | | | | | | Don't install the native staging versions of the qt4 tools in the bin directory; we have been doing this for a very long time but it is no longer necessary since we specify them via the QMAKE_UIC, QMAKE_MOC etc. variables. Doing so was sometimes resulting in those executables being the ones that end up being packaged (probably only sometimes due to different date/time values on the staging files and the interaction with make). Fixes [YOCTO #1856]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream Status UpdatesSaul Wold2011-12-151-0/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qt-mobility: Fix QA error for debug filesSaul Wold2011-12-151-4/+5
| | | | | | RP: Add PR bump Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: use armv6 override instead of armv6-vfpMartin Jansa2011-12-132-4/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt4.inc : Add uic, moc, rcc, and lrelease to tools package.Philip Balister2011-12-133-9/+4
| | | | | | | | | | | | | | | | | These binaries are needed in the target tools package so we can build qt apps on the target. You also need to install qmake from meta-oe. Tested by building gnuradio on the USRP e100 with qt support. (This effectively reverses OE-core rev 69eeb3d2276e5b10d084b47d308ecfc8daf8b467, however test builds for qemux86 and qemumips produced no packaging warnings such as those described in that commit, and the architecture of the executables is correct.) Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: various tidy-upsPaul Eggleton2011-12-086-11/+10
| | | | | | | | | | | | | | | * -reduce-relocations is already specified in qt4.inc, no need to add it in qt-${PV}.inc * Add QT_GLFLAGS to QT_CONFIG_FLAGS in qt4.inc rather than spreading it through other inc files. * Add "-xmlpatterns -no-rpath -qt3support -silent" to QT_CONFIG_FLAGS in qt4.inc rather than qt-${PV}.inc; these have been supported since at least 4.5.2 and therefore shouldn't be version-specific. * Move "-no-fast -silent -no-rpath" to EXTRA_OECONF in qt4-native.inc rather than the versioned recipes for the same reason * Remove redundant setting of LICENSE in qt4-embedded.inc Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4: fix debug symbol strippingPaul Eggleton2011-12-084-2/+26
| | | | | | | | Adds a patch imported from Debian to not strip the executables as part of the Qt build process. This fixes the warnings shown at packaging stage as well as the content of the debug symbol packages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt-mobility: Add missing patchRichard Purdie2011-11-291-0/+32
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: qt-mobility: fix QML video player crashAnatolij Gustschin2011-11-291-1/+4
| | | | | | | | Fix QML video player crash which happens when attempting to play OGG video files. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: fix sed to have correct *.pc filesEric Bénard2011-11-293-7/+7
| | | | | | | | | | | | | | | | | | | | it seems sed doesn't handle \? properly if the string in not between quotes. without this patch, we get something like (for example for QtDBusE.pc : Libs: -L${libdir} -lQtDBusE Libs.private: -L/home/ebenard/WORK/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/board/ usr/lib -L/usr/lib -L/home/ebenard/WORK/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/board /usr/lib -lQtXmlE -L/usr/lib -lQtCoreE -lpthread Cflags: -DQT_SHARED -I/usr/include/qtopia -I${includedir} with the patch we get what is expected : Libs: -L${libdir} -lQtDBusE Libs.private: -lQtXmlE -lQtCoreE -lpthread Cflags: -DQT_SHARED -I/usr/include/qtopia -I${includedir} Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* getVar/setVar cleanupsRichard Purdie2011-11-261-12/+12
| | | | | | | Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free: bring back pkg-config fixupsSimon Busch2011-11-151-1/+15
| | | | | | | | | | | | | * With b40b9c024be5e1ec81a31961158b3e6b529acfe0 some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded. * Resending because nobody replied on http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg10609.html Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt-mobility: qa_configure stage failedDmitry Cherukhin2011-11-112-1/+19
| | | | | | The catalogue /usr/lib removed from Makefiles used for building configure tests. Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-102-13/+13
| | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qmmp: update to 0.5.2Xiaofeng Yan2011-11-082-47/+54
| | | | | | | | | | | | | | qmmp: remove old recipe and add new recipe Use do_split_package for each grouping and name them correctly besides updating package. The format to name plugins of qmmp: qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Fix dESCRIPTION -> DESCRIPTION Signed-off-by: Saul Wold <sgw@linux.intel.com>
* fotowall: disable videocapture since we do not have a webcamSaul Wold2011-11-071-1/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qt4: Added support for QtMobility 1.2Dmitry Cherukhin2011-10-173-0/+83
| | | | | | | | | | | | | | | The QtMobility is a Qt add-on which allows to include standard mobile functionality to Qt applications. For details, see http://qt.nokia.com/products/qt-addons/mobility/ The patch is intended to add support for the QtMobility 1.2 package to OE. Added two recipes: 1) qt-mobility-x11 builds the QtMobility 1.2 package on the basis of Qt/X11 using the qt4-x11-free package; 2) qt-mobility-embedded builds the QtMobility 1.2 package on the basis of Qt/Embedded using the qt4-embedded package. Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
* qt4: use 4.7.4 as default preferenceOtavio Salvador2011-10-144-6/+0
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.Wenzong Fan2011-10-141-5/+5
| | | | | | | | | | | | [YOCTO #1671] qt4-x11-free's recipe includes a sed script to sanitize it's .prl files, which are used by qmake to generate a list of libs and includes in the Makefiles it generates. It however, fails to take into account the possibility of trailing slashes, and thus leaves them in, and breaks gcc's syntax. Update these regexes to account for them. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* qt4: Drop old version 4.7.3Richard Purdie2011-10-1210-341/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init/linux-firmware/adt-installer: Convert to Use allarch class fileRichard Purdie2011-10-101-3/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-embedded: move qt4-embedded-conf from RDEPENDS to RRECOMMENDSJames Limbouris2011-10-041-2/+2
| | | | | | | | | qt4-embedded-conf contains an environment setup script for profile.d. It has been packaged seperately to allow for its exclusion, but this is only practical if it is added to RRECOMMENDS, rather than RDEPENDS. Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: packaging fixupDmitry Eremin-Solenikov2011-10-043-7/+10
| | | | | | | | | | | Improve packaging: * Add phrasebook packages to DYNAMIC_PACKAGES * Correct phrasebook packages generation * Include more files into -dbg packages * Package fontdir and fonts README. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: Fix translation supportOtavio Salvador2011-10-044-7/+38
| | | | | | | | | | | | The translation support was disable in build. The fix-translation.patch was imported from OpenEmbedded to fix a linking issue in phonon translation support. [Dmitry Eremin-Solenikov: ported to apply to qt 4.7.4 build, bumped PR] Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: Update to latest version 4.7.4Eric Bénard2011-10-0410-0/+376
| | | | | | | | | | | | | - 4.7.4 was release on the 1st of september, the changelog is available here : http://qt.gitorious.org/+qt-developers/qt/releases/blobs/v4.7.4/dist/changes-4.7.4 and mostly contains bug fix. - this patch include the fix for QTBUG-20925 which was a regression against 4.7.3 : https://bugreports.qt.nokia.com/browse/QTBUG-20925 http://qt.gitorious.org/qt/qt/commit/852abfca6f4c349dce9b895956922f96d82df579 thanks to Paul Eggleton to point us to this bug. Signed-off-by: Eric Bénard <eric@eukrea.com>
* qt4: Fix translation supportOtavio Salvador2011-10-046-9/+40
| | | | | | | | The translation support was disable in build. The fix-translation.patch was imported from OpenEmbedded to fix a linking issue in phonon translation support. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qt4.inc: package qtdemo's docs in a separate packageDenis Carikli2011-10-042-2/+8
| | | | | | | | | | | The documentation was 285M and doesn't fit on the NAND of many machines, but in another had part of the documentation is needed for the QT demos, so we split the documentation: so qt demo only RRECOMMAND the documentation that it really needs. Thanks to Eric Bénard for explaining me how to split it. Signed-off-by: Denis Carikli <denis@eukrea.com>
* qt4(embedded and x11): Disable neon for armv6-vfpDenis Carikli2011-10-042-4/+4
| | | | | | | | | Without the -no-neon flag, neon is "autodetected" by looking if the compiler is capable of compiling a neon test, and succeed, and neon is then enabled during the compilation. Signed-off-by: Denis Carikli <denis@eukrea.com>
* qt4.inc: Remove the optional documentation package from the demo's RRECOMMENDSDenis Carikli2011-10-042-3/+2
| | | | | | The documentation is 285M and doesn't fit on the NAND of many machines. Signed-off-by: Denis Carikli <denis@eukrea.com>
* qt4: fix generated sdkEric Bénard2011-10-042-11/+18
| | | | | | | | | | | | | | | | | | | | | | | - qt4-tools-nativesdk : actually the qmake binary which gets installed comes from the native recipe. This patch fix this problem by launching configure twice : once to compile qmake using the right toolchain for nativesdk, and a second time using the native qmake to compile all the other tools for the nativesdk. Then we install the right qmake. - mkspec : the link actually created in qt4-tools-nativesdk's do_install point to nowhere so remove it and generate the link in meta-toolchain-qte as it's the only place where we have all the variable to create it. - toolchain_create_sdk_env_script_append : we need to add OE_QMAKE_CFLAGS, OE_QMAKE_CXXFLAGS and OE_QMAKE_LDFLAGS else the sdk won't find these variables that are inserted by qmake in the Makefiles. - with this patch, oe-core generates a working meta-toolchain-qte which can compile a small example and is properly recognized by qtcreator (this brings oe-core's meta-toolchain-qte to oe-dev's functional state). Signed-off-by: Eric Bénard <eric@eukrea.com>
* qt4e-demo-image: Improve image contentsEric Bénard2011-10-041-1/+1
| | | | | | | Use ${POKY_BASE_INSTALL} in order to have the base files and tools in the image. Signed-off-by: Eric Bénard <eric@eukrea.com>
* qt4-embedded: move qte.sh profile script into own packageSimon Busch2011-09-271-2/+6
| | | | | | | | | We don't want to pull the whole qt suite in our images when only installing a tiny setup which needs the profile script for several configuration issues. This moves the qte.sh profile script into a qt4-embedded-conf package which is automatically installed when an image depends on qt4-embedded. Signed-off-by: Simon Busch <morphis@gravedo.de>
* meta: qt4: fix postprocessing of pkg-config filesSimon Busch2011-09-273-5/+3
| | | | | | | | | | When building qt4-embedded the generated and cleaned pkg-config files for qt are wrong. The Cflags variable contains something like ${includedir}/qtopia/QtCore where ${includedir} is already /usr/include/qtopia/QtCore. This patch reverts the fix up of the Cflags variable implemented in do_install. Signed-off-by: Simon Busch <morphis@gravedo.de>
* qt4: add blacklist-diginotar-certs patchEric Bénard2011-09-158-4/+104
| | | | | | | | - this patch comes from Nokia and blacklist all DigiNotar intermediates and root certificates, more details are available here : http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/ Signed-off-by: Eric Bénard <eric@eukrea.com>
* qt-demo-init: fix init scriptDmitry Eremin-Solenikov2011-09-052-5/+5
| | | | | | | | qt-demo-init initscript lacks some quotes, which makes it bave not fulle correct. Fix that. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4e-demo-image: Ensure a shell is presentXiaofeng Yan2011-09-051-0/+1
| | | | | | | | | "/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem. [YOCTO #999] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init: Fix bug 999Xiaofeng Yan2011-08-312-0/+74
| | | | | | | | | [YOCTO #999] qt4e-demo-image needs qt-demo-init when starting qtdemoE. qt-demo-init was pulled from Openembeded. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4e-demo-image: Fix bug 999Xiaofeng Yan2011-08-262-0/+75
| | | | | | | | [YOCTO #999] Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform. This image was tested on qemuarm and can run program "qtdemoE". Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* qt4-tools-nativesdk: remove gcc standard pathsKang Kai2011-08-261-7/+2
| | | | | | | | gcc-crosssdk can't find the standard headers before, and it was fixed. So it is not needed to search the gcc standard paths by qt4-tools-nativesdk itself. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* qt4: allow a reduction in build timeAnders Darander2011-08-181-6/+7
| | | | | | | | | | | | When reducing build time by adding QT_DISTRO_FLAGS from the set '-no-gui -nomake tools -nomake examples -nomake demos -nomake docs', build failure can occur, due to not building all tools. * Make rm not error out when removing one of the, possibly, non-existing tools. * Only try to rename qtdemo, if qtdemo exists. * Check if the phrasebook path exists, and only then call do_split_packages() Signed-off-by: Anders Darander <anders@chargestorm.se>
* qt4.inc: expand the package name for multilib caseYu Ke2011-08-151-2/+2
| | | | | | | | | | | | | | | in the qt4.inc python annomyous code, there is case where package name is set to "${QT_BASE_LIB}-tool", and FILE_${QT_BASE_LIB}-tool is set to xxx. here QT_BASE_NAME=qt4. multilib.bbclass will try to rename the FILE_qt4_tool to FILE_lib64_qt4_tool. unfortunately, there is only FILE_${QT_BASE}-tool, no FILE_qt4-tool, so FILE_lib64_qt4_tool will not be defined. to fix this issue, this patch expand the QT_BASE_LIB when assigning the package name. FIX [YOCTO #1344] Signed-off-by: Yu Ke <ke.yu@intel.com>
* qt4.inc: revise RRECOMMENDSYu Ke2011-08-151-2/+2
| | | | | | | | | using ${QT_BASE_NAME}-dbg as RRECOMMENDS is not correct in qt4-x11-free case, because ${QT_BASE_NAME}-dbg i.e. qt4-dbg does not exist this patch fix it by using ${PN} Signed-off-by: Yu Ke <ke.yu@intel.com>
* qt4: delete unpackaged uic3 to avoid unpackaged file warningPaul Eggleton2011-08-151-0/+1
| | | | | | | All the other utilities get deleted as they should not be packaged, delete this one as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4: package QML plugins and correct their install directoryPaul Eggleton2011-08-153-5/+13
| | | | | | | | | | | | | | | QML components from Qt were installed to ${prefix} before and never got packaged. This is now fixed and QML components are now installed into ${libdir}/${QT_DIR_NAME}/imports and packaged into qt4-*-qml-plugins package. Additionally qmlviewer and the examples/demos are now dependent upon these plugins as needed. Originally based on OE commit 4adf97be8c5b5f71ad92095a19968af534baa9e2 by Simon Busch <morphis@gravedo.de> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cppPaul Eggleton2011-08-151-1/+4
| | | | | | | | These tools are required to build some external utilities (such as those found in KDE). We avoid building qdbus and qdbusviewer as these are not required. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4: replace qt4-tools-native with qt4-nativePaul Eggleton2011-08-152-7/+15
| | | | | | | | | | Installs native versions of the Qt libraries in addition to the tools, allowing compilation of external native tools that require Qt libs. PROVIDES qt4-tools-native so it should be a drop-in replacement. Developed with reference to the corresponding qt4-native changes in OE. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj2011-07-263-4/+4
| | | | | | | | | | | There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patches: Fix Upstream-Status infoSaul Wold2011-07-131-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>