Commit Graph

101 Commits

Author SHA1 Message Date
Kevin Kofler
a41ab0a661 Update comment on no-sse2.patch
V8 is already built shared and twice on i686 now (no longer TODO).
2016-01-22 02:14:50 +01:00
Kevin Kofler
7c8a25cacb Bump Release for official Rawhide build 2016-01-19 20:05:23 +01:00
Kevin Kofler
fa42c47889 Add Provides/Requires filtering for libv8.so (i686) and for plugins 2016-01-19 17:37:35 +01:00
Kevin Kofler
24bef19c77 Add the private library directory to the file list on i686 2016-01-19 15:03:04 +01:00
Kevin Kofler
306e720cfb no-sse2.patch: Install the shared libraries, don't link the sse2 one 2016-01-19 14:55:13 +01:00
Kevin Kofler
b0fe95f4fe no-sse2.patch: Fix the output path in v8_sse2.gyp
(again, by fixing the make-v8-sse2-gyp.sh script)
2016-01-19 05:54:16 +01:00
Kevin Kofler
46c0dc8c42 no-sse2.patch: More v8_sse2.gyp fixes, ensure everything is renamed
(again, by fixing the make-v8-sse2-gyp.sh script)
2016-01-19 04:58:50 +01:00
Kevin Kofler
09c4c1fc15 no-sse2.patch: Fix another error in v8_sse2.gyp
(by fixing make-v8-sse2-gyp.sh)
2016-01-19 04:11:36 +01:00
Kevin Kofler
9ee8131cd3 no-sse2.patch: Fix invalid gyp syntax in v8_sse2.gyp
(by fixing make-v8-sse2-gyp.sh)
2016-01-19 03:52:05 +01:00
Kevin Kofler
e670d513af no-sse2.patch: Build both the x87 version and the SSE2 version of V8 on i686
Note that almost all the patch size increase is from the v8_sse2.gyp
file that is automatically generated from v8.gyp using a small script I
wrote, which is also included in the patch.
2016-01-19 03:32:24 +01:00
Kevin Kofler
5262f491f3 no-sse2.patch: Add built .so files to the link line
In the long run, we may end up doing this manually because we will need
to handle V8 specially in the QMake stuff anyway (install it, ensure we
only link the x87 version and let the SSE2 version magically act as a
drop-in replacement, add an rpath), but try like this for now.
2016-01-18 03:06:07 +01:00
Kevin Kofler
90225e7e77 no-sse2.patch: Build V8 as a shared library on i686
* Mon Jan 18 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.14.beta.nosse2.1
- Build V8 as a shared library on i686 to allow for swappable backends

This is the first prerequisite step towards building both the x87 and
SSE2 backends.
2016-01-18 01:10:42 +01:00
Kevin Kofler
2684898152 Bump Release now that the no-sse2 patch builds and looks good
Swappable V8 is still TODO though.
2016-01-18 00:36:47 +01:00
Kevin Kofler
e24db1777f no-sse2.patch: Switch back to gold, blink_platform.gyp fixes
* Revert the change to force the BFD ld, that was not the issue.
* Make some fixes to my blink_sse2 target in blink_platform.gyp:
  - add missing dependencies to get the needed feature_defines,
  - add missing target defines,
  - add -mfpmath=sse in addition to -msse2 because this is
    floating-point math and we should definitely not do x87 in
    the SSE2-optimized versions of the functions.
2016-01-17 22:45:49 +01:00
Kevin Kofler
4c9d7b0aba no-sse2.patch: try linking with ld.bfd instead of gold
I am getting undefined references to symbols that should be defined by
an archive linked with -Wl,--whole-archive from gold, which really
should not happen.

Also the unnecessary hard_dependency in blink_platform.gyp.
2016-01-17 19:45:04 +01:00
Kevin Kofler
faeb141b37 no-sse2.patch: Fix/simplify disable_sse2 logic in breakpad/src/build/common.gypi
That file is not really used in QtWebEngine anyway, but simply
defaulting disable_sse2 to 1 is the right thing. The variable is ignored
on everything other than ia32 (i686) anyway, even on x64 (x86_64). And
setting conditional defaults might not work as expected in gyp.
2016-01-17 06:32:37 +01:00
Kevin Kofler
1e170961f9 no-sse2.patch: Fix typos in the patched header files 2016-01-17 05:10:15 +01:00
Kevin Kofler
799b5e1118 no-sse2.patch: Fix typos
* Fix typo in blink_platform.gyp.
* Restore the v8 parts that accidentally went missing.
2016-01-17 04:46:25 +01:00
Kevin Kofler
ab696c2550 no-sse2.patch: fix audio/VectorMath and audio/SincResampler FTBFS
* Fix src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/
  SincResampler.cpp and VectorMath.cpp to not require SSE2 on x86
  (including runtime detection).
* Also add runtime detection for DirectConvolver.cpp.
2016-01-17 04:30:41 +01:00
Kevin Kofler
42f26ca168 no-sse2.patch: remove -ffloat-store, fix DirectConvolver FTBFS
* Remove the -ffloat-store workaround: The media player issue that
  caused problems with x87 floating point (and ultimately made upstream
  require SSE2) should already be fixed / worked around by:
  https://crrev.com/d2c745b13c93ecff5108bed57d8e052126715492
  So I will only readd -ffloat-store if people request it, and even
  then, only to specific parts of code and not everything.
* Fix src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/
  DirectConvolver.cpp to not require SSE2 on x86. (No runtime detection,
  sorry.)
* Update the changelog date in the specfile.
2016-01-17 02:34:08 +01:00
Kevin Kofler
3bd7f659f7 no-sse2.patch: Fix an FTBFS in the gyp changes 2016-01-17 00:54:23 +01:00
Kevin Kofler
6d0400baa5 Do not require SSE2 on i686
See https://bugzilla.redhat.com/show_bug.cgi?id=1244196#c22 for the
history of the patch. Compared to the last revision there (v5):
* I fixed WebGLImageConversion.cpp to not assume SSE2 on x86.
  Unfortunately, it would be really hard to make runtime detection work
  there, because it uses intrinsics in inline templates, and GCC only
  supports intrinsics when building the whole code for the vector
  instruction set. So I had to turn off that SSE2 code entirely when
  __SSE2__ is not defined at compile time.
* I fixed webrtc to check for SSE2 at runtime (using the runtime
  checking code that webrtc already has and uses in several places)
  before attempting to use OpenMAX on x86. OpenMAX requires SSE2.
  So we just fall back to the Ooura implementation of FFTs when needed.
TODO: build V8 shared and twice (once for x87, once for SSE2)
2016-01-17 00:17:04 +01:00
Kevin Kofler
9a15e3c582 Drop nss321 backport, do an NSS/BoringSSL "chimera build" instead
* Thu Jan 14 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.13.beta
- Drop nss321 backport (and the related nss-headers patch), it did not help
- Do an NSS/BoringSSL "chimera build" as will be the default in Chromium 47
- Update License accordingly (add "OpenSSL")
- Fix the "chimera build" to call EnsureNSSHttpIOInit (backport from Chromium)
2016-01-14 17:37:36 +01:00
Kevin Kofler
12c45adaf5 Add missing verref.h header needed by the nss321 patch
File copied from upstream NSS.
2016-01-14 00:01:36 +01:00
Kevin Kofler
4a9d03d5e8 Add missing nssoptions.h header needed by the nss321 patch
File copied from upstream NSS.
2016-01-13 23:39:31 +01:00
Kevin Kofler
d75352c0ea Fix nss321 patch (need diff -Nur, not just -ur) 2016-01-13 14:43:47 +01:00
Kevin Kofler
2ce8abfa5b Update forked NSS SSL code to 3.21, match system NSS (backport from Chromium)
* Wed Jan 13 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.12.beta
- Update forked NSS SSL code to 3.21, match system NSS (backport from Chromium)
2016-01-13 14:31:44 +01:00
Kevin Kofler
75c556639c Fix changelog date
It's already Wed Jan 13 2016 in UTC.
2016-01-13 01:58:23 +01:00
Kevin Kofler
632ea2de5b Add an (optimistic) ExclusiveArch list because of V8 (tracking bug: #1298011)
* Tue Jan 12 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.11.beta
- Add an (optimistic) ExclusiveArch list because of V8 (tracking bug: #1298011)
2016-01-13 01:56:52 +01:00
Kevin Kofler
1bb73067eb Fix system-nspr-prtime patch to match Fedora paths
The clean way to do this would probably be to call pkg-config or
nspr-config to get a -I flag and use just #include <prtime.h>, but this
should work for now.
2016-01-12 04:10:50 +01:00
Kevin Kofler
33131a9eb8 Fix patch file names 2016-01-12 03:43:19 +01:00
Kevin Kofler
d3940c705a Unbundle NSPR prtime and ICU UTF API
* Tue Jan 12 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.10.beta
- Unbundle prtime.cc, use the system NSPR instead (which is already required)
- Unbundle icu_utf.cc, use the system ICU instead (which is already required)
2016-01-12 03:38:10 +01:00
Kevin Kofler
87fb3887bf linux-pri.patch: Set icu_use_data_file_flag=0 for system ICU
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.9.beta
- linux-pri.patch: Set icu_use_data_file_flag=0 for system ICU
2016-01-11 19:05:29 +01:00
Kevin Kofler
134ba1a239 Build against the system libvpx also on F23 (1.4.0), worked in Copr
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.8.beta
- Build against the system libvpx also on F23 (1.4.0), worked in Copr

It turns out the 1.5.0 requirement
(https://code.google.com/p/chromium/issues/detail?id=494939) is only for
portions of Chromium that QtWebEngine does not build.
2016-01-11 17:34:42 +01:00
Kevin Kofler
0b8bca06fb Use the system libvpx on F24+ (1.5.0)
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.7.beta
- Use the system libvpx on F24+ (1.5.0)
- Fixes to Provides: bundled(*): libwebp if bundled, x86inc only on x86

Let's see if this works.
2016-01-11 03:15:35 +01:00
Kevin Kofler
8fec587968 Fix changelog 2016-01-10 23:15:14 +01:00
Kevin Kofler
cdac6a712b Fix extractCFlag to also look in QMAKE_CFLAGS_RELEASE (needed for ARM) 2016-01-10 18:18:58 +01:00
Kevin Kofler
09a281a2db Fix FTBFS on ARM: Disable NEON due to #1282495 (GCC bug) 2016-01-10 17:53:25 +01:00
Kevin Kofler
ac0741f5ec clean_ffmpeg.sh: Add missing libavcodec/arm/neon.S
… and upload the resulting tarball with fedpkg new-sources.
2016-01-10 00:19:16 +01:00
Kevin Kofler
9ea9e384ab new-sources
This time with a tarball actually generated with the correct version of
clean_ffmpeg.sh.
2016-01-09 23:18:35 +01:00
Kevin Kofler
3a4ed33987 new-sources 2016-01-09 22:18:50 +01:00
Kevin Kofler
7485545db9 clean_ffmpeg.sh: Add missing libavcodec/arm/vp8dsp.h 2016-01-09 18:15:44 +01:00
Rex Dieter
d8e7ca84f6 new-sources 2016-01-09 10:18:39 -06:00
Kevin Kofler
4844045435 clean_ffmpeg.sh: Add missing ARM files (fix FTBFS on ARM)
Also remove an unused #include of a file we do not ship from an ARM
file. (fft_init_arm.c wants synth_filter.h, but does not actually use
anything from it. We ship neither synth_filter.h nor synth_filter.c.)

Mention the change in the qt5-qtwebengine.spec %changelog.
2016-01-09 16:30:41 +01:00
Kevin Kofler
1120e4b80b clean_ffmpeg.sh: Change all tabs to spaces 2016-01-09 15:19:17 +01:00
Kevin Kofler
20a11c0a4e clean_ffmpeg.sh: Simplify the shell code and use cp -r 2016-01-09 15:18:06 +01:00
Kevin Kofler
dda9dc45a8 Fix FTBFS on ARM: linux-pri patch: Set use_system_yasm only on x86_64 and i386 2016-01-09 05:19:21 +01:00
Kevin Kofler
bf16304ee3 Bump Release for official Rawhide build (to distinguish it from Copr builds)
* Sat Jan 09 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.5.beta
- Bump Release for official Rawhide build (to distinguish it from Copr builds)
2016-01-09 04:42:08 +01:00
Kevin Kofler
a6f7223274 Use more specific BuildRequires for docs, fix FTBFS against ICU 54 (F22/F23)
* Sat Jan 09 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.4.beta1.1
- Use more specific BuildRequires for docs (thanks to rdieter)
- Fix FTBFS against ICU 54 (F22/F23), thanks to spot for the Chromium fix
2016-01-09 04:34:32 +01:00
Kevin Kofler
17d0457fea Initial import (#1295549). 2016-01-09 04:32:05 +01:00