Active Topics

 



Notices


Reply
Thread Tools
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#1
Spent the entire weekend working on getting this to compile, and it all came down a simple linker error that was preventing the executable from being compiled.





It's a bit clunky, some menus don't work right, and its slooooow.
I'm currently writing up the how-to while a different version compiles as I expect some better results from this one, and if it works how I want then its another guide for that as well.


Edit:Bah, new compile failed, here's the how-to:

This for ubuntu 8.10, it may not work properly on other systems.

A good portion of this is adapted from https://wiki.mozilla.org/Mobile/Build/cs2007q3
Code:
#Need to install the latest toolchain
sudo su
echo "deb http://scratchbox.org/debian/ stable main" >> /etc/apt/sources.list
apt-get update
apt-get install scratchbox-toolchain-cs2007q3-glibc2.5-arm6 
exit

##############
# do the section below if on ubuntu 8.04, skip for Ubuntu 7.1.  Other OS may also have this problem. 
#If you see a problem when running nsinstall that says something "mmap - permission denied", come back here an try this.
##############
#add the following to /etc/sysctl.conf

vm.vdso_enabled = 0
vm.mmap_min_addr = 4096

#Then run
sudo sysctl -p

##############
# Continue from here for all versions of Ubuntu, including 7.10
##############

wget http://repository.maemo.org/stable/d...stall_4.1.2.sh
sudo chmod a+x ./maemo-scratchbox-install_4.1.2.sh
sudo ./maemo-scratchbox-install_4.1.2.sh -s /scratchbox
sudo /scratchbox/sbin/sbox_adduser $USER yes

# you may need to relog into your machine here.

sudo /scratchbox/sbin/sbox_ctl start

wget http://tablets-dev.nokia.com/4.1.2/m...stall_4.1.2.sh
chmod +x maemo-sdk-install_4.1.2.sh
#This will prompt you with a menu with 3 options, and if you want to install the closed binaries.
#Choose option 3, and yes to install the closed binaries.
bash maemo-sdk-install_4.1.2.sh

/scratchbox/login

sb-conf setup DIABLO-ARMEL-2008 -c cs2007q3-glibc2.5-arm6 \
  -d cputransp:debian-etch:doctools:maemo3-tools:perl \
  -t /scratchbox/devkits/cputransp/bin/qemu-arm-cvs-m
sb-conf rootstrap DIABLO-ARMEL-2008 http://repository.maemo.org/stable/4....1.2_armel.tgz
sb-conf install DIABLO-ARMEL-2008 -cedFGS
sb-conf select DIABLO-ARMEL-2008

wget http://people.mozilla.com/~vladimir/...xecstack.armel
chmod a+x execstack.armel
fakeroot mv execstack.armel /usr/bin/execstack
execstack -c `find /lib/ -name \*.so.\* -type f`
execstack -c `find /usr/lib/ -name \*.so.\* -type f`
fakeroot echo "deb http://repository.maemo.org/extras-devel diablo free non-free" >> /etc/apt/sources.list
fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.1.2 diablo explicit" >> /etc/apt/sources.list
fakeroot apt-get update
fakeroot apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev libhildonmime-dev libosso-dev libidl-dev liblocation-dev libasound2-dev libhildon1-dev 

#You should now have all the lib's you should need, time to get the souce.
mkdir Thunderbird
cd Thunderbird
wget http://releases.mozilla.org/pub/mozi...source.tar.bz2
tar -xf thunderbird-3.0b2-source.tar.bz2
Now we need to setup the config file for the project
Create a file called .mozconfig in the Thunderbird directory with the following:

export LDFLAGS="-Wl,-rpath-link,$PWD/dist/bin/:/usr/lib,-losso,-lhildonmime"
ac_add_options --enable-application=mail
ac_add_options --with-arm-kuser
ac_add_options --enable-static
ac_add_options --disable-shared
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb
mk_add_options AUTOCONF=autoconf2.13
Once you've completed this file, you'r ready to build:

make -f client.mk build
This will take a while, and if you'r succesful, then to package it up for use on the N810
cd objdir-tb
make package
cd mozilla/dist
Inside that directory should be a file called thunderbird-3.0b2.en-US.linux-arm.tar.bz2, which is thunderbird all wraped up and nice for your N810.


I'm currently compiling with --enable-optimize, which makes the compile time take alotttttttttttt longer so I'll upload that when its done.

Last edited by Null-Pointer; 2009-04-06 at 23:58. Reason: Include the how-to
 

The Following 7 Users Say Thank You to Null-Pointer For This Useful Post:
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#2
Updated with the how-to, any tips,comments,suggestions are welcome!
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#3
Thanks for doing this! Do extensions and profiles work similar?
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#4
Originally Posted by Laughing Man View Post
Thanks for doing this! Do extensions and profiles work similar?
I do not know, I don't have any extensions, but profiles should work.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
I'm using arm-linux-cs2008q3-72, have any idea if that will work?


Never mind, did an apt-get remove arm-linux-cs2008q3-72*

Thanks a lot for the target setup guide BTW, I used some convoluted copy & paste and merge method to set up my "DIABLO_ARMEL08" target...

Also, I'd recommend enabling extras-devel after you've installed the required libs. Someone uploaded newer versions of libs (like libasound2) which can break things. I was unable to install maemo-sdk-debug for example.

Last edited by qwerty12; 2009-04-07 at 07:11.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
Another option is Mozilla Seamonkey Mail. They share a lot of code with Thunderbird and they've just released 2.0alpha3.

I've had no end of grief getting Thunderbird 2 and older versions of Seamonkey to run on the tablets, I hope your version 3 works better.

Looking forward to testing the binaries!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2009-04-08 at 21:57.
 
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#7
Finally got around to uploading a package compiled with --enable-optimize. Performance is a bit better but still bleh.

It seems a lot of the text input boxes do not take advantage/support the n810's keyboard and that something I'd like to look into perhaps developing a patchset for.

I guess I should look into how GTK programs implement their input boxes so that they work with the keyboard and then look at thunderbirds input boxes and see whats going on. If anyone has some refrence material for input boxes that are supported that would be great.

http://bsd-unix.net/~fagan/thunderbi...ux-arm.tar.bz2
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#8
I also compiled thundirbird and firefiox for N8xx.
Do any body have problem with typing password?
For me neither firefox no thundirdird doesn't switch Fn and shift in password field.
I have to use copy/paste to input password with Fn or shift like digits or special symbols.
 
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#9
Originally Posted by svs57 View Post
I also compiled thundirbird and firefiox for N8xx.
Do any body have problem with typing password?
For me neither firefox no thundirdird doesn't switch Fn and shift in password field.
I have to use copy/paste to input password with Fn or shift like digits or special symbols.
Yea, that's one the problems that I had, I'm currently starting to look into creating some patches for thunderbird in order to work in a hildon environment.

Last edited by Null-Pointer; 2009-04-20 at 05:27.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:10.