WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
196222
[WPE][GTK] Include the needed parts of ThidParty/libwebrtc in tarballs
https://bugs.webkit.org/show_bug.cgi?id=196222
Summary
[WPE][GTK] Include the needed parts of ThidParty/libwebrtc in tarballs
Adrian Perez
Reported
2019-03-25 15:50:43 PDT
Eventually, we want to be able to make builds with WebRTC support enabled from release tarballs.
Attachments
WIP Patch
(20.84 KB, patch)
2019-03-25 17:23 PDT
,
Adrian Perez
aperez
: review?
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2019-03-25 17:23:16 PDT
Created
attachment 365925
[details]
WIP Patch First pass at having the libwebrtc sources in the tarballs. With this it is already possible to build the WPE and GTK ports from their tarballs passing -DENABLE_WEB_RTC=ON to CMake. The tarballs are still bloated (~50 MiB) and include many things which are not strictly needed, so I will look into improving that.
Carlos Alberto Lopez Perez
Comment 2
2019-09-27 06:10:55 PDT
I would like to test this but I'm unable to correctly execute the make-dist script. Do you have an example of how this script is executed to create release tarballs?
Carlos Garcia Campos
Comment 3
2019-09-27 06:18:43 PDT
make-dist -c -s <source-dir> path/to/manifest/file I usually run it from WebKitBuild/Release, so I do: $ make-dist -c -s../../ manifest.txt
Michael Catanzaro
Comment 4
2019-09-27 07:19:57 PDT
If you include this in tarballs before removing BoringSSL, people will build with it enabled, and GPL violations will result.
Adrian Perez
Comment 5
2019-09-27 11:24:58 PDT
(In reply to Carlos Garcia Campos from
comment #3
)
> make-dist -c -s <source-dir> path/to/manifest/file > > I usually run it from WebKitBuild/Release, so I do: > > $ make-dist -c -s../../ manifest.txt
Alternatively, pass “-DDEVELOPER_MODE=ON” to CMake, and then use “make dist” (or “ninja dist”). The patch is very WIP and doesn't work. When I stopped working on it it was at the point where a bit over a half of libwebrtc would build from a WebKitGTK tarball. It needs work. The BoringSSL issue mentioned by Michael is *very* real, so the idea here was to include the needed sources in the tarball, but leave the WebRTC support disabled by default, and making CMake spit out a big fat warning about the licensing when enabled.
Michael Catanzaro
Comment 6
2019-09-27 11:50:27 PDT
$0.02: nobody will read what CMake prints. Options we provide will be enabled somewhere.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug