[oe-commits] org.oe.dev packages/qt4/qtopia-core: Build the features that are available as plugin as plugin

freyther commit openembedded-commits at lists.openembedded.org
Mon Jan 21 00:01:01 UTC 2008


packages/qt4/qtopia-core: Build the features that are available as plugin as plugin
    -Build whatever can be build as plugin as plugin (graphics driver, mouse...)
    -Change the configure script to find plugins
    -Packaging needs to be done

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: c35f3da4f599772bf1ca71246b81a4339996bb5c
ViewMTN: http://monotone.openembedded.org/revision/info/c35f3da4f599772bf1ca71246b81a4339996bb5c
Files:
1
packages/qt4/qtopia-core-4.3.3/allow-configure-plugins.patch
packages/qt4/qtopia-core.inc
packages/qt4/qtopia-core_4.3.3.bb
Diffs:

#
# mt diff -r6457e3c7abaaf2534da7cb8e3e1ab9e58e4ba117 -rc35f3da4f599772bf1ca71246b81a4339996bb5c
#
# 
# 
# add_file "packages/qt4/qtopia-core-4.3.3/allow-configure-plugins.patch"
#  content [c3b316fee55e5f2f5eecd54f37cdc88af92b9956]
# 
# patch "packages/qt4/qtopia-core.inc"
#  from [afdef9632312a739952146a0359c30d1fc64c12f]
#    to [d84b9bbe970aba94f5e3b17f97d946f54e674a25]
# 
# patch "packages/qt4/qtopia-core_4.3.3.bb"
#  from [9272f8ac29a03d2b11a73f4636b20468b3c281ec]
#    to [3e76409cf2b8fa339a9084bfc41b1a6714e46b88]
# 
============================================================
--- packages/qt4/qtopia-core-4.3.3/allow-configure-plugins.patch	c3b316fee55e5f2f5eecd54f37cdc88af92b9956
+++ packages/qt4/qtopia-core-4.3.3/allow-configure-plugins.patch	c3b316fee55e5f2f5eecd54f37cdc88af92b9956
@@ -0,0 +1,62 @@
+Index: qtopia-core-opensource-src-4.3.3/configure
+===================================================================
+--- qtopia-core-opensource-src-4.3.3.orig/configure	2008-01-20 11:42:07.000000000 +0100
++++ qtopia-core-opensource-src-4.3.3/configure	2008-01-20 22:31:37.000000000 +0100
+@@ -639,10 +639,10 @@
+ 
+ CFG_SQL_AVAILABLE=
+ if [ -d "$relpath/src/plugins/sqldrivers" ]; then
+-  for a in "$relpath/src/plugins/sqldrivers/"*; do
+-     if [ -d "$a" ]; then
+-	 base_a=`basename $a`
+-  	 CFG_SQL_AVAILABLE="${CFG_SQL_AVAILABLE} ${base_a}"
++  for a in `ls $relpath/src/plugins/sqldrivers/`; do
++     dir="$relpath/src/plugins/sqldrivers/$a"
++     if [ -d "$dir" ]; then
++  	 CFG_SQL_AVAILABLE="${CFG_SQL_AVAILABLE} ${a}"
+ 	 eval "CFG_SQL_${base_a}=auto"
+      fi
+   done
+@@ -650,30 +650,30 @@
+ 
+ CFG_DECORATION_PLUGIN_AVAILABLE=
+ if [ -d "$relpath/src/plugins/decorations" ]; then
+-  for a in "$relpath/src/plugins/decorations/"*; do
+-     if [ -d "$a" ]; then
+-	 base_a=`basename $a`
+-  	 CFG_DECORATION_PLUGIN_AVAILABLE="${CFG_DECORATION_PLUGIN_AVAILABLE} ${base_a}"
++  for a in `ls $relpath/src/plugins/decorations/`; do
++     dir="$relpath/src/plugins/decorations/$a"
++     if [ -d "$dir" ]; then
++  	 CFG_DECORATION_PLUGIN_AVAILABLE="${CFG_DECORATION_PLUGIN_AVAILABLE} ${a}"
+      fi
+   done
+ fi
+ 
+ CFG_MOUSE_PLUGIN_AVAILABLE=
+ if [ -d "$relpath/src/plugins/mousedrivers" ]; then
+-  for a in "$relpath/src/plugins/mousedrivers/"*; do
+-     if [ -d "$a" ]; then
+-	 base_a=`basename $a`
+-  	 CFG_MOUSE_PLUGIN_AVAILABLE="${CFG_MOUSE_PLUGIN_AVAILABLE} ${base_a}"
++  for a in `ls $relpath/src/plugins/mousedrivers/`; do
++     dir="$relpath/src/plugins/mousedrivers/$a"
++     if [ -d "$dir" ]; then
++  	 CFG_MOUSE_PLUGIN_AVAILABLE="${CFG_MOUSE_PLUGIN_AVAILABLE} ${a}"
+      fi
+   done
+ fi
+ 
+ CFG_GFX_PLUGIN_AVAILABLE=
+ if [ -d "$relpath/src/plugins/gfxdrivers" ]; then
+-  for a in "$relpath/src/plugins/gfxdrivers/"*; do
+-     if [ -d "$a" ]; then
+-	 base_a=`basename $a`
+-  	 CFG_GFX_PLUGIN_AVAILABLE="${CFG_GFX_PLUGIN_AVAILABLE} ${base_a}"
++  for a in `ls $relpath/src/plugins/gfxdrivers/`; do
++     dir="$relpath/src/plugins/gfxdrivers/$a"
++     if [ -d "$dir" ]; then
++  	 CFG_GFX_PLUGIN_AVAILABLE="${CFG_GFX_PLUGIN_AVAILABLE} ${a}"
+      fi
+   done
+   CFG_GFX_OFF="$CFG_GFX_AVAILABLE" # assume all off
============================================================
--- packages/qt4/qtopia-core.inc	afdef9632312a739952146a0359c30d1fc64c12f
+++ packages/qt4/qtopia-core.inc	d84b9bbe970aba94f5e3b17f97d946f54e674a25
@@ -17,7 +17,15 @@ QT_CONFIG_FLAGS += " \
 
 QT_CONFIG_FLAGS += " \
     -nomake demos -nomake examples -nomake tools -qtlibinfix E\
-    -qt-mouse-tslib -qt-gfx-transformed -embedded ${QT_ARCH}"
+    -embedded ${QT_ARCH} \
+    -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \
+    -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc\
+    -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb\
+    -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb\
+    ${QT_QCONFIG} \
+    "
+
+QT_QCONFIG = ""
 QT_BASE_NAME = "qtopiacore"
 QT_BASE_LIB  = "libqtopiacore"
 QT_DIR_NAME = "qtopia"
============================================================
--- packages/qt4/qtopia-core_4.3.3.bb	9272f8ac29a03d2b11a73f4636b20468b3c281ec
+++ packages/qt4/qtopia-core_4.3.3.bb	3e76409cf2b8fa339a9084bfc41b1a6714e46b88
@@ -1,5 +1,6 @@ SRC_URI += " \
 require qtopia-core.inc
 SRC_URI += " \
            file://0006-freetype-host-includes.patch;patch=1 \
            file://0007-openssl-host-includes.patch;patch=1 \
+           file://0008-backport-qt-lib-infix.patch;patch=1 \
+           file://allow-configure-plugins.patch;patch=1 "
-           file://0008-backport-qt-lib-infix.patch;patch=1"






More information about the Openembedded-commits mailing list