View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#102
Here's most of what I did to create a working package of

fcamera_0.1.3-1_armel.deb

on the device.

If I missed something, first try to fix it yourself, but if I made a mistake other than a package install or a repository configuration, please post it here.

1. Create armel versions of qmake and moc

This could easily benefit from a strip down, but at the moment it needs almost 800 MB.

From your source directory in your development chroot, do the following:

Code:
apt-get install libqt4-dev
apt-get source libqt4-dev
# The above is a long process, be patient
cd qt4-x11-4.6.2~git20100401
# copy the attached file zrules.txt to the debian directory
. debian/zrules.txt
# The above is a very long process, could be streamlined, for now, be patient
cp -a bin/qmake /usr/bin
cd src/tools/bootstrap
make
cd ../moc
make
cd ../../../bin
strip moc
cp -a moc /usr/bin
2. Build fcamera_0.1.3-1_armel.deb

Code:
cd ../..
apt-get install fcam-dev
apt-get source fcamera
scp <scratchbox user>@<scratchbox host>:/scratchbox/compilers/cs2007q3-glibc2.5-arm7/lib/gcc/arm-none-linux-gnueabi/4.2.1/include/arm_neon.h /usr/include
apt-get install pulseaudio-dev
cd fcamera-0.1.3
dpkg-buildpackage -b -d -nc
Good luck!
Attached Files
File Type: txt zrules.txt (850 Bytes, 193 views)
__________________
N9: Go white or go home

Last edited by daperl; 2010-07-31 at 21:03.
 

The Following User Says Thank You to daperl For This Useful Post: