Bug#1053672: Apple copyright notices in test .xlsx files
Paul Wise
pabs at debian.org
Mon Oct 9 06:19:46 BST 2023
On Sun, 2023-10-08 at 15:04 +0100, Rebecca N. Palmer wrote:
> Given this, why is that copyright notice there, and what does it imply
> that we should do? (E.g. does Apple Numbers automatically copy
> Apple-owned items (e.g. fonts) into files it creates? If so, is there a
> way to remove these items to get a Free file?)
*.xlsx files are actually just *.zip files containing XML and other
files. The Apple copyright for both of the files you mention comes from
the Apple copyright listed for the ICC profile embedded in the EXIF
data in the JPEG file that was saved as a thumbnail of the spreadsheet.
I am not sure what that means for the license of the test cases in
openpyxl and but it would be easy to fix by either deleting the
thumbnail, or removing the ICC profile, but that would alter the test
cases, probably that wouldn't affect the tests passing/failing though.
$ unzip conditional-formatting.xlsx
Archive: conditional-formatting.xlsx
inflating: [Content_Types].xml
inflating: _rels/.rels
inflating: xl/_rels/workbook.xml.rels
inflating: xl/workbook.xml
extracting: docProps/thumbnail.jpeg
inflating: xl/theme/theme1.xml
inflating: xl/styles.xml
inflating: xl/worksheets/sheet1.xml
inflating: docProps/core.xml
inflating: docProps/app.xml
$ grep -ri apple
grep: conditional-formatting.xlsx: binary file matches
grep: docProps/thumbnail.jpeg: binary file matches
$ exiftool docProps/thumbnail.jpeg | grep -i apple
Profile CMM Type : Apple Computer Inc.
Primary Platform : Apple Computer Inc.
Device Manufacturer : Apple Computer Inc.
Profile Creator : Apple Computer Inc.
Profile Copyright : Copyright 2007 Apple Inc., all rights reserved.
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20231009/41a6433f/attachment.sig>
More information about the debian-science-maintainers
mailing list