Bug 166460 - Relicense non-distributable web inspector images
Summary: Relicense non-distributable web inspector images
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-12-23 08:29 PST by Michael Catanzaro
Modified: 2017-11-14 23:39 PST (History)
12 users (show)

See Also:


Attachments
Patch (1.70 MB, patch)
2016-12-23 09:40 PST, Michael Catanzaro
bburg: commit-queue-
Details | Formatted Diff | Diff
[PATCH] Proposed Fix (11.23 KB, patch)
2017-11-14 15:02 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2016-12-23 08:29:33 PST
The file Source/WebInspectorImages/APPLE_IMAGES_LICENSE.rtf begins with the following text:

"""
Apple Inc.
Software License Agreement for Web Inspector Images
Internal Use License Only – No Redistribution Permitted

PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY BEFORE USING THE APPLE SOFTWARE INCLUDED IN THIS PACKAGE.  BY USING THIS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS LICENSE.  IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THIS SOFTWARE.
"""

Clearly this is not acceptable content for the WebKit open source project. It serves no purpose in OpenSource except as a trap to other WebKit ports (see bug #136632, bug #166459) and downstream projects, as it is not usable except by Apple. It should move to Apple's internal repositories until such time that Apple decides to relicense the images under an acceptable content license, e.g. one of the licenses listed at [1]. In the meantime, the GTK port's CC-BY-SA inspector images should be used on all ports.

Note that there are fewer GTK images than Apple images. The following Apple icons have no GTK replacement:

ActiveCallFrame.svg, AnimationPlayStatePaused.svg, AnimationPlayStateRunning.svg, CallTrees.svg, Camera.svg, ClippingCSSLarge.png, ClippingCSSLarge@2x.png, ClippingGenericLarge.png, ClippingGenericLarge@2x.png, ClippingJSLarge.png, ClippingJSLarge@2x.png, Compare.svg,DocumentCSSLarge.png, DocumentCSSLarge@2x.png, DocumentFontLarge.png, DocumentFontLarge@2x.png, DocumentGenericLarge.png, DocumentGenericLarge@2x.png, DocumentImageLarge.png, DocumentImageLarge@2x.png, DocumentJSLarge.png, DocumentJSLarge@2x.png, DocumentMarkupLarge.png, DocumentMarkupLarge@2x.png, Events.svg, HeapAllocationsInstrument.svg, HeapSnapshot.svg, HeapSnapshotDiff.svg, HeapSnapshotInstances.svg, HeapSnapshotSelected.svg, HeapSnapshotSummary.svg, LayoutInstrument.svg, ListStylePositionInside.svg, ListStylePositionOutside.svg, MemoryInsurment.svg, NetworkInstrument.svg, RenderingFramesInstrument.svg, ScriptsInstrument.svg, Search.svg, Stopwatch.svg, TimelineRecordGarbageCollection.svg, WorkerScript.png, WorkerScript@2x.png, WorkerScriptLarge.png, WorkerScriptLarge@2x.png

Note that the GTK images really only exist due to this legal issue. If the Apple images were appropriately-licensed, we could get rid of ours. Although it might seem nice to have images that fit better into GTK, it's not really, because the entire web inspector UI is clearly designed to look like an Apple product, not a GTK+ application.

[1] https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing
Comment 1 Michael Catanzaro 2016-12-23 09:39:46 PST
Oops, forgot the patch. :P
Comment 2 Michael Catanzaro 2016-12-23 09:40:06 PST
Created attachment 297711 [details]
Patch
Comment 3 BJ Burg 2016-12-23 12:30:50 PST
We are re-investigating what we are able to do w.r.t. licensing.

In the meantime, I am not opposed to this in principle, but we are unable to make necessary changes internally until folks are back from holiday break. So please defer this patch until we find a way to make this work without breaking the Mac build.
Comment 4 Radar WebKit Bug Importer 2016-12-23 12:31:57 PST
<rdar://problem/29800966>
Comment 5 Michael Catanzaro 2016-12-23 16:38:09 PST
(In reply to comment #3)
> We are re-investigating what we are able to do w.r.t. licensing.

Great, thanks!

> In the meantime, I am not opposed to this in principle, but we are unable to
> make necessary changes internally until folks are back from holiday break.
> So please defer this patch until we find a way to make this work without
> breaking the Mac build.

Yeah, definitely not planning to land this during the holidays. But I figured having a patch would help... expedite a resolution to this issue. ;)

I don't think it breaks the Mac build, though; EWS is clearly green. You will just have a few missing images, the same ones we're missing currently.
Comment 6 Michael Catanzaro 2017-04-27 08:26:17 PDT
Hey Brian et. al., I think we should proceed with an updated version of this patch until such time that you're able to resolve the licensing issues. These files don't belong in OpenSource.
Comment 7 Joseph Pecoraro 2017-11-14 15:02:32 PST
Created attachment 326930 [details]
[PATCH] Proposed Fix

We've gotten the approval we need within Apple to remove the restrictive license on Web Inspector images.
Comment 8 BJ Burg 2017-11-14 15:56:02 PST
Comment on attachment 326930 [details]
[PATCH] Proposed Fix

r=me
Comment 9 Timothy Hatcher 2017-11-14 16:00:00 PST
Awesome!
Comment 10 Michael Catanzaro 2017-11-14 16:29:41 PST
Thanks a bunch!

And thanks also to Fujii, for helping us keep up with new GTK images recently. Fujii, any objections to removing the GTK inspector images now that we can use Apple's? Seems like it's probably best to unify on one set of images now that we're able to do so?
Comment 11 WebKit Commit Bot 2017-11-14 16:30:41 PST
Comment on attachment 326930 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 326930

Committed r224861: <https://trac.webkit.org/changeset/224861>
Comment 12 WebKit Commit Bot 2017-11-14 16:30:42 PST
All reviewed patches have been landed.  Closing bug.
Comment 13 Konstantin Tokarev 2017-11-14 16:42:23 PST
Awesome!
Comment 14 Fujii Hironori 2017-11-14 17:54:27 PST
Wow, Amazing! I have no objection to remove GTK's images.
Comment 15 Andres Gomez Garcia 2017-11-14 23:06:50 PST
Awesome!

Thanks to all the people involved and specially to the people at Apple who have pushed and succeeded on getting the approval for relicensing this :)

Thanks a lot!
Comment 16 Carlos Garcia Campos 2017-11-14 23:39:53 PST
Yeeeeeees! Thank you guys.