Minimo

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
(50 intermediate revisions by 27 users not shown)
Line 1: Line 1:
 +
{{Languages|Minimo}}
 +
{{Application|Minimo}}
 +
 +
[[Image:Minimo-slashdot.jpeg|thumb|minimo in QEMU displaying it.slashdot.org]]
 +
[[Image:GTA01-minimo.JPG|thumb|minimo on GTA01 displaying www.heise.de]]
 +
 
= Installing Minimo web browser =
 
= Installing Minimo web browser =
  
[http://www.mozilla.org/projects/minimo/develop.html Minimo] is Mozilla based web browser. It features full AJAX support and other goodies. Currently stock OpenMoko build doesn't include Minimo. Here are instructions how to run minimo in Xephyr PC environment and how to use other third party packages too.  
+
[http://www-archive.mozilla.org/projects/minimo/ Minimo] is a Mozilla based web browser. It features full [http://en.wikipedia.org/wiki/Ajax_%28programming%29 AJAX] support and other goodies. Currently stock Openmoko build doesn't include Minimo.
 +
== Running on Om2009-beta ==
 +
Follow the 2008 instructions, with two exceptions:
 +
# you may not be able to unpack a .bz2 archive on the Freerunner, in which case download and unpack on your computer, and then ssh the files over to the Freerunner
 +
# If you get a gtk+-fastscaling dependency error, run the following command for installation instead:
 +
<pre>
 +
opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk -force-depends
 +
</pre>
  
* [http://bec-systems.com/web/content/view/59/9/ Instructions for including new OpenEmbedded packages to your project]
+
"gtk+-fastscaling is just gtk+ these days, and you should be able to override it with -force-depends or something like this" [http://lists.openmoko.org/nabble.html#nabble-td2654384]
 +
== Running on Om2008.8 ==
  
== Setup build environment ==
+
From the Neo, download the minimo package:
  
If you have build your OpenMoko using MokoMakefile some of these steps might not be familiar to you.
+
<pre>
 +
wget http://www.ginguppin.de/files/minimo.tar.bz2
 +
</pre>
  
Assume your OpenMoko root is at ~/workspace/moko
+
Unpack it:
  
First setup build environment variables:
+
<pre>
<pre>Minimo
+
tar -xjf minimo.tar.bz2
From OpenMoko
+
</pre>
Jump to: navigation, search
+
[edit]
+
Installing Minimo web browser
+
  
Minimo is Mozilla based web browser. It features full AJAX support and other goodies. Currently stock OpenMoko build doesn't include Minimo. Here are instructions how to run minimo in Xephyr PC environment and how to use other third party packages too.
+
Then install it:
  
    * Instructions for including new OpenEmbedded packages to your project
+
<pre>
 +
opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk
 +
</pre>
  
[edit]
+
If you get the following error:
Setup build environment
+
  
If you have build your OpenMoko using MokoMakefile some of these steps might not be familiar to you.
+
* ERROR: Cannot satisfy the following dependencies for minimo:
 +
*  libfreetype6 (>= 2.3.6) *
  
Assume your OpenMoko root is at ~/workspace/moko
+
First try:
  
First setup build environment variables:
+
<pre>
 +
opkg install libfreetype6
 +
</pre>
  
moo@hacker:~/workspace/moko/build$ . ../setup-env
+
If this does not install a libfreetype6 version > 2.3.6, you can download a newer libfreetype6 from the Angstrom repository at this location: http://www.angstrom-distribution.org/repo/?action=details&pnm=libfreetype6
  
Then checkout minimo from OpenEmbedded repository:
+
Ex:
  
moo@hacker:~/workspace/moko/build$ bitbake minimo
+
<pre>
 +
wget http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libfreetype6_2.3.6-r0.1_armv4t.ipk
 +
opkg install libfreetype6_2.3.6-r0.1_armv4t.ipk
 +
opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk
 +
</pre>
  
Edit local.conf and add minimo to build dependencies list.
+
Using Minimo with the stock Om2008.8 gets annoying because the keyboard always takes up half the screen.  I recommend reactivating the [[Keyboard_Toggle#Reactivating_the_keyboard_toggle_under_Om2008.8|Keyboard Toggle]] so that you can hide the keyboard while browsing.
  
MACHINE = "qemux86"
+
I also highly recommend getting [[GPRS]] going so that you can browse on the go!
DISTRO = "openmoko"
+
BUILD_ARCH = "i686"
+
INHERIT += " devshell"
+
SRCDATE_eds-dbus = "now"
+
DISTRO_EXTRA_RDEPENDS = "python minimo"
+
  
After local.conf has added new packages, one must refresh bitbake tasks.
+
== Running on Om2008.4 ==
  
bitbake task-base -crebuild
+
Download the minimo package:
  
Now, you should be able to rebuild root fs using MokoMakefile.
+
<pre>
 +
wget http://www.ginguppin.de/files/minimo.tar.bz2
 +
</pre>
  
make openmoko-devel-image
+
Unpack it:
  
 +
<pre>
 +
tar -xjf minimo.tar.bz2
 +
</pre>
  
The default OpenMoko distribution lacks /etc/resolf.conf file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.
+
and install:
  
moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf
+
<pre>
 +
opkg install minimo_*
 +
</pre>
  
[edit]
+
If any packages are missing, just install it from repository.
In chroot'ed environment
+
  
Following instructions in Getting OpenMoko working on host with Xephyr to get yourself chroot'ed into OpenMoko environment.
+
== Running in Xephyr PC environment ==
  
Start Xephyr. You don't need to start OpenMoko session, minimo can run as is.
+
Here are instructions on how to run minimo in Xephyr PC environment and how to use other third party packages too.
  
/ $ minimo 
+
* [http://bec-systems.com/web/content/view/79/9/ Instructions for including new OpenEmbedded packages to your project]
  
Retrieved from "http://wiki.openmoko.org/wiki/Minimo"
+
These instructions should be updated to use a custom image rather than DISTRO_EXTRA_RDEPENDS -- see link above.
Views
+
  
    * Article
+
Alternatively, a binary ipkg was posted here[[http://www.ginguppin.de/files/minimo.tar.bz2]]
    * Discussion
+
 
    * Edi
+
=== Setup build environment ===
moo@hacker:~/workspace/moko/build$ . ../setup-env  
+
 
 +
If you have built your Openmoko using MokoMakefile some of these steps might not be familiar to you.
 +
 
 +
Assume your Openmoko root is at ~/workspace/moko
 +
 
 +
First setup build environment variables:
 +
<pre>
 +
moo@hacker:~/workspace/moko/build$ . ../setup-env
 
</pre>
 
</pre>
  
Line 105: Line 133:
 
</pre>
 
</pre>
  
 +
=== Tips ===
  
The default OpenMoko distribution lacks ''/etc/resolf.conf'' file which is used to configure system DNS look-up. Without this file, failing  domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.
+
The default Openmoko distribution lacks ''/etc/resolv.conf'' file which is used to configure system DNS look-up. Without this file, failing  domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.
  
 
<pre>
 
<pre>
Line 112: Line 141:
 
</pre>
 
</pre>
  
== In chroot'ed environment ==
 
  
Following instructions in [[Getting OpenMoko working on host with Xephyr]] to get yourself chroot'ed into OpenMoko environment.
+
If build fails with
  
Start Xephyr. You don't need to start OpenMoko session, minimo can run as is.  
+
<pre>
 +
/usr/bin/ld: skipping incompatible $OMDIR/local/tmp/staging/arm-angstrom-linux-gnueabi/lib/libIDL-2.a when searching for -lIDL-2
 +
</pre>
 +
(here minimo is installed in a [http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Setting_Up_a_Local_Overlay Local Overlay], so your path will perhaps differ) try installing the libidl-dev package on the buildhost:
  
 
<pre>
 
<pre>
/ $ minimo 
+
sudo aptitude install libidl-dev
 
</pre>
 
</pre>
 +
 +
Currently, nothing shows up in the Homebase page (under FSO, anyway).  If anyone knows a solution, please update here.  For this reason, there really are no bookmarks to speak of.
 +
 +
=== In chroot'ed environment ===
 +
 +
Following instructions in [[Getting Openmoko working on host with Xephyr]] to get yourself chroot'ed into Openmoko environment.
 +
 +
Start Xephyr. You don't need to start Openmoko session, minimo can run as is.
 +
 +
<pre>
 +
/ $ minimo
 +
</pre>
 +
 +
<onlyinclude>
 +
{{ApplicationBox|
 +
Name=[[Minimo]]|
 +
Description=Minimo is a Mozilla based web browser. It features full AJAX support and other goodies. It is listed as an alternative to the standard Webkit based browser.|
 +
Screenshot=Browser-minimo.png|
 +
Homepage=http://www.ginguppin.de/files/minimo.tar.bz2|
 +
TestedOn=Om 2008.8|
 +
PackageName=minimo
 +
}}
 +
</onlyinclude>
 +
 +
[[Category:Internet Applications]]

Latest revision as of 00:23, 1 August 2009

Minimo is one of the applications that runs on the Openmoko Phones. For a list of all applications, visit Applications

minimo in QEMU displaying it.slashdot.org
minimo on GTA01 displaying www.heise.de

Contents

[edit] Installing Minimo web browser

Minimo is a Mozilla based web browser. It features full AJAX support and other goodies. Currently stock Openmoko build doesn't include Minimo.

[edit] Running on Om2009-beta

Follow the 2008 instructions, with two exceptions:

  1. you may not be able to unpack a .bz2 archive on the Freerunner, in which case download and unpack on your computer, and then ssh the files over to the Freerunner
  2. If you get a gtk+-fastscaling dependency error, run the following command for installation instead:
opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk -force-depends

"gtk+-fastscaling is just gtk+ these days, and you should be able to override it with -force-depends or something like this" [1]

[edit] Running on Om2008.8

From the Neo, download the minimo package:

wget http://www.ginguppin.de/files/minimo.tar.bz2

Unpack it:

tar -xjf minimo.tar.bz2

Then install it:

opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk

If you get the following error:

  • ERROR: Cannot satisfy the following dependencies for minimo:
  • libfreetype6 (>= 2.3.6) *

First try:

opkg install libfreetype6

If this does not install a libfreetype6 version > 2.3.6, you can download a newer libfreetype6 from the Angstrom repository at this location: http://www.angstrom-distribution.org/repo/?action=details&pnm=libfreetype6

Ex:

wget http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libfreetype6_2.3.6-r0.1_armv4t.ipk
opkg install libfreetype6_2.3.6-r0.1_armv4t.ipk
opkg install minimo_0.02\+cvs20070626-r0_armv4t.ipk

Using Minimo with the stock Om2008.8 gets annoying because the keyboard always takes up half the screen. I recommend reactivating the Keyboard Toggle so that you can hide the keyboard while browsing.

I also highly recommend getting GPRS going so that you can browse on the go!

[edit] Running on Om2008.4

Download the minimo package:

wget http://www.ginguppin.de/files/minimo.tar.bz2

Unpack it:

tar -xjf minimo.tar.bz2

and install:

opkg install minimo_*

If any packages are missing, just install it from repository.

[edit] Running in Xephyr PC environment

Here are instructions on how to run minimo in Xephyr PC environment and how to use other third party packages too.

These instructions should be updated to use a custom image rather than DISTRO_EXTRA_RDEPENDS -- see link above.

Alternatively, a binary ipkg was posted here[[2]]

[edit] Setup build environment

If you have built your Openmoko using MokoMakefile some of these steps might not be familiar to you.

Assume your Openmoko root is at ~/workspace/moko

First setup build environment variables:

moo@hacker:~/workspace/moko/build$ . ../setup-env

Then checkout minimo from OpenEmbedded repository:

moo@hacker:~/workspace/moko/build$ bitbake minimo

Edit local.conf and add minimo to build dependencies list.

MACHINE = "qemux86"
DISTRO = "openmoko"
BUILD_ARCH = "i686"
INHERIT += " devshell"
SRCDATE_eds-dbus = "now"
DISTRO_EXTRA_RDEPENDS = "minimo"

After local.conf has added new packages, one must refresh bitbake tasks.

bitbake task-base -crebuild

Now, you should be able to rebuild root fs using MokoMakefile.

make openmoko-devel-image

[edit] Tips

The default Openmoko distribution lacks /etc/resolv.conf file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.

moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf


If build fails with

/usr/bin/ld: skipping incompatible $OMDIR/local/tmp/staging/arm-angstrom-linux-gnueabi/lib/libIDL-2.a when searching for -lIDL-2

(here minimo is installed in a Local Overlay, so your path will perhaps differ) try installing the libidl-dev package on the buildhost:

sudo aptitude install libidl-dev

Currently, nothing shows up in the Homebase page (under FSO, anyway). If anyone knows a solution, please update here. For this reason, there really are no bookmarks to speak of.

[edit] In chroot'ed environment

Following instructions in Getting Openmoko working on host with Xephyr to get yourself chroot'ed into Openmoko environment.

Start Xephyr. You don't need to start Openmoko session, minimo can run as is.

/ $ minimo


Browser-minimo.png Minimo

Minimo is a Mozilla based web browser. It features full AJAX support and other goodies. It is listed as an alternative to the standard Webkit based browser.


Homepage: http://www.ginguppin.de/files/minimo.tar.bz2
Package: minimo
Tested on: Om 2008.8

Personal tools

Installing Minimo web browser

Minimo is Mozilla based web browser. It features full AJAX support and other goodies. Currently stock OpenMoko build doesn't include Minimo. Here are instructions how to run minimo in Xephyr PC environment and how to use other third party packages too.

Setup build environment

If you have build your OpenMoko using MokoMakefile some of these steps might not be familiar to you.

Assume your OpenMoko root is at ~/workspace/moko

First setup build environment variables:

Minimo
From OpenMoko
Jump to: navigation, search
[edit]
Installing Minimo web browser

Minimo is Mozilla based web browser. It features full AJAX support and other goodies. Currently stock OpenMoko build doesn't include Minimo. Here are instructions how to run minimo in Xephyr PC environment and how to use other third party packages too.

    * Instructions for including new OpenEmbedded packages to your project 

[edit]
Setup build environment

If you have build your OpenMoko using MokoMakefile some of these steps might not be familiar to you.

Assume your OpenMoko root is at ~/workspace/moko

First setup build environment variables:

moo@hacker:~/workspace/moko/build$ . ../setup-env 

Then checkout minimo from OpenEmbedded repository:

moo@hacker:~/workspace/moko/build$ bitbake minimo

Edit local.conf and add minimo to build dependencies list.

MACHINE = "qemux86"
DISTRO = "openmoko"
BUILD_ARCH = "i686"
INHERIT += " devshell"
SRCDATE_eds-dbus = "now"
DISTRO_EXTRA_RDEPENDS = "python minimo"

After local.conf has added new packages, one must refresh bitbake tasks.

bitbake task-base -crebuild

Now, you should be able to rebuild root fs using MokoMakefile.

make openmoko-devel-image


The default OpenMoko distribution lacks /etc/resolf.conf file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.

moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf

[edit]
In chroot'ed environment

Following instructions in Getting OpenMoko working on host with Xephyr to get yourself chroot'ed into OpenMoko environment.

Start Xephyr. You don't need to start OpenMoko session, minimo can run as is.

/ $ minimo  

Retrieved from "http://wiki.openmoko.org/wiki/Minimo"
Views

    * Article
    * Discussion
    * Edi
moo@hacker:~/workspace/moko/build$ . ../setup-env 

Then checkout minimo from OpenEmbedded repository:

moo@hacker:~/workspace/moko/build$ bitbake minimo

Edit local.conf and add minimo to build dependencies list.

MACHINE = "qemux86"
DISTRO = "openmoko"
BUILD_ARCH = "i686"
INHERIT += " devshell"
SRCDATE_eds-dbus = "now"
DISTRO_EXTRA_RDEPENDS = "minimo"

After local.conf has added new packages, one must refresh bitbake tasks.

bitbake task-base -crebuild

Now, you should be able to rebuild root fs using MokoMakefile.

make openmoko-devel-image


The default OpenMoko distribution lacks /etc/resolf.conf file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.

moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf

In chroot'ed environment

Following instructions in Getting OpenMoko working on host with Xephyr to get yourself chroot'ed into OpenMoko environment.

Start Xephyr. You don't need to start OpenMoko session, minimo can run as is.

/ $ minimo