x86-built_qtopia
#!/bin/bash
if [ -d x86_qtopia ] ; then
echo "Nothing do not done"
else
mkdir x86_qtopia
fi
if [ -d x86_qtopia/tmake ] ; then
echo "Nothing do not done"
else
tar xvfj tmake.tar.bz2 &&
mv -f tmake x86_qtopia/
fi
if [ -d qt-x11 ] ; then
echo "Nothing do not done"
else
tar xvfj qt-x11.tar.bz2
fi
if [ -f qt-x11/bin/qvfb ] ; then
echo "Nothing do not done"
else
cd qt-x11 &&
export QTDIR=$PWD &&
echo yes | ./configure -static -no-xft -no-opengl -no-sm &&
make -C src/moc &&
cp src/moc/moc bin &&
make -C src &&
make -C tools/qembed &&
make -C tools/designer &&
make -C tools/qvfb &&
make -C tools/makeqpf &&
cp tools/qvfb/qvfb tools/qembed/qembed tools/makeqpf/makeqpf bin &&
strip bin/uic bin/moc bin/designer bin/makeqpf bin/qvfb bin/qembed &&
cd ..
fi
if [ -d x86_qtopia/qt ] ; then
echo "Nothing do not done"
else
tar xvfj qt.tar.bz2 &&
tar xvfj qtopia.tar.bz2 &&
mv -f qtopia x86_qtopia/ &&
mv -f qt x86_qtopia/
fi
if [ -f x86_qtopia/qt/lib/libqte.so.2.3.7 ] ; then
echo "Nothing do not done"
cd x86_qtopia
else
cp qt-x11/bin/?* x86_qtopia/qt/bin &&
cd x86_qtopia &&
export QTDIR=$PWD/qt &&
export QPEDIR=$PWD/qtopia &&
export TMAKEDIR=$PWD/tmake &&
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++ &&
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH &&
cd qt &&
cp -f ../qtopia/src/qt/qconfig-qpe.h src/tools/ &&
(echo yes; echo yes ) |./configure -system-jpeg -gif -system-libpng -system-zlib -platform linux-generic-g++
-qconfig qpe -depths 16,24,32 &&
make -C src &&
cd ..
fi
if [ -f qtopia/bin/qpe ] ; then
echo "Nothing do not done"
cd ..
else
export QTDIR=$PWD/qt &&
export QPEDIR=$PWD/qtopia &&
export TMAKEDIR=$PWD/tmake &&
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++ &&
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH &&
cd qtopia/src &&
./configure -platform linux-generic-g++ &&
make &&
cd ../../..
fi
x86-qtopia文件夹下面的built
#!/bin/bash
tar xfvz tmake-1.11.tar.gz
tar xfvz qt-embedded-2.3.7.tar.gz
tar xfvz qtopia-free-1.7.0.tar.gz
tar xfvz qt-x11-2.3.2.tar.gz
tar xvzf konqueror-embedded-snapshot-20030705.tar.gz
mv konqueror-embedded-snapshot-20030705 konq-em
mv tmake-1.11 tmake
mv qt-2.3.7 qt
mv qtopia-free-1.7.0 qtopia
mv qt-2.3.2 qt-x11
cd qt-x11
export QTDIR=$PWD
echo yes | ./configure -static -no-xft -no-opengl -no-sm
make -C src/moc
cp src/moc/moc bin
make -C src
make -C tools/qembed
make -C tools/designer
make -C tools/qvfb
cp tools/qvfb/qvfb tools/qembed/qembed bin
strip bin/uic bin/moc bin/designer bin/qvfb bin/qembed
cd ..
cp qt-x11/bin/?* qt/bin
#rm -fr qt-x11 #HJ
export QTDIR=$PWD/qt
export QPEDIR=$PWD/qtopia
export TMAKEDIR=$PWD/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
cd qt
make clean
cp ../qtopia/src/qt/qconfig-qpe.h src/tools/
(echo yes; echo yes ) |./configure -system-jpeg -gif -system-libpng -system-zlib -platform linux-generic-g++ -qconfig qpe -depths 16,24,32
make -C src
cd ..
cd qtopia/src
./configure -platform linux-generic-g++
make
cd ../..
#export QTDIR=$PWD/qt
#export QPEDIR=$PWD/qtopia
#export TMAKEDIR=$PWD/tmake
#export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++
#export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
cd konq-em
./configure --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug --enable-ftp --enable-static --disable-shared --disable-mt --with-extra-libs=$QPEDIR/lib --with-extra-include=$QPEDIR/include --without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR
make
cd .. |