Mickeyl - that's fine, I totally agree with most of your points. However I must mention I personlly rebuilt everything I really need (mostly dropbear and usefull stuff - I won't care with more/less etc unless there's a new feature I really need) and I understand the problems with building a distributions. An ungly suite of configure.sh scripts running configure, make and everything is more that enough for my needs.
Here's what I use with bluez for example : (along with a minimal etc/ directory)
#!/bin/sh
# Copyright © 2005, Guylhem Aznar <zaurus-ipk@externe.net> : GPL
# Requires the toolchain from:
#
http://www.externe.net/zaurus/sdk/Embedix.tgzVERSION=2.17
cd /tmp
wget
http://bluez.sourceforge.net/download/blue...;VERSION.tar.gzwget
http://bluez.sourceforge.net/download/blue...;VERSION.tar.gztar zxvf bluez-libs-$VERSION.tar.gz
tar zxvf bluez-utils-$VERSION.tar.gz
export CPPFLAGS=-I/opt/Embedix/tools/arm-linux/include/
export LDFLAGS=-L/opt/Embedix/tools/arm-linux/lib/
export PATH=/opt/Embedix/tools/bin/:$PATH
cd bluez-libs-$VERSION
./configure --prefix=/ --host=arm-linux
make
mkdir /tmp/bluez-zaurus
mkdir /tmp/bluez-zaurus/usr
mkdir /tmp/bluez-zaurus/usr/lib
mv src/.libs/libbluetooth.* /tmp/bluez-zaurus/usr/lib
cp -adr include/ /tmp/bluez-zaurus/usr/
rm /tmp/bluez-zaurus/usr/include/Makefil*
cd ../bluez-utils-$VERSION
mkdir /tmp/bluez-zaurus/usr/bin
mkdir /tmp/bluez-zaurus/usr/sbin
./configure --host=arm-linux --prefix=/ --with-bluez=/tmp/bluez-zaurus/usr/
make
cd tools
cp ciptool hcisecfilter hcitool l2ping ppporc sdptool /tmp/bluez-zaurus/usr/bin
cp hciattach hciconfig pskey /tmp/bluez-zaurus/usr/sbin
cd ..
cp dund/dund /tmp/bluez-zaurus/usr/bin
cp hcid/hcid /tmp/bluez-zaurus/usr/bin
cp hidd/hidd /tmp/bluez-zaurus/usr/bin
cp pand/pand /tmp/bluez-zaurus/usr/bin
cp rfcomm/rfcomm /tmp/bluez-zaurus/usr/bin
cp sdpd/sdpd /tmp/bluez-zaurus/usr/bin
cp test/hsplay test/hsmicro /tmp/bluez-zaurus/usr/bin
cd /tmp/bluez-zaurus
tar zcvf ../data.tar.gz ./
mkdir ../control
echo "Package: bluez-zaurus
Priority: optional
Version: $VERSION
Architecture: arm
Maintainer: Guylhem Aznar <zaurus-ipk@externe.net>
Depends: libc6
Description: BlueZ $VERSION bluetooth software for the Zaurus
Section: kernel" > control
echo "#!/bin/sh
rm /dev/rfcomm*
/etc/rc.d/init.d/pcmcia restart
/sbin/rmmod l2cap
/sbin/rmmod rfcomm
/sbin/rmmod bluez
exit 0" > postrm
echo "#!/bin/sh
/sbin/cardctl eject
/etc/rc.d/init.d/bluetooth stop
exit 0" > prerm
echo "#!/bin/sh
if [ -f /etc/modules.conf ]; then
if [ \"`grep net-pf-31 /etc/modules.conf`\" = \"\" ]; then
echo \"alias net-pf-31 bluez\" >> /etc/modules.conf
fi
if [ \"`grep bt-proto-0 /etc/modules.conf`\" = \"\" ]; then
echo \"alias bt-proto-0 l2cap\" >> /etc/modules.conf
fi
if [ \"`grep bt-proto-2 /etc/modules.conf`\" = \"\" ]; then
echo \"alias bt-proto-2 sco\" >> /etc/modules.conf
fi
if [ \"`grep bt-proto-3 /etc/modules.conf`\" = \"\" ]; then
echo \"alias bt-proto-3 rfcomm\" >> /etc/modules.conf
fi
if [ \"`grep bt-proto-4 /etc/modules.conf`\" = \"\" ]; then
echo \"alias bt-proto-4 bnep\" >> /etc/modules.conf
fi
if [ \"`grep tty-ldisc-15 /etc/modules.conf`\" = \"\" ]; then
echo \"alias tty-ldisc-15 hci_uart\" >> /etc/modules.conf
fi
if [ \"`grep char-major-10-250 /etc/modules.conf`\" = \"\" ]; then
echo \"alias char-major-10-250 hci_vhci\" >> /etc/modules.conf
fi
else
echo \"alias net-pf-31 bluez\" > /etc/modules.conf
echo \"alias bt-proto-0 l2cap\" >> /etc/modules.conf
echo \"alias bt-proto-2 sco\" >> /etc/modules.conf
echo \"alias bt-proto-3 rfcomm\" >> /etc/modules.conf
echo \"alias bt-proto-4 bnep\" >> /etc/modules.conf
echo \"alias tty-ldisc-15 hci_uart\" >> /etc/modules.conf
echo \"alias char-major-10-250 hci_vhci\" >> /etc/modules.conf
fi
/usr/bin/make_dev.bluez.sh
/sbin/depmod -a
/etc/rc.d/init.d/bluetooth start
/etc/rc.d/init.d/pcmcia restart
/sbin/cardctl eject
/sbin/cardctl insert
exit 0">postinst
tar zcvf ../control.tar.gz ./
cd ..
echo 2.0 > debian-binary
tar zcvf bluez-$VERSION-zaurus.ipk ./debian-binary ./data.tar.gz ./control.tar.gz
There's only 1 thing I didn't know : oz-3.5.3-adhoc-sdk.tar.bz2. It should be more proheminently displayed and linked, it could save people lot of time and effort. That changes several points, but not the main conclusion : OpenEmbedded (for building distros) should include qtopia 2.1 and gcc 2.95 support. Qtopia 2.1 should be the target of our efforts. Gcc 2.95 would make it easy for Trolltech (with a lowercase t :-) to build their Roms and may even prompt them to do good stuff. It would also encourage them to contribute back to OpenEmbedded what they did to get working Roms.
lpotter - Your rom does change a lot of things. Choice is good, except when it's just duplication. Gnome vs KDE is good and motivating. GPE vs Opie/Qtopia is good to, it motivates even if it's a bit wasteful. Qtopia vs Opie is not any of that - it's just wasteful. But thanks for the explaination about GSM. Yes dialing 112 or 211 even with the screensaver etc is part of the regulations.
Does it means Trolltech will release the dialer/sms/etc. and email application for folks like us who have compact flash cards? Ooops.
Hrw - A distribution is about choices. I dediced to go for compatibility before everything else. One can't do everything at once. Trust me, a lot of work goes into this compatibility thingy. I will try to get Qtopia 2.1 working soon, and I expect many interesting and fun challenges. It's a shame if I'll be alone going in that direction, but I will anyway.