Confirmed users, Bureaucrats and Sysops emeriti
792
edits
(New page: * Ubuntu 7.04 as host; should work fine with others, but I'm using preexisting debs here. * install all scratchbox debs from http://scratchbox.org/~jhakala/unofficial/ -- except for the ...) |
No edit summary |
||
| Line 1: | Line 1: | ||
== Environment Setup == | |||
* Ubuntu 7.04 as host; should work fine with others, but I'm using preexisting debs here. | * Ubuntu 7.04 as host; should work fine with others, but I'm using preexisting debs here. | ||
| Line 19: | Line 20: | ||
** ensure that 'deb http://repository.maemo.org/ chinook free non-free' and 'deb-src http://repository.maemo.org/ chinook free' are in /etc/apt/sources.list | ** ensure that 'deb http://repository.maemo.org/ chinook free non-free' and 'deb-src http://repository.maemo.org/ chinook free' are in /etc/apt/sources.list | ||
** there's a whole bunch of dev packages you need to pull in: | ** there's a whole bunch of dev packages you need to pull in: | ||
*** apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev | *** apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev | ||
*** (might be some more missing, install as necessary) | *** (might be some more missing, install as necessary) | ||
| Line 33: | Line 34: | ||
* You should be good to go; you'll need to manually build libIDL (packages to be provided soon) | * You should be good to go; you'll need to manually build libIDL (packages to be provided soon) | ||
== Mozilla Quirks == | |||
* -fshort-wchar must not be specified, even though configure.in specifies it if it's available. The maemo libs seem to be built with sizeof(wchar_t) == 4. See {{bug 423913}}. Hack it out of configure.in. | |||
* -Werror is enabled in a few places, notably in netwerk/cookies -- but with gcc 4.2, we get a lot of warnings about "cast increases required alignment of target type", especially in nsVoidArray.h (cast from char* to nsVoidArray::Impl*). Those need to be fixed, but in the meantime, get rid of the -Werror flag in configure.in. | |||