0) Requirements
# sudo yum install libusb-devel
# sudo yum install perl-ExtUtils-MakeMaker
# sudo yum install wine
1) Download .deb files to be converted
http://pepper.troll.no/s60prereleases/gcce-4.4.172-r1.deb
http://pepper.troll.no/s60prereleases/s60-sdk-5.0.deb
http://pepper.troll.no/s60prereleases/runonphone-4.7.1.deb
http://pepper.troll.no/s60prereleases/qt-symbian-libs-4.7.1.deb
2) Download alien
# wget http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.83.tar.gz
# tar zxf alien_8.83.tar.gz
# cd alien
# perl Makefile.PL
# make
# sudo make install
3) Build `runonphone' package
# sudo /usr/local/bin/alien -r runonphone-4.7.1.deb -v --generate
# sudo chown -R <user>:<group> runonphone-4.7.1
# cd runonphone-4.7.1
# rpmbuild --buildroot=$HOME/runonphone-4.7.1 -bb --target i686 runonphone-4.7.1-2.spec
# sudo rpm -Uvh runonphone-4.7.1-2.i686.rpm
5) Build `qt-symbian-libs' package
# sudo /usr/local/bin/alien -r qt-symbian-libs-4.7.1.deb -v --generate
# sudo chown -R <user>:<group> qt-symbian-libs-4.7.1
# cd qt-symbian-libs-4.7.1
# rpmbuild --buildroot=$HOME/qt-symbian-libs-4.7.1 -bb --target i686 qt-symbian-libs-4.7.1-2.spec
# sudo rpm -Uvh qt-symbian-libs-4.7.1-2.fc13.i686.rpm
6) Build `s60-sdk-5.0' package
# sudo /usr/local/bin/alien -r s60-sdk-5.0.deb -v --generate
# sudo chown -R <user>:<group> s60-sdk-5.0
# cd s60-sdk-5.0
# rpmbuild --buildroot=$HOME/s60-sdk-5.0 -bb --target i686 s60-sdk-5.0-2.spec
# sudo rpm -Uvh s60-sdk-5.0-2.fc13.i686.rpm
7) Build `gcce-4.4.172-r1' package
# sudo /usr/local/bin/alien -r gcce-4.4.172-r1.deb -v --generate
# sudo chown -R <user>:<group> gcce-4.4.172
# cd gcce-4.4.172
# rpmbuild --buildroot=$HOME/gcce-4.4.172 -bb --target i686 gcce-4.4.172-1.spec
# sudo rpm -Uvh gcce-4.4.172-1.fc13.i686.rpm
8) Installing Qt
# sudo runonphone -s /usr/share/qt4/qt-symbian/lib/Qt.sis -p /dev/ttyUSB1
# sudo runonphone -s /usr/share/qt4/qt-symbian/lib/QtWebKit.sis -p /dev/ttyUSB1
9) Making an App
# cd <my-hello-world-app>
# source /etc/profile.d/s60-sdk.sh
# qmake-symbian
# make runonphone
References:
Experimental packages for Symbian development on Linux
Monday, December 20, 2010
Subscribe to:
Posts (Atom)