[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gtk frontend status report



Junichi Uekawa <dancer@netfort.gr.jp> wrote:

> > No, there is no way that they will fit on the floppy image. I
> > tried to make pic files for all of them and reduce them by mklibs
> > simultanously but that did not work out.
> 
> What does not work out in what way ?

As long as there are pic files for gdk_directfb, mklibs goes into an
infinite loop, not able to add all the symbols. Other packages like
pango and directb had relocation errors when using the reduced
libraries. Anyhow, the space gain by reducing the libraries was not
too big. The gratest loss of weight had gtk-directfb with ~400 kB.

> I would personally rather have anna only bootstrap enough so that
> apt works, than trying to have packages to be turned into udebs, or
> get anna working with installing debs if necessary.

We still need to have an eye on the space that is occupied on the
ramdisk. The udebs do not contain any unneeded modules or
documentation and in some cases they use other compile options then
their deb counterparts. A good example is directfb:

Library from .deb:

coyote:~# ldd /usr/lib/libdirectfb-0.9.so.15
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4004f000)
        libm.so.6 => /lib/libm.so.6 (0x400ba000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400db000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40195000)
        libdl.so.2 => /lib/libdl.so.2 (0x401a2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401a5000)
        libc.so.6 => /lib/libc.so.6 (0x401f4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Library from .udeb

coyote:~# ldd /home/sl/debian-installer/usr/lib/libdirectfb-0.9.so.15.0.0 
        libdl.so.2 => /lib/libdl.so.2 (0x4004b000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4004f000)
        libc.so.6 => /lib/libc.so.6 (0x4009e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

If we used the .deb we needed to pull in sdl and xlibs as well, what
is certainly not what we want.

With other libraries there are similar cases.

Regards,
Sebastian

-- 
PGP-Key: http://www.mmweg.rwth-aachen.de/~sebastian.ley/public.key
Fingerprint: A46A 753F AEDC 2C01 BE6E  F6DB 97E0 3309 9FD6 E3E6



Reply to: