Skip to content

Commit

Permalink
initial commit - needs clean-up
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Lindner <[email protected]>
  • Loading branch information
Mirko Lindner committed Feb 4, 2010
0 parents commit cddcd72
Show file tree
Hide file tree
Showing 311 changed files with 59,414 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Massimiliano "Ryo" Torromeo <mtorromeo at users.sourceforge.net>
Testers: PokeParadox, Tripmonkey_uk, Goemon4 PSyMastR
Translators: Yodaz, superfly, pedator, NightShadow, Jozef, Esslan, Micket, fusion_power, johnnysnet, Waldteufel, Jontte, Atte, cowai, XaMMaX90, claus
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
-----------
New in 0.10
-----------
Raised default clock to 136Mhz for F200 models (minimum frequency for touchscreen)
Fixed bug in link navigation
Support for additional utf8 characters
Restructured the virtual keyboard dialog with touchscreen support
New translations: Basque, Catalan, Turkish
Added support for the touchscreen
Added support for f200 battery
Added internal explorer that can launch .gpu .gpe and .sh files
Added graphic indicators for switching sections
Added on screen help (keep pressed A, only on the main screen at the moment)
Cpu clock raised when loading manuals
Added support for bmp and jpg/jpeg files for manuals
Added preview of images when selecting icons
Added option to show the root folder in the selection dialogs
Fixed bug that prevented the use of the custom selected wallpaper on restart
Lots of fixes

----------
New in 0.9
----------
Added gamma setting (global and per-link)
Added option to tweak ram timings
Added skins support
Added link to activate tv-out
Added support for multiple wallpapers
Color of message dialogs changeable by skins
Automatic icon association for links with icons found in the skin "icons" directory
Adding a link to a file without gpu or gpe extension automatically enables the wrapper feature
Added support for translations (Italian, Danish, Dutch, Spanish, German, French, Finnish, Portuguese, Swedish, Slovak, Norwegian and Russian included)
Use of a new font code which supports (some) utf8 characters
Added graphics for gp2x buttons
Moved screenshot in the selector under the text
[selFullPath] is automatically added at the end of the params when using the selector and no [marker] is specified
Easier access to the last row of links
Moved manual indicator to the bottom bar
Save screenshot with A+L+R (only on the main screen)
SD corruption when using USB on certain setups should be fixed
Fixed half tv-out screen
Fixed flickering in various locations
Fixed bugs in the manuals navigation system
Other small changes

------------
New in 0.8.1
------------
Fixed crash on section creation.
Fixed moving links between sections.
Fixed creating links in the first section.
Fixed alpha support for font.png

----------
New in 0.8
----------
Added support for game manuals (.man.png, .man.txt or readmes)
Implemented link's output logs with a log viewer (Disabled by default)
Implemented a simple text reader used in various situations
Implemented volume control (per-link and globally)
Added some confirmation dialogs
Changed cancel button from A to X
Added link to mount nand on usb with a dialog notification if usb is used for networking
Implemented virtual links (gmenu2x settings, usb, log viewer, about)
Added messageboxes
Added links for firmware 2.1.x
Directories browseable from selector
Added a blending effect to selector screenshots.
Updated the README with basic instructions (website is still recommended)
Fixed some minor bugs.

----------
New in 0.7
----------
GMenu2X always returns to last section/game/selector used (until shutdown)
New params magic value: [selFullPath] which equals [selPath][selFile][selExt]
Params magic values ([selFile] & Co.) are now automatically escaped, so quotes are not needed (and may cause problems)
Added support for an optional alias file for the selector that display the full name of roms.
Fixed bug with links with special characters.
Removed some unneeded savings.
Number of rows and columns on the links page configurable.
Various little fixes and tweaks

----------
New in 0.6
----------
Implemented link scanner
Added options to links for using a selector with them
Initial support for usbnet, ftp, telnet, samba and web server
Battery led indicates disk writes (don't turn the gp2x off while the led is on)
L = PageUp, R = PageDown in lists
Raised maximum hardcoded clock to 325Mhz and default gmenu2x clock to 100Mhz
Improved virtual keyboard
Sorting functions are now case unsensitive (filebrowser, dirdialog, selector)
Wrapper script removed and fixed a related bugs (wrapper function is still available)
Link's section changeable
All link's features are configurable from the interface
Battery indicator refined
File selector starts from /mnt instead of /mnt/sd
Fixed support for fonts of different size

----------
New in 0.5
----------
Added context-menu option to change link icon
Added options to configure top bar, bottom bar and selection color separately.
Readded support for imgs/selection.png (used only if present)
GMenu2X is now working at 50Mhz (configurable)
Added ability to set the maximum overclock to use with links (hardcoded maximum remains 300Mhz)
Moved under/overclock functions in gmenu2x (no need for cpu_speed binary)
"Save last selection" feature disableable

----------
New in 0.4
----------
Fixed flickering in context menu
Fixed bug that prevented correct launch of some applications
Interface color configurable (START brings up an options menu) (removed img/selection.png)
Saves and restores last selected section and link
Added global config file
Sections with no icon are displayed with a default one (icons/section.png)
Added virtual keyboard for editing title and description of links
Links created through file browser are truncated if too long

----------
New in 0.3
----------
Links creatable in-menu using a file browser
Links deletable in-menu
Icon associated with gpu/gpe is used when no icon is specified
Dithered background
Added battery status indicator
Added a menu with options binded to the select button
Clock setting is saved when changed
Links area scrollable to allow more than 24 links per section
Fix for links with DOS line-endings
Increased space between icons

------------
New in 0.2.1
------------
No more crash in presence of a section with no valid links
Keys and values in links are now trimmed. This means that you can spaces before and after keys and values (IE: " exec = /path/to/link.gpe " is valid)
Split applications section in applications and settings and added settings/exit link that launches the original frontend.
L and R shoulder buttons swapped

----------
New in 0.2
----------
Interface completely redesigned, now there are 24 links visible at the same time.
Display of free space on sd
In-Menu Under/Overclocker using the included utility by god_at_hell, Hermes/PS2Reality, Robster, Vimacs (edit script/cpuspeed.sh to tweak other parameteres besides clock speed)
Any number of sections supported
Customisation made simplier (just replace bg.png with any wallpaper of size 320x240)
8 changes: 8 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
To compile the sourcecode you need to set the GP2XDEV environment variable and probably edit the Makefile present in the src folder.
This is an example environment:

# export GP2XDEV="/usr/local/gp2xdev"
# export PATH="$PATH:${GP2XDEV}/bin"

=== Installation ===
Put the file "autorun.gpu" and the folder "gmenu2x" on the root of your sd, create the links as described on the documentation present on the website (http://gmenu2x.sourceforge.net) and boot your gp2x.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = src
Empty file added NEWS
Empty file.
Empty file added README
Empty file.
26 changes: 26 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[Introduction]
GMenu2X is a replacement for the official frontend for the gp2x released under the GNU GPL license.

[Installation]
Copy the file autorun.gpu and the directory gmenu2x/ to the root of your sd card.
Verify that the autorun option in the standard gp2x interface is enabled.
(Re)Boot your gp2x and enjoy GMenu2X.

[Controls]
X, Stick left: Goes up one directory in file browser.
X: Cancel action.
B, Stick press: Launch selected link / Confirm action.
L, R: Switch between sections - PageUp/PageDown on lists.
Y: Bring up the manual/readme.
VOLDOWN: Decrease cpu clock.
VOLUP: Increase cpu clock.
VOLDOWN+VOLUP: Reset clock.
A+VOLDOWN: Decrease volume for the selected link.
A+VOLUP: Increase volume for the selected link.
A+VOLDOWN+VOLUP: Reset volume for the selected link.
SELECT: Bring up the contextual menu.
START: GMenu2X options.

[Contacts]
Developed by Massimiliano Torromeo <[email protected]>
Visit the homepage at http://gmenu2x.sourceforge.net for more info.
168 changes: 168 additions & 0 deletions acinclude.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
# Configure paths for SDL
# Sam Lantinga 9/21/99
# stolen from Manish Singh
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor

dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
dnl
AC_DEFUN(AM_PATH_SDL,
[dnl
dnl Get the cflags and libraries from the sdl-config script
dnl
AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
sdl_prefix="$withval", sdl_prefix="")
AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
sdl_exec_prefix="$withval", sdl_exec_prefix="")
AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
, enable_sdltest=yes)
if test x$sdl_exec_prefix != x ; then
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
fi
fi
if test x$sdl_prefix != x ; then
sdl_args="$sdl_args --prefix=$sdl_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_prefix/bin/sdl-config
fi
fi
AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
min_sdl_version=ifelse([$1], ,0.11.0,$1)
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
no_sdl=""
if test "$SDL_CONFIG" = "no" ; then
no_sdl=yes
else
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_sdltest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
dnl
dnl Now check if the installed SDL is sufficiently new. (Also sanity
dnl checks the results of sdl-config to some extent
dnl
rm -f conf.sdltest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
char*
my_strdup (char *str)
{
char *new_str;
if (str)
{
new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
strcpy (new_str, str);
}
else
new_str = NULL;
return new_str;
}
int main (int argc, char *argv[])
{
int major, minor, micro;
char *tmp_version;
/* This hangs on some systems (?)
system ("touch conf.sdltest");
*/
{ FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_sdl_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_sdl_version");
exit(1);
}
if (($sdl_major_version > major) ||
(($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
(($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_sdl" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$SDL_CONFIG" = "no" ; then
echo "*** The sdl-config script installed by SDL could not be found"
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the SDL_CONFIG environment variable to the"
echo "*** full path to sdl-config."
else
if test -f conf.sdltest ; then
:
else
echo "*** Could not run SDL test program, checking why..."
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include "SDL.h"
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding SDL or finding the wrong"
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
SDL_CFLAGS=""
SDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
rm -f conf.sdltest
])
Loading

0 comments on commit cddcd72

Please sign in to comment.