[Splashy-devel] Re: Fwd: libdirectfb ft2.a

Guillem Jover guillem at debian.org
Sun Feb 26 23:19:39 UTC 2006


Hi,

On Sat, Feb 25, 2006 at 07:51:47PM -0500, Luis M wrote:
> Ah, you are the reason why Splashy tt font support is working now... I
> didn't realize it. I installed the latest package included in Ubuntu
> Dapper (perhaps that's the one you are talking about).

I'm only talking about Debian, as I don't really know what they have
done to those packages in Ubuntu. The latest version in sid is
0.9.22-8, which supposedly is broken. The one I've just uploaded into
Debian is 0.9.24-1, which is stuck in the NEW queue and is going to
experimental. You can find the same packages I uploaded in:

	<http://people.debian.org/~guillem/directfb/>

Please test them and report back. I'll be sending a mail to all
reverse dependency packages once it gets out of NEW, to coordindate
the transition to the new lib.

> Right now this is what we do to get splashy compiled statically:
> 
> $> ./directfb-config --cflags --libs --graphics=all
> --imageprovider=gif,png,jpeg --input=keyboard --font=default,ft2
[ ... all .a libs ]

> Now the same thing with the included directfb-config:
> 
> $> directfb-config --cflags --libs --graphics=all
> --imageprovider=gif,png,jpeg --input=keyboard --font=default,ft2
[ ... some .o objects ]

> As you can see, the "all" option is not allowed, so, i need to do some
> magic to allow all drivers. For now i simply hard coded it to do:

> DFB = $(shell directfb-config --cflags --libs
> --graphics=ati128,ch64.so,cle266,cyber5k,deon.so,i810,i830,mach64,matrox,neogic.so,neomagic,nsc,nvidia,nvid.so,radeon,sage.so,savage,sis315,tdfx,trox.so,unichrome
> --imageprovider=gif,png,jpeg --input=keyboard --font=default,ft2 | sed
> s/\.o /\.a /g )

I've fixed the .o to .a in the directfb-config. But not the all alias,
I'll fix that in next upload.

> In our src/Makefile.am. That kinda works but i get these errors:

> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -o splashy
> -lpthread -lm -lc -static  /usr/lib/libglib-2.0.a /usr/lib/libpng.a
> /usr/lib/libz.a splashy-splashy_main.o splashy-splashy_functions.o
> splashy-xml_parser.o splashy-xml_config.o splashy-splashy_video.o
> splashy-common_functions.o
> mkdir .libs
[ ... missing symbols ]

> I just don't think that the directfb-config package from upstream does
> the right thing to allow static compilation. I'll reply to my own post
> on directfb-users, now that the font support works, to let them know
> how I got it to work. Perhaps they use my changes to directfb-config
> upstream.

Yes, there's some parts of the build system which are broken on the
upstream sources...

> Thanks for you help anyway Guillem. I'll keep updating directfb as you
> upload the packages to the debian repository.

Once everything works properly I'll start feeding those patches to the
directfb upstream.

regards,
guillem



More information about the Splashy-devel mailing list