Skip to contentSkip to conversation

Qt 4.8.0 upgrade, Qt 4.7.4 architecture fix

PATCH Applied Paul Eggleton 2 participants 5 messages Jan 3, 2012 – Jan 4, 2012

lore
Share & tools
lore
#0 lore raw

cover Qt 4.8.0 upgrade, Qt 4.7.4 architecture fix

This pull request fixes the architecture warnings for Qt 4.7.4 and adds recipes for building the recently released Qt 4.8.0 (with DEFAULT_PREFERENCE = "-1").

The following changes since commit de679a3036ebef1c7d7b8ee23f05590c95e498d9:

pseudo: ensure libs are included in package (2012-01-03 12:10:59 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/qt-4.8.0
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt-4.8.0

Paul Eggleton (3):
qt4: fix incorrect architecture for qt4 tools
qt4: add version 4.8.0
distro-tracking-fields: update qt recipe info

 .../conf/distro/include/distro_tracking_fields.inc |   38 ++++++------
 meta/recipes-qt/qt4/qt-4.7.4.inc                   |    4 -
 meta/recipes-qt/qt4/qt-4.8.0.inc                   |   61 ++++++++++++++++++
 .../0001-Added-Openembedded-crossarch-option.patch |   47 ++++++++++++++
 .../recipes-qt/qt4/qt-4.8.0/fix-translations.patch |   32 ++++++++++
 meta/recipes-qt/qt4/qt-4.8.0/g++.conf              |   56 +++++++++++++++++
 .../qt4/qt-4.8.0/hack-out-pg2-4.7.0.patch          |   31 +++++++++
 meta/recipes-qt/qt4/qt-4.8.0/linux.conf            |   66 ++++++++++++++++++++
 meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch  |   20 ++++++
 meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb          |   13 ++++
 meta/recipes-qt/qt4/qt4-native.inc                 |   13 +++-
 meta/recipes-qt/qt4/qt4-native_4.8.0.bb            |   14 ++++
 meta/recipes-qt/qt4/qt4-tools-nativesdk.inc        |    2 +-
 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb   |    8 +++
 meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb          |   13 ++++
 meta/recipes-qt/qt4/qt4.inc                        |   12 +++-
 18 files changed, 403 insertions(+), 31 deletions(-)
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0.inc
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/0001-Added-Openembedded-crossarch-option.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/fix-translations.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/g++.conf
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/hack-out-pg2-4.7.0.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/linux.conf
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
 create mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-native_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/3 qt4: fix incorrect architecture for qt4 tools

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].

---
 meta/recipes-qt/qt4/qt-4.7.4.inc          |    4 ----
 meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb |    2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)
meta/recipes-qt/qt4/qt-4.7.4.inc +0 -4
index 8fda9ce..9ddb055 100644
@@ -50,10 +50,6 @@ do_compile() {
     fi
 
     unset CFLAGS CXXFLAGS
-    install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
-    install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
-    install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
-    install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
 
     oe_runmake ${EXTRA_ENV}
 }
meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb +1 -1
index 1d7104c..9b66d03 100644
@@ -1,7 +1,7 @@
 require qt-${PV}.inc
 require qt4-embedded.inc
 
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
 
 QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
 
meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb +1 -1
index 3263c93..6dedf00 100644
@@ -1,7 +1,7 @@
 require qt4-x11-free.inc
 require qt-${PV}.inc
 
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
 
 QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
 
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 2/3 qt4: add version 4.8.0

In reply to Paul Eggleton

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.

---
 meta/recipes-qt/qt4/qt-4.8.0.inc                   |   61 ++++++++++++++++++
 .../0001-Added-Openembedded-crossarch-option.patch |   47 ++++++++++++++
 .../recipes-qt/qt4/qt-4.8.0/fix-translations.patch |   32 ++++++++++
 meta/recipes-qt/qt4/qt-4.8.0/g++.conf              |   56 +++++++++++++++++
 .../qt4/qt-4.8.0/hack-out-pg2-4.7.0.patch          |   31 +++++++++
 meta/recipes-qt/qt4/qt-4.8.0/linux.conf            |   66 ++++++++++++++++++++
 meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch  |   20 ++++++
 meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb          |   13 ++++
 meta/recipes-qt/qt4/qt4-native.inc                 |   13 +++-
 meta/recipes-qt/qt4/qt4-native_4.8.0.bb            |   14 ++++
 meta/recipes-qt/qt4/qt4-tools-nativesdk.inc        |    2 +-
 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb   |    8 +++
 meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb          |   13 ++++
 meta/recipes-qt/qt4/qt4.inc                        |   12 +++-
 14 files changed, 382 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0.inc
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/0001-Added-Openembedded-crossarch-option.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/fix-translations.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/g++.conf
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/hack-out-pg2-4.7.0.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/linux.conf
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
 create mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-native_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb
 create mode 100644 meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb
meta/recipes-qt/qt4/qt-4.8.0.inc new file +61 -0
new file mode 100644
index 0000000..2addbb2
@@ -0,0 +1,61 @@
+LICENSE = "LGPLv2.1 | GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
+                    file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
+                    file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
+
+FILESPATH =. "${FILE_DIRNAME}/qt-${PV}:"
+
+SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
+           file://0004-no-qmake.patch \
+           file://hack-out-pg2-4.7.0.patch \
+           file://0006-freetype-host-includes.patch \
+           file://0009-support-2bpp.patch \
+           file://0001-Added-Openembedded-crossarch-option.patch \
+           file://fix-translations.patch \
+           file://add_nostrip_for_debug_packages.diff \
+           file://qmake_cxx_eval.patch \
+           file://g++.conf \
+           file://linux.conf \
+           "
+
+SRC_URI[md5sum] = "e8a5fdbeba2927c948d9f477a6abe904"
+SRC_URI[sha256sum] = "9392b74e485e15f75a3e07a527547d4f6747eaf55ebce71ba0e863a9fd320b6e"
+
+S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
+
+FILES_${QT_BASE_NAME}-tools_append     = " ${bindir}/qml ${bindir}/qmlplugindump"
+FILES_${QT_BASE_NAME}-tools-dbg_append = " ${bindir}/.debug/qml ${bindir}/.debug/qmlplugindump"
+
+PACKAGES_append = " ${QT_BASE_NAME}-tests-dbg ${QT_BASE_NAME}-tests"
+FILES_${QT_BASE_NAME}-tests-dbg        = "/usr/tests/qt4/*/.debug"
+FILES_${QT_BASE_NAME}-tests            = "/usr/tests/qt4/*"
+
+do_configure_prepend() {
+    for pro in $(find ${S} -name "*.pro") ; do
+        sed -i \
+            -e 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' \
+            -e 's:qtPrepareTool(LRELEASE, lrelease):LRELEASE = ${OE_QMAKE_LRELEASE}:g' $pro
+    done
+
+    sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
+    sed -i \
+    -e /QMAKE_MOC\ /d \
+    -e /QMAKE_UIC\ /d \
+    -e /QMAKE_UIC3\ /d \
+    -e /QMAKE_RCC\ /d \
+    ${S}/configure
+
+    # Avoid problems with Qt 4.8.0 configure setting QMAKE_LINK from LD (since we want the linker to be g++)
+    unset LD
+}
+
+do_compile() {
+    # Fixup missing wsegl header in some SGX SDKs
+    if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
+        cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
+    fi
+
+    unset CFLAGS CXXFLAGS
+
+    oe_runmake ${EXTRA_ENV}
+}
meta/recipes-qt/qt4/qt-4.8.0/0001-Added-Openembedded-crossarch-option.patch new file +47 -0

47 lines not on this page · raw message

meta/recipes-qt/qt4/qt-4.8.0/fix-translations.patch new file +32 -0
new file mode 100644
index 0000000..906d4e3
@@ -0,0 +1,32 @@
+fix phony translation linking error
+
+  | .../usr/lib/crt1.o: In function `_start':
+  | .../../sysdeps/i386/elf/start.S:115: undefined reference to `main'
+  | collect2: ld returned 1 exit status
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <[email protected]>
+
+diff --git a/translations/translations.pro b/translations/translations.pro
+index cdaf04a..24fa668 100644
+--- a/translations/translations.pro
++++ b/translations/translations.pro
+@@ -20,7 +20,7 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN}
+ updateqm.CONFIG += no_link
+ QMAKE_EXTRA_COMPILERS += updateqm
+ 
+-isEmpty(vcproj) {
++!isEmpty(vcproj) {
+     QMAKE_LINK = @: IGNORE THIS LINE
+     OBJECTS_DIR =
+     win32:CONFIG -= embed_manifest_exe
+@@ -30,7 +30,7 @@ isEmpty(vcproj) {
+     phony_src.input = PHONY_DEPS
+     phony_src.output = phony.c
+     phony_src.variable_out = GENERATED_SOURCES
+-    phony_src.commands = echo int main() { return 0; } > phony.c
++    phony_src.commands = echo \"int main() { return 0; }\" > phony.c
+     phony_src.name = CREATE phony.c
+     phony_src.CONFIG += combine
+     QMAKE_EXTRA_COMPILERS += phony_src
meta/recipes-qt/qt4/qt-4.8.0/g++.conf new file +56 -0

56 lines not on this page · raw message

meta/recipes-qt/qt4/qt-4.8.0/hack-out-pg2-4.7.0.patch new file +31 -0
new file mode 100644
index 0000000..39c5f4a
@@ -0,0 +1,31 @@
+Hack to not use the pg_config of the host system which will add /usr/include
+
+pg_config is a native binary so using that when cross compiling
+will always fail.  The commented out fix would do, but for OE
+our -platform and -xplatform is the same so we are actually not
+really cross compiling. Just comment out the test, we are passing
+the location to the postgres headers and if they are okay we
+will pad.
+
+Original Author: Holger Hans Peter Freyther <[email protected]>
+Upstream-Status: Inappropriate [configuration]
+
+Index: qt-everywhere-opensource-src-4.7.0/configure
+===================================================================
+--- qt-everywhere-opensource-src-4.7.0.orig/configure	2010-09-22 15:43:51.191162141 -0400
++++ qt-everywhere-opensource-src-4.7.0/configure	2010-09-22 15:44:35.179981232 -0400
+@@ -4921,10 +4921,10 @@
+         psql)
+             if [ "$CFG_SQL_psql" != "no" ]; then
+                 # Be careful not to use native pg_config when cross building.
+-                if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then
+-                    QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
+-                    QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
+-                fi
++#                if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then
++#                    QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
++#                    QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
++#                fi
+                 [ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL"
+                 [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL"
+                 # But, respect PSQL_LIBS if set
meta/recipes-qt/qt4/qt-4.8.0/linux.conf new file +66 -0

66 lines not on this page · raw message

meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch new file +20 -0
new file mode 100644
index 0000000..a82f0ff
@@ -0,0 +1,20 @@
+Allow expansion of $(...) references in QMAKE_CXX (currently its value
+is $(OE_QMAKE_CXX)) in order to allow compiler version check to succeed
+which allows WebKit to be enabled.
+
+Signed-off-by: Paul Eggleton <[email protected]>
+
+Index: qt-everywhere-opensource-src-4.8.0/configure
+===================================================================
+--- qt-everywhere-opensource-src-4.8.0.orig/configure
++++ qt-everywhere-opensource-src-4.8.0/configure
+@@ -3322,7 +3322,8 @@ else
+     CFG_FRAMEWORK=no
+ fi
+ 
+-QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1`
++QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg' | tail -1`
++QMAKE_CONF_COMPILER=`eval "echo $QMAKE_CONF_COMPILER"`
+ TEST_COMPILER="$CXX"
+ 
+ [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER
meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb new file +13 -0
new file mode 100644
index 0000000..5c1c97e
@@ -0,0 +1,13 @@
+require qt-${PV}.inc
+require qt4-embedded.inc
+
+PR = "${INC_PR}.0"
+
+DEFAULT_PREFERENCE = "-1"
+
+QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
+
+QT_CONFIG_FLAGS += " \
+ -exceptions \
+"
+
meta/recipes-qt/qt4/qt4-native.inc +11 -2
index 8a6eb4b..86f2440 100644
@@ -22,7 +22,7 @@ S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
 EXTRA_OECONF = "-prefix ${prefix} \
                 -L ${STAGING_LIBDIR_NATIVE} \
                 -I ${STAGING_INCDIR_NATIVE} \
-                -qt-libjpeg -qt-gif -system-zlib \
+                -qt-libjpeg -system-zlib \
                 -no-libjpeg -no-libpng -no-libmng -no-libtiff \
                 -no-accessibility \
                 -no-cups \
@@ -39,6 +39,9 @@ EXTRA_OECONF = "-prefix ${prefix} \
 EXTRA_OEMAKE = " "
 
 do_configure() {
+	# Avoid problems with Qt 4.8.0 configure setting QMAKE_LINK from LD (since we want the linker to be g++)
+	unset LD
+
 	(echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
 }
 
@@ -78,7 +81,13 @@ do_install() {
 	install -d ${D}${datadir}/qt4/
 	cp -PfR mkspecs ${D}${datadir}/qt4/
 	ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++
-	cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/
+	if [ -f ${D}${datadir}/qt4/mkspecs/common/g++-unix.conf ] ; then
+		# mkspecs were refactored for 4.8.0
+		cp -f ${WORKDIR}/g++.conf ${D}${datadir}/qt4/mkspecs/common/g++-unix.conf
+	else
+		cp -f ${WORKDIR}/g++.conf ${D}${datadir}/qt4/mkspecs/common/g++.conf
+	fi
+	cp -f ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/
 
 	install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/
 
meta/recipes-qt/qt4/qt4-native_4.8.0.bb new file +14 -0
new file mode 100644
index 0000000..86c0500
@@ -0,0 +1,14 @@
+require qt4-native.inc
+
+PR = "${INC_PR}.0"
+
+DEFAULT_PREFERENCE = "-1"
+
+# Find the g++.conf/linux.conf in the right directory.
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
+
+TOBUILD := "src/tools/bootstrap ${TOBUILD}"
+
+SRC_URI[md5sum] = "e8a5fdbeba2927c948d9f477a6abe904"
+SRC_URI[sha256sum] = "9392b74e485e15f75a3e07a527547d4f6747eaf55ebce71ba0e863a9fd320b6e"
+
meta/recipes-qt/qt4/qt4-tools-nativesdk.inc +1 -1
index a71c3ae..275fdcc 100644
@@ -30,7 +30,7 @@ require qt4_arch.inc
 
 # FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
 EXTRA_OECONF = "-prefix ${prefix} \
-                -qt-libjpeg -qt-gif -system-zlib \
+                -qt-libjpeg -system-zlib \
                 -no-libjpeg -no-libpng -no-libmng -no-libtiff \
                 -no-accessibility \
                 -no-cups \
meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb new file +8 -0
new file mode 100644
index 0000000..e615d36
@@ -0,0 +1,8 @@
+require qt4-tools-nativesdk.inc
+
+PR = "${INC_PR}.0"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI[md5sum] = "e8a5fdbeba2927c948d9f477a6abe904"
+SRC_URI[sha256sum] = "9392b74e485e15f75a3e07a527547d4f6747eaf55ebce71ba0e863a9fd320b6e"
meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb new file +13 -0
new file mode 100644
index 0000000..edd3e0e
@@ -0,0 +1,13 @@
+require qt4-x11-free.inc
+require qt-${PV}.inc
+
+PR = "${INC_PR}.0"
+
+DEFAULT_PREFERENCE = "-1"
+
+QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
+
+QT_CONFIG_FLAGS += " \
+ -no-embedded \
+ -xrandr \
+ -x11"
meta/recipes-qt/qt4/qt4.inc +9 -3
index 87a12e6..ea868ff 100644
@@ -15,7 +15,7 @@ QT_GLFLAGS ?= ""
 
 QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                     -shared -no-nas-sound -no-nis \
-                    -qt-gif -system-libjpeg -system-libpng -system-zlib \
+                    -system-libjpeg -system-libpng -system-zlib \
                     -no-pch -qdbus -stl -glib -phonon -webkit \
                     -xmlpatterns -no-rpath -qt3support -silent \
                     ${QT_SQL_DRIVER_FLAGS} \
@@ -160,7 +160,7 @@ FILES_${QT_BASE_NAME}-fonts-ttf-vera       = "${libdir}/fonts/Vera*.ttf"
 FILES_${QT_BASE_NAME}-fonts-ttf-dejavu     = "${libdir}/fonts/DejaVu*.ttf"
 FILES_${QT_BASE_NAME}-fonts-pfa            = "${libdir}/fonts/*.pfa"
 FILES_${QT_BASE_NAME}-fonts-pfb            = "${libdir}/fonts/*.pfb"
-FILES_${QT_BASE_NAME}-fonts-qpf            = "${libdir}/fonts/*.qpf"
+FILES_${QT_BASE_NAME}-fonts-qpf            = "${libdir}/fonts/*.qpf*"
 FILES_${QT_BASE_NAME}-fonts                = "${libdir}/fonts/README ${libdir}/fonts/fontdir"
 FILES_${QT_BASE_NAME}-linguist             = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts"
 FILES_${QT_BASE_NAME}-linguist-dbg         = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts"
@@ -190,7 +190,13 @@ do_configure() {
 		ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++
 	fi
 
-	cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf mkspecs/common/
+	if [ -f mkspecs/common/g++-unix.conf ] ; then
+		# mkspecs were refactored for 4.8.0
+		cp -f ${WORKDIR}/g++.conf mkspecs/common/g++-unix.conf
+	else
+		cp -f ${WORKDIR}/g++.conf mkspecs/common/g++.conf
+	fi
+	cp -f ${WORKDIR}/linux.conf mkspecs/common/
 
 	echo "[Paths]"                                 > $QT_CONF_PATH
 	echo "Prefix=${prefix}/"                      >> $QT_CONF_PATH
Signature · 1 line
1.7.5.4
#3 lore raw

PATCH 3/3 distro-tracking-fields: update qt recipe info

In reply to Paul Eggleton

* Update for Qt 4.8.0
* qt4-tools-native was replaced with qt4-native some time ago

---
 .../conf/distro/include/distro_tracking_fields.inc |   38 ++++++++++----------
 1 files changed, 19 insertions(+), 19 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +19 -19
index cc2d9d5..cc87d5c 100644
@@ -3528,35 +3528,35 @@ RECIPE_LAST_UPDATE_pn-imake = "Nov 21, 2010"
 RECIPE_MAINTAINER_pn-imake = "Saul Wold <[email protected]>"
 DISTRO_PN_ALIAS_pn-imake = "Mandriva=xutils Ubuntu=xutils"
 
-RECIPE_STATUS_pn-qt4-tools-native = "green" # no update needed
-RECIPE_LATEST_VERSION_pn-qt4-tools-native = "4.7.4"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-tools-native = "4 months"
-RECIPE_LATEST_RELEASE_DATE_pn-qt4-tools-native = "Sep 01, 2011"
-RECIPE_LAST_UPDATE_pn-qt4-tools-native = "Sep 10, 2011"
-RECIPE_MAINTAINER_pn-qt4-tools-native = "Paul Eggleton <[email protected]>"
-DISTRO_PN_ALIAS_pn-qt4-tools-native = "Mandriva=libqt4-devel Ubuntu=libqt4-dev"
+RECIPE_STATUS_pn-qt4-native = "green" # no update needed
+RECIPE_LATEST_VERSION_pn-qt4-native = "4.8.0"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-native = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-qt4-native = "Dec 15, 2011"
+RECIPE_LAST_UPDATE_pn-qt4-native = "Dec 15, 2011"
+RECIPE_MAINTAINER_pn-qt4-native = "Paul Eggleton <[email protected]>"
+DISTRO_PN_ALIAS_pn-qt4-native = "Mandriva=libqt4-devel Ubuntu=libqt4-dev"
 
 RECIPE_STATUS_pn-qt4-tools-nativesdk = "green"
-RECIPE_LATEST_VERSION_pn-qt4-tools-nativesdk = "4.7.4"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-tools-nativesdk = "4 months"
-RECIPE_LATEST_RELEASE_DATE_pn-qt4-tools-nativesdk = "Sep 01, 2011"
-RECIPE_LAST_UPDATE_pn-qt4-tools-nativesdk = "Sep 10, 2011"
+RECIPE_LATEST_VERSION_pn-qt4-tools-nativesdk = "4.8.0"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-tools-nativesdk = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-qt4-tools-nativesdk = "Dec 15, 2011"
+RECIPE_LAST_UPDATE_pn-qt4-tools-nativesdk = "Dec 15, 2011"
 RECIPE_MAINTAINER_pn-qt4-tools-nativesdk = "Paul Eggleton <[email protected]>"
 DISTRO_PN_ALIAS_pn-qt4-tools-nativesdk = "Mandriva=libqt4-devel Ubuntu=libqt4-dev"
 
 RECIPE_STATUS_pn-qt4-embedded = "green"
-RECIPE_LATEST_VERSION_pn-qt4-embedded = "4.7.4"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-embedded = "4 months"
-RECIPE_LATEST_RELEASE_DATE_pn-qt4-embedded = "Sep 01, 2011"
-RECIPE_LAST_UPDATE_pn-qt4-embedded = "Sep 10, 2011"
+RECIPE_LATEST_VERSION_pn-qt4-embedded = "4.8.0"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-embedded = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-qt4-embedded = "Dec 15, 2011"
+RECIPE_LAST_UPDATE_pn-qt4-embedded = "Dec 15, 2011"
 RECIPE_MAINTAINER_pn-qt4-embedded = "Paul Eggleton <[email protected]>"
 DISTRO_PN_ALIAS_pn-qt4-embedded = "OSPDT"
 
 RECIPE_STATUS_pn-qt4-x11-free = "green"
-RECIPE_LATEST_VERSION_pn-qt4-x11-free = "4.7.4"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-x11-free = "4 months"
-RECIPE_LATEST_RELEASE_DATE_pn-qt4-x11-free = "Sep 01, 2011"
-RECIPE_LAST_UPDATE_pn-qt4-x11-free = "Sep 10, 2011"
+RECIPE_LATEST_VERSION_pn-qt4-x11-free = "4.8.0"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-x11-free = "3 months"
+RECIPE_LATEST_RELEASE_DATE_pn-qt4-x11-free = "Dec 15, 2011"
+RECIPE_LAST_UPDATE_pn-qt4-x11-free = "Dec 15, 2011"
 RECIPE_MAINTAINER_pn-qt4-x11-free = "Paul Eggleton <[email protected]"
 DISTRO_PN_ALIAS_pn-qt4-x11-free = "Ubuntu=qt-x11-free Debian=qt-x11-free"
 
Signature · 1 line
1.7.5.4
#4 lore raw
In reply to Paul Eggleton
Quoted 8 lines · Paul Eggleton

This pull request fixes the architecture warnings for Qt 4.7.4 and adds recipes for building the recently released Qt 4.8.0 (with DEFAULT_PREFERENCE = "-1").

The following changes since commit de679a3036ebef1c7d7b8ee23f05590c95e498d9:

pseudo: ensure libs are included in package (2012-01-03 12:10:59 +0000)

Quoted 8 lines

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/qt-4.8.0
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt-4.8.0

Paul Eggleton (3):
qt4: fix incorrect architecture for qt4 tools
qt4: add version 4.8.0
distro-tracking-fields: update qt recipe info

Merged to master, thanks.

Richard