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

Re: libgtk+2.0-directfb question



Davide Viti wrote:
> Hi all,
>
>
>>The -udeb-dev business was killed a while back. udebs should just be
>>built against regular -dev libraries; it makes the whole system
>>(especially library reduction) much simpler.
>>
>
>
> well, here's my 7am hack... so probably many steps can be optimized
> The idea is to use the same sources which produce the udebs, for compiling
> the libraries on the host; then use these libraries to link gtk.so

ok, first i've removed all non standard libs from my system and old gtk or
dfb libs, then i've installed libdiretfb-0.9.22 and related developement
files from unstable

> 1) apt-get source gtk+2.0-directfb

done;

> 2) rebuild the package (it'll produce the udeb as well). This will create


> a build tree directory containing patched sources


> 3) cd /gtk+2.0-directfb-2.0.9.2/build-tree
>
> 4)
> export BUILDDIR=$(pwd)/d-i_build
> export LD_LIBRARY_PATH=${BUILDDIR}/lib
> export PKG_CONFIG_PATH=${BUILDDIR}/lib/pkgconfig
>
> cd gtk+-directfb-2.0.9-2
> su
> ./configure --prefix=${BUILDDIR} --with-gdktarget=directfb --without-libjpeg
--without-libtiff --without-x
> I've tried it and at least it compiles :)

done (produces following files in /usr/local/lib

libgdk-directfb-2.0.la
lrwxrwxrwx  1 root staff       28 2005-10-04 11:12 libgdk-directfb-2.0.so
-> libgdk-directfb-2.0.so.0.0.9
lrwxrwxrwx  1 root staff       28 2005-10-04 11:12 libgdk-directfb-2.0.so.0
-> libgdk-directfb-2.0.so.0.0.9
-rwxr-xr-x  1 root staff  2762865 2005-10-04 11:12 libgdk-directfb-2.0.so.0.0.9
-rwxr-xr-x  1 root staff      844 2005-10-04 11:12 libgdk_pixbuf-2.0.la
lrwxrwxrwx  1 root staff       26 2005-10-04 11:12 libgdk_pixbuf-2.0.so ->
libgdk_pixbuf-2.0.so.0.0.9
lrwxrwxrwx  1 root staff       26 2005-10-04 11:12 libgdk_pixbuf-2.0.so.0
-> libgdk_pixbuf-2.0.so.0.0.9
-rwxr-xr-x  1 root staff   349447 2005-10-04 11:12 libgdk_pixbuf-2.0.so.0.0.9
-rw-r--r--  1 root staff      769 2005-10-04 11:12 libgtk-directfb-2.0.la
lrwxrwxrwx  1 root staff       28 2005-10-04 11:12 libgtk-directfb-2.0.so
-> libgtk-directfb-2.0.so.0.0.9
lrwxrwxrwx  1 root staff       28 2005-10-04 11:12 libgtk-directfb-2.0.so.0
-> libgtk-directfb-2.0.so.0.0.9
-rwxr-xr-x  1 root staff 11519214 2005-10-04 11:12 libgtk-directfb-2.0.so.0.0.9
drwxr-sr-x  2 root staff     4096 2005-10-04 11:12 pkgconfig

and a gtk+-directfb-2.0.pc inside pkgconfig

)


> If anyone (Attilio ?) wants to try and use this to compile gtk.so please
> let me (us) know; otherwise I'll work on it this evening

gtk.so compiles and if i do

export LD_LIBRARY_PATH=/usr/local/lib
debconf <test script>

on my laptop the just compiled gtk.so works fine with just-compiled libs.

so i packed the so compiled gtk.so into a tarball to build new miniiso (using
latest udebs) excluding d-i_gtk_root.tgz (containing my own libc).

the d-i fails with error message

relocation error: /usr/lib/libgtk-directfb-2.0.so.0: symbol getresuid, vrsion
GLIBC_2.0 not defined in file libc.so.6 with link time reference

rebuilding the miniiso including d-i_gtk_root.tgz makes the frontend crash...


so it seems the problem is not inside the libgtk-directfb itself by inside
something other..

any idea?

ciao

attilio


__________________________________________________________________
TISCALI ADSL
Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone
Telecom a partire da 19,95 Euro/mese.
Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/





Reply to: