Add display of build info

- Display compiler version, compiler flags, build PC, kernel version
- configure.ac part ported from filezilla project


Origin commit data
------------------
Commit: 4cf4857201
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-17 (Thu, 17 Oct 2013)
This commit is contained in:
Michael Liebmann
2013-10-17 11:01:01 +02:00
committed by Thilo Graf
parent 346feb80d4
commit 92dd88d98d
9 changed files with 386 additions and 0 deletions

View File

@@ -38,6 +38,7 @@
#include <gui/imageinfo.h>
#include <gui/dboxinfo.h>
#include <gui/streaminfo2.h>
#include <gui/buildinfo.h>
#include <driver/screen_max.h>
#include "gui/cam_menu.h"
@@ -72,6 +73,7 @@ int CInfoMenu::showMenu()
CImageInfo imageinfo;
CDBoxInfoWidget boxinfo;
CStreamInfo2 streaminfo;
CBuildInfo buildinfo;
info->addIntroItems();
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SERVICEMENU_IMAGEINFO, true, NULL, &imageinfo, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED );
@@ -86,6 +88,10 @@ int CInfoMenu::showMenu()
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
info->addItem(mf);
mf = new CMenuForwarder(LOCALE_BUILDINFO_MENU, true, NULL, &buildinfo, NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE );
mf->setHint(NEUTRINO_ICON_HINT_IMAGEINFO, LOCALE_MENU_HINT_BUILDINFO);
info->addItem(mf);
if (g_settings.easymenu) {
mf = new CMenuForwarder(LOCALE_CI_SETTINGS, true, NULL, g_CamHandler, NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
mf->setHint(NEUTRINO_ICON_HINT_CI, LOCALE_MENU_HINT_CI);