Re: graphical nethack for freerunner (alpha version released)

2009-10-23 Thread Aapo Rantalainen
Hi, I once tested compile maemo/hildon version of Nethack for Freerunner.
This is my 'project' page: http://cc.oulu.fi/~rantalai/freerunner/nethack/
I haven't do anything about it since I tested it. Feel free to make
something, I'm out of time.

This is what we have planned so far:
http://lists.openmoko.org/nabble.html#nabble-f1958

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] new package: theremin (alfa version warning)

2009-10-07 Thread Aapo Rantalainen
Hi Andreas,
Cool project. But seeing this I wonder - wouldn't it even be a better idea to 
use the accelerometers instead of the touchscreen?
Or even use both: accelerometers for the pitch and touchscreen for the 
amplitude - like the original theremin :)

Nice idea. This is originally made for N810 and it doesn't have
accelerometers. But when N900 (with accelerometers) really comes maybe
upstream is interested in this idea.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR] new package: theremin (alfa version warning)

2009-10-05 Thread Aapo Rantalainen
I packaged maemo-theremin[1] on freerunner SHR-U.
It is nice musical tool but unfortunately it is just little bit too
slowly to work smoothly.

Anybody has any ideas how to get it working little bit faster?


Package:
http://www.opkg.org/package_287.html

Info
http://wiki.openmoko.org/wiki/Theremin

-Aapo Rantalainen

[1] http://theremin.garage.maemo.org/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Updated package for the puzzle collection

2009-09-22 Thread Aapo Rantalainen
Looks nice. Release makefile in any place and put link to mailing list.
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.
No monolithic binary.

Are some of these games un-playable with touchscreen? Maybe they can
be dropped until it is fixed. If any game can be modified
one-button-friendly maybe upstream is interested in it too.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: org.freesmartphone.Device.Orientation

2009-09-10 Thread Aapo Rantalainen
How reactive it is? I know the discussion about mokomaze but can this
be used games/apps witch needs only arrow keys one at a time?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: how to block spam to commits-ow...@projects.openmoko.org?

2009-08-16 Thread Aapo Rantalainen
Spam is still coming.
Final attempt:

Privacy Options  Sender filters
Action to take for postings from non-members for which no explicit
action is defined. =discard
Should messages from non-members, which are automatically discarded,
be forwarded to the list moderator?  =no

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: how to block spam to commits-ow...@projects.openmoko.org?

2009-08-14 Thread Aapo Rantalainen
Ok, this issue is not solved yet. Now I got spam to
xxx-commits-bou...@projects.openmoko.org

In mailinglist options there are [Bounce processing].
There are many 'yes'-ticks, I really do not understand what all of
them means. I just disabled the first Should Mailman perform
automatic bounce processing?.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: how to block spam to commits-ow...@projects.openmoko.org?

2009-08-12 Thread Aapo Rantalainen
I think I found rigth way. When you get moderator request waiting mail:
mailing list has 1
request(s) waiting for your consideration at:

   http://lists.projects.openmoko.org/mailman/admindb/...


Click link and give password. Then click first link on the page, it
has same name than mailinglist. Then Privacy options-Sender filters.
There are option Action to take when a moderated member posts to the
list.   Change mark from Hold to Discard.
And then submit.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: how to block spam to commits-ow...@projects.openmoko.org?

2009-08-12 Thread Aapo Rantalainen
I got mail from ad...@projects.openmoko.org when I registered my project:

--
A mailing list will be created on OpenMokoProjects in 6-24 hours
and you are the list administrator.

This list is: xlogical-comm...@lists.projects.openmoko.org .

Your mailing list info is at:
http://lists.projects.openmoko.org/cgi-bin/mailman/listinfo/xlogical-commits .

List administration can be found at:
http://lists.projects.openmoko.org/cgi-bin/mailman/admin/xlogical-commits .

Your list password is: 
You are encouraged to change this password as soon as possible.

Thank you for registering your project with OpenMokoProjects.

-- the OpenMokoProjects staff
--

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


how to block spam to commits-ow...@projects.openmoko.org?

2009-08-11 Thread Aapo Rantalainen
Hi, I have turned off all mailinglists of my project on
projects.openmoko.org.  I have svn enabled and I get spam to address
name-commits-ow...@projects.openmoko.org


As list administrator, your authorization is requested for the
following mailing list posting:
Reason:  Post by non-member to a members-only list


What I can do about these? Should I block all messages to commits?
(how I do it?)  Is there any other solution than disabling svn?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om2009 activating wifi

2009-07-23 Thread Aapo Rantalainen
Most of the time I use only one essid, so I have this script to activate wlan:

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled
iwconfig eth0 essid ESSID_NAME
ifup eth0

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2009-07-19 Thread Aapo Rantalainen
Great. It is possible to use qwerty-button to popup and hide Literki?
And release link to sources.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


what is situation of qemu-neo1973?

2009-07-02 Thread Aapo Rantalainen
Is anybody working with or under qemu?


I tried follow wiki but svn repository has old dated address where it
search images.

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
cd qemu-neo1973
./configure --target-list=arm-softmmu  # GCC 3.x will be required, see --cc=
make

wget http://cc.oulu.fi/~rantalai/freerunner/qemu/env_om2009.diff
patch -p0  env_om2009.diff
openmoko/download.sh
openmoko/flash.sh
arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin
-usb -show-cursor

#It starts to boot menu, but selecting boot will reboot it back to boot menu.

#I changed older u-boot (I didn't find it from official page, so I uploaded it)
cd openmoko
rm u-boot-*
wget http://cc.oulu.fi/~rantalai/freerunner/qemu/u-boot-gta01bv4.bin
cd ..

#reflash and now kernel will start. first boot takes time.
openmoko/flash.sh
arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin
-usb -show-cursor

#But it stopped 'paroli stopped unexpectable... and mouse clicking
doesn't respond

#When I change kernel older one, I got it running (but there might be
some problems with modules)
cd openmoko
rm u-Image*
wget http://cc.oulu.fi/~rantalai/freerunner/qemu/u-Image-2.6.24-om-gta01.bin
cd ..

#reflash and now paroli will start. first boot takes time.
openmoko/flash.sh
arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin
-usb -show-cursor

#Pressing enter (AUX) two seconds bring settings, but there are no
display-entry, so I do not know how to continue with this.

#Then I changed rootfs too to SHR (and renamed it, so we can use same
flashing script)
cd openmoko
rm fso-paroli-image-om-gta01.jffs2
wget 
http://build.shr-project.org/shr-testing/images/om-gta01/shr-lite-image-om-gta01.jffs2
-O fso-paroli-image-om-gta01.jffs2
cd ..

#reflash and now SHR will start. first boot takes time.
openmoko/flash.sh
arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin
-usb -show-cursor


Now I have SHR running with old kernel. Then I want ssh to it, but
easiest way on wiki [1] uses pppd, which doesn't work on this kernel
(missing modules). So I think this is dead end. This is only little
bit better than famous 'Kernel is... not found', but maybe some one
else want confirm this and try another solution?

-Aapo Rantalainen

[1] http://wiki.openmoko.org/wiki/Qemu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Toolchain-VM for C/Vala programs?

2009-06-30 Thread Aapo Rantalainen
I made VirtualBox image for starting openmoko developing easily. This
hosting site contains ads, but this is just rc1:
http://www.2shared.com/file/6504056/3835d89/openmoko-base-devvdi.html

For user who know how VirtualBox works:
It is ubuntu 9.04 with openbox (virtualbox guest additions installed).
Use right mouse button to launch menu and terminal.
Compile first program (hello.c is ready there)
. /usr/local/openmoko/arm/setup-env
arm-angstrom-linux-gnueabi-gcc hello.c -o hello

Some instructions:
http://cc.oulu.fi/~rantalai/freerunner/vboximage/


It is not big deal to copy compiled binaries out from virtual machine,
but do You need some preinstalled http/ssh servers and manuals to map
host ports to guest? I need comments.


I have plan to add installed qemu-moko to image. What is situation of
qemu-neo1973? Automatic_emulation_on_ubuntu have worked foolproof one
year ago, but now it got stucked with kernel missing error.
And is it possible to run 'Freerunner' on qemu or only GTA01?


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Toolchain-VM for C/Vala programs?

2009-06-25 Thread Aapo Rantalainen
If I make VirtualBox virtualmachine containing installed om-toolchain,
where I should upload it? It is sure that somebody wants something
else than VirtualBox, but this it only what I can offer.

Installing libraries to toolchain (if you are not using debian/ubuntu,
use other way to get root)
sudo su
. /usr/local/openmoko/arm/setup-env
opkg-target update
opkg-target list | grep sdl
opkg-target install libsdl-mixer-1.2-dev
exit

This is from:
http://cc.oulu.fi/~rantalai/freerunner/cross_compiling/READ.txt
If I will make VM, I just install some small Ubuntu variant and run this.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re:new qwerty keyboard, Literki

2009-06-17 Thread Aapo Rantalainen
Literki is very promising keyboard. I have one suggestion: ButtonPress
- ButtonRelease. Typing is still fast but you can 'cancel' if you
realized pressing wrong area.
keys.cpp:153
- case ButtonPress: {
+ case ButtonRelease: {

display:206
-   ButtonPressMask |
+   ButtonPressMask | ButtonReleaseMask |


I think there should be project page for Literki. Just screenshot and
default literki.conf with explanation is a good start (binary+sources
of course)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Om2009] dublicate xrand confuses mouse position

2009-05-27 Thread Aapo Rantalainen
Executing two times same xrandr orientation will confuse touch screen
calibration.
xrandr -o 3
xrandr -o 3

When orienting back xrandr -o 0 mouse is restored.

If landscaped game handle orientating with start script, this is bad thing.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher/Home Page (Proof of concept) Working Release

2009-05-26 Thread Aapo Rantalainen
I installed version 0.15 and it works very well. (not stress tested
yet). First time starting it after installing, it contains lots of
categories with names like %**. (I just deleted them)
one feature request: renaming category.

I want that pressing toolbars home-icon gives me launchers home, not
that Illumes home.

Why this is not part of illume? This is so great.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher/Home Page (Proof of concept) Working Release

2009-05-26 Thread Aapo Rantalainen
bug in version 0.15.

Remove non-empty category: these icons are then unreachable. Maybe
they should be transferred uncategorised. (Actually these icons can be
revived by making category with same name).


Is there way to manage categories by commandline, so it can be used
with script that installs many applications and categories them same
time?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher/Home Page (Proof of concept) Working Release

2009-05-25 Thread Aapo Rantalainen
Where is source codes and compile-instructions?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Om2009] comments about om2009

2009-05-18 Thread Aapo Rantalainen
Hi, I just flashed Om2009 on Freerunner and there comes my first
thoughts about it:

Parolis titles are not intuitive. I didn't realize what I/O means
until I read all manuals (input-output=log)

Paroli profile should not be default. Freerunner isn't just a phone,
so it is weird that default profile is 'simple-phone-theme'.  Now all
users are forced to first change profile when flash Om2009.

So I first changed profile and surprised happily that there are
terminal (and nano) pre-installed, so I got ssh over wlan working
without any hassling with usb. But then my connection disconnected
because phone suspended. I turn suspending off in illumes
wrench-settings, but it doesn't help because paroli has own settings
and own suspend time.

Why there are old version of vala-terminal? I do not know how to sort
in order version numbers containing git. Version on
openmoko.org/repository is the 'tag 1.1.1' on
http://git.freesmartphone.org/?p=vala-terminal.git and version on
opkg.org is newer but named 1.1.1-r0.3 (And 1.1.1-r0.4 is coming). But
installing package from opkg.org doesn't success.

#workaround:
wget vala-terminal_1.1.1-r0.3_armv4t.opk
ar x vala-terminal_1.1.1-r0.3_armv4t.opk
gunzip data.tar.gz
tar -xvf data.tar
mv usr/bin/vala-terminal /usr/bin/


Does somebody really use alternative desktops? I can't imagine
situation when they are needed. But maybe these buttons can be used to
change folder in home view? Btw: do you know what is most popular
(most downloaded) package in opkg.org? It is sortdesk, which emulates
folders in home view. I could be proud of it, but I think it should be
builtin in window manager. (Or which component is handling desktop) Is
somebody working with that already?

When I try to close home (just for testing will it crash) It draws
vertical line on middle of screen.
http://scap.linuxtogo.org/files/333258bf820a1072e77de1c50e3dd09a.png

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2009] comments about om2009

2009-05-18 Thread Aapo Rantalainen
 So I first changed profile and surprised happily that there are
 terminal (and nano) pre-installed, so I got ssh over wlan working
 without any hassling with usb. But then my connection disconnected
 because phone suspended. I turn suspending off in illumes
 wrench-settings, but it doesn't help because paroli has own settings
 and own suspend time.

 these are not paroli settings but fso settings which are exposed in paroli.
 Also, you will find that none of the settings you find in illume-wrench
 except the profile switcher are mirrored in paroli.

What this mean? I must disable suspend two different place to get it
disabled. Or is this setting under illume-wrench not in use?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Mokomaze 0.5.0] is released

2009-05-02 Thread Aapo Rantalainen
Hi, I implemented some multiplayer code (proof-of-concept).
Two players supported, it draws another players ball in your screen.
There are no moko-binaries yet, because I didn't know where  to get
libode-dev to crosscompiling toolchain.

It is just Unix-sockets using UDP. Game is acting UDP-server _and_
UDP-client. Every time ball is drawn, its coordinates are sended to
opponent. Every time server get something it supposes it is opponents
coordinates and stores them. Every time ball is drawn it asked what is
last reported coordinates of opponents ball and draws it too.

Game must be started:
mokomaze opponent_ip_address opponent_port your_port
(I needed port as a parameter because I coded and tested it only with
one computer)

e.g. testing with one computer you can use:
usr/bin/mokomaze 127.0.0.1 8000 9000
usr/bin/mokomaze 127.0.0.1 9000 8000
(Final version should have default port, so only needed parameter is
opponents IP, like many multiplayer game. It can then be handled with
in-game search)

There are two videos (some reason my recordmydesktop segfaults all the
time, so these are from videocamera). ~20M and ~10M
http://cc.oulu.fi/~rantalai/freerunner/mokomaze/maze_multi1.avi
http://cc.oulu.fi/~rantalai/freerunner/mokomaze/maze_multi2.avi (this
shows how player1 pass the level, but another player is not informed,
so they are playing different levels then)

Patch contains:
*opponents player drawings (this is very ugly, but there were no any
support for drawing multiballs)
*FULL_SCREEN disabling. (because I wanted two games on same screen)
*omits parse_command_line (I wanted keep patch simple and only touch
very needed files)

http://cc.oulu.fi/~rantalai/freerunner/mokomaze/mokomaze_multiplayer_0.1.diff



What needs improving: (are missing)
drawings:
   different color (maybe ghost), clearing, spinning, dropping hole.
   value when opponents not yet connected

game mechanics:
   level changing  (this might need there must be some true 'protocol'
to handle communication)
   score handling
   more players?

Long term (utopistic) plans:
   interaction between balls (collisions)
   dedicated server
   chatting (maybe voice?)
   bluetooth support


Collision is interested idea, but what it really means?
a) Both balls has own floor (controlled by its owner)
   (so two balls in almost same position can be sliding different direction)
b) There are only one floor controlled by both players.
   (Players has no own balls, only holes are marked, and players tryes
to get ball in own hole)
c) something else?


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Mokomaze 0.5.0] is released

2009-05-02 Thread Aapo Rantalainen
Jeremy, levels are stored in: $prefixshare/mokomaze/main.levelpack.json
It is human readable textfile. Maybe some day we have level editor?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: TIEMU Package?

2009-04-27 Thread Aapo Rantalainen
I have worked with Tilem emulator. It's for ti73  ti82  ti83  ti83p
ti83pse  ti84p  ti84pse  ti85  and ti86.

It is little bit slow (not very usable) and little bit tall
(cosmetic), there are screenshot:
http://cc.oulu.fi/~rantalai/freerunner/tilem/snap1.png

I thought there are free (as speech) rom-image for emulating and I
draw missing ti-85 skin and (hardly) got it working on Freerunner. And
then I realize there are only official roms available for free (as
beer).  So I never did finalize it. I uploaded my bitbake recipe and
one needed patch. (reported to upstream).

I think this might be still cool to have working well, so if somebody
has inspiration and tested this, let me know!

Official sdk-rom-images, priceless, but not free.  (hidden in windows
exe, I asked can Texas Instrument put rom-image in pure zip, but they
do not understand my question (or didn't like it))
http://education.ti.com/educationportal/sites/US/productDetail/us_sdk_73_83_84.html


Or do you mean 'bigger' calculators?
 TI-92/92+/89 has  GPL rom named PedRom.
http://www.tigen.org/kevin.kofler/ti89prog/pedrom-ld-tigcc.zip

I tested compile tiemu 0.0.9
./configure --host=arm-angstrom-linux --with-gui=gtk
make
Didn't success.
(skipping incompatible /usr/lib/libglib.so when searching for -lglib
so configure has some weird, no time to see deeply)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [New Mokomaze] Coming soon

2009-04-27 Thread Aapo Rantalainen
Looks nice.
I think  hate is no cool. Hole is better than Vista. (actually in
every context hole is better than Vista =).

Do it has vibration? Are you planned timecounter? I liked play without
time, but maybe I will want challenge somebody, so how we know who is
better?
Maybe player profile and each unplayed level is 5minutes, and who has
lowest total time.
How about multiplaying with two (or more) devices? Maybe just info of
another players ball, when playing same level. (Or can balls collide
with anothers? Both balls has own inclination of floor =)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [New Mokomaze] Coming soon

2009-04-27 Thread Aapo Rantalainen
I mean do that new version has vibration too, it is nice effect.

I looked old sources and planned how to implement idea of multiplaying
(another players ball visible in 'ghost'). Maybe simple udp-packets
containing x and y. (can we suppose they are in same wlan?)

Have you planned use svn?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Vala-Terminal Black Background

2009-04-15 Thread Aapo Rantalainen
I added new commandline parameters for font color and background color
(and for font). Defaults are (still) white text, black background,
with liberationmono-font.
Newest version 1.1.1-r0.3
Newest code is on git. Newest binary is on opkg.org. Newest
instructions are in wiki.
Tested with Om2008.12 (works for me)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Vala-Terminal Black Background

2009-04-14 Thread Aapo Rantalainen
Newest code in git-repository [1] contains white text and black
background. It is the same version than in opkg.org [2]
You can change fontsize by commandline parameter -fs
vala-terminal -fs 5

There are no configuration files or settings dialog yet.
If you are interested in compiling it by yourself, here you can find
Instructions: http://wiki.openmoko.org/wiki/Vala-terminal

[1]  http://git.freesmartphone.org/?p=vala-terminal.git
[2]  http://www.opkg.org/package_112.html


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: graphical nethack for freerunner (alpha version released)

2009-04-07 Thread Aapo Rantalainen
 http://cc.oulu.fi/~rantalai/freerunner/nethack/
 Warnign: Not yet playable!

http://img183.imageshack.us/img183/5662/mynethack.png
http://img118.imageshack.us/img118/5608/mynethackwithmenu.png

Thanks for images. This will be my first target when I have time to
implement it. (If somebody want code this ready, please just do it)
A) If there are full keyboard in visible, do we need menus at all?
B) How this menu is accessible?
C) In this tilesize, there are ~15x20 grid in visible. (this is not
question, just mentioned it)
D) How about pop-up windows (inventory etc.)? Just fullscreen list?
E) I planned if that keyboard can be changed to corresponding
command-icons, but there are couple times, when player needs full
keyboard (naming objects, calling monsters, playing instruments, when
asked name/wishes/genociding).  So is there reason to have icons when
playing and keyboard when needed? (It might be technically handled
someway)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: graphical nethack for freerunner (alpha version released)

2009-03-27 Thread Aapo Rantalainen
 http://cc.oulu.fi/~rantalai/freerunner/nethack/
 Warnign: Not yet playable!

You are making me very happy! I'm waiting for xnethack since a long
time, I like nethack!
 I will play/test it...but I'm not a programmer so I can't help
you in porting it.


Hi Giacomo,
Actually, I think you can help me. Take one screenshot and start Gimp.
Make decise, is it portrait or landscaped (fullscreen / default
statusbar). Cut and paste elements. Use text tool and check different
fontsizes. Count number of commands. Maybe do some sorting for
commands, which must be always visible, which are in some dropdown
menu. (or toggleable toolbar rows?). How menus are used? How small
command-icon we can use?


btw: Is there way to tune scrollbars width in one program only or it
is binded to theme? Because nethack is not for finger, one must use
stylus. So we need more space and narrow scrollbars.


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


graphical nethack for freerunner (alpha version released)

2009-03-26 Thread Aapo Rantalainen
http://cc.oulu.fi/~rantalai/freerunner/nethack/
Warnign: Not yet playable!

At last I got inspiration to compile graphical Nethack for Freerunner.
It is actually gtk2-hack ported to maemo. So it has dependeries on
libosso and libhildon, but I got them compiled from OpenEmbedded.
Tested with OM2008.12.

Nethack-maemo is almost keyboardless. Nokia Internet Tablet has couple
of hw-buttons, so this is not yet playable, because Freerunner doesn't
have these buttons. And element-layout must be changed, maybe some
tuning of icons, font size etc. And there are two sets of graphics,
but I got only uglier to work.

So let me know if you are interested in play this game someday, or
even better if you want help me to get this happen (help on planning
is important as help on coding).

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Simple touching test (maybe someday multitouch test)

2009-03-24 Thread Aapo Rantalainen
Hi, I made first simple application to test touchscreen. It doesn't
give me much hope about multitouching, but maybe we can discuss better
if we have something.

http://cc.oulu.fi/~rantalai/freerunner/touching/


It is gtk program which prints
1) mouse location
2) mouse button press (and its location)
3) mouse button release (and its location)

Compiling for Moko:
 . /usr/local/openmoko/arm/environment-setup
make

Compiling for Computer:
comment out 'CC = arm-angstrom-linux-gnueabi-gcc'  on Makefile
make

I made these test with OM2008.12. If you have time check what your
distribution says.

Usage:
ssh -X r...@moko
Case A)  [ using computers screen and mouse ]
./touching_test

Move mousepointer to window, press button down, move pointer, release button.
Terminal output:
Pointer moving at (17, 11)
Button pressed at (17, 11)
Pointer moving at (18, 11)
Pointer moving at (19, 11)
Pointer moving at (20, 11)
Pointer moving at (29, 11)
Pointer moving at (43, 11)
Pointer moving at (51, 11)
Pointer moving at (69, 11)
Pointer moving at (89, 11)
Pointer moving at (99, 13)
Pointer moving at (109, 13)
Button released at (113, 13)
Pointer moving at (112, 13)
Pointer moving at (112, 12)


Case B) [ using touchscreen ]
DISPLAY=:0 ./touching_test
Put stylus somewhere, move it, release it.
Terminal output:
Pointer moving at (113, 101)
Button pressed at (113, 101)
Pointer moving at (112, 102)
Button released at (436, 103)

Case C) [ touchscreen with two stylus]
DISPLAY=:0 ./touching_test
Put 1st stylus somewhere in top left (and do not release it)
Terminal output
Pointer moving at (37, 20)
Button pressed at (37, 20)
Pointer moving at (42, 26)

  (Start all subcases 1st stylus is in top left)
  Subcase 1)
  Put 2nd stylus somewhere in bottom right
  Terminal output
  NOTHING

  Subcase 2)
  Put 2nd stylus anywhere and move it, release it, put it again, move etc.
  Terminal output
  NOTHING

  Subcase 3)
  Put 2nd stylus somewhere in bottom right.
  Release 1st stylus
  Terminal output
  NOTHING
   Release 2nd stylus
  Terminal output
   Button released at (454, 438)

   Subcase 4)
   Put 2nd stylus somewhere in bottom right
   Release both in ~sametime
   Terminal output
Button released at (216, 363)  midpoint




Case B was something which breaks my plans how to implement
multitouch. (It doesn't give any messages when dragged)
btw: If  this doesn't work with GTK, can it work some other way? (Xlib, Qt)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Request for Feedback - SATAN

2009-03-21 Thread Aapo Rantalainen
 1) Rename it. Yeah, I know it's nice to provoke people etc but to me
it just sounds stupid.

One more vote for renaming.



2) Add an icon in .ipk package. I installed to 2008.12+Kustomized, no
icon was shown.

I got icon. (is this fixed?)



 3) First run I get a message that Enlightenment was not able to ...
 satan: error while loading shared libraries: libltdl.so.3: cannot open

I added libltdl3 for http://www.opkg.org/package_34.html


 4) Started the app. It's a mess.. sorry.. I'd like to be able to do

I do this step-by-step
http://launchpadlibrarian.net/23526681/MANUAL.txt
(My sound settings of phone are messed so I didn't got any noise out of.)

This manual is good. But maybe program is too hard and complicated to
Phone if it needs so long read-this-first (and I can't reproduce
anything without that manual).

Keep it simple. / Use menus with long names.
Tabs like  Ld/Sv aren't good. How about standardr drop down menu
called File (containing Load project and Save project)? I didn't got
point of whole Connector-tab. Maybe some working default settings
and menu-entry 'Advanced'- 'Connections' where power-user can fine
tune them.

And menu entry named 'Mode' could have 'surf' and 'tracker' and so on.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Finger Friendly chess program

2009-03-17 Thread Aapo Rantalainen
Maemo has good chess (uses gnuchess). Look screenshot:
http://cc.oulu.fi/~rantalai/maemo_chess1.png  (800x480px)

ps
 1538 user   1448 SW  /usr/bin/chess_startup /usr/share/osso-chess-ui/osso_
 1539 user  22928 SW  /usr/bin/chess_startup
 1542 user   1448 SW  /usr/bin/chessui
 1543 user  24020 SW  /usr/bin/chessui
 1544 user  10752 SW  /usr/games/gnuchess xboard

apt-cache policy osso-chess-ui - 1.5.15-0
apt-cache policy gnuchess - 5.07-7osso1


I think this migth be a good start:
http://repository.maemo.org/pool/maemo4.1/free/o/osso-chess-ui/
http://repository.maemo.org/pool/maemo4.1/free/g/gnuchess/

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Announcing the first programming competition for Openmoko phones

2009-03-02 Thread Aapo Rantalainen
We're announcing the first programming competition for Openmoko phones.

You're all invited to participate in the competition to code an
audiobook / podcast player.

Read the rules and more at
http://risto.kurppa.fi/blog/announcing-the-first-programming-competition-for-openmoko-phones/


Aapo Rantalainen  Risto H. Kurppa

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem installing apache webserver on my FreeRunner

2009-03-01 Thread Aapo Rantalainen
http://cc.oulu.fi/~rantalai/freerunner/aa-http/
Thanks Timo for your thoughts.

Case:
User Adam start server on directory, where Bob has write access. (this
is bad habits anyway)
Someone asks file from server. Server first check file size and then
loads it. Bob can change file between
those steps and it causes buffer overflow. (and if Adam is root, this
is critical)



I eliminate warnings and memory leaks. (can be compiled -Wall -Wextra cleanly)
I use valgrind to find memory leaks, and it founds something with
threading. I read manuals and found this solution, but valgrind is not
satisfated.

//  I try that every thread frees its memory when it is ready:
   pthread_attr_t pattr;
   pthread_attr_init(pattr);
   pthread_attr_setdetachstate(pattr, PTHREAD_CREATE_DETACHED);


pthread_create(handling_thread, pattr, handle_connection, (void
*)new_conection_socket);


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem installing apache webserver on my FreeRunner

2009-02-28 Thread Aapo Rantalainen
Hi, you didn't say why you need Apache (what features are needed). So
I introduce my simple http-server.
http://cc.oulu.fi/~rantalai/freerunner/aa-http/

*It can serve (at least) html/txt/png/pdf files.
*Easy way to handle dynamic content or make http-based 'control-center'.
   Go page named vibra.html and your device should thrill 2 seconds.
*Not implemented: directory listing.

It is not very well tested, so if you need privacy take a serious look
on the code.
(and let me know, if you find something)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [2008.12] Opkg.org repository packages that won't install

2009-02-27 Thread Aapo Rantalainen
I packed centerim again, and now it works (at least to me).
I added some more 'tags', maybe it is reason.
There are in http://www.opkg.org/packages/Packages
packages that do have only filename and md5sum, and they can't be
installed straight from repository.

-Aapo Rantalainen

'An error ocurred, return value: 2'
opkg install libboost-signals
opkg install mokoconv
opkg install neon
opkg install shortom
opkg install gpssight
opkg install openmiaocat
opkg install voicenote

#these will segfault:
opkg install liquidwar
opkg install wireshark-common
opkg install wireshark
opkg install pythm

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


howto: making ipk/opk

2009-02-27 Thread Aapo Rantalainen
A) There are many broken packages on opkg.org. They can be downloaded
and installed and they work. But adding opkg.org repository and
installing packages from repository cause Segmentation Faults and Not
found errors (opkg error -2).

B) People has made cool little scripts and python-things, but they
can't release them because packaging is so mysterious.


I want share to you one simple way to make package.
Read full text:
http://cc.oulu.fi/~rantalai/freerunner/packaging/

briefly:
Make directory and file-structure under it.
Put things in CONTROL/control
Use ipkg-buildpackage-script (v 1.1 2001/07/26) by Oliver Kurth


-Aapo Rantalainen

P.S. If you know some other easy way to make ipk/opk please share it with us.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: howto: making ipk/opk

2009-02-27 Thread Aapo Rantalainen

 What's wrong with good old 'ipkg-build'?  Script included in your path
 if using the toolchain, under /usr/local/openmoko/arm/bin.


Thanks for pointing this. I have copied wrong script to server. It is
almost same than in toolchain.
One of my point is user needs no whole toolchain to package
bash/python scripts to ipk.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new web browser for Freerunner: Netsurf - check it out

2009-02-20 Thread Aapo Rantalainen
I compiled and packed another web browser: netsurf (see:
http://www.netsurf-browser.org/ )

It is under heavy development and Openmoko version is almost vanilla,
just fixed couple of library weirdness.

Some users have reported problems with clicking links.

I will put it in opkg.org when I get enough feedback doest it work.

You need
opkg install librsvg-2-2
opkg install 
http://cc.oulu.fi/~rantalai/freerunner/netsurf/lcms_1.15-r0_armv4t.opk
opkg install 
http://cc.oulu.fi/~rantalai/freerunner/netsurf/netsurf_1.2-r0.1_armv4t.opk


See manual and about compiling:
http://cc.oulu.fi/~rantalai/freerunner/netsurf/READ.txt

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Neverball, anyone?

2009-02-15 Thread Aapo Rantalainen
I made some first bitbake-recipe file and compiled Neverball 1.5.0 for
Freerunner. It doesn't work. It is far too slow (less than 1fps). But
maybe you want see it yourself:
http://cc.oulu.fi/~rantalai/freerunner/neverball/

I read that there are iPhone version of Neverball, which uses smaller
texturefiles etc. If anybody finds its sources, let me know.  (Or if
you have any other thoughts how to make it faster.)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: liqbase on Freerunner?

2009-02-11 Thread Aapo Rantalainen
 http://liqbase.net/
http://cc.oulu.fi/~rantalai/freerunner/liqbase/

There are opk-packed liqbase. It can be installed. It can be runned.
But it doesn't work. (over ssh you got logs)

 -Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: liqbase on Freerunner?

2009-02-10 Thread Aapo Rantalainen
 http://liqbase.net/

All necessary libraries are in repositories or OpenEmbedded.
I got it compiled and running on Freerunner, but screen goes blank.

It uses the XV YUV overlay. Is this something that Freerunner can't handle?

I tested:
mplayer -vo help
Does not show xv. Is this sign that Freerunner do not have it, or only
that my mplayer is compiled without it?

 -Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: liqbase on Freerunner?

2009-02-09 Thread Aapo Rantalainen
http://liqbase.net/

Indeed, it has couple of nice features, but is there something special for moko?
Just compiling it for openmiko is not possible. It uses libraries like
osso and hildon, which need to be ported first. I think this is not
yet done,  Debian/ubuntu (x86) has libhildon and libosso, so it is not
impossible. (And then we can port easile any maemo applications to
openmoko)

I like that multitouch-simulation demo. Maybe it can be isolated from package.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: liqbase on Freerunner?

2009-02-09 Thread Aapo Rantalainen
http://liqbase.net/

Ok, I have very wrong, libhildon and libosso are both in OE.
And isolating multitouch-simulating demo is same than implementing it
from scratch. (but there are good point how to simulating is done)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-06 Thread Aapo Rantalainen
I repacked xlogical (and raised vesion number) and now I can install
it without segfault.
status=work_for_me, who confirms?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new terminal in opkg.org - vala-terminal

2009-01-26 Thread Aapo Rantalainen
$ git clone http://git.freesmartphone.org/?p=vala-terminal.git
Initialized empty Git repository in /home/lindi/tmp/?p=vala-terminal/.git/
error: The requested URL returned error: 403
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Use git clone git://git.freesmartphone.org/vala-terminal.git to fetch sources.

This http://git.freesmartphone.org/?p=vala-terminal.git is http-web-page.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new terminal in opkg.org - vala-terminal

2009-01-25 Thread Aapo Rantalainen
Vala-terminal works (tested) with Om2008.12 and Debian.

http://www.opkg.org/package_112.html

I think it is the best terminal in phone, but let me know if it miss
something (at least join in discussion about color of background).
http://wiki.openmoko.org/wiki/Vala-terminal

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Compiling linux applications for the Freerunner

2009-01-23 Thread Aapo Rantalainen
I think simplest way is that toolchain, which you have installed, if I
undestood right. (But there are ready ubuntu deb also.)

Go to directory where you have sources and type
. /usr/local/openmoko/arm/setup-env
Now you can, _in this directory_, use commands like
arm-angstrom-linux-gnueabi-gcc and opkg-target (check with tabulator
what you have).

If you got binary compiled, check with command 'file' is it for right
architecture.

And yes Mokomakefile and bb-files are the next step.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Function - Plotter for OM,

2009-01-14 Thread Aapo Rantalainen
I tryed to build arm version of gnuplot with mokomakefile, but it
doesn't believe that I'm crosscompiling it.

./configure \
 --build=i486-linux-gnu \
 --host=${TARGET_SYS} \


configure log says:
checking whether we are cross compiling... yes

But error is:
| ./doc2gih: ./doc2gih: cannot execute binary file

I tested what happens if I change doc2gih from my local gnuplots
doc2gih, then it passes this steps, but gives another 'cannot execute
binary file'-error, and I'm afraid this is endless way.
(I have succesfully compiled e.g openttd, which also compiles some
helper binaries for local architecture and only final binary is for
target, so gnuplot has something weird.)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QT goes LGPL

2009-01-14 Thread Aapo Rantalainen
Read what Richard Stallman/FSF says about LGPL:
http://www.gnu.org/licenses/why-not-lgpl.html

(But it is Nokias business what license they use)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [hackable1] Working mouse out of the box

2009-01-09 Thread Aapo Rantalainen
I tested mouse with FDOM. Self-made gender-changer and usb-hub. Needs
only host-mode spells (and enabling pointer to make life easier).
All three buttons and wheel works. I didn't know that icons in home
view can be scrolled with mouse wheel =)

When screen is landscaped, pointer moves wrong. Actually same problem
is with touchpad of laptops when screen is rotated.
I have made patch for touchpads, but maybe this (whole rotating-thing)
should be handled on lower level. see more:
http://www.helsinki.fi/~rantalai/synaptics/

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Openttd is now in opkg.org!

2008-12-07 Thread Aapo Rantalainen
Openttd is now in opkg.org!
It is game.

It contains gpl-graphics (version alpha2). They are not all ready,
there might be some black boxis.

Enable scrolling-with-stylus:
Advanced settings
-Interface
 - Left-click scrolling: On (this string is not localized)

Using scrolling:
Point 'empty'-tile on screen and drag. (empty = anything that do not
do anything when clicked: ground, trees, roads, water...)

There are no sounds in this package. (only dummy sample.cat).
There are no music in this package.

There are project to make gpl-sounds and gpl-music, I will check how
ready they are and do them work with freerunner. And do we want that
package is ~80 megas greater because of background music?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Openttd is now in opkg.org!

2008-12-07 Thread Aapo Rantalainen
I just saw I forgot the straightlink:
http://www.opkg.org/package_58.html

The music is going to be in MIDI format? Is FR capable to play MIDI?
Original Transport Tycoon uses MID, but openttd will someday (maybe)
use Ogg Vorbis.

Sound effects was wav and now there are project to record gpl/CC
sound-effects. They will (maybe) be wav or FLAC.
It's about half ready, so maybe it can be taken in.

I would like it better if the bitbake recipe changes can be moved into OE.
I based my recipe on version 0.6.0bb in openembedded. (there are
oldnamed 0.6.0-buildfix.patch too in use)
My current recipe is on:
http://www.cs.helsinki.fi/u/rantalai/freerunner/openttd/
(and all other files too)
I will add soundeffects on it. (and try to make magic resolution sniffer)

Tell me how OE works (or is mentioned to work)? Or link to manual. I
have some other recipe that I want to be merged in OE, but no idea how
the system works.

About scroll-patch:
It is not originally written by me. I send updated version to the
author and also send it to upstreams bug/patch-tracker.

If there are someday music, they will be in another package.


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Where can I find this game?

2008-12-06 Thread Aapo Rantalainen
Ok, openttd.opk is ready. It is version svn 14657.Tested with FDOM.
Disabled:
lib-icu (arabic right to left writing)
allegro (alternate to sdl)

It contains gpl-graphics only (version alpha2). They are not all
ready, there might be some black boxis. If you own TransportTycoon,
you can drop grapfics from it to /usr/share/games/openttd/data/
Sounds are also missing (there are only dummy sample.cat).

Game is not playable yet with stylus. You can't scroll the map without
right mouse button.
There is one option, but it do not solve:
   Advanced settings
  -Interface
  -Pan window when  mouse is at edge: On

It affects only with left and right scrolling, no up and down.

Left-mouse-button-scroll-patch exist, but it is too old and needs
updating. (I'm planning to do it)

Game do not guess resolution rigth, I added commandline parameters for
it. (Once started with 480x640 it writes it on the conf file.) Game
works landscaped too.

opk: 
http://www.cs.helsinki.fi/u/rantalai/freerunner/openttd_0.6.3-r0.1_armv4t.opk
official: http://www.openttd.org/en/
gpl-data: http://wiki.openttd.org/wiki/index.php/Graphics_Replacement
left-scroll-patch: http://www.tt-forums.net/viewtopic.php?f=33t=35987


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Where can I find this game?

2008-12-05 Thread Aapo Rantalainen
I tested openTTD in last summer on my Debian freerunner. Then it needs
one-mouse-button-patch, but I think it is now merged to official.
(somewhere in options-menu).
Game was playable, when TransportTycoon deluxe was released all
monitors are 640x480.
Network-multiplaying works. Sound effects works, midi-audio didn't work.

Packaging it is hard, because it needs propriety-data-files. (ok,
debian etc. has packed it) But they are making also gpl-ed data-files,
I do not know how ready this project is.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new application: AaTerm-terminal (patched openmoko-terminal2)

2008-11-19 Thread Aapo Rantalainen
I want good terminal to my phone. I know only xterm and
openmoko-terminal2 (qt might have own?).

I made some improvements on openmoko-terminal2. Meanwhile upstream is
thinking what to do with my pathces, I release AaTerm. It is not
really fork, just patched openmoko-terminal2, but now you can install
it while having openmoko-terminal installed.

Instructions and package:
http://www.cs.helsinki.fi/u/rantalai/freerunner/aaterm/

Tell me what is missing?

(It will looks cooler when 'underlying' libraries are updated. E.g I
must disable all icons, because they do not fit, and use instead
text-labels.)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new application: AaTerm-terminal (patched openmoko-terminal2)

2008-11-19 Thread Aapo Rantalainen
Paste:
First select text on any tab, then go to any tab and press paste.
Selected text will be pasted. (Similar to openmoko-terminal).

Does it invoke the keyboard when you select the text area? (illume keyboard)

Any hints how to do this?
Does Fdom use illume keyboard?
I have problem. When user press any toolbar button, the keyboard
hides, I thought it is not good, and I solved it.
Are these two things joined together?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-13 Thread Aapo Rantalainen
Hi All,
I just finished the recipe for Xlogical based on Aapo's patches and while we 
wait until the recipe gets merged to OE/OM, I've put a binary package online 
for you all to enjoy.
I added music, sounds and a wrapper script that rotates the screen to 
landscape. Right now the music is enabled by default, but I can disable that 
if that is unwanted behaviour.
package is here :
http://3v8.net/~sander/openmoko/xlogical_1.0-8-r0.1_armv4t.ipk
Let me know what you think.

grtz,
Sander


Hi, this is great. It raises my motivation to continue with xlogical.

I have some points:

a) audio
Ok, maybe I overreact when I threw all sounds away. I still suggest
that default wrapper script is:
xrandr -o 3
xlogical.bin audio.enabled=0
xrandr -o 0

b) missing hi-score file
The file /usr/local/var/xlogical/xlogical.scores is missing. (the
location is stupid, so change it too. This is some configuration time
parameter like datafolder.)
message: ERROR!  Could not open hi-score file.
(I think the whole hi-score/point system is useless and so 80's)

c) dependeries: libsdl-image-1.2-0
my package:
Depends: libsdl-1.2-0 (= 1.2.9), libsdl-image-1.2-0 (=1.2.3-r0)

your package:
Depends: libsdl-1.2-0 (= 1.2.11), libc6 (= 2.6.1),
libsdl-image-1.2-0 (= 1.2.6), libsdl-mixer-1.2-0 (= 1.2.6),
libstdc++6 (= 4.1.2), libgcc1 (= 4.1.2)

With fdom: opkg install libsdl-image-1.2-0
Package libsdl-image-1.2-0 (1.2.3-r0) installed in root is up to date.

And installing your package says:
* ERROR: Cannot satisfy the following dependencies for xlogical:
 *  libsdl-image-1.2-0 (= 1.2.6) *

With -force-depends it works, so you can decrease the needed
libsdl-image version.

d) title_text_2.bmp
Image title_text_2.bmp says PRESS (ESC) TO START. You can press or
click anything to start, so here is same image without text:
http://www.cs.helsinki.fi/u/rantalai/freerunner/title2_template.bmp
(maybe someone wants write something to it?)

e) title_text_4.jpg
Startup screen is 640x497, but used window is (now) stardard 640x480,
so here is resized image:
http://www.cs.helsinki.fi/u/rantalai/freerunner/title_text_4_standardsize.jpg
(text are raised a little bit)



I'm planning to make some level selecting dialog (shows which levels
are passed and which are skipped). Or do we like that
levelcode/password-system?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-07 Thread Aapo Rantalainen
I'll try to create a bitbake recipe for it so it can track the distro(s).
Good


Did you disable the sound because it was choppy? (like I experienced with 
Pingus)
I did't even test sounds. I think games played on phone should be
silent. (If somebody wants musics and sound effects, It can be default
disabled, but player has option to enabel it.)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new Game for freerunner: xlogical

2008-11-06 Thread Aapo Rantalainen
I found one old (2003) game: http://changeling.ixionstudios.com/xlogical/
I made it playable on Freerunner:
http://www.cs.helsinki.fi/u/rantalai/freerunner/xlogical/

http://www.opkg.org/package_33.html

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new numptyphysics for freerunner is out

2008-11-05 Thread Aapo Rantalainen
http://www.cs.helsinki.fi/u/rantalai/freerunner/numptyphysics/
http://www.opkg.org/package_3.html
UPDATED


Thanks for feedbacks.

 are there plans to merge these changes to upstream Numptypythings
I have discussed a lot of with upstream, they know what I'm doing
(newer engine and scalable window are from my feature request and
partly from my code). OnScreenKeyboard can now be toggled ON/OFF with
keyboard, so next step is toggling it ON with commandline parameter.
(It needs some testing and polishing before it goes upstream)
So I think one package is enough.


Would it be possible for the Open Embedded package maintainer to
update it to use autotools and apply the patches developed here ?
I do not know anything about autotools and crosscompiling, so I will
be happy if someone take this project to part of some official system.


- There are some crashes (i.e when drawing over the virtaul keyboard)
I can't produce this. If you can, start from terminal or ssh, so you
got error messages and send to me.
NOT-CONFIRMED-YET

 - It's so much slower
This is under discussion in upstream. Meanwhile I dropped physics
iteration rate (like older fr-np version did).
FIXED

- The virtual keyboard is very hard to use.
I added some click-threshold. (Now it is same than used with hildon)
FIXED

Exec=xrandr -o 3  numptyphysics -geometry 640x480; xrandr -o 0
I fixed .desktop-file.
FIXED


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


CenterIM is ported to Freerunner

2008-11-05 Thread Aapo Rantalainen
Centerim[1] is instant message center and it works on freerunner very well.

package: http://www.opkg.org/package_32.html
full info: http://www.cs.helsinki.fi/u/rantalai/freerunner/centerim/

It is terminal based, you can't use mouse. It can handle many
IM-protocals and irc, rss feeds...
Tested with fdom and xterm/openmoko-terminal2.
Uses mplayer to play wav-sounds (can be changed)
Uses dillo to open urls (can be changed. can check if there are dillo
or midori or minimo and then uses one)
I tuned colors and keybindings for freerunner. If you invent something
let me know.


[1]http://www.centerim.org/



-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new numptyphysics for freerunner is out

2008-11-03 Thread Aapo Rantalainen
Hi all, Numptyphysics, this great physics drawing game, is reborn!
(http://www.opkg.org/package_3.html)
There are not yet new upstream release, but there are lots of new
things in svn-repository. So we can now play numptyphysics0.2-svn109
on our Freerunners. (Tested with Debian and Fdom).

upstream news:  (https://garage.maemo.org/scm/?group_id=638)
-newer physics engine (Box2d v2.0.1 http://www.box2d.org)
-scalable window with commandline parameters (so every platfrom will
use same datafiles)
-faster drawing
-more levels
-action replays

port news:  ( http://www.cs.helsinki.fi/u/rantalai/freerunner/numptyphysics/ )
-onSceenKeyboard (control-panel)
-action replays removed (doesn't yet work correct with freerunner)
-NextLevel-dialog-overlay is non-draggable (so clicking it is easier)


Summa summarum:
Game can be played landscaped, without keyboard and it uses same
datafiles than any other numptyphysics-port.


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: rcp works, konqueror+fish not

2008-10-24 Thread Aapo Rantalainen
Fish document says, that perl is used if it installed on target.
Freerunner Debian has perl 5.10.0
I installed perl to my FDOM from repository, it is version 5.8.8. Do not work.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


rcp works, konqueror+fish not

2008-10-22 Thread Aapo Rantalainen
I can rcp files from computer to my freerunner, but with konqueror and
fish:// I can only download not upload. Moko just disconnects when I
start uploading. Freerunner is running fdom and my computer is running
Ubuntu: 8.04, Qt: 3.3.8b, KDE:3.5.9, Konqueror: 3.5.9.

I just installed Debian on Freerunner and now konqueror+fish works, so
I think it is about dropbear, not konqueror.
(Debian has Dropbear sshd v0.51and  fdom 0.49, maybe this is the point)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: rcp works, konqueror+fish not

2008-10-22 Thread Aapo Rantalainen
opkg install 
http://downloads.openmoko.org/repository/testing/armv4t/dropbear_0.51-r1.01_armv4t.opk
Now I have dropbear 0.51 on debian and fdom.
Konqueror+fish works with debian, but not with fdom.

So this is the right place to look
http://docs.kde.org/development/en/kdebase-runtime/kioslave/fish.html

It uses perl if founded. Else It uses the shell commands cat, chgrp,
chmod, chown, cp, dd, env, expr, grep, ls, mkdir, mv, rm, rmdir, sed,
and wc.
My fdom doesn't contain perl, so this is list which command doesn't
behave as it expects.

If I try to upload file, it only makes empty file with name.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] Can't type with matchbox keyboard

2008-09-23 Thread Aapo Rantalainen
 does any volunteer to get in touch with the matchbox-project and see if
 they can release a new version?



Maybe this help:
[2008-09-21] Accepted 0.1+svn20080916-1 in unstable (low) (Moray Allan)

on the http://packages.qa.debian.org/m/matchbox-keyboard.html

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Lemmings

2008-09-01 Thread Aapo Rantalainen
apt-get install pingus

I tested pingus on debian/Freerunner. When screen is portrait,
resolution (480*640) works in game, but 'menus' and intros is little
bit hard. I saw one or two pixel of OK-button, luckily I know where to
look it, so I got the game on.
Level choosing is made by cool map, which is not scrollable/scalable,
so I do not know what happens if you play more levels what you see in
first view of that map. (I play just first level)

Game is very playable with small screen and with pen, there is no need
to second mouse button.

-Aapo Rantalainen


 Pingus is really great fun with a touchscreen - I used to play it on a
 tablet PC. It's easier than using a mouse because you just tap the
 action button (ie dig) and then tap each of the penguins you want to
 start digging/etc.

 If someone gets it going on the Neo I may never get anything done ever
 again.

 Your wish is my command.

 http://packages.debian.org/search?keywords=pingus indicates it's available
 for Debian for FreeRunner.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Numptyphysics on [EMAIL PROTECTED]

2008-08-29 Thread Aapo Rantalainen
Numptyphysics that works with Debian:
http://lauta.dyndns.org/freerunner/index.html
tar.gz.

There are sources+binaries+data.
Data is same than ipk-package (smaller resolution + extra levels)
Sources can be compiled on Freerunner (just apt-get install all lib
what it whine)
Ready binary.


There are new version of numptyphysics coming:
*newer physics-engine
*replay / demo recording
*on screen keyboard / controlpanel (to restart level, jump next, pause
game, etc)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Fennec on Openmoko

2008-08-26 Thread Aapo Rantalainen
Is it possible to test Fennec yet?

Is this starting place?
https://wiki.mozilla.org/Mobile/Build/Fennec

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian on the FreeRunner -- a few questions/solutions

2008-08-22 Thread Aapo Rantalainen
Hi, Dabian has old matchbox-keyboard but there are newer and better
working version too. e.g. you can put shifted display=//

I do not know is this The Latest version and I do not know how to use
svn, but this way you can grab 40Mb matchbox code and there are
matchbox-keyboard-folder too. This is only folder you need (if you are
interested in only matchbox-keyboard).

svn checkout http://svn.o-hand.com/repos/matchbox/trunk


And there are patch that allows you change layout on the fly.
http://bugzilla.openedhand.com/show_bug.cgi?id=574
It is splitted in to five files. And the last one need manual tweaking.
Then you can map a button to layout changer default display=123
action=layout:numpad/

One of patch files uses different p-value.

patch -p1  fix-util-list-logic.patch
patch -p0  add-multi-layout-support.patch
patch -p1  add-get-all-layouts.patch
patch -p1  move-base_alloc_foo-to-layout.patch
patch -p1  make-base-alloc-foo-layout-specific.patch


I merged them all:
http://lauta.dyndns.org/freerunner/multi_layout.diff

Ready compiled binary for freerunner/debian
http://lauta.dyndns.org/freerunner/matchbox-keyboard

And one example layout. At this moment basic finnish+crap numpad.
http://lauta.dyndns.org/freerunner/keyboard.xml


And more things that I do not know. What is matchbox-keyboard that Om
2008.8 uses.
http://wiki.openmoko.org/wiki/Change_keyboard_layout

layout switcher looks like this:
default display=[-] action=modifier:layout/


-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian on the FreeRunner -- a few questions/solutions

2008-08-21 Thread Aapo Rantalainen
Nice looking keyboard. Excluding Home and End there are
AllWhatCanNeed. (maybe on arrows with shift?) There are some button
which do not work on my debian. Do they work on yours?
shift+7  = ?should be /
shift+0  = +should be =
shift+.   = : should be ;

öä and umlaut-u do not affected by CAPSLOCK.

y and z are swapped (joke)

-Aapo Rantalainen




2008/8/21 Fox Mulder [EMAIL PROTECTED]:
 First of all i must say that i'm quite impressed with debian on the
 freerunner. It runs quite smooth most of the time and the software
 choices are realy nice. :)

 There is a thing what i found out about the matchbox keyboard. The
 standard layout is quite bad so i tried my customized from 2007.2 which
 doesn't work at all (i already read about this problem). After a long
 try and error session i found out why it doesn't work. The matchbox
 keyboard which comes with debian seems not to get along with the
 action=modifier:layout tag. After i found out i removed all
 alternative layouts and it worked with my nice german layout with f-keys
 and everithing which is on the keyboard. :)
 If someone is interested in the german layout with f-keys i attached.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian on the FreeRunner -- a few questions/solutions

2008-08-21 Thread Aapo Rantalainen
2008/8/21 Fox Mulder [EMAIL PROTECTED]:
 In the console the umlaute doesn't work at all. maybe i have to change
 my language or font settings. When i try it in mousepad the umlaute
 works and are affected by capslock.

 shift+. = : is right.

 ; comes by shift+, (take look at the keyboard) :)

This is my typo, I mean:
shift+,   = : should be ;


If you put shifted display=1/, you will get !
This is stupid, but it explain why shifted display=// produces ?

Maybe somebody should fix the code.

-AR

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


debian and numptyphysics

2008-08-18 Thread Aapo Rantalainen
Hi, I got numptyphysics working on debian.
No cross-compiling needed, just copy sources to Freerunner and 'make'
(apt-get install build-essential and some dev libs)

There are just couple of modification. Main point is that images must
be resized for freerunner. I used data of Michael Kluges ipk-package.
[1]

Sources+data+binary
http://lauta.dyndns.org/freerunner/index.html
(not .deb yet)

[1] http://kerneltrap.org/mailarchive/openmoko-community/2008/7/30/2747634

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian and numptyphysics

2008-08-18 Thread Aapo Rantalainen
Video added. (via youtube)
And I almost forget that keyboard works like a charm. (that default
matchbox-keyboard)
-Aapo Rantalainen



 Sources+data+binary
 http://lauta.dyndns.org/freerunner/index.html
 (not .deb yet)

 Looks pretty good in the picture. Would you make a video of Numptyphysics in
 action? I haven't gotten my Freerunner yet and I'd like to at least watch a
 video of the things I can't play with yet.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Openmoko Om 2008.8 Release

2008-08-08 Thread Aapo Rantalainen

I just change from FSO to OM 2008.8 and I think keyboard is not good as in
FSO. I mean, i need full-qwerty-with enter and backspace and arrows.
Keyboard layout switching with sliding works great. Backspacing with sliding
is cool but I think there should be button too.
I installed illume-conf, why there are no preinstalled keyboard?

I installed xterm and openmoko-terminal2. When I'm typing, the text not go
to terminal, instead it is collected top of keyboard and goes untill I
choose them.
 
-AR
-- 
View this message in context: 
http://n2.nabble.com/Openmoko-Om-2008.8-Release-tp680370p680819.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community