diff -urN oldtree/Makefile newtree/Makefile --- oldtree/Makefile 2006-06-21 13:12:04.018181000 +0000 +++ newtree/Makefile 2006-06-21 15:50:10.932898000 +0000 @@ -329,6 +329,7 @@ export CC CPP AR RANLIB NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS export PERL UTS_MACHINE HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK export CHECKFLAGS KLIBCARCHDIR +export NAME export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE diff -urN oldtree/scripts/kconfig/confdata.c newtree/scripts/kconfig/confdata.c --- oldtree/scripts/kconfig/confdata.c 2006-06-21 13:12:04.630219250 +0000 +++ newtree/scripts/kconfig/confdata.c 2006-06-21 15:50:10.940898500 +0000 @@ -421,10 +421,11 @@ fprintf(out, _("#\n" "# Automatically generated make config: don't edit\n" - "# Linux kernel version: %s\n" + "# Linux kernel version: %s \"%s\"\n" "%s%s" "#\n"), sym_get_string_value(sym), + getenv("NAME"), use_timestamp ? "# " : "", use_timestamp ? ctime(&now) : ""); @@ -673,17 +674,17 @@ time(&now); fprintf(out, "#\n" "# Automatically generated make config: don't edit\n" - "# Linux kernel version: %s\n" + "# Linux kernel version: %s \"%s\"\n" "# %s" "#\n", - sym_get_string_value(sym), ctime(&now)); + sym_get_string_value(sym), getenv("NAME"), ctime(&now)); fprintf(out_h, "/*\n" " * Automatically generated C config: don't edit\n" - " * Linux kernel version: %s\n" + " * Linux kernel version: %s \"%s\"\n" " * %s" " */\n" "#define AUTOCONF_INCLUDED\n", - sym_get_string_value(sym), ctime(&now)); + sym_get_string_value(sym), getenv("NAME"), ctime(&now)); for_all_symbols(i, sym) { sym_calc_value(sym); diff -urN oldtree/scripts/kconfig/gconf.c newtree/scripts/kconfig/gconf.c --- oldtree/scripts/kconfig/gconf.c 2006-06-21 13:12:04.638219750 +0000 +++ newtree/scripts/kconfig/gconf.c 2006-06-21 15:50:10.948899000 +0000 @@ -267,8 +267,8 @@ /*"style", PANGO_STYLE_OBLIQUE, */ NULL); - sprintf(title, _("Linux Kernel v%s Configuration"), - getenv("KERNELVERSION")); + sprintf(title, _("Linux Kernel v%s \"%s\" Configuration"), + getenv("KERNELVERSION"), getenv("NAME")); gtk_window_set_title(GTK_WINDOW(main_wnd), title); gtk_widget_show(main_wnd); diff -urN oldtree/scripts/kconfig/mconf.c newtree/scripts/kconfig/mconf.c --- oldtree/scripts/kconfig/mconf.c 2006-06-18 01:49:35.000000000 +0000 +++ newtree/scripts/kconfig/mconf.c 2006-06-21 15:50:10.960899750 +0000 @@ -1053,8 +1053,8 @@ sym = sym_lookup("KERNELVERSION", 0); sym_calc_value(sym); - sprintf(menu_backtitle, _("Linux Kernel v%s Configuration"), - sym_get_string_value(sym)); + sprintf(menu_backtitle, _("Linux Kernel v%s \"%s\" Configuration"), + sym_get_string_value(sym), getenv("NAME")); mode = getenv("MENUCONFIG_MODE"); if (mode) { diff -urN oldtree/scripts/kconfig/qconf.cc newtree/scripts/kconfig/qconf.cc --- oldtree/scripts/kconfig/qconf.cc 2006-06-21 13:12:04.658221000 +0000 +++ newtree/scripts/kconfig/qconf.cc 2006-06-21 15:50:10.968900250 +0000 @@ -1431,14 +1431,14 @@ if (s.isNull()) return; if (conf_read(QFile::encodeName(s))) - QMessageBox::information(this, "qconf", "Unable to load configuration!"); + QMessageBox::information(this, "QConf Error", "Unable to load configuration!"); ConfigView::updateListAll(); } void ConfigMainWindow::saveConfig(void) { if (conf_write(NULL)) - QMessageBox::information(this, "qconf", "Unable to save configuration!"); + QMessageBox::information(this, "QConf Error", "Unable to save configuration!"); } void ConfigMainWindow::saveConfigAs(void) @@ -1447,7 +1447,7 @@ if (s.isNull()) return; if (conf_write(QFile::encodeName(s))) - QMessageBox::information(this, "qconf", "Unable to save configuration!"); + QMessageBox::information(this, "QConf Error", "Unable to save configuration!"); } void ConfigMainWindow::searchConfig(void) @@ -1588,7 +1588,7 @@ e->accept(); return; } - QMessageBox mb("qconf", "Save configuration?", QMessageBox::Warning, + QMessageBox mb("Save .config?", "Save configuration?", QMessageBox::Warning, QMessageBox::Yes | QMessageBox::Default, QMessageBox::No, QMessageBox::Cancel | QMessageBox::Escape); mb.setButtonText(QMessageBox::Yes, "&Save Changes"); mb.setButtonText(QMessageBox::No, "&Discard Changes"); @@ -1607,7 +1607,8 @@ void ConfigMainWindow::showIntro(void) { - static char str[] = "Welcome to the qconf graphical kernel configuration tool for Linux.\n\n" + static char str[1000]; + sprintf(str, "Welcome to the qconf graphical kernel configuration tool for Linux %s \"%s\".\n\n" "For each option, a blank box indicates the feature is disabled, a check\n" "indicates it is enabled, and a dot indicates that it is to be compiled\n" "as a module. Clicking on the box will cycle through the three states.\n\n" @@ -1617,9 +1618,10 @@ "options must be enabled to support the option you are interested in, you can\n" "still view the help of a grayed-out option.\n\n" "Toggling Show Debug Info under the Options menu will show the dependencies,\n" - "which you can then match by examining other options.\n\n"; + "which you can then match by examining other options.\n\n", + getenv("KERNELRELEASE"), getenv("NAME")); - QMessageBox::information(this, "qconf", str); + QMessageBox::information(this, "Introduction", str); } void ConfigMainWindow::showAbout(void) @@ -1627,7 +1629,7 @@ static char str[] = "qconf is Copyright (C) 2002 Roman Zippel .\n\n" "Bug reports and feature request can also be entered at http://bugzilla.kernel.org/\n"; - QMessageBox::information(this, "qconf", str); + QMessageBox::information(this, "About", str); } void ConfigMainWindow::saveSettings(void) @@ -1685,7 +1687,12 @@ { ConfigMainWindow* v; const char *name; - + static char title[100]; + + sprintf(title,"Linux Kernel %s \"%s\" Configuration", + getenv("KERNELRELEASE"), getenv("NAME") + ); + bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); @@ -1716,6 +1723,7 @@ configSettings->beginGroup("/kconfig/qconf"); v = new ConfigMainWindow(); + v->setCaption(title); //zconfdump(stdout); configApp->setMainWidget(v); configApp->connect(configApp, SIGNAL(lastWindowClosed()), SLOT(quit())); diff -urN oldtree/scripts/kconfig/zconf.tab.c_shipped newtree/scripts/kconfig/zconf.tab.c_shipped --- oldtree/scripts/kconfig/zconf.tab.c_shipped 2006-06-21 13:12:04.678222250 +0000 +++ newtree/scripts/kconfig/zconf.tab.c_shipped 2006-06-21 15:50:10.976900750 +0000 @@ -2107,15 +2107,19 @@ { struct symbol *sym; int i; + static char title[200]; zconf_initscan(name); + + sprintf(title,"Linux Kernel %s \"%s\" Configuration", + getenv("KERNELRELEASE"), getenv("NAME")); sym_init(); menu_init(); modules_sym = sym_lookup(NULL, 0); modules_sym->type = S_BOOLEAN; modules_sym->flags |= SYMBOL_AUTO; - rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); + rootmenu.prompt = menu_add_prompt(P_MENU, title, NULL); #if YYDEBUG if (getenv("ZCONF_DEBUG"))