View Full Version : MANaOS 0.1.2 - Now Device-Installable
gnuite
03-04-2006, 02:11 AM
Our forum brother tonikitoo released MANaOS 0.1.2 (http://tonikitoo.blogspot.com/) on Friday. Although it still needs a lot of work, I went ahead and made some device-installable debs (http://www.gnuite.com/nokia770/manaos/) for those of you queazy about whipping out xterm and dpkg.
It's very slow, and it crashes a lot (beware the hardware buttons), so be careful on large sites, but google works well, and it looks very pretty. I'm looking forward to a release of the source code so that I can try optimizing it a bit.
Enjoy, but please take with a grain of patience.
konttori
03-04-2006, 07:51 AM
Great work! I'll have to test asap!
ouch! The moz engine is still huge. Do you know if there are any possibilities of getting it smaller any time soon?
tonikitoo
03-04-2006, 04:17 PM
yeah, there are indeed lot things to do/improve comprising both engine level optimization as MANaOS UI.
Regarding the engine, we're running MANaOS over a "raw" MIniMo (http://www.mozilla.org/projects/minimo) build, which is XUL-based application and so still has many unused stuff (/chrome and /res directory e.g.). Furthermore, another possible slowness issue on mozilla-engine itself is that it still relies on the usage of FP for critical actions (actually, mozilla does it by default and CAIRO is coming with much more of it), so although all the efforts of Minimo community to strip down mozilla/firefox regarding the sourcebase itself, there is no a complete "arm-optimized" version of it (like opera does), aiming non-FP based processors. Thus, it really make runtime performance worse than it should be.
anyways, I going to test gnuite .debs out ! Many thanks !
Community support would really make MANaOS end-user-friendly for a near future. Source code will be available soon regardless its status ;)
jayholler
03-04-2006, 05:12 PM
just curious, can anyone explain to me why www.google.com/reader works in manaos and not in the default opera browser? when purchasing the device i was really looking forward to using goggle reader as my default, web-based rss reader, but i'm stuck with newsreader until manaos is more snappy
oafbot
03-05-2006, 02:08 AM
Hey, its great that you guys worked on the GUI install package.
I'm having problems running it through the extras menu though.
The debs seemed to install fine, and the app shows up on the extras menu, but it won't start up.
I had previously installed manaos through xterm, and it was working (granted, with much bugs, as I think I installed a very early version).
do I need to remove the old files? if so, which files in which directories do I have to remove ? (I would also like to rid of any deadweight on my limited storage space)
oafbot
03-05-2006, 02:49 AM
OK, so after a few uninstalls and installs (in between I got some "unsupported package" messages for some reason) I was able to get it running from the "extras" menu. So that problem is solved.
however, if anyone knows the answer to the previous question, that is, whether I should remove the old installation I made through command-line, and which files exactly to remove, I'd appreciate any pointers.
by the way, its really nice to not have to be root and type long commands to launch the app now. Also I see some stability improvements, like the keyboard not popping up all the time.
Thanks for your hard work! :)
konttori
03-05-2006, 10:30 AM
is it possible to use softfloat easily for the mozilla engine? That should speed it up quite nicely if it doesn't, shouldn't it?
tonikitoo
03-05-2006, 06:27 PM
OK, so after a few uninstalls and installs (in between I got some "unsupported package" messages for some reason) I was able to get it running from the "extras" menu. So that problem is solved.
however, if anyone knows the answer to the previous question, that is, whether I should remove the old installation I made through command-line, and which files exactly to remove, I'd appreciate any pointers.
i am not able to reproduce your problems yet. Though I'll at the time I get at work tommorrow, and I am going to blog the removing needs and posting them here also.
gnuite
03-05-2006, 06:55 PM
Hey, its great that you guys worked on the GUI install package.
I'm having problems running it through the extras menu though.
The debs seemed to install fine, and the app shows up on the extras menu, but it won't start up.
I had previously installed manaos through xterm, and it was working (granted, with much bugs, as I think I installed a very early version).
do I need to remove the old files? if so, which files in which directories do I have to remove ? (I would also like to rid of any deadweight on my limited storage space)
Yeah, you should probably uninstall all traces of any old versions of MANaOS you installed. If you used dpkg -x, then use dpkg -c on the same debs to see which files were installed and where. You can scrape together a script to automatically remove the files. Here's the one I use:
#!/bin/sh
BASE_DIR=/
DEB=$1
if [ "$1" = "" ]
then
echo "USAGE: undpkg.sh [package.deb]"
exit 1
fi
/usr/bin/dpkg -c $1 | sed "s/.*[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\} \(.*\)/\1/; s/\(.*\) -> .*/\1/" | sort -r | while read FILE
do
FILE=$BASE_DIR/$FILE
if [ -f "$FILE" ]
then
rm "$FILE"
elif [ -d "$FILE" ]
then
rmdir "$FILE" 2>/dev/null
fi
done
Just write that to an executable script file on your device and run it as root, passing it the .deb file whose contents you want to remove from your root file system.
(I take no responsibility for how that script is used.)
konttori
03-06-2006, 03:19 AM
this is just a guess, but could the installer run out of mem? I had probs installing while browser was open. But it installed fine after i closed the browser.
tonikitoo
03-06-2006, 12:18 PM
Our forum brother tonikitoo released MANaOS 0.1.2 (http://tonikitoo.blogspot.com/) on Friday. Although it still needs a lot of work, I went ahead and made some device-installable debs (http://www.gnuite.com/nokia770/manaos/) for those of you queazy about whipping out xterm and dpkg.
It's very slow, and it crashes a lot (beware the hardware buttons), so be careful on large sites, but google works well, and it looks very pretty. I'm looking forward to a release of the source code so that I can try optimizing it a bit.
Enjoy, but please take with a grain of patience.
hey Mr. M , how did you get this ? I mean, what and where and how did you changed it :)?
gnuite
03-06-2006, 02:04 PM
hey Mr. M , how did you get this ? I mean, what and where and how did you changed it :)?
There were three things that I changed in order to get the packages to be device-installable:
1. Add "maemo" to the list of dependencies in the debian control file.
2. Move the root in your debs from "/var/lib/install" to just plain "/". The Application Installer on the Nokia 770 takes care of making sure that applications are installed in /var/lib/install, so if I had kept the directory structure as you had it, the Application Installer would install everything into "/var/lib/install/var/lib/install". Also, even though the root is "/", your application (and links, like to the .desktop file) need to refer to "/var/lib/install"-based directories.
3. Added the manaos D-BUS service file. I think your original deb's had a link to a D-BUS service file, but I couldn't find the target file, so I created it from scratch.
As for how I changed it - all of my changes were package-related (i.e. didn't need to recompile anything), so all I had to do was extract the deb with dpkg-deb -x/-c, move/add files, alter the md5sums file as necessary, and rebuild the deb with dpkg-deb -b.
tonikitoo
03-06-2006, 02:35 PM
you rules ;)
musicoman
03-08-2006, 10:15 AM
I got an issue , i would know if someone else have it too.
I can only access webpage with manaos if opera is started and on a webpage.
Thanks.
tonikitoo
03-08-2006, 10:50 AM
that sounds odd once there is nothing being shared between them.
One possibility could be because manaos has no interaction with the environment connection manager so far, so you need start up your connection somehow (opera launch it automaticaly to get connection) ...
connection manager interation is almost completed and 'll land with 0.3
oafbot
03-08-2006, 09:38 PM
I got an issue , i would know if someone else have it too.
I can only access webpage with manaos if opera is started and on a webpage.
Thanks.
Hey, Could it be that the internet connection is just not on?
You have to manually connect before firing up manaos.
jayholler
03-09-2006, 11:12 AM
Yeah, you should probably uninstall all traces of any old versions of MANaOS you installed. If you used dpkg -x, then use dpkg -c on the same debs to see which files were installed and where. You can scrape together a script to automatically remove the files. Here's the one I use:
#!/bin/sh
BASE_DIR=/
DEB=$1
if [ "$1" = "" ]
then
echo "USAGE: undpkg.sh [package.deb]"
exit 1
fi
/usr/bin/dpkg -c $1 | sed "s/.*[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\} \(.*\)/\1/; s/\(.*\) -> .*/\1/" | sort -r | while read FILE
do
FILE=$BASE_DIR/$FILE
if [ -f "$FILE" ]
then
rm "$FILE"
elif [ -d "$FILE" ]
then
rmdir "$FILE" 2>/dev/null
fi
done
Just write that to an executable script file on your device and run it as root, passing it the .deb file whose contents you want to remove from your root file system.
(I take no responsibility for how that script is used.)
i'm not well versed in linux at all, i just strted learning a few months ago. could you be more specific as to the usage of the script? would i copy & paste this using vim and then write it to somefilename? then i assume you would do:
somefilename whatever_arm.deb
?
any help is greatly appreciated.
musicoman
03-09-2006, 11:48 AM
Hey, Could it be that the internet connection is just not on?
You have to manually connect before firing up manaos.
Arg , it was that. I didn't know that once opera is closed, wifi is also disabled ...
I would like connect at my university but opera doesn't work (no encryption) so I need a firefox browser based but manaos can't accept certificate.
Someone knows if it's envisaged in near version ?
tonikitoo
03-10-2006, 12:17 AM
Arg , it was that. I didn't know that once opera is closed, wifi is also disabled ...
it's not an expected behaviour at all ... At least I don't get this ...
I would like connect at my university but opera doesn't work (no encryption) so I need a firefox browser based but manaos can't accept certificate.
Someone knows if it's envisaged in near version ?
You're right, MANaOS (based on the firefox 1.0.x sourcebase) does support encrypt however not certificate so far. We are planing work on it for the next release, but it's not on the top of the list. It'd required integration with maemo certificate system. That's the way that opera does !
btw, how slow is manaos running for you guys ?
jayholler
03-17-2006, 01:03 PM
i think your script worked for me gnuite! i'll let you know in a minute.
indeed, it did remove the files installed by dpkg. thanks so much!
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.