Skip to contentSkip to conversation

kconfig (gconf): GTK tool released, please test...

DISCUSSION Romain Lievin 4 participants 10 messages Nov 10, 2002 – Jan 12, 2003 10 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I worked on a kernel configuration tool similar to Qconf but written with GTK+... You will find it at <http://tilp.info/perso/gconfig.html>.

Please test it.
Comments, suggestions, fixes, ..., are welcome !

BTW, I have written it with GTK 1.2. If there is a real need to use GTK 2.0, then I will rewrite it.

Romain.

Signature · 3 lines
Romain Lievin, aka 'roms'  	<[email protected]>
Web site 			<http://lpg.ticalc.org/prj_tilp>
"Linux, y'a moins bien mais c'est plus cher !"
#1 lore raw

Hi,

Quoted 2 lines · Romain Lievin

I worked on a kernel configuration tool similar to Qconf but written with GTK+... You will find it at <http://tilp.info/perso/gconfig.html>.

I needed the patch below to get it working at all. sym_get_choice_value() might return a NULL pointer. The choice value is only updated if the choice symbol is yes and even then it can be NULL, if no choice value is visible.
I couldn't select 'Adaptec AIC7xxx support'. Choice symbols are special tristate symbols, beside having the tristate value it also points to a choice value.
The autoexpand mode is very annoying, even after changing a single symbol everything is expanded again. Keyboard support is basically nonexistent.

Anyway, it looks interesting, but still needs quite some work. :)

bye, Roman

callbacks.c renamed from callbacks.c.org +2 -1
@@ -648,7 +648,8 @@
 				def_menu = child;
 		}
 		
-		row[5] = g_strdup(menu_get_prompt(def_menu));
+		if (def_menu)
+			row[5] = g_strdup(menu_get_prompt(def_menu));
 	}
 		
 	type = sym_get_type(sym);
#2 lore raw

Re: kconfig (gkc): GTK tool released, please test again...

Hi,

I converted gkc to GTK+ 2.0 and improved/fixed it according to your suggestions.
I submit it again for testing... You will find it at
<http://tilp.info/perso/gkc.html>.

What I plan to do: add check boxes and more views.

Romain.

Quoted 14 lines · Roman Zippel

Hi,

Quoted 2 lines · Romain Lievin

I worked on a kernel configuration tool similar to Qconf but written with GTK+... You will find it at <http://tilp.info/perso/gconfig.html>.

The autoexpand mode is very annoying, even after changing a single symbol everything is expanded again. Keyboard support is basically nonexistent.

Anyway, it looks interesting, but still needs quite some work. :)

bye, Roman

Signature · 3 lines
Romain Lievin, aka 'roms'  	<[email protected]>
Web site 			<http://lpg.ticalc.org/prj_tilp>
"Linux, y'a moins bien mais c'est plus cher !"
#3 lore raw

Re: kconfig (gkc): GTK tool released, please test again...

Quoted 6 lines · Romain Lievin

Hi,

I converted gkc to GTK+ 2.0 and improved/fixed it according to your suggestions.
I submit it again for testing... You will find it at
<http://tilp.info/perso/gkc.html>.

Could you add a patch as well, that makes it much easier to try out. No matter it is big, it's still more convinient.

Sam

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.44.0211281204030.2113-100000@serv

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.44.0211282111110.2113-100000@serv

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.44.0211282318590.2113-100000@serv

#10 lore raw

Re: kconfig (gkc): patch & help about Makefile

Hi,

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

and if not too many people complain, it would be far easier for me to send it on to Linus. :)

OK, I will send you a patch as soon as I would have finished to work on the Makefile...

Please post it also to lkml, I'd really prefer to people see it and comment on it. Did you have any feed back so far?

Well, I have managed to successfully modify the Makefile. I separated the 2 target as you wanted to. I have written a patch for you and Sam Ravnborg.

Nevertheless, I have a small problem: I did not manage to use gcc rather than g++ in the Makefile. This has a side effect: libglade can not connect signals to the GUI (because it uses symbol names for doing the binding and symbol decoration is not the same between C & C++).
I need help for this problem.

Quoted 3 lines

bye, Roman

Thanks, Romain.

Signature · 3 lines
Romain Lievin, aka 'roms'  	<[email protected]>
Web site 			<http://lpg.ticalc.org/prj_tilp>
"Linux, y'a moins bien mais c'est plus cher !"
#11 lore raw

Re: kconfig (gkc): patch & help about Makefile

Quoted 3 lines · Romain Lievin

Nevertheless, I have a small problem: I did not manage to use gcc rather than g++ in the Makefile.

ifeq ($(MAKECMDGOALS),$(obj)/gkc)
gkc-objs := kconfig_load.o
gkc-cxxobjs := gconf.o
endif

In this part you tell kbuild that gconf.o is made from a .cc file [implying C++] and g++ will be used.

If your gconf.cc really is a C-file (looks like it) then you only need one line:
gkc-objs := gconf.o kconfig_load.o

But then you need to rename gconf.cc to gconf.c as well.

I tried to apply your patch, but it failed because I did not have 'pkg-config'. I guess I need some GTK developer kit?

Sam

#13 lore raw

Re: kconfig (gkc) [PATCH]

In reply to a message not in the archive

Hi,

Sorry, for the long time, I was waiting for GTK+ team to fix a bug...

Quoted 4 lines
Quoted 2 lines

BTW, I have fixed the problems you reported to me in gkc (gconf). gkc is now working fine.

I still saw some problems, e.g. try to play with SCSI_AIC7XXX.

Well, fixed... All stuffs seem to work fine now !

Quoted 5 lines

A seperate target should do for now. I'm a bit concerned about the size. I tried to keep qconf small, so e.g. I didn't use the qt designer. gconf is now already larger than qconf. It might help to see it as complete patch and if not too many people complain, it would be far easier for me to send it on to Linus. :)

You will find a patch against 2.5.51 on http://tilp.info/perso/gkc.html.

Quoted 4 lines

bye, Roman

Next step: add the 2 other views and use icons (by sharing yours).

Thanks, Romain.

Signature · 3 lines
Romain Lievin, aka 'roms'  	<[email protected]>
The TiLP project is on 		<http://www.ti-lpg.org>
"Linux, y'a moins bien mais c'est plus cher !"
#14 lore raw

Re: kconfig (gkc) [PATCH]

Hi,

Quoted 1 line · Romain Lievin

You will find a patch against 2.5.51 on http://tilp.info/perso/gkc.html.

Is gtk 2.1.4 really required? Debian has only 2.0, I changed the test to get it compiled and it seems to work anyway.

bye, Roman

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#19 lore raw

Re: kconfig (gkc) [PATCH]

Hi Roman,

Quoted 5 lines · Roman Zippel

Hi,

Sorry about the delay, I wanted to look into this in more detail, but I did some other stuff over christmas.

me, too. I recently switched from 33.6K modem to 128kbit ADSL and I had some work on my new gateway...

Quoted 3 lines

If you can work around it and it doesn't look that serious, I would really prefer to support at least 2.0. I don't know how long it will take until all distribution switched to 2.2.

You're right, my Debian does not have 2.2 yet....
Well, I switched to 2.0 given that I can easily work around it. Nevertheless, I placed a #define for people who want to use 2.2 release.

Quoted 1 line

BTW how are the other views doing? :)

I have just finished the 'Single' view. I am working on the 'Split' one.

Quoted 4 lines

bye, Roman

PS: you will find the latest patch at the usual location...

Romain.

Signature · 3 lines
Romain Lievin, aka 'roms'  	<[email protected]>
The TiLP project is on 		<http://www.ti-lpg.org>
"Linux, y'a moins bien mais c'est plus cher !"