Friday, April 28, 2006

Minimo 0.15 + PSM support (update)

I got both minimo and TestGtkEmbed browsering through some "security" sites. That's more than great. So, I'll clean up the code and submit a patch into the mozilla/minimo bugzilla asap ...

I've also debianized such build (Minimo 0.15) for the 770, but unfortunately couldn't test it out on my own 770 so far. Reason: I am not able to update my maemo image: "an invalid ID error" sucks. On my *old* image I got a libstdc++ incompatibility. (minimo requires libstdc++6 to run but it has .5 instead).

So, I'd be much appreciated if someone who I have already flashed the newest maemo image into your 770, could check if libstdc++6 is available,

$ ls -lah /usr/lib/libstdc++*

and if you succeed you can install minimo 0.15 as follows:

_Installing it:
  • Via AI
_Running it:

Nokia770-05: cd /var/lib/install/usr/lib/minimo/
Nokia770-05: export LD_LIBRARY_PATH=.
Nokia770-05:/var/lib/install/usr/lib/minimo# export DISPLAY=:0
Nokia770-05:/var/lib/install/usr/lib/minimo# ./minimo

I've sent a question to dev-maemo asking about it my but nothing yet. Your feedback will be amazing ;)

--Antonio Gomes


Anonymous said...

Looking forward to the deb

Anonymous said...

Nice one! Any news on the .deb?

Anonymous said...

I am so excited to hear that .deb is coming. Good work!!! I would like to get it and tested it with chinese web site. Looking forward to hear from you.

Anonymous said...

Thank you!!

Anonymous said...

Sorry ! it's only 5.0.5 ...

Anonymous said...

I've tried the deb on my IPAQ 5550. minimo starts but, as soon as I press something on the screen it crashes. I can see the same thing happening with 0.14, but 0.14 can browse a bit..:-)

Thank you anyway! Great stuff.

Jay said...

yeah, here is the terminal output:

lrwxrwxrwx 1 root root 18 Mar 28 16:17 /usr/lib/ ->
-rw-r--r-- 1 root root 838.7k Mar 25 2004 /usr/lib/

gultig said...

Hey Antonio!

I grabbed the deb from here:
Did a dpkg -x and dropped the resulting into the minimo directory. Oh yeah, I had to rename it to (no trailing 0) for it to work.

Looks nice man. Keep up the good work.

Kwadroke said...

I tried gultig's libstdc++6 trick but I couldn't get it to work. Maybe put it in the .deb file would fix it?

Jay said...

i get an error trying to install the minimo deb via app installer: incompatible package. should I try installing it some other way or is there something wrong with the file?

gultig said...

My bad.

I just realized that I forgot to mention I put that in the minimo directory also. (no rename needed)

Sorry about that.

Jay said...

UPDATE: Well, now my app installer program won't work at all. on any deb files. The first occurence of this was trying to install the minimo deb, so I'm not sure if that broke it or what. I also haven't yet tried rebooting the device, but if that fails to fix it I'll have to reflash and then I'll try the minimo deb on a fresh install and see if it works or if the deb file is broken.

Jay said...

ok, so after a restart the app. install program works again. but I still can't in stall minimo 0.15. I did successfully install libstdc++6-0, and I'm itching to try the new minimo build, has anyone else been able to get this working? anyone else having problems installing the deb file?

Jay said...

UPDATE: well, i downloaded the file again but it is not letting me install via app installer. damn!

Antonio said...

dudes, i´m glab of all your hacks ... please, could some one gime the current status ?

I´m on vacation right now, (in a cyber-coffee running a fuc... slow windows xp and a terrible IE actually :)) , and will be back to real by the end of the next week ...

let´s do that work together ;)


Jay said...

i got it working! after removing the extrootfs hack and reflashing with the new image I was able to install minimo and libstdc++6.0. After moving it to the minimo dir I was able to run it no problem. the program is WAY smoother than previous efforts, hoorah. and google reader works. the page is rendered a little funky, but by gosh it is fully functional, unlike opera's default browser!

Jay said...

update, some comments:

Smooth, smooth, smooth loading, scrolling, everything.

The keyboard pops up everytime a new page is loaded. Annoying, but this is a hack, so who am I to complaing.

It is wonderfully easy to select and highlight text.

I don't know if this is possible, but it would be nice to run fullscreen. Also to change the way pages are rendered to use the maximum screen real estate. Right now thing are sqashed and sometimes individual items like one word or a small icon take up a whole line. I know, it's asking a lot, but in an ideal world...

I am posting this from within minimo right now, with Google Reader open in another tab.

It would be nice to have access to the menubar, for bookmarks, settings, etc.

Pages easily load as fast as in the default 770 browser, but the translation of the layout of a page is mangled because minimo is made for winmo 5.0 screen size.

Otherwise, some really great work. The program even retains previously entered URLs.

Pop up menus such as the "remember this password? never for this site / not now / yes" are cut off.

Next I'll have to let you know if the pw manager works, and if I can use secure sites such as my bank.

Thanks Antonio!

Jay said...

ok, the password manager does wor (you have to use the (tab) key to move the selection from "not now" to "yes" only the barest edge of the "yes" button is visible, pressing the (+) button on the top of the 770 (F7) toggles caret browsing (a cursor is shown on the page wherever you'd like to put it, secure sites do not work, at least not my bank. And I forgot to mention, tabbed browsing is awesome. If the pages rendered optimized for the 800 x 480 screen I would definitely use this a lot. It is pretty stable, I only crashed it trying to load Google Calendar (heavy ajax)

Also, it would be amazing to hildonize this app, and be able to launch from "extras" menu on home screen..

Jay said...

oh wow, I found the menus, preferences, desktop rendering mode, etc. Forget all my issues as stated above. Google reader looks EXACTLY like on my desktop system! For anyone else trying this out, there are menus on either side of the url text field, just tap in the dead space and viola! I am fucking floored now. It even supports full screen mode, although then you need the home key to get back out. shit, just amazing!

Jay said...

so check this shit out:

Minimo screenshot

This is amazing. You'll notice minimo is using the theme I have installed for components such as the tabs and scrollbar, nice! If I can find a way to toggle fullscreen with one of the hardware keys, most likely F7, I will be using this app HEAVILY.

Anonymous said...

Hi Antonio,

Is it possible to post some intructions how to build it from source?

Antonio said...

anonymous , just taking off 3 minutes of my precious vacation , here we go:

* pulling it

$ cvs checkout mozilla/
$ cd mozilla
$ make -f checkout MOZ_CO_PROJECT=minimo

* building it:

$ cd topdir
$ cp minimo/config/mozconfig/linux_x86 mozconfig
$ make -f build_all
$ cd minimo/base
$ make package
$ cd ../../dist/minimo
$ export LD_LIBRARY_PATH=.
$ ./minimo

Tell what you get , ok ?

>Hi Antonio,

>Is it possible to post some >intructions how to build it from >source?

gultig said...

Just in case you're interested, Jay started a thread on ITT:

Nevermind, you're on vacation.

Go relax!

gultig said...

Much better

Jay said...

So, I guess the only way to redefine the HW keys is in the actual C++ code for minimo? I looked high and low within the files in the minimo directories but to no avail. There is nary a mention of HW keys, save for F19 and F20, in prefs.js I believe. Anyone have a clue how to redefine one of the 770 hardware keys to toggle an xterm window in and out of fullscreen? Is that even possible? I don't know enough about programming to even begin looking into this. It would be really cool to simply change the behavior of the way minimo behaves on certain F*-keypresses to allow for this functionality. If I could fix that and the keyboard popping up on every page load I would be using minimo more than the default opera browser.

Anonymous said...

Could you make builds of TestGtkEmbed for the 770 available? Thanks!

Antonio said...


I hope publish all patches and sourcebase for 0.16 ;) -> end of the month