Quoting Jonas Smedegaard (2016-09-16 09:46:58)
> Quoting Pirate Praveen (2016-09-16 06:34:29)
> > Many times ftp master reject a package because copyright of embedded
> > fonts are missing. It wuld be nice if licensecheck can find it
> > before the upload itself.
>
> Thanks for reporting this!
>
> This is already on my mental TODO-list (therefore thanks for making it
> visible by this bugreport!): One of the reasons for my adopting and
> refactoring licensecheck was to incorporate the extensions developed
> as part of CDBS - including the /usr/lib/cdbs/license-miner which
> extracts metadata from binary files like fonts and graphics files.
My current workaround for this no longer rely on CDBS, but essentially
does this:
1>&2 exiftool '-textOut!' %d%f.%e:meta -short -short -recurse -ext ttf .
licensecheck --copyright --deb-machine --recursive --lines 0 --check '.*'
--ignore '.*\.ttf$' -- *
find -type f -name '*.ttf' -delete
My actual workaround scripts are tailored to each package, and typically
the one most detailed and most up-to-date is the one for ghostscript:
https://sources.debian.org/src/ghostscript/9.53.3%7Edfsg-5/debian/copyright-check/
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature