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

Re: GTK DBF IRC meeting (was: GTK DBF - Automatic build infrastructure)



Here i reply to the quoted mail and to your previous "Re: GTK DBF - Automatic build infrastructure". To summarize, you said we should use as much as possible, official udebs, then try to pack into udebs what's not available as official udebs and, eventually, use tarballs for those files where packaging is not possible/convenient.

Note that the d-i_dfb.tar.gz testcase i historycaly used for testing the FE and to build the experimental netinst ISOs already includes files provided by existing official udebs. Since we want progegessively move from hacky solutions to complete udeb usage we'll need to include inside the initrd the following official udebs


*Official udebs to be included in th initrd

DirectFB:      libdirectfb-0.9-22-udeb (0.9.22-6)
GLib:          libglib2.0-udeb (2.8.0-1)
Pango:         libpango1.0-udeb    (1.8.2-1)
ATK:           libatk1.0-udeb (1.10.1-2)
LibPNG:        libpng12-0-udeb (1.2.8rel-1.0.1)
Mouse support: mouse-modules-2.6.12-1-386-di (or whatever is appropriate for the used kernel)
FontConfig:    fontconfig-udeb (2.3.2-1)
LibFreeType:   libfreetype6-udeb (2.1.10-1)
LibExPat:      libexpat1-udeb (1.95.8-3)


*Files provided by those udebs should then NOT be included inside the hypotetical "d-i_gtk_root.tar.gz" from where they will be removed.
After the cleanup then "d-i_gtk_root.tar.gz" will only contain

-libc-2.3.5.so, libpthread-0.10.so, ld-2.3.5.so( to be copied in /lib)
-Libraries and files once proveded by the no-longer existing libgtk+2.0-directfb0-udeb (until alastair will provide us again the missing udeb - Alastair: can i push a little for having those udebs built?) Those libs could also be moved to the standard path /usr/lib from /usr/local/lib -files contained in /etc (mostly configuration files for gtk and , pango , fontconfig), that should override anything else also provided by regular udebs


*Fonts should be provided by a separate "d-i_gtk_fonts.tar.gz" (or maybe by an unofficial udeb); maybe it's worth also including Hebrew fonts in this archive

*gtk.so will be provided by a d-i_gtk_frontend.tar.gz (or, better, by an unofficial cdebconf-gtk-udeb) and hand-compiled against GTK with DFB backend since automatic building is not possible due to lack of libgtk+2.0-directfb0-udeb-dev.


To summarize once again we need to include inside the initrd

*The official udebs listed above
*Files from d-i_gtk_root.tar.gz
*Files from d-i_gtk_fonts.tar.gz (or maybe an equivalent udeb)
*Files from d-i_gtk_frontend.tar.gz (or maybe an equivalent udeb)

I think i'll have to learn a lot of things on building udebs and a lot of testing will be needed to make all those pieces work togheter.

ciao

Attilio

Frans Pop wrote:
On Sunday 25 September 2005 12:02, Attilio Fiandrotti wrote:

ok: since gtk.c has to compile against DFB and not X, and since this
cannot be done automatically, maybe cdebconf-gtk-udeb should be
excluded from builds and a precompiled, let's say,
d-i_gtk_frontend.tar.gz should be available in

http://d-i.alioth.debian.org/gtk-frontend/


Yes, or maybe better, an unofficial udeb from a special location that also has the correct dependencies.
I would really like to get as much as possible software packaged.


Every time i update gtk.c in SVN i would then also manually compile it,
pack it in a d-i_gtk_frontend.tar.gz archive and place the archive
without having to upload all the remaining components of the gtk d-i .


Yes, that is the idea.


In the same dir should then be available also a, let's say,
d-i_gtk_root.tar.gz that contains everything that has to be added to
the initrd except the frontend itself (gtk.so) since it's already
provided by d-i_gtk_frontend.tar.gz.
Since this tarball will contain everything needed by the gtk fe to work
(libraries, fonts, configuration files..)except mouse kernel modules,
no udebs should be placed in the initrd except mouse kernel modules.


Well, I would like to split it out further:
- separate tarballs for other libraries
- separate tarballs for fonts

I would like to put configuration files into the rootskel-gtk udeb as much as possible.


Note that the hypotetic d-i_gtk_root.tar.gz will also contain a
different versions of libc-2.3.5.so, libpthread-0.10.so, ld-2.3.5.so
from the ones included inside the original intrd image.
Those libs are taken from the original netinst cd after the udebs have
been unpacked: original libs on initrd are missing some
symbols/function/whaterver i cannot remember right now.


No problem as these are copied over. I made sure the tarballs are unpacked after the library reduction takes place.


Libraries in d-i_gtk_root.tar.gz (except gtk.so wich is placed inside
/usr/local/lib/frontend and libc-2.3.5.so, libpthread-0.10.so,
ld-2.3.5.so that are goung to be placed in /lib) are to be placed in
/usr/locale/lib rather than /usr/lib: this prevents hacked files from
mixing with regular one.


Ack.


Because of this non standard prefix we'll have to add
LD_LIBRARY_PATH=/usr/local/lib as a boot parameter to ISOLINUX.


This is typically something that we can set in the rootskel-gtk udeb.


hope this helps.


Thanks a lot.



Reply to: