[maemo-developers] recompiling x server

From: Frantisek Dufka dufkaf at seznam.cz
Date: Mon Apr 30 19:43:48 EEST 2007
Daniel Stone wrote:
> On Mon, Apr 30, 2007 at 06:13:48PM +0200, ext Frantisek Dufka wrote:
>> Then x-server builds fine and produce debs. What is strange 
>> that /usr/bin/Xomap on device with latest IT2006 firmware has ~600kb but 
>> my executable in debian/xserver-xomap/usr/bin/Xomap has 1.2MB. When setting
>> export DEB_BUILD_OPTIONS=thumb
>> before build the result has ~900kb.
>> Tried strip just to be sure and size did not change. What other options 
>> are needed to reproduce device size?
> Did the strip succeed?  file should tell you whether or not it's
> stripped.  Aside from that, I can't think of anything else, as I build
> in a Scratchbox target myself, and it seems to work okay.

Sorry, I was using Bora arm target. I should name them properly, forgot 
that SDK_ARM is Bora now :-) So in fact I have build 
xorg-server_1.1.99.3-0osso31 which is in IT2007. Size on device is 
approx 1.2MB too.

In IT2006 it is xserver-kdrive_6.6.3-28 and package is not named 
xorg-server but xserver-xomap.

For 2.2 unmet dependencies are

dpkg-checkbuilddeps: Unmet build dependencies: flex libxproto-composite 
libxproto-damage libxproto-colorkey libxproto-resource libxres-dev 
libxkbfile-dev libxdmcp-dev

This is worse and indeed does not build at all. I have only following 
repositories in /etc/apt/sources.list

deb http://repository.maemo.org/ gregale free non-free
deb-src http://repository.maemo.org/ gregale free non-free

I guess adding older 2.1 or 2.0 ones is not good idea. So this looks 
much harder then in Bora.


More information about the maemo-developers mailing list