what does Debian Multimedia team think about uploading libgroove?

Alessandro Ghedini alessandro at ghedini.me
Sat Feb 22 15:11:38 UTC 2014


On sab, feb 22, 2014 at 10:49:45 -0300, Felipe Sateler wrote:
> On Thu, Feb 20, 2014 at 6:30 PM, Andrew Kelley <superjoe30 at gmail.com> wrote:
> > * Package name    : libgroove
> >    Version         : 3.0.6-1
> >    Upstream Author : Andrew Kelley <superjoe30 at gmail.com>
> >  * URL             : https://github.com/andrewrk/libgroove
> >  * License         : Expat
> >    Section         : libs
> 
> As I said before, groovebasin looks cool. Are you planning on uploading it too?
> 
> I'm interested, but a bit short on time. It might take me some time to
> go over the libgroove packaging.

I'm interested too (but I seem to have missed the original email from Anrew).

So, I had a quick look at the packaging and it generally looks good, but here
are a few comments:

* Since it requires libav10 to be built (e.g. libavutil/frame.h), you should
  note that in debian/control with appropriate versioned Build-Depends.

Build-Depends:
 [...]
 libavcodec-dev (>= 6:10~),
 libavfilter-dev (>= 6:10~),
 libavformat-dev (>= 6:10~),
 libavutil-dev (>= 6:10~),
 [...]

* While at it, there should be one Build-Depends per line, as per team policy.

Build-Depends: a,
 b,
 c,
 d

* The tarball downloaded with "uscan --download-current-version" is different
  from the one in the pristine-tar branch.

The difference seems to be that the upstream repository contains a deps/ folder
bundling the libraries needed to build it. The canonical Debian way to handle
this would be to repack the upstream tarball removing the directories (which is
what you did) but also providing an automated way to do that.

This is usually done by adding a "get-orig-source" target to debian/rules that
downloads the tarball using uscan, unpacks it, rm -rf the folder and repacks it.

Another way would be [0].

See Developer's Reference §6.7.8.2.

(I'm not quite sure if the team's packaging policy says anything about this).

[0] http://pkg-perl.alioth.debian.org/howto/repacking.html

* The file downloaded by uscan gets called "<libgroove>-3.0.6.tar.gz" instead
  of "libgroove-3.0.6.tar.gz" (not really a problem but it's kinda ugly).

* Any reason why you are using "version=2" instead of "version=3" in
  debian/watch?

* The comments in debian/rules added by dh_make should be removed.

* It'd be nice if you also provided *.symbols files for all the libraries built,
  see dpkg-gensymbols(1).

* It'd be nice if you provided -dbg packages for all the libraries built (or a
  single -dbg for all the libraries). This should be done e.g. by overriding
  dh_strip and calling it like "dh_strip --dbg-package=libgroove3-dbg".

That's all I think, but I may still have missed something. Feel free to ask if
you have any question.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140222/d040dc49/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list