[reviews] Memory Card Game

Allison Randal allison at lohutok.net
Thu Feb 9 09:19:20 UTC 2012


On 02/08/2012 10:32 PM, David Planella wrote:
> Just a quick note that as noted on the wiki page, I was looking at the
> packaging for that app. 

Ah, sorry for the duplicated effort. I mentioned the ARB contributor's
work when I reported on the app for the mid-Jan sprint, but it's easy to
lose information. I haven't found a good way to mark apps in the queue
as "somebody is working on this right now".

Maybe you two could compare notes on what you did, as a learning exercise?

> I got in touch with the author and last weekend
> I created a package here:
> 
>     https://code.launchpad.net/~dpm/+junk/qml-memory-game
> 
> The package is ready except for the part where it needs to be installed
> in /opt/extras.ubuntu.com. I've tried a couple of things, but they
> didn't work out. Any suggestions on how to implement the /opt
> installation part will be welcome!

These look great. One common technique we've been using is an override
in debian/rules (that second line is all one line):

override_dh_auto_install:
        dh_auto_install -- --install-lib=/$(PKGDIR)/
--install-scripts=/$(PKGDIR)/

You might also want to add --install-data=/$(PKGDIR)/. (It's a choice
between manually moving most of the data files to /opt, or using that
flag and then manually moving the .desktop file back to
/usr/share/applications.)


You can remove the commented out lines in debian/control (or update them
with the app's launchpad info).

In debian/changelog, the version needs to be '0.1-0extras11.10.1' and
the distro needs to be 'oneiric' instead of 'precise'.

You can delete debian/docs, since it's an empty file.

Add an entry in debian/copyright for the original author's copyright, as
'Files: *'.

Thanks!
Allison



More information about the App-review-board mailing list