Announcement

Collapse
No announcement yet.

LinuxICE + Canola2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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]

    Click image for larger version

Name:	canola2.jpg
Views:	1
Size:	41.2 KB
ID:	2302627

    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
    Very nice - have you got any instructions on how to do this? Like; where do you get the binary from?

    Thanks

    Dan

    Comment


    • #3
      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.

      Comment


      • #4
        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:
        [email protected]:/$ 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
        [email protected]:/$
        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

        Comment


        • #5
          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.

          Comment


          • #6
            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!

            Comment


            • #7
              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:
              [email protected]: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...
              [email protected]:canola# bin/cnl-rescan-collections
              [email protected]: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!.

              Comment

              Working...
              X