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

Bug#339855: Integrating libvte in the graphical installer



Hi!

On Sun, Jan 28, 2007 at 07:48:55PM +0100, Attilio Fiandrotti wrote:
> I think i was wrong on one point: libvte *can* be built without 
> depending from X11, given proper configure switches are provided (i 
> actually made it sure by building myself a copy), and this makes the 
> task of providing the g-i with a graphical console easier.
> I'll try to build an experimental g-i ISO by adding the GTK frontend a 
> vte console, to further explore the issue.

I had a few spare hours to kill, so I gave another shot to the idea of
using vte in the graphical installer.

Here is the current situation:
 1. vte source already contains most of what is needed to produce a
    libvte9-udeb but commented out.  Once enabled, there is a few typo
    in debian/rules, libvte-common dependency that needs to be removed
    from debian/control, and /usr/share/vte/termcap/xterm which needs to
    be add in the udeb.
 2. After hacking bits of the current cdebconf GTK+ frontend to add a
    VteTerminal, I was faced with a blank terminal.  Same situation I
    had already encountered during my experiment last summer.

Thanks to the new "x11" system that was recently added to
libdirectfb-extra, it was far easier to understand the issue than what
it was back then.  I have already filled a bug upstream [1] with what I
was able to find.

I expect the issue to be solved at some point, but in the meantime, here
is a one-liner work-around that will enable libvte to work on the
GTK+/DirectFB port:

--- vte.c.orig	2008-02-17 00:55:55.000000000 +0100
+++ vte.c	2008-02-17 00:56:15.000000000 +0100
@@ -10228,7 +10228,7 @@
 	_vte_debug_print (VTE_DEBUG_EVENTS, "Expose (%d,%d)x(%d,%d)\n",
 			event->area.x, event->area.y,
 			event->area.width, event->area.height);
-	if (terminal->pvt->active != NULL &&
+	if (FALSE && terminal->pvt->active != NULL &&
 			update_timeout_tag != VTE_INVALID_SOURCE &&
 			!in_update_timeout) {
 		/* fix up a race condition where we schedule a delayed update

With this current work-around, I will probably try different approach on
how to integrate a terminal to the current graphical installer in the
following weeks.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=516869

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: