ulc-devs team mailing list archive
-
ulc-devs team
-
Mailing list archive
-
Message #00024
Re: source skeleton
Hello!
I just found some minutes and created a basic source structure based on
the ubuntu-cli template for quickly. The lens itself is not functional
(it will not even load), but the basic files (the .lens file, the
D-Bus .service file) are in place and the package builds.
To grab the source, try this:
bzr branch lp:unity-lens-contacts
To create a package from the source, you can use this command:
quickly package
The lens daemon should live in the file 'lib/unity-lens-contacts'. I did
not touch it (except move bin --> lib), so it is still a basic script
file from the quickly template. If you want to play around with it and
create a basic lens (or simply port Pablo’s lens), you should put your
code into that file and remove whatever is unnecessary for our use case.
BTW, I had to create the po/POTFILES.in file in order to make the
package build. There seemed to be an issue with build_i18n when trying
to build POTFILES.in on the fly. Might be because I moved bin to lib.
So, now we have at least an initial playground. Happy hacking! :-)
(If you have any questions, feel free to ask!)
Frederik
P.S.: If you are new to bzr, here is an introduction Thibaut pointed me
to: http://doc.bazaar.canonical.com/latest/en/mini-tutorial/ If you want
to publish your work, you should push it to your own branch, e.g.
bzr push lp:~<your-lp-name>/unity-lens-contacts/<mybranch>
Once your work is ready, I will merge it into trunk.
Follow ups
References