Monday, April 26, 2010

Quickly: 90 Seconds to Your PPA




Here's a quick video showing taking a finished Quickly app, setting the desktop and setup.py file, and then uploading to a PPA using $quickly share

4 comments:

  1. Great video. Great app. Please let me know how I can download the app from your ppa.

    ReplyDelete
  2. Ok I found the url of your PPA

    I did:

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.201004270931.backup

    gksudo gedit /etc/apt/sources.list
    Add the following lines

    deb http://ppa.launchpad.net/rick-rickspencer3/ppa/ubuntu lucid main
    deb-src http://ppa.launchpad.net/rick-rickspencer3/ppa/ubuntu lucid main

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 91B3DBC8
    sudo apt-get update
    sudo apt-get install gstreamer-webcam

    $ sudo apt-get install gstreamer-webcam
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed
    gstreamer-webcam
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 70.4kB of archives.
    After this operation, 270kB of additional disk space will be used.
    Get: 1 http://ppa.launchpad.net/rick-rickspencer3/ppa/ubuntu/ lucid/main gstreamer-webcam 0.1-public2 [70.4kB]
    Fetched 70.4kB in 0s (409kB/s)
    Selecting previously deselected package gstreamer-webcam.
    (Reading database ... 242970 files and directories currently installed.)
    Unpacking gstreamer-webcam (from .../gstreamer-webcam_0.1-public2_all.deb) ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_GB.utf8.cache...
    Processing triggers for python-support ...
    Setting up gstreamer-webcam (0.1-public2) ...

    Processing triggers for python-support ...
    $ which gstreamer-webcam
    /usr/bin/gstreamer-webcam
    $ gstreamer-webcam
    Segmentation fault


    I am using Lucid release candidate. Any suggestions?

    ReplyDelete
  3. Great work on Quickly for this release. I hope that development continues as ... quickly ... in the future. Ba dam bam! I'll be here all week. Try the veal!

    No, seriously. Great work.

    ReplyDelete
  4. First run I got:
    gstreamer-webcam
    libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
    The program 'gstreamer-webcam' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadIDChoice (invalid resource ID chosen for this connection)'.
    (Details: serial 224 error_code 14 request_code 1 minor_code 0)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)

    Then trying gstreamer-webcam --sync worked

    Then without --sync it still worked.

    Woot woop.:)

    ReplyDelete