--
You received this message because you are subscribed to the Google Groups "chromium-packagers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-packag...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-packagers/7320845.i3p4ceMzAa%40hqvmt44011.eur.
Fedora would have a problem as well.
Fedora would have a problem as well.
Dne 15.6.2015 12:16 napsal uživatel "Raymond Wooninck" <titti...@gmail.com>:Hi,
A colleague at openSUSE pointed me out to the following commit ( https://
chromium.googlesource.com/chromium/src/+/
fd11b3c3aa6730ae1f024811b61913cd63f9d39a)
With this commit, Chromium will be changed to statically link against ffmpeg.
It hasn't reached the latest dev build yet, but I am expecting it with the
next update of the dev channel.
For openSUSE this might mean the end of the chromium builds as that this would
mean we can only deliver a crippled chromium and no longer an easy way to get
full ffmpeg support by just building the libffmpegsumo in a different place
(in our case packman OBS). Unfortunately packman OBS does not have the
resources to build Chromium completely which means that openSUSE has to drop
the Chromium builds.
I am not sure how happy that other Chromium packagers are with this move
(especially since that it is only there to resolve Windows bugs).
It would have been great if this could be a selectable feature or that it was
just activated for Windows builds.
Regards
Raymond
Chromium packager for openSUSE
--
You received this message because you are subscribed to the Google Groups "chromium-packagers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-packag...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-packagers/7320845.i3p4ceMzAa%40hqvmt44011.eur.
--
You received this message because you are subscribed to the Google Groups "chromium-packagers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-packag...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-packagers/CAG7fsRQKzHXUgSr1eU%3D3LtQyg448Qdfv7GVX_g0mQbNQBB_5YA%40mail.gmail.com.
While the initial motivation for static linking was fixing windows crashes, we'd like to keep in place on all platforms because it helps us shave off a few hundred KB in overall binary size thanks to dead-code elimintaion. Also, keeping things unified across operating systems reduces developer headaches.
Raymond, IIUC you wish to split out ffmpeg into its shared lib because you replace that lib downstream via pacman. I can easily add a gyp flag that will cause ffmpeg.so (previously ffmpegsumo.so) to re-appear. I've prototyped the change here: https://chromium-review.googlesource.com/#/c/280602/1/ffmpeg.gyp
To use you would simply append "-D ffmpeg_component=shared_library" to the gyp_chromium command. I'll make a similar change to GN if I get good feedback on the GYP prototype.
Chad, I'm not sure I follow how static linking breaks Ubuntu. I hear you about patents etc. We have a gyp flag that may be useful: -D proprietary_codecs=0 will cause chrome to be build without including h264 and similar in ffmpeg. I can't promise it will remove all of your patent concerns, but its a good start. This flag worked before static linking and works after it. You guys could patch in similar flags if you'd like to go further and remove more patented code.
The changes to ffmpeg GYP/GN have landed here: https://codereview.chromium.org/1198653005/
For GYP, set ffmpeg_component = shared_library (defaults to static_library)
For GN, set is_component_ffmpeg = true
Good news: the gyp/gn changes have just been cherrypicked into the 44 branch!