The MP3car.com Store The MP3car.com Blog    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-22-2008, 11:23 PM   #1
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 427
LinuxICE + Canola2

Thought I'd throw this info out for anyone who wants to see anything cool.

Canola, is a media application designed for the nokia n800. It manages things like podcasts, video, music, and pictures. I looks good.

I downloaded the binary (no source, it's closed) and got it running under LinuxICE. Below are some screen shots and a youtube video of it running on the n800.

NOTE: I will not be including canola within LinuxICE because canola is not free (as in speach). It would break LinuxICE's GPL license if I did. That doesn't stop anyone from using it though


Canola2 Podcast
You need to upgrade your Flash Player

Name:  canola2.jpg
Views: 432
Size:  41.2 KB

Linux - "People just give you stuff. ...And it's good "
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com

Last edited by kev000; 06-22-2008 at 11:37 PM.
kev000 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 10-14-2008, 10:59 AM   #2
Newbie
 
Join Date: Oct 2008
Posts: 13
Very nice - have you got any instructions on how to do this? Like; where do you get the binary from?

Thanks

Dan
danmiddle2 is offline   Reply With Quote
Old 10-14-2008, 09:02 PM   #3
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 427
Quote: Originally Posted by danmiddle2 View Post
Very nice - have you got any instructions on how to do this? Like; where do you get the binary from?

Thanks

Dan

It was pretty easy, I took some notes when i did it. I downloaded the binary from canola's website. Here are the deps that I installed on top of a stock LinuxICE build:

libXcomposite
libxp6

After that, it just runs.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 10-20-2008, 12:21 PM   #4
Newbie
 
Join Date: Oct 2008
Posts: 13
Quote: Originally Posted by kev000 View Post
It was pretty easy, I took some notes when i did it. I downloaded the binary from canola's website. Here are the deps that I installed on top of a stock LinuxICE build:

libXcomposite
libxp6

After that, it just runs.

Thanks for the info; unfortunately I am not having the same success. I have those two dependencies installed, but I am getting the following;

Code:
dan@ux1xn:/$ canola Traceback (most recent call last): File "/usr/bin/canola", line 18, in <module> import ecore ImportError: No module named ecore Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook from apport.packaging_impl import impl as packaging File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module> from apport.report import Report File "/usr/lib/python2.5/site-packages/apport/report.py", line 17, in <module> import xml.dom, xml.dom.minidom File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 220, in <module> ImportError: cannot import name DOMImplementation Original exception was: Traceback (most recent call last): File "/usr/bin/canola", line 18, in <module> import ecore ImportError: No module named ecore dan@ux1xn:/$

What I have done so far is downloaded the deb file. Then extracted the binary;
Code:
ar -x canola2_2.0.0~beta9-maemo1_all.deb

I have then extracted all the files in data.tar.gz into the correct places.

Were there any other Maemo .debs you had to extract before this worked?

Thanks again

Dan
danmiddle2 is offline   Reply With Quote
Old 10-20-2008, 06:41 PM   #5
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 427
I should have said before, and I apologize, that I got it in a precompiled tarball from here:
http://openbossa.indt.org/canola/sou...-beta9.tar.bz2

I didn't use the maemo package.

check out: http://openbossa.indt.org/canola/developer.html for more info.

cheers.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 10-21-2008, 09:18 AM   #6
Newbie
 
Join Date: Oct 2008
Posts: 13
Quote: Originally Posted by kev000 View Post
I should have said before, and I apologize, that I got it in a precompiled tarball from here:
http://openbossa.indt.org/canola/sou...-beta9.tar.bz2

I didn't use the maemo package.

check out: http://openbossa.indt.org/canola/developer.html for more info.

cheers.

Excellent - thats worked a treat.... Thank-you very much!
danmiddle2 is offline   Reply With Quote
Old 10-23-2008, 07:08 AM   #7
Newbie
 
Join Date: Oct 2008
Posts: 13
Hi Kev,

I'm not sure if you have already done this yet, but I have been trying to get some plugins working with Canola on the desktop. Specifically the Youtube and Last.FM plugins. I have been successful, so I thought I would add to your post with how to get the plugins working. It may be useful to someone, so here's how I did it:

first make a tmp directory
Code:
mkdir /tmp/cnl_plugins cd /tmp/cnl_plugins

Download the relevant Maemo package for the addon you want to install from here. http://repository.maemo.org/extras/pool/gregale/free/c/

as an example; this is how to do the youtube plugin;
Code:
wget http://repository.maemo.org/extras/pool/gregale/free/c/canola-youtube-plugin/canola2-youtube-plugin_0.1.3-maemo1_all.deb

Now you need to extract that package (as it's designed for Maemo, not a desktop distro you can't just install it).

Code:
ar x canola2-youtube-plugin_0.1.3-maemo1_all.deb

This extracts two files; control.tar.gz and data.tar.gz. In a nutshell; the control file contains the distribution specific installation instructions and the data file contains the compiled files.

With that in mind it's fair to say we can dismiss the control.tar.gz file as we are not installing this on Maemo. So we need to extract the data from data.tar.gz;
Code:
tar xvzf data.tar.gz

Code:
cp ./usr/share/canola/themes/* /pathtocanola/canola/THEMES/. --recursive --preserve cp ./usr/share/canola/themes/* /pathtocanola/canola/data/themes/. --recursive --preserve cp ./usr/share/canola/plugins/canola-tube.zip /pathtocanola/canola/plugins/. --preserve

Now that all the files are in the correct place, all we need to do is get Canola to *look* for the new plugins. For that please do the following;

Code:
dan@ux1xn:canola$ ./run-canola.sh --shell -------------------------------------------------------------- Assuming installation path as '$canola_path'. If that's not right you should edit the BASEPATH var in this script. -------------------------------------------------------------- Configuring environment... root@ux1xn:canola# bin/cnl-rescan-collections root@ux1xn:canola# exit

Now when you run Canola you should see the plugin present.

I have tried this with a different theme as well as the youtube and lastfm plugins. There is an issue with the last fm plugin. It installs fine, but won't make outbound connections to the Internet for some reason. Just guessing, but I think this may be due to Canola monitoring the status of WLAN0 (the card identifier on the Internet tablets), and my UX1XN has ATH0 instead. Youtube stuff works fine though... I'm working on getting lastFM working.

Hope that's useful to someone; any questions give me a shout!.
danmiddle2 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LinuxICE Beta3 on hold :( kev000 LinuxICE 13 07-26-2008 10:29 AM
LinuxICE Bluetooth Phone Calls and Radar Detectors AustinMatherne LinuxICE 2 04-15-2008 05:58 PM
6 reasons why you should develop your app for LinuxICE kev000 Software & Software Development 14 03-29-2008 03:47 AM
LinuxICE the In Car Entertainment Operating System: Beta1 kev000 Other Cool Front Ends 16 01-05-2008 07:34 PM
LinuxICE install to USB hit wall at partitioning ca_tallguy Linux 15 11-16-2007 05:47 PM


All times are GMT -5. The time now is 10:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics