* Add copyright.txt and test script
This is a squash of several commits. The original copyright.txt
was taken from debian/copyright and some additional adjustments to the
copyright.txt file where contributed by Barak A. Pearlmutter
<barak+git@pearlmutter.net>
Short summary of changes:
- add copyright.txt to repo using the debian copyright format
- add script to easily check if something needs to be updated
in the copyright.txt
----
Improve script and fix svg licenses
- do not create false positives for SVGs containing substring commons
- remove some SVGs from whitelist
- improve output
- exit with 1 in case not all exceptions are whitelisted
- update Xournal Team Members Copyright
- remove Icons that will be replaced soon
- clarify application icon license
Tweak copyright.txt for compliance with debian/copyright format.
- Fix field name typo (Liecense => License).
- Replace spaces in short license names with dashes.
- Use spaces rather than tabs to start continuation lines.
- CC0 and CC0-1.0 were identical, just use the latter.
- For details see
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
BSD-2-clause to BSD-3-clause for cmake/find/FindICU.cmake
The header seems the same as for the BSD-3-clause files nearby.
Add application icons to whitelist
Now that license is clarrified the icons can be added
to the whitelist in the copmare_license.py script
Fix field name typo in copyright.txt (Comments => Comment).
Changes-By: lintian-brush (tweaked)
Fixes: lintian: field-name-typo-in-dep5-copyright
See-also: https://lintian.debian.org/tags/field-name-typo-in-dep5-copyright.html
Implement diff check for compare license
`compare_licens.py` now also checks if any of the whitelisted files or
files mentioned in copyright.txt got changed since the last check.
Add BSD-2-clause license text to copyright.txt
Fix minor bug in compare_license script
- matching rule for file paths in copyright.txt was to strict
- printed results had misleading heading
Use comma consistently in copyright.txt
Update copyright.txt for new icons
- also fix minor bug in logic of script which resulted in
copyright.txt also being checked for updates which
does not make sense in this context
Fix based on first round of review
- change FindICU.cmake to BSD-2-clause
- remove Fabian from hashcombine.h copyright and add source for the
other copyright
- fix wrong date for safe_casts copyright
- fix typos
- improve readability of python script comments
Add missing License Headers to `.cpp` files
- add missing license headers
- add additional check to `compare_license.py`
- update copyright.txt
Fix bug in compare_license script
The pattern for Xournal++ was wrongly interpreted by `rg` and should
have been Xournal\+\+
Add copyright to missing files
- add copyright header to two files
- update copyright.txt
Fix typos