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

Re: GTK+ frontend for the installer



Em Wed, 23 Jun 2004 21:47:56 -0300, Gustavo Noronha Silva <kov@debian.org>
escreveu:

> Now the problem is dfb complains that the fb mode in use is not
> supported:

I work-arounded this problem by passing 'linux vga=788' at the
boot line... the screen goes blank and you need to wait 'till the
fb drivers are loaded to see the text back, but it works.

I then had problems with directfb, with pango and fontconfig
complaning about wrong configuration stuff... I guess that's
because udeb's are not 'set up' (postinsts run) during the
build process... I've investigated the problems and did another
patch for the build process that turns the old one obsolete.
It's an ugly hack, as many of the other ones, but gives an
idea of what needs to be solved, at least. Find it attached.

Now I was able to see the ugly directfb cursor and the frame
of a gtk window:

http://beterraba.no-ip.org/shots/di-gtk-first-sight.png

And then, my first di-related segfault:

http://beterraba.no-ip.org/shots/di-first-segfault.png

Isn't it cool? =D

Now let's try to work on the segfault... I'll continue posting
news as a way to document the process and maybe get some help
from people.

Thanks,

-- 
Gustavo Noronha Silva <kov@debian.org>     | http://beterraba.no-ip.org/~kov
  Debian Developer: http://www.debian.org/ | http://www.debian-br.org/
  Brazilian GNOME Translation Effort: http://gnome-br.sourceforge.net/
Index: Makefile
===================================================================
--- Makefile	(revision 17092)
+++ Makefile	(working copy)
@@ -423,8 +423,9 @@
 	rm -rf $(TEMP)/udeblibs
 	mkdir -p $(TEMP)/udeblibs
 	-cp -a `find $(TREE)/lib -type f -name '*.so.*'` $(TEMP)/udeblibs
+	-cp -a `find $(TREE)/usr/lib -type f -name '*.so.*'` $(TEMP)/udeblibs
 	mkdir -p $(TREE)/lib
-	$(MKLIBS) -L $(TREE)/usr/lib -L $(TEMP)/udeblibs -v -d $(TREE)/lib --root=$(TREE) `find $(TEMP) -type f -perm +0111 -o -name '*.so' | grep -v udeblibs`
+	$(MKLIBS) -L $(TREE)/usr/lib -L $(TEMP)/udeblibs -v -d $(TREE)/lib --root=$(TREE) `find $(TEMP) -type f -perm +0111 -o -name '*.so' -or -name '*.so.*' | grep -v udeblibs`
 	rm -rf $(TEMP)/udeblibs
 
 	# Add missing symlinks for libraries
@@ -501,6 +502,14 @@
 	rm -rf $(EXTRADRIVERSDIR)
 endif
 
+	# kov added these to "fix" pango and friends for d-i
+	mv $(TREE)/etc/pango/pango.modules.dpkg-new \
+		$(TREE)/etc/pango/pango.modules
+
+	cp -a /etc/fonts $(TREE)/etc
+
+	touch $(TREE)/var/log/messages
+
 	# Tree target ends here. Whew!
 	@touch $@
 
Index: pkg-lists/netboot/common
===================================================================
--- pkg-lists/netboot/common	(revision 17092)
+++ pkg-lists/netboot/common	(working copy)
@@ -10,6 +10,15 @@
 net-retriever
 load-installer
 cdebconf-newt-udeb
+
+fb-modules-2.4.26-1-386-di
+fbset-udeb
+ttf-freefont-udeb
+libfreetype6-udeb
+libpango1.0-udeb
+libdirectfb-0.9-20-udeb
+cdebconf-gtk-udeb
+
 rootskel-locale
 di-utils-terminfo
 

Reply to: