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

GTK fe, X version + testcase + testscripts



printf("Hello world!");

During the last week i've rewritten the gtk frontend to make it work on X, and it seems we're at a good point

-With X the frontend no longer receives in the question list the main-menu question as the first one (and i think this is the correct behaviour, since neither the newt frontend receives it always), so i've reworked the jump mechanism and now seems to work pretty well

-The progressbar problems are now resolved (it works fine)

-All the widgets works correctly, even if a question list is composed by many questions at a time

-Many other bugfixes were made

You can download sources, x minimal environment, test scripts at

www.swer.it/~attilio.fiandrotti/gtkx/d-i_x.tar.bz

screenshot at www.swer.it/~attilio.fiandrotti/gtkx/gtkx_grab.jpg

The fe was developed in a working X environement (a fresh cdebconf 0.74 compiled on my PC with X running) and performs well (it never crashes).
This is the way i suggest you, if you would like to, to to give it a try.
The correct procedure to compile the cdebconf and the testcase can be found here

http://lists.debian.org/debian-boot/2002/09/msg00076.html

in d-i_x you'll find a directory called "gtk_test": it contains a test.config that leads to a more complex test case, useful to test the jump mechanism and fe's behaviour with coomplex question lists.

the source to the atual gtk.c fe can be also found in d-i_x.tar.bz

the rest of d-i_x.tar.bz is an attempt to create a minimal X-environment, like the prevoius DFB one, to test the frontend with real debian-installer and a remote Xserver.

the procedure to use it is pretty similar to the DFB one

http://lists.debian.org/debian-boot/2005/04/msg00892.html

but now we're working in a X client-server scheme and remember to also do

	export DISPLAY=x_server:x_display

on the cient (the machine running the debian-installer) and

	xhost +
and to allow unscure tcp X connections in /etc/(..i can't remember..) on the pc running the X server.
of course IP must be configured properly on both machines ;)
x_test is the usual "hello world" test app.

actually the X environement provided in d-i_x makes the d-i crash, this (and i'm pretty sure about it) because of the gdk warning about the lack of Xlib locale support (as i told you before in a fully-working x environment the GTK x fe never crashes and performs correctly with the test scripts). It would be a great step forward if someone could complete the x environment, to allow a more approfondite testing of the gtk x frontend with an external X server with the real debian-installer (i've been unable to do it, doh..).

ciao

Attilio

ps

i'm gonna soon create a branch of the gtk frontend on alioth; hope this is the last time i post messages such this.



Reply to: