packages/{qt,qte,uicmoc,qmake}: Update to Qt(opiaCore) 4.3.2
authorHolger Freyther <zecke@selfish.org>
Tue, 23 Oct 2007 14:31:11 +0000 (14:31 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 23 Oct 2007 14:31:11 +0000 (14:31 +0000)
    -Update PREFERRED_VERSION
    -Update checksums
    -Update patches

14 files changed:
conf/checksums.ini
conf/distro/include/angstrom-2007-preferred-versions.inc
packages/qmake/qmake2-native_2.10a.bb
packages/qt/qt4-x11-free-4.3.2/.mtn2git_empty [moved from packages/qt/qt4-x11-free-4.3.0/.mtn2git_empty with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0001-cross-compile.patch [moved from packages/qt/qt4-x11-free-4.3.0/0001-cross-compile.patch with 86% similarity]
packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch [moved from packages/qt/qt4-x11-free-4.3.0/0002-fix-resinit-declaration.patch with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0003-no-tools.patch [moved from packages/qt/qt4-x11-free-4.3.0/0003-no-tools.patch with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0004-no-qmake.patch [moved from packages/qt/qt4-x11-free-4.3.0/0004-no-qmake.patch with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0005-fix-mkspecs.patch [moved from packages/qt/qt4-x11-free-4.3.0/0005-fix-mkspecs.patch with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0006-freetype-host-includes.patch [moved from packages/qt/qt4-x11-free-4.3.0/0006-freetype-host-includes.patch with 100% similarity]
packages/qt/qt4-x11-free-4.3.2/0007-openssl-host-includes.patch [moved from packages/qt/qt4-x11-free-4.3.0/0007-openssl-host-includes.patch with 100% similarity]
packages/qt/qt4-x11-free_4.3.2.bb [moved from packages/qt/qt4-x11-free_4.3.0.bb with 100% similarity]
packages/qte/qtopia-core_4.3.2.bb [moved from packages/qte/qtopia-core_4.3.1.bb with 99% similarity]
packages/uicmoc/uicmoc4-native_4.3.2.bb [new file with mode: 0644]

index 81b64d4..36c9d33 100644 (file)
@@ -1286,6 +1286,10 @@ sha256=025655971eef7f76ece9754346d6eb4e2dd44ddf569c4c84de27836aa24b04a3
 md5=9519eccf0638c9962f73a7b20da77e0e
 sha256=8fdbc7da376b22796879d6e3b756f71a8800ed1b35fc88aa76cddffd6f1fd883
 
+[ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-4.3.2.tar.gz]
+md5=70b729dd5dd8b2b432d685918e1971f1
+sha256=38af7b39e7805d8e3ba81091aa29af8bd38ce7cbbf8e721c8bb7ab810c38d963
+
 [ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-base-0.17.tar.gz]
 md5=1f0193358e92559ec0f598b09ccbc0ec
 sha256=16dd81625ebfc8f5dcb0dfd2e6bac223aad325a9405d66a556fe349446b3c332
index 39ae353..22c6958 100644 (file)
@@ -1618,7 +1618,7 @@ PREFERRED_VERSION_qscintilla ?= "1.65-gpl-1.6"
 PREFERRED_VERSION_qsvn ?= "0.3.0"
 PREFERRED_VERSION_qt-x11-free ?= "3.3.7"
 PREFERRED_VERSION_qt-x11-free-native ?= "3.3.5"
-PREFERRED_VERSION_qt4-x11-free ?= "4.3.0"
+PREFERRED_VERSION_qt4-x11-free ?= "4.3.2"
 PREFERRED_VERSION_qtplot ?= "0.2"
 PREFERRED_VERSION_quagga ?= "0.99.8"
 PREFERRED_VERSION_quake1 ?= "0.0.1"
@@ -1894,7 +1894,7 @@ PREFERRED_VERSION_udhcp ?= "0.9.8"
 PREFERRED_VERSION_ufraw ?= "0.12"
 PREFERRED_VERSION_uicmoc-native ?= "2.3.10"
 PREFERRED_VERSION_uicmoc3-native ?= "3.3.5"
-PREFERRED_VERSION_uicmoc4-native ?= "4.3.1"
+PREFERRED_VERSION_uicmoc4-native ?= "4.3.2"
 PREFERRED_VERSION_uim ?= "1.3.1"
 PREFERRED_VERSION_uim-native ?= "1.3.1"
 PREFERRED_VERSION_uim-tomoe-gtk ?= "0.2.0"
index 55282e5..84df0ef 100644 (file)
@@ -3,9 +3,9 @@ PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 SECTION = "devel"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
-QTVER = "qtopia-core-opensource-src-4.3.1"
+QTVER = "qtopia-core-opensource-src-4.3.2"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/${QTVER}.tar.gz \
            file://0001-fix-mkspecs.patch;patch=1 \
@@ -7,11 +7,11 @@ Subject: [PATCH] cross compile
  configure |  137 ++----------------------------------------------------------
  1 files changed, 5 insertions(+), 132 deletions(-)
 
-diff --git a/configure b/configure
-index 6b3ccd2..b3c2a52 100755
---- a/configure
-+++ b/configure
-@@ -733,7 +733,7 @@ while [ "$#" -gt 0 ]; do
+Index: qt-x11-opensource-src-4.3.2/configure
+===================================================================
+--- qt-x11-opensource-src-4.3.2.orig/configure 2007-10-01 15:06:03.000000000 +0200
++++ qt-x11-opensource-src-4.3.2/configure      2007-10-23 09:32:25.000000000 +0200
+@@ -735,7 +735,7 @@
              UNKNOWN_ARG=yes
          fi
          ;;
@@ -20,7 +20,7 @@ index 6b3ccd2..b3c2a52 100755
          VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
          shift
          VAL="$1"
-@@ -1109,6 +1109,9 @@ while [ "$#" -gt 0 ]; do
+@@ -1124,6 +1124,9 @@
      xplatform)
          XPLATFORM="$VAL"
          ;;
@@ -30,7 +30,7 @@ index 6b3ccd2..b3c2a52 100755
      debug-and-release)
          if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
              CFG_DEBUG_RELEASE="$VAL"
-@@ -2092,137 +2095,7 @@ if [ "$OPT_VERBOSE" = "yes" ]; then
+@@ -2119,149 +2122,7 @@
      echo "Determining system architecture... ($UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE)"
  fi
  
@@ -116,7 +116,7 @@ index 6b3ccd2..b3c2a52 100755
 -        ARCH=i386
 -        ;;
 -    *:*:x86_64|*:*:amd64)
--        if [ "$PLATFORM" = "linux-g++-32" ]; then
+-        if [ "$PLATFORM" = "linux-g++-32" -o "$PLATFORM" = "linux-icc-32" ]; then
 -            if [ "$OPT_VERBOSE" = "yes" ]; then
 -                echo "    32 bit on 64-bit AMD 80x86 (i386)"
 -            fi
@@ -146,6 +146,18 @@ index 6b3ccd2..b3c2a52 100755
 -      fi
 -      ARCH=s390
 -      ;;
+-    *:*:arm*)
+-        if [ "$OPT_VERBOSE" = "yes" ]; then
+-            echo "    ARM (arm)"
+-        fi
+-        ARCH=arm
+-        ;;
+-    Linux:*:sparc*) 
+-        if [ "$OPT_VERBOSE" = "yes" ]; then 
+-            echo "    Linux on SPARC" 
+-        fi 
+-        ARCH=sparc 
+-        ;; 
 -    *:*:*)
 -        if [ "$OPT_VERBOSE" = "yes" ]; then
 -            echo "    Trying '$UNAME_MACHINE'..."
@@ -169,6 +181,3 @@ index 6b3ccd2..b3c2a52 100755
  
  if [ "$OPT_VERBOSE" = "yes" ]; then
          echo "System architecture: '$ARCH'"
--- 
-1.5.0.7
-
similarity index 99%
rename from packages/qte/qtopia-core_4.3.1.bb
rename to packages/qte/qtopia-core_4.3.2.bb
index 73cfb7f..c486ba1 100644 (file)
@@ -5,7 +5,7 @@ PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 DEPENDS = "freetype tslib"
 
-PR = "r1"
+PR = "r0"
 
 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz \
            file://linux-oe-qmake.conf"
diff --git a/packages/uicmoc/uicmoc4-native_4.3.2.bb b/packages/uicmoc/uicmoc4-native_4.3.2.bb
new file mode 100644 (file)
index 0000000..df39a49
--- /dev/null
@@ -0,0 +1,60 @@
+DESCRIPTION = "User-Interface-, Meta-Object-, and Resource Compiler for Qt/[X11|Mac|Embedded] version 4.x"
+SECTION = "libs"
+HOMEPAGE = "http://www.trolltech.com"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz"
+S = "${WORKDIR}/qtopia-core-opensource-src-${PV}"
+
+inherit native
+
+EXTRA_OECONF = "-prefix ${STAGING_DIR}/${BUILD_SYS}/qt4 \
+                -qt-libjpeg -qt-gif -system-zlib \
+                -no-nis -no-cups -no-exceptions  \
+                -no-accessibility -no-libjpeg    \
+                -no-nas-sound -no-sm             \
+                -no-xshape    -no-xinerama       \
+                -no-xcursor   -no-xrandr         \
+                -no-xrender   -no-fontconfig     \
+                -no-tablet    -no-xkb            \
+                -no-libpng                       \
+                -verbose -release  -fast -static \
+                -qt3support "
+# yank default -e
+EXTRA_OEMAKE = " "
+
+do_configure() {
+       sed -i 's:^QT += xml qt3support$:QT += xml qt3support network:' "${S}"/src/tools/uic3/uic3.pro
+       echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
+}
+
+TOBUILD = "\
+  src/tools/moc \
+  src/corelib \
+  src/sql \
+  src/qt3support \
+  src/xml \
+  src/tools/uic \
+  src/tools/rcc \
+  src/network \
+  src/gui \
+  src/tools/uic3 \
+"
+
+do_compile() {
+       unset CC CXX CFLAGS LFLAGS CXXFLAGS CPPFLAGS
+       for i in ${TOBUILD}; do
+               cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}"
+       done
+}
+
+do_stage() {
+        install -m 0755 bin/moc ${STAGING_BINDIR}/moc4
+        install -m 0755 bin/uic ${STAGING_BINDIR}/uic4
+        install -m 0755 bin/uic3 ${STAGING_BINDIR}/uic34
+        install -m 0755 bin/rcc ${STAGING_BINDIR}/rcc4
+        install -d ${STAGING_DIR}/${BUILD_SYS}/qt4/
+        install -m 0644 tools/porting/src/q3porting.xml ${STAGING_DIR}/${BUILD_SYS}/qt4/
+}