Bug#694657: libav-source: debian/copyright file no longer seems to be accurate

Jonas Smedegaard dr at jones.dk
Fri Nov 30 13:21:27 UTC 2012


Quoting Fabian Greffrath (2012-11-30 08:57:22)
> Am 28.11.2012 19:44, schrieb Francesco Poli (wintermute):
> > Please perform a new licensing audit and update the debian/copyright
> > file. Maybe this could be the opportunity to switch to the new
> > machine-readable debian/copyright file format [2]...
> 
> I tried to tackle this issue down yesterday by using a combination of 
> "licensecheck -r --copyright" and "/u/l/cdbs/licensecheck2dep5". 
> "Should be mostly LGPL-2+ with some GPL-2+ files..." I thought.
> 
> Well, I was mostly right, but the resulting copyright template was 
> nearly 4000 lines long.
[snip]
> Jonas, could you please help me and reveal how I have to modify the 
> licensecheck2dep5 script to combine all Files and Copyright holders 
> for which the same License applies into one single stanza?

I have wanted to make that very improvement for some time - thanks for 
pushing me: CDBS 0.4.119 now released to support this. :-)

Since libav does not use short-form dh, it can be made to check 
copyright is up-to-date at each build.

a) Edit debian/rules to add these lines:

    include /usr/share/cdbs/1/rules/utils.mk
    DEB_COPYRIGHT_CHECK_MERGE_SAME_LICENSE = yes, please!

b) Change "clean:" target to be "clean::" (i.e. double-colon).

c) Build-depend on cdbs and devscripts.

d) Touch debian/copyright_hints and follow the instructions in the 
warning spewed at next build.

...or if you wanna provoke as minimally as possible the copyright check 
and preserve the temporary files, you can do this:

quilt push -a
DEB_MAINTAINER_MODE=1 debian/rules pre-build
DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean
quilt pop -a


Regards,

 - Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20121130/07684d4c/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list