On Tuesday 22 September 2009 16:53:41 Aapo Rantalainen wrote:
> Looks nice. Release makefile in any place and put link to mailing list.
Well, here's the (cleaned-up) patch for the makefile generator at least.
I've sent this upstream, so hopefully it'll compile out of the box soon.
> 27 icons in desktop is way too much. Make a simple application or
> script that loads all icons and shows them with name of game and then
> user can click which want to play (or quit). Then execute that binary.
You make it sound so easy...
I've never done GUI programming in C before, nor any programming at all in
Python or Perl... I've mostly done PHP and Java the last few years. Do you
have any hints as to where I should start, to make something like this?
> No monolithic binary.
Agreed. Not by my hand anyway - I've got better things to spend my time on.
> Are some of these games un-playable with touchscreen? Maybe they can
> be dropped until it is fixed.
At least one is (pattern), though I'm intending to try to fix that (see below).
Not sure if I want to remove it just because of that though, it seems some
people have setups that let them right-click (e.g. using literki), and pattern
was present in oh-puzzles too.
Some other games are more difficult without right-clicking, but still playable.
> If any game can be modified
> one-button-friendly maybe upstream is interested in it too.
I'm intending to try to do this modification, and have asked upstream if they'd
be interested in those changes. Can't promise anything about when though.
Oh, and not so much modify the game itself, but making right-click emulation
possible in the gtk game frontend, for those games that need it.
--
EdorFaus
Index: mkfiles.pl
===================================================================
--- mkfiles.pl (revision 8657)
+++ mkfiles.pl (working copy)
@@ -1100,7 +1100,7 @@
"\n".
"# You can define this path to point at your tools if you need to\n".
"# TOOLPATH = /opt/gcc/bin\n".
- "CC = \$(TOOLPATH)cc\n".
+ "CC := \$(TOOLPATH)\$(CC)\n".
"# You can manually set this to `gtk-config' or `pkg-config gtk+-1.2'\n".
"# (depending on what works on your system) if you want to enforce\n".
"# building with GTK 1.2, or you can set it to `pkg-config gtk+-2.0'\n".
@@ -1108,9 +1108,9 @@
"# to 1.2 if it isn't found.\n".
"GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 \$\$0 2>/dev/null || gtk-config \$\$0'\n".
"\n".
- &splitline("CFLAGS = -O2 -Wall -Werror -ansi -pedantic -g " .
+ &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " .
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
- " `\$(GTK_CONFIG) --cflags`")."\n".
+ " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n".
"XLDFLAGS = `\$(GTK_CONFIG) --libs`\n".
"ULDFLAGS =#\n".
"INSTALL=install\n",
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community