Results 1 to 7 of 7

Thread: LinuxICE + Canola2

  1. #1
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,560

    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

    [media]http://youtube.com/watch?v=8RKHvM7sOU8[/media]

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

    Linux - "People just give you stuff. ...And it's good "
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  2. #2
    Newbie
    Join Date
    Oct 2008
    Posts
    23
    Very nice - have you got any instructions on how to do this? Like; where do you get the binary from?

    Thanks

    Dan

  3. #3
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,560
    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.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  4. #4
    Newbie
    Join Date
    Oct 2008
    Posts
    23
    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

  5. #5
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,560
    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.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  6. #6
    Newbie
    Join Date
    Oct 2008
    Posts
    23
    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!

  7. #7
    Newbie
    Join Date
    Oct 2008
    Posts
    23
    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!.

Similar Threads

  1. LinuxICE Beta3 on hold :(
    By tripzero in forum LinuxICE
    Replies: 13
    Last Post: 07-26-2008, 09:29 AM
  2. LinuxICE Bluetooth Phone Calls and Radar Detectors
    By AustinMatherne in forum LinuxICE
    Replies: 2
    Last Post: 04-15-2008, 04:58 PM
  3. 6 reasons why you should develop your app for LinuxICE
    By tripzero in forum Software & Software Development
    Replies: 14
    Last Post: 03-29-2008, 02:47 AM
  4. LinuxICE the In Car Entertainment Operating System: Beta1
    By tripzero in forum Other Cool Front Ends
    Replies: 16
    Last Post: 01-05-2008, 06:34 PM
  5. Replies: 15
    Last Post: 11-16-2007, 04:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •