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

2012-12-03 Thread Fabian Greffrath

Am 30.11.2012 19:39, schrieb Francesco Poli:

By the way, I would like to inform Fabian about the existence of
bug #472199: the plan is to integrate licensecheck2dep5 into
licensecheck itself...
Jonas, I really hope there's some progress on that front!  ;-)


Yes, this would be a vast improvement of licensecheck's
usefulness!

 - Fabian


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2012-11-30 Thread Francesco Poli
On Fri, 30 Nov 2012 14:21:27 +0100 Jonas Smedegaard wrote:

> Quoting Fabian Greffrath (2012-11-30 08:57:22)
[...]
> > 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. :-)

Hi Jonas,
thanks a lot for this improvement in licensecheck2dep5!

I see that it is enabled by setting an environment variable before
running licensecheck2dep5, like this:

merge_same_license="yes"
export merge_same_license

Is there any other way to enable this feature?
I haven't spotted any command-line option, for instance...


By the way, I would like to inform Fabian about the existence of
bug #472199: the plan is to integrate licensecheck2dep5 into
licensecheck itself...
Jonas, I really hope there's some progress on that front!  ;-)



-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgpQ5VFP4o0VS.pgp
Description: PGP signature


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

2012-11-30 Thread Fabian Greffrath

Am 30.11.2012 14:21, schrieb Jonas Smedegaard:

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


That helped a lot, thank you very much!

 - Fabian


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2012-11-30 Thread Jonas Smedegaard
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


signature.asc
Description: signature


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

2012-11-30 Thread Fabian Greffrath

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. An estimated 90% of these were "License: 
LGPL-2+" stanzas with partially only slightly varying combinations of 
Copyright holders. However, I wanted the new file to be in the same 
style as the copyright file we currently have in libav. That is 
"Files: *", then a list of *all* copyright holders, then "License: 
LGPL-2+" and then mention of the exceptions to this rule in separate 
stanzas. I tried to modify the licensecheck2dep5 script to match this 
need, but I have to admit that I am completely incapable of reading 
and writing Perl code and after short time my brain literally hurt.


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?


Thanks!

 - Fabian


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2012-11-28 Thread Francesco Poli (wintermute)
Source: libav
Version: 6:0.8.4-1
Severity: important

Hello,
it seems to me that the debian/copyright file [1] is no longer
consistent with the actual content of the upstream source archive
(libav_0.8.4.orig.tar.gz).

For instance, file libavcodec/dtsdec.c no longer exists (there
is a libavformat/dtsdec.c , but it's licensed under the terms
of the GNU LGPL v2.1 or later, not under the GNU GPL...).
File libswscale/swscale.c is now licensed under the terms of
the GNU LGPL v2.1 or later (and no longer under the GNU GPL...).
And so forth...

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]...

Thanks for your time!
Bye.


[1] 
http://packages.debian.org/changelogs/pool/main/liba/libav/libav_0.8.4-1/copyright
[2] http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org