Skip to content

Instantly share code, notes, and snippets.

@penk
Last active January 3, 2016 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penk/8415099 to your computer and use it in GitHub Desktop.
Save penk/8415099 to your computer and use it in GitHub Desktop.
Project DuckyMomo

NAME

Ducky Momo - tool to query results from launchpad crawler

SCREENSHOT

Screenshot

USAGE

  • "Download" to get the latest launchpad.json file fetched by Launchpad crawler
  • "Online Update" is an experimental feature to sync file with local server
  • "Import" to import the json file you downloaded

DEPENDENCY

  • Ubuntu version < 14.10

If your Ubuntu version is older than Trusty, you'll need to download Qt 5.2:

$ wget http://download.qt-project.org/official_releases/qt/5.2/5.2.0/qt-linux-opensource-5.2.0-x86_64-offline.run
$ chmod a+x qt-linux-opensource-5.2.0-x86_64-offline.run
$ ./qt-linux-opensource-5.2.0-x86_64-offline.run 

And follow the installer to install. Default install location is ~/Qt5.2.0.

  • Ubuntu version >= 14.10

If you're using Ubuntu Trusty, you can use this PPA:

$ sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-beta2 
$ sudo apt-get update 
$ sudo apt-get install qtdeclarative5-qtquick2-plugin qtdeclarative5-localstorage-plugin \
  qtdeclarative5-dialogs-plugin qtdeclarative5-controls-plugin 

INSTALL

Here's a pre-built debian package on chinstrap.canonical.com: duckymomo_0.1_amd64.deb

You can install it as a normal deb file:

$ sudo dpkg -i duckymomo_0.1_amd64.deb

And start it by:

$ LD_LIBRARY_PATH=~/Qt5.2.0/5.2.0/gcc_64/lib duckymomo 

BUILD FROM SOURCE

Check out the source code:

$ bzr branch lp:~oem-solutions-group/stella-base/duckymomo

Install build dependency:

$ sudo apt-get install build-essential libgl1-mesa-dev 

Build:

$ cd duckymomo
$ ~/Qt5.2.0/5.2.0/gcc_64/bin/qmake 
$ make 

Execute:

$ ./duckymomo

COPYRIGHT

© 2014 Penk Chen penk.chen@canonical.com. All rights reserved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment