what the Buss Lens needs

Allison Randal allison at ubuntu.com
Fri May 4 00:35:45 UTC 2012


Hi Malin,

> <malin> could you tell me exactly what I need to change in this
> lens to get it into software center?
> https://myapps.developer.ubuntu.com/dev/apps/782/

In setup.py: It's great that you've got the main files installing in
/opt already. Make the path match the package name (so,
/opt/extras.ubuntu.com/unity-lens-buss). And, also install the images in
/opt, instead of in /usr/share.

Change the name of 'unity-lens-buss.service' to
'extras-unity-lens-buss.service'. Change the name of the lens from
'buss.lens' to 'extras-unity-lens-buss.lens'.

Add an apparmor profile for the lens. Let us know if you have any
questions about how to go about this. There's a good example of a
working apparmor profile for another lens in this file:
http://bazaar.launchpad.net/~app-review-board/ubuntu-app-review-board/unity-lens-graphicdesign-oneiric/view/head:/lens/opt.extras.ubuntu.com.unity-lens-graphicdesign.unity-lens-graphicdesign

Combine all your changes in debian/changelog into one entry. Change the
version number to 0.9.2-0extras12.04.1.

Add a few lines to the debian/control file for XB-AppName, XB-Icon,
XB-Screenshot-Url, and XB-Category. For more details, take a look at
this wiki page:
https://wiki.ubuntu.com/AppReviewBoard/Submissions/PackageQuickStart#control_file

The debian/copyright file needs to be updated to 1.0 format. There's a
good example of what this format looks like at:
https://wiki.ubuntu.com/AppReviewBoard/Submissions/PackageQuickStart#copyright_file

The debian/rules file needs a few lines added to setup a special icon
for the Software Center. There's a good example of this here:
https://wiki.ubuntu.com/AppReviewBoard/Submissions/PackageQuickStart#rules_file
Just copy the few lines starting with 'override_dh_gencontrol:' and
change the name of myapp.png to buss.png.

You'll also need to add a buss.png file to the data/ directory. (You can
just convert the buss.svg file to PNG format.)

======
You'll find a good example of a complete lens that's already been
accepted in this code repository:

https://code.launchpad.net/~app-review-board/ubuntu-app-review-board/unity-lens-graphicdesign-oneiric

Hope this helps!
Allison



More information about the App-review-board mailing list