forked from Miroirs/x49gp
Compare commits
2 commits
11b03214c8
...
feee73f927
Author | SHA1 | Date | |
---|---|---|---|
|
feee73f927 | ||
|
7b90c324fe |
8 changed files with 9 additions and 6 deletions
5
Makefile
5
Makefile
|
@ -3,7 +3,7 @@ TARGET_ALLCAPS = X49GPNG
|
|||
|
||||
VERSION_MAJOR = 1
|
||||
VERSION_MINOR = 3
|
||||
PATCHLEVEL = 0
|
||||
PATCHLEVEL = 1
|
||||
|
||||
#
|
||||
DEBUG_CFLAGS = -g # -pg
|
||||
|
@ -226,13 +226,12 @@ INSTALL_MAN_DIR = "$(INSTALL_PREFIX)/share/man/man1"
|
|||
dist/$(TARGET).desktop: dist/$(TARGET).desktop.in
|
||||
perl -p -e "s!TARGET!$(TARGET)!" < dist/$(TARGET).desktop.in >$@
|
||||
|
||||
dist/$(TARGET).man: dist/$(TARGET).man.in
|
||||
dist/$(TARGET).man: dist/$(TARGET).scd
|
||||
scdoc < dist/$(TARGET).scd >$@
|
||||
|
||||
install: all dist/$(TARGET).desktop dist/$(TARGET).man
|
||||
install -D -m 755 dist/$(TARGET) "$(DESTDIR)$(INSTALL_BINARY_DIR)/$(TARGET)"
|
||||
mkdir -p "$(DESTDIR)$(INSTALL_DATA_DIR)/"
|
||||
cp dist/*.png "$(DESTDIR)$(INSTALL_DATA_DIR)/"
|
||||
install -D -m 644 dist/$(TARGET).desktop "$(DESTDIR)$(INSTALL_MENU_DIR)/$(TARGET).desktop"
|
||||
install -D -m 644 dist/$(TARGET).man "$(DESTDIR)$(INSTALL_MAN_DIR)/$(TARGET).1"
|
||||
cp -R dist/firmware/ "$(DESTDIR)$(INSTALL_DATA_DIR)/firmware"
|
||||
|
|
BIN
dist/blank.png
vendored
BIN
dist/blank.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 6.4 KiB |
BIN
dist/hp49g+-cropped.png
vendored
BIN
dist/hp49g+-cropped.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 300 KiB |
BIN
dist/hp49g+.png
vendored
BIN
dist/hp49g+.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 416 KiB |
BIN
dist/hp49g+small-notext.png
vendored
BIN
dist/hp49g+small-notext.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 431 KiB |
BIN
dist/hp50g-cropped.png
vendored
BIN
dist/hp50g-cropped.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 209 KiB |
BIN
dist/hp50g.png
vendored
BIN
dist/hp50g.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 275 KiB |
|
@ -97,8 +97,11 @@ static void print_config( void )
|
|||
fprintf( stdout, "-- This is a comment\n" );
|
||||
|
||||
fprintf( stdout, "name = \"%s\" -- this customize the title of the window\n", opt.name );
|
||||
fprintf( stdout, "model = \"%s\" -- possible values: \"49gp\", \"50g\". Changes the colors and the bootloader looked for when (re-)flashing\n", opt.model == MODEL_50G ? "50g" : "49gp" );
|
||||
fprintf( stdout, "newrpl_keyboard = %s -- when true this makes the keyboard labels more suited to newRPL use\n", opt.newrpl ? "true" : "false" );
|
||||
fprintf( stdout,
|
||||
"model = \"%s\" -- possible values: \"49gp\", \"50g\". Changes the colors and the bootloader looked for when (re-)flashing\n",
|
||||
opt.model == MODEL_50G ? "50g" : "49gp" );
|
||||
fprintf( stdout, "newrpl_keyboard = %s -- when true this makes the keyboard labels more suited to newRPL use\n",
|
||||
opt.newrpl ? "true" : "false" );
|
||||
fprintf( stdout, "font = \"%s\"\n", opt.font );
|
||||
fprintf( stdout, "font_size = %i -- integer only\n", opt.font_size );
|
||||
fprintf( stdout, "display_scale = %i -- integer only\n", opt.display_scale );
|
||||
|
@ -188,7 +191,8 @@ void config_init( char* progname, int argc, char* argv[] )
|
|||
" in the area beyond the firmware\n"
|
||||
" -r --reboot reboot on startup instead of continuing from the\n"
|
||||
" saved state in the state file\n\n"
|
||||
"The state file is formatted as INI file and contains the settings for which persistence makes sense like CPU registers, etc.\n"
|
||||
"The state file is formatted as INI file and contains the settings for which persistence makes sense like CPU "
|
||||
"registers, etc.\n"
|
||||
"If the state file is omitted, ~/.config/%s/state is used.\n"
|
||||
"Please consult the manual for more details on state file settings.\n",
|
||||
progname, VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, progname, DEFAULT_GDBSTUB_PORT, progname );
|
||||
|
|
Loading…
Reference in a new issue