From 3f41e480469d5852b8c99ce1e3e4fab525ec991a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 18 Oct 2013 15:04:00 +0200 Subject: [PATCH 01/92] Update to 2.2.1 --- .gitignore | 1 + sources | 2 +- webkitgtk3.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5033442..cd187b6 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.1.91.tar.xz /webkitgtk-2.1.92.tar.xz /webkitgtk-2.2.0.tar.xz +/webkitgtk-2.2.1.tar.xz diff --git a/sources b/sources index fb6e3e8..f983258 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9c337812667c4885ebe29a54084dcd4c webkitgtk-2.2.0.tar.xz +f5decdd76b2c08ab6e01ac47342f680e webkitgtk-2.2.1.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index ff1d2cd..de894ab 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.2.0 +Version: 2.2.1 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -211,6 +211,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog +* Fri Oct 18 2013 Tomas Popela - 2.2.1-1 +- Update to 2.2.1 + * Fri Sep 27 2013 Kalev Lember - 2.2.0-1 - Update to 2.2.0 From ca53401d9758126d29df3fa8786b050e0680dc4e Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 11 Nov 2013 16:47:55 +0100 Subject: [PATCH 02/92] Update to 2.2.2 --- .gitignore | 2 ++ sources | 2 +- webkitgtk3.spec | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cd187b6..d7a9850 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,5 @@ webkit-1.3.3.tar.gz /webkitgtk-2.1.92.tar.xz /webkitgtk-2.2.0.tar.xz /webkitgtk-2.2.1.tar.xz +/webkitgtk-2.3.1.tar.xz +/webkitgtk-2.2.2.tar.xz diff --git a/sources b/sources index f983258..fa91ba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f5decdd76b2c08ab6e01ac47342f680e webkitgtk-2.2.1.tar.xz +49cc8fd065de72603776a494e41c1977 webkitgtk-2.2.2.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index de894ab..552c7d7 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.2.1 +Version: 2.2.2 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -211,6 +211,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog +* Mon Nov 11 2013 Tomas Popela - 2.2.2-1 +- Update to 2.2.2 + * Fri Oct 18 2013 Tomas Popela - 2.2.1-1 - Update to 2.2.1 From a169af90b3643f2a0b1d12ef6e5fcb45c510f2a2 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 28 Nov 2013 13:34:21 +0100 Subject: [PATCH 03/92] Fix for RH bug #1035764 - Crashes with certain Google Drive documents --- webkitgtk-2.2.2-get_by_val.patch | 21 +++++++++++++++++++++ webkitgtk3.spec | 9 ++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.2.2-get_by_val.patch diff --git a/webkitgtk-2.2.2-get_by_val.patch b/webkitgtk-2.2.2-get_by_val.patch new file mode 100644 index 0000000..c4e2f1b --- /dev/null +++ b/webkitgtk-2.2.2-get_by_val.patch @@ -0,0 +1,21 @@ +--- webkitgtk-2.2.2/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp (revision 158679) ++++ webkitgtk-2.2.2/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp (working copy) +@@ -2023,17 +2023,9 @@ void SpeculativeJIT::compileGetByValOnSt + // 8 bit string values don't need the isASCII check. + cont8Bit.link(&m_jit); + +-#if CPU(X86) +- // Don't have enough register, construct our own indexed address and load. +- m_jit.lshift32(MacroAssembler::TrustedImm32(2), scratchReg); ++ m_jit.lshift32(MacroAssembler::TrustedImm32(sizeof(void*) == 4 ? 2 : 3), scratchReg); + m_jit.addPtr(MacroAssembler::TrustedImmPtr(m_jit.vm()->smallStrings.singleCharacterStrings()), scratchReg); + m_jit.loadPtr(scratchReg, scratchReg); +-#else +- GPRTemporary smallStrings(this); +- GPRReg smallStringsReg = smallStrings.gpr(); +- m_jit.move(MacroAssembler::TrustedImmPtr(m_jit.vm()->smallStrings.singleCharacterStrings()), smallStringsReg); +- m_jit.loadPtr(MacroAssembler::BaseIndex(smallStringsReg, scratchReg, MacroAssembler::ScalePtr, 0), scratchReg); +-#endif + + addSlowPathGenerator( + slowPathCall( diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 552c7d7..eeefbf0 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -22,6 +22,9 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch Patch1: webkitgtk-2.1.1-yarr.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch +# https://bugs.webkit.org/show_bug.cgi?id=123816 +# Remove when 2.2.3 will be out +Patch5: webkitgtk-2.2.2-get_by_val.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -96,6 +99,7 @@ This package contains developer documentation for %{name}. %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif +%patch5 -p1 %build # Use linker flags to reduce memory consumption @@ -211,6 +215,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog +* Thu Nov 28 2013 Tomas Popela - 2.2.2-2 +- Fix for RH bug #1035764 - Crashes with certain Google Drive documents + * Mon Nov 11 2013 Tomas Popela - 2.2.2-1 - Update to 2.2.2 From f40f54dda5aec2b6e251b8c9f63e80483d70c05a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 4 Dec 2013 15:27:08 +0100 Subject: [PATCH 04/92] Update to 2.2.3 --- .gitignore | 1 + sources | 2 +- webkitgtk-2.2.2-get_by_val.patch | 21 --------------------- webkitgtk3.spec | 11 +++++------ 4 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 webkitgtk-2.2.2-get_by_val.patch diff --git a/.gitignore b/.gitignore index d7a9850..f64dc13 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.2.1.tar.xz /webkitgtk-2.3.1.tar.xz /webkitgtk-2.2.2.tar.xz +/webkitgtk-2.2.3.tar.xz diff --git a/sources b/sources index fa91ba6..bdc6def 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -49cc8fd065de72603776a494e41c1977 webkitgtk-2.2.2.tar.xz +613e81c460368ff4d6e02c7887206572 webkitgtk-2.2.3.tar.xz diff --git a/webkitgtk-2.2.2-get_by_val.patch b/webkitgtk-2.2.2-get_by_val.patch deleted file mode 100644 index c4e2f1b..0000000 --- a/webkitgtk-2.2.2-get_by_val.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- webkitgtk-2.2.2/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp (revision 158679) -+++ webkitgtk-2.2.2/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp (working copy) -@@ -2023,17 +2023,9 @@ void SpeculativeJIT::compileGetByValOnSt - // 8 bit string values don't need the isASCII check. - cont8Bit.link(&m_jit); - --#if CPU(X86) -- // Don't have enough register, construct our own indexed address and load. -- m_jit.lshift32(MacroAssembler::TrustedImm32(2), scratchReg); -+ m_jit.lshift32(MacroAssembler::TrustedImm32(sizeof(void*) == 4 ? 2 : 3), scratchReg); - m_jit.addPtr(MacroAssembler::TrustedImmPtr(m_jit.vm()->smallStrings.singleCharacterStrings()), scratchReg); - m_jit.loadPtr(scratchReg, scratchReg); --#else -- GPRTemporary smallStrings(this); -- GPRReg smallStringsReg = smallStrings.gpr(); -- m_jit.move(MacroAssembler::TrustedImmPtr(m_jit.vm()->smallStrings.singleCharacterStrings()), smallStringsReg); -- m_jit.loadPtr(MacroAssembler::BaseIndex(smallStringsReg, scratchReg, MacroAssembler::ScalePtr, 0), scratchReg); --#endif - - addSlowPathGenerator( - slowPathCall( diff --git a/webkitgtk3.spec b/webkitgtk3.spec index eeefbf0..5bed007 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.2.2 -Release: 2%{?dist} +Version: 2.2.3 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -22,9 +22,6 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch Patch1: webkitgtk-2.1.1-yarr.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch -# https://bugs.webkit.org/show_bug.cgi?id=123816 -# Remove when 2.2.3 will be out -Patch5: webkitgtk-2.2.2-get_by_val.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -99,7 +96,6 @@ This package contains developer documentation for %{name}. %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif -%patch5 -p1 %build # Use linker flags to reduce memory consumption @@ -215,6 +211,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog +* Wed Dec 4 2013 Tomas Popela - 2.2.3-1 +- Update to 2.2.3 + * Thu Nov 28 2013 Tomas Popela - 2.2.2-2 - Fix for RH bug #1035764 - Crashes with certain Google Drive documents From a93f724122527b530afbec7f8bf837ce8a41f463 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 5 Dec 2013 08:44:28 +0000 Subject: [PATCH 05/92] Add %{?_isa} to the libwebkit2gtk subpackage This ensures that dnf does the right thing if the metadata gets out of sync. --- webkitgtk3.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 5bed007..c4acbc9 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -65,7 +65,7 @@ This package contains WebKitGTK+ for GTK+ 3. %package -n libwebkit2gtk Summary: The libwebkit2gtk library Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n libwebkit2gtk The libwebkit2gtk package contains the libwebkit2gtk library @@ -74,7 +74,7 @@ that is part of %{name}. %package devel Summary: Development files for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries, build data, and header From 593b017c8fb5b5fb1b34bcb19d58d1a60bed7860 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 5 Dec 2013 17:07:29 +0100 Subject: [PATCH 06/92] Update to 2.3.2 --- webkitgtk-2.1.1-yarr.patch | 12 -- webkitgtk-2.3.2-libatomic.patch | 19 ++ webkitgtk-2.3.2-no_jit_1.patch | 51 +++++ webkitgtk-2.3.2-no_jit_2.patch | 32 +++ webkitgtk-2.3.2-no_jit_3.patch | 349 ++++++++++++++++++++++++++++++++ webkitgtk-2.3.2-no_jit_4.patch | 31 +++ webkitgtk3.spec | 41 +++- 7 files changed, 516 insertions(+), 19 deletions(-) delete mode 100644 webkitgtk-2.1.1-yarr.patch create mode 100644 webkitgtk-2.3.2-libatomic.patch create mode 100644 webkitgtk-2.3.2-no_jit_1.patch create mode 100644 webkitgtk-2.3.2-no_jit_2.patch create mode 100644 webkitgtk-2.3.2-no_jit_3.patch create mode 100644 webkitgtk-2.3.2-no_jit_4.patch diff --git a/webkitgtk-2.1.1-yarr.patch b/webkitgtk-2.1.1-yarr.patch deleted file mode 100644 index 6752c20..0000000 --- a/webkitgtk-2.1.1-yarr.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up webkitgtk-2.1.1/Source/WTF/wtf/Platform.h.yarr webkitgtk-2.1.1/Source/WTF/wtf/Platform.h ---- webkitgtk-2.1.1/Source/WTF/wtf/Platform.h.yarr 2013-05-29 15:41:14.572995439 +0200 -+++ webkitgtk-2.1.1/Source/WTF/wtf/Platform.h 2013-05-29 15:42:04.434993292 +0200 -@@ -823,7 +823,7 @@ - #define ENABLE_REGEXP_TRACING 0 - - /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ --#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !(OS(QNX) && PLATFORM(QT)) -+#if !defined(ENABLE_YARR_JIT) && ENABLE(JIT) && ENABLE(LLINT_C_LOOP) && !(OS(QNX) && PLATFORM(QT)) - #define ENABLE_YARR_JIT 1 - - /* Setting this flag compares JIT results with interpreter results. */ diff --git a/webkitgtk-2.3.2-libatomic.patch b/webkitgtk-2.3.2-libatomic.patch new file mode 100644 index 0000000..307a812 --- /dev/null +++ b/webkitgtk-2.3.2-libatomic.patch @@ -0,0 +1,19 @@ +diff -up webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h.libatomic webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h +--- webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h.libatomic 2013-12-05 15:43:22.160186327 +0100 ++++ webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h 2013-12-05 15:44:02.630264977 +0100 +@@ -101,11 +101,11 @@ inline int atomicDecrement(int volatile* + + #elif COMPILER(GCC) + +-inline int atomicIncrement(int volatile* addend) { return __sync_add_and_fetch(addend, 1); } +-inline int atomicDecrement(int volatile* addend) { return __sync_sub_and_fetch(addend, 1); } ++inline int atomicIncrement(int volatile* addend) { return __atomic_fetch_add(addend, 1, __ATOMIC_ACQ_REL); } ++inline int atomicDecrement(int volatile* addend) { return __atomic_fetch_sub(addend, 1, __ATOMIC_ACQ_REL); } + +-inline int64_t atomicIncrement(int64_t volatile* addend) { return __sync_add_and_fetch(addend, 1); } +-inline int64_t atomicDecrement(int64_t volatile* addend) { return __sync_sub_and_fetch(addend, 1); } ++inline int64_t atomicIncrement(int64_t volatile* addend) { return __atomic_fetch_add(addend, 1, __ATOMIC_ACQ_REL); } ++inline int64_t atomicDecrement(int64_t volatile* addend) { return __atomic_fetch_sub(addend, 1, __ATOMIC_ACQ_REL); } + + #endif + diff --git a/webkitgtk-2.3.2-no_jit_1.patch b/webkitgtk-2.3.2-no_jit_1.patch new file mode 100644 index 0000000..540b196 --- /dev/null +++ b/webkitgtk-2.3.2-no_jit_1.patch @@ -0,0 +1,51 @@ +diff --git a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp +index 221b175d062ee4b2a396d781ccd1973796213a77..c30e2aef32ea5d17804c16dd5b7bee2f359f1105 100644 +--- a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp ++++ b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp +@@ -60,6 +60,8 @@ JSValue ValueRecovery::recover(ExecState* exec) const + } + } + ++#if ENABLE(JIT) ++ + void ValueRecovery::dumpInContext(PrintStream& out, DumpContext* context) const + { + switch (technique()) { +@@ -130,6 +132,7 @@ void ValueRecovery::dump(PrintStream& out) const + { + dumpInContext(out, 0); + } ++#endif // ENABLE(JIT) + + } // namespace JSC + +diff --git a/Source/JavaScriptCore/bytecode/ValueRecovery.h b/Source/JavaScriptCore/bytecode/ValueRecovery.h +index 7127db703f52ec5668fb8da3d1fae08fcf14162d..dc2d55a289b394ea360a8589d517019b2d2214a9 100644 +--- a/Source/JavaScriptCore/bytecode/ValueRecovery.h ++++ b/Source/JavaScriptCore/bytecode/ValueRecovery.h +@@ -27,12 +27,13 @@ + #define ValueRecovery_h + + #include "DataFormat.h" ++#if ENABLE(JIT) + #include "GPRInfo.h" + #include "FPRInfo.h" ++#endif + #include "JSCJSValue.h" + #include "MacroAssembler.h" + #include "VirtualRegister.h" +-#include + #include + + namespace JSC { +@@ -246,8 +247,10 @@ public: + + JSValue recover(ExecState*) const; + ++#if ENABLE(JIT) + void dumpInContext(PrintStream& out, DumpContext* context) const; + void dump(PrintStream& out) const; ++#endif + + private: + ValueRecoveryTechnique m_technique; diff --git a/webkitgtk-2.3.2-no_jit_2.patch b/webkitgtk-2.3.2-no_jit_2.patch new file mode 100644 index 0000000..7b9d0b9 --- /dev/null +++ b/webkitgtk-2.3.2-no_jit_2.patch @@ -0,0 +1,32 @@ +diff --git a/Source/JavaScriptCore/llint/LLIntThunks.cpp b/Source/JavaScriptCore/llint/LLIntThunks.cpp +index a7387d54c5ad5eedbffa142b94ca890732b11c9b..cd4e7c106c20337a8f45e11d212cdeee09b438e1 100644 +--- a/Source/JavaScriptCore/llint/LLIntThunks.cpp ++++ b/Source/JavaScriptCore/llint/LLIntThunks.cpp +@@ -26,7 +26,7 @@ + #include "config.h" + #include "LLIntThunks.h" + +-#if ENABLE(LLINT) ++#if ENABLE(LLINT) && ENABLE(JIT) + + #include "JSInterfaceJIT.h" + #include "JSObject.h" +@@ -36,8 +36,6 @@ + + namespace JSC { namespace LLInt { + +-#if !ENABLE(LLINT_C_LOOP) +- + static MacroAssemblerCodeRef generateThunkWithJumpTo(VM* vm, void (*target)(), const char *thunkKind) + { + JSInterfaceJIT jit(vm); +@@ -80,8 +78,6 @@ MacroAssemblerCodeRef programEntryThunkGenerator(VM* vm) + return generateThunkWithJumpTo(vm, llint_program_prologue, "program"); + } + +-#endif // !ENABLE(LLINT_C_LOOP) +- + } } // namespace JSC::LLInt + +-#endif // ENABLE(LLINT) ++#endif // ENABLE(LLINT) && ENABLE(JIT) diff --git a/webkitgtk-2.3.2-no_jit_3.patch b/webkitgtk-2.3.2-no_jit_3.patch new file mode 100644 index 0000000..ebfc4d4 --- /dev/null +++ b/webkitgtk-2.3.2-no_jit_3.patch @@ -0,0 +1,349 @@ +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp.no_jit_3 2013-11-12 08:53:56.000000000 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp 2013-12-05 13:32:59.623494221 +0100 +@@ -49,7 +49,8 @@ LinkBuffer::CodeRef LinkBuffer::finalize + ASSERT(Options::showDisassembly() || Options::showDFGDisassembly()); + + CodeRef result = finalizeCodeWithoutDisassembly(); +- ++ ++#if ENABLE(DISASSEMBLER) + dataLogF("Generated JIT code for "); + va_list argList; + va_start(argList, format); +@@ -59,6 +60,9 @@ LinkBuffer::CodeRef LinkBuffer::finalize + + dataLogF(" Code at [%p, %p):\n", result.code().executableAddress(), static_cast(result.code().executableAddress()) + result.size()); + disassemble(result.code(), m_size, " ", WTF::dataFile()); ++#else ++ UNUSED_PARAM(format); ++#endif // ENABLE(DISASSEMBLER) + + return result; + } +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp.no_jit_3 2013-11-18 08:40:24.000000000 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp 2013-12-05 13:32:59.623494221 +0100 +@@ -26,7 +26,7 @@ + #include "config.h" + #include "DFGDisassembler.h" + +-#if ENABLE(DFG_JIT) ++#if ENABLE(DFG_JIT) && ENABLE(DISASSEMBLER) + + #include "CodeBlockWithJITType.h" + #include "DFGGraph.h" +@@ -172,4 +172,4 @@ void Disassembler::dumpDisassembly(Print + + } } // namespace JSC::DFG + +-#endif // ENABLE(DFG_JIT) ++#endif // ENABLE(DFG_JIT) && ENABLE(DISASSEMBLER) +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h +--- webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h.no_jit_3 2013-08-03 18:10:38.000000000 +0200 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h 2013-12-05 13:32:59.623494221 +0100 +@@ -42,6 +42,8 @@ namespace JSC { namespace DFG { + + class Graph; + ++#if ENABLE(DISASSEMBLER) ++ + class Disassembler { + WTF_MAKE_FAST_ALLOCATED; + public: +@@ -97,6 +99,25 @@ private: + MacroAssembler::Label m_endOfCode; + }; + ++#else // ENABLE(DISASSEMBLER) ++ ++class Disassembler { ++ WTF_MAKE_FAST_ALLOCATED; ++public: ++ Disassembler(Graph&) { } ++ ++ void setStartOfCode(MacroAssembler::Label) { } ++ void setForBlockIndex(BlockIndex, MacroAssembler::Label) { } ++ void setForNode(Node*, MacroAssembler::Label) { } ++ void setEndOfMainPath(MacroAssembler::Label) { } ++ void setEndOfCode(MacroAssembler::Label) { } ++ ++ void dump(LinkBuffer&) { } ++ void reportToProfiler(Profiler::Compilation*, LinkBuffer&) { } ++}; ++ ++#endif // ENABLE(DISASSEMBLER) ++ + } } // namespace JSC::DFG + + #endif // ENABLE(DFG_JIT) +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp 2013-12-05 13:32:59.623494221 +0100 +@@ -26,6 +26,8 @@ + #include "config.h" + #include "Disassembler.h" + ++#if ENABLE(DISASSEMBLER) ++ + #include "MacroAssemblerCodeRef.h" + #include + +@@ -41,3 +43,4 @@ void disassemble(const MacroAssemblerCod + + } // namespace JSC + ++#endif // ENABLE(DISASSEMBLER) +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp 2013-12-05 13:32:59.623494221 +0100 +@@ -26,6 +26,7 @@ + #include "config.h" + #include "Disassembler.h" + ++#if ENABLE(DISASSEMBLER) + #if USE(UDIS86) || USE(LLVM_DISASSEMBLER) + + #include "MacroAssemblerCodeRef.h" +@@ -70,4 +71,4 @@ bool tryToDisassemble(const MacroAssembl + } // namespace JSC + + #endif // USE(UDIS86) || USE(LLVM_DISASSEMBLER) +- ++#endif // ENABLE(DISASSEMBLER) +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h +--- webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h.no_jit_3 2013-11-15 11:39:11.000000000 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h 2013-12-05 13:32:59.623494221 +0100 +@@ -34,6 +34,8 @@ namespace JSC { + typedef MacroAssembler::FPRegisterID FPRReg; + #define InvalidFPRReg ((::JSC::FPRReg)-1) + ++#if ENABLE(JIT) ++ + #if CPU(X86) || CPU(X86_64) + + class FPRInfo { +@@ -108,7 +110,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(X86) || CPU(X86_64) + + #if CPU(ARM) + +@@ -172,7 +174,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(ARM) + + #if CPU(ARM64) + +@@ -260,7 +262,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(ARM64) + + #if CPU(MIPS) + +@@ -327,7 +329,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(MIPS) + + #if CPU(SH4) + +@@ -389,7 +391,9 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(SH4) ++ ++#endif // ENABLE(JIT) + + } // namespace JSC + +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h +--- webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h.no_jit_3 2013-11-15 11:39:11.000000000 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h 2013-12-05 13:32:59.623494221 +0100 +@@ -34,6 +34,8 @@ namespace JSC { + typedef MacroAssembler::RegisterID GPRReg; + #define InvalidGPRReg ((::JSC::GPRReg)-1) + ++#if ENABLE(JIT) ++ + #if USE(JSVALUE64) + class JSValueRegs { + public: +@@ -125,7 +127,7 @@ private: + int32_t m_offset; + GPRReg m_base; + }; +-#endif ++#endif // USE(JSVALUE64) + + #if USE(JSVALUE32_64) + class JSValueRegs { +@@ -276,7 +278,7 @@ private: + int8_t m_payload; + int8_t m_tagType; // Contains the low bits of the tag. + }; +-#endif ++#endif // USE(JSVALUE32_64) + + // The baseline JIT requires that regT3 be callee-preserved. + +@@ -343,7 +345,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(X86) + + #if CPU(X86_64) + #if !OS(WINDOWS) +@@ -439,7 +441,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(X86_64) + + #if CPU(ARM) + #define NUMBER_OF_ARGUMENT_REGISTERS 4u +@@ -520,7 +522,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(ARM) + + #if CPU(ARM64) + #define NUMBER_OF_ARGUMENT_REGISTERS 8u +@@ -618,7 +620,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(ARM64) + + #if CPU(MIPS) + #define NUMBER_OF_ARGUMENT_REGISTERS 4u +@@ -694,7 +696,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(MIPS) + + #if CPU(SH4) + #define NUMBER_OF_ARGUMENT_REGISTERS 4u +@@ -764,7 +766,7 @@ public: + static const unsigned InvalidIndex = 0xffffffff; + }; + +-#endif ++#endif // CPU(SH4) + + // The baseline JIT uses "accumulator" style execution with regT0 (for 64-bit) + // and regT0 + regT1 (for 32-bit) serving as the accumulator register(s) for +@@ -774,6 +776,8 @@ COMPILE_ASSERT(GPRInfo::regT0 == GPRInfo + COMPILE_ASSERT(GPRInfo::regT1 == GPRInfo::returnValueGPR2, regT1_must_equal_returnValueGPR2); + #endif + ++#endif // ENABLE(JIT) ++ + } // namespace JSC + + namespace WTF { +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp 2013-12-05 13:32:59.623494221 +0100 +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2012 Apple Inc. All rights reserved. ++ * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions +@@ -26,7 +26,7 @@ + #include "config.h" + #include "JITDisassembler.h" + +-#if ENABLE(JIT) ++#if ENABLE(JIT) && ENABLE(DISASSEMBLER) + + #include "CodeBlock.h" + #include "CodeBlockWithJITType.h" +@@ -164,5 +164,5 @@ void JITDisassembler::dumpDisassembly(Pr + + } // namespace JSC + +-#endif // ENABLE(JIT) ++#endif // ENABLE(JIT) && ENABLE(DISASSEMBLER) + +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h +--- webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h.no_jit_3 2013-08-03 18:10:38.000000000 +0200 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h 2013-12-05 13:32:59.623494221 +0100 +@@ -39,6 +39,8 @@ namespace JSC { + + class CodeBlock; + ++#if ENABLE(DISASSEMBLER) ++ + class JITDisassembler { + WTF_MAKE_FAST_ALLOCATED; + public: +@@ -84,6 +86,25 @@ private: + MacroAssembler::Label m_endOfCode; + }; + ++#else // ENABLE(DISASSEMBLER) ++ ++class JITDisassembler { ++ WTF_MAKE_FAST_ALLOCATED; ++public: ++ JITDisassembler(CodeBlock*) { } ++ ++ void setStartOfCode(MacroAssembler::Label) { } ++ void setForBytecodeMainPath(unsigned, MacroAssembler::Label) { } ++ void setForBytecodeSlowPath(unsigned, MacroAssembler::Label) { } ++ void setEndOfSlowPath(MacroAssembler::Label) { } ++ void setEndOfCode(MacroAssembler::Label) { } ++ ++ void dump(LinkBuffer&) { } ++ void reportToProfiler(Profiler::Compilation*, LinkBuffer&) { } ++}; ++ ++#endif // ENABLE(DISASSEMBLER) ++ + } // namespace JSC + + #endif // ENABLE(JIT) +diff -up webkitgtk-2.3.2/Source/WTF/wtf/Platform.h.no_jit_3 webkitgtk-2.3.2/Source/WTF/wtf/Platform.h +--- webkitgtk-2.3.2/Source/WTF/wtf/Platform.h.no_jit_3 2013-12-05 13:32:59.613494190 +0100 ++++ webkitgtk-2.3.2/Source/WTF/wtf/Platform.h 2013-12-05 13:32:59.623494221 +0100 +@@ -868,6 +868,16 @@ + #endif + #endif + ++/* If the Disassembler is enabled, then the Assembler must be enabled as well: */ ++#if ENABLE(DISASSEMBLER) ++#if defined(ENABLE_ASSEMBLER) && !ENABLE_ASSEMBLER ++#error "Cannot enable the Disassembler without enabling the Assembler" ++#else ++#undef ENABLE_ASSEMBLER ++#define ENABLE_ASSEMBLER 1 ++#endif ++#endif ++ + /* Pick which allocator to use; we only need an executable allocator if the assembler is compiled in. + On x86-64 we use a single fixed mmap, on other platforms we mmap on demand. */ + #if ENABLE(ASSEMBLER) diff --git a/webkitgtk-2.3.2-no_jit_4.patch b/webkitgtk-2.3.2-no_jit_4.patch new file mode 100644 index 0000000..692ff21 --- /dev/null +++ b/webkitgtk-2.3.2-no_jit_4.patch @@ -0,0 +1,31 @@ +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.no_jit_4 webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm +--- webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.no_jit_4 2013-12-05 13:37:50.064205163 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2013-12-05 13:38:25.544272612 +0100 +@@ -426,12 +426,15 @@ macro doReturn() + ret + end + ++if C_LOOP ++else + # stub to call into JavaScript + # EncodedJSValue callToJavaScript(void* code, Register* topOfStack) + # Note, if this stub or one of it's related macros is changed, make the + # equivalent changes in jit/JITStubsX86.h and/or jit/JITStubsMSVC64.asm + _callToJavaScript: + doCallToJavaScript() ++end + + # Indicate the beginning of LLInt. + _llint_begin: +diff -up webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.no_jit_4 webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +--- webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.no_jit_4 2013-12-05 13:40:54.414566332 +0100 ++++ webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp 2013-12-05 13:41:17.944614906 +0100 +@@ -309,7 +309,7 @@ JSValue CLoop::execute(CallFrame* callFr + // 2. 32 bit result values will be in the low 32-bit of t0. + // 3. 64 bit result values will be in t0. + +- CLoopRegister t0, t1, t2, t3, a1; ++ CLoopRegister t0, t1, t2, t3; + #if USE(JSVALUE64) + CLoopRegister rBasePC, tagTypeNumber, tagMask; + #endif diff --git a/webkitgtk3.spec b/webkitgtk3.spec index c4acbc9..6a966a3 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.2.3 +Version: 2.3.2 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -17,11 +17,21 @@ URL: http://www.webkitgtk.org/ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch -# workarounds for non-JIT arches -# https://bugs.webkit.org/show_bug.cgi?id=104270 -Patch1: webkitgtk-2.1.1-yarr.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch +# https://bugs.webkit.org/show_bug.cgi?id=125062 +# Remove when 2.3.3 will be released +Patch5: webkitgtk-2.3.2-no_jit_1.patch +# https://bugs.webkit.org/show_bug.cgi?id=125063 +# Remove when 2.3.3 will be released +Patch6: webkitgtk-2.3.2-no_jit_2.patch +# https://bugs.webkit.org/show_bug.cgi?id=123809 +# Remove when 2.3.3 will be released +Patch7: webkitgtk-2.3.2-no_jit_3.patch +# https://bugs.webkit.org/show_bug.cgi?id=125186 +# Remove when 2.3.3 will be released +Patch8: webkitgtk-2.3.2-no_jit_4.patch +Patch9: webkitgtk-2.3.2-libatomic.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -56,6 +66,10 @@ BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel +%ifarch ppc +BuildRequires: libatomic +%endif + %description WebKitGTK+ is the port of the portable web rendering engine WebKit to the GTK+ platform. @@ -92,10 +106,16 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper -%patch1 -p1 -b .yarr %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif +%patch5 -p1 -b .no_jit_1 +%patch6 -p1 -b .no_jit_2 +%patch7 -p1 -b .no_jit_3 +%patch8 -p1 -b .no_jit_4 +%ifarch ppc +%patch9 -p1 -b .libatomic +%endif %build # Use linker flags to reduce memory consumption @@ -108,7 +128,11 @@ This package contains developer documentation for %{name}. %ifarch ppc # Use linker flag -relax to get WebKit2 build under ppc(32) with JIT disabled -%global optflags %{optflags} -Wl,-relax +%global optflags %{optflags} -Wl,-relax -latomic +%endif + +%ifarch s390 s390x ppc ppc64 +%global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif %configure \ @@ -208,9 +232,12 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/webkitgtk %{_datadir}/gtk-doc/html/webkit2gtk - +%{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Dec 5 2013 Tomas Popela - 2.3.2-1 +- Update to 2.3.2 + * Wed Dec 4 2013 Tomas Popela - 2.2.3-1 - Update to 2.2.3 From eedcb5bbb5ebd32eea5c32899d28766d8563cb06 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 5 Dec 2013 17:20:35 +0100 Subject: [PATCH 07/92] Forgot to update sources From 984710265474e732050c741aa2800fc542e70bec Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 5 Dec 2013 17:25:13 +0100 Subject: [PATCH 08/92] Update sources and changelog fro 2.3.2 --- .gitignore | 1 + sources | 2 +- webkitgtk3.spec | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f64dc13..976c4ac 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.3.1.tar.xz /webkitgtk-2.2.2.tar.xz /webkitgtk-2.2.3.tar.xz +/webkitgtk-2.3.2.tar.xz diff --git a/sources b/sources index bdc6def..1782d59 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -613e81c460368ff4d6e02c7887206572 webkitgtk-2.2.3.tar.xz +f9c8e0f985cfd1808b2740c5efb31ca7 webkitgtk-2.3.2.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 6a966a3..ff6b25f 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -237,6 +237,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog * Thu Dec 5 2013 Tomas Popela - 2.3.2-1 - Update to 2.3.2 +- Add libatomic as BR on ppc * Wed Dec 4 2013 Tomas Popela - 2.2.3-1 - Update to 2.2.3 From af59a78b1bb2a26ab046701c7135e385a438f76b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 19 Dec 2013 08:59:35 +0100 Subject: [PATCH 09/92] Update to 2.3.3 --- .gitignore | 1 + sources | 2 +- webkitgtk-2.3.2-no_jit_1.patch | 51 ----- webkitgtk-2.3.2-no_jit_2.patch | 32 --- webkitgtk-2.3.2-no_jit_3.patch | 349 --------------------------------- webkitgtk-2.3.2-no_jit_4.patch | 31 --- webkitgtk3.spec | 21 +- 7 files changed, 6 insertions(+), 481 deletions(-) delete mode 100644 webkitgtk-2.3.2-no_jit_1.patch delete mode 100644 webkitgtk-2.3.2-no_jit_2.patch delete mode 100644 webkitgtk-2.3.2-no_jit_3.patch delete mode 100644 webkitgtk-2.3.2-no_jit_4.patch diff --git a/.gitignore b/.gitignore index 976c4ac..43ed7e4 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.2.2.tar.xz /webkitgtk-2.2.3.tar.xz /webkitgtk-2.3.2.tar.xz +/webkitgtk-2.3.3.tar.xz diff --git a/sources b/sources index 1782d59..cdc130b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f9c8e0f985cfd1808b2740c5efb31ca7 webkitgtk-2.3.2.tar.xz +c51782e37af0af230adf171d97ecdb37 webkitgtk-2.3.3.tar.xz diff --git a/webkitgtk-2.3.2-no_jit_1.patch b/webkitgtk-2.3.2-no_jit_1.patch deleted file mode 100644 index 540b196..0000000 --- a/webkitgtk-2.3.2-no_jit_1.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp -index 221b175d062ee4b2a396d781ccd1973796213a77..c30e2aef32ea5d17804c16dd5b7bee2f359f1105 100644 ---- a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp -+++ b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp -@@ -60,6 +60,8 @@ JSValue ValueRecovery::recover(ExecState* exec) const - } - } - -+#if ENABLE(JIT) -+ - void ValueRecovery::dumpInContext(PrintStream& out, DumpContext* context) const - { - switch (technique()) { -@@ -130,6 +132,7 @@ void ValueRecovery::dump(PrintStream& out) const - { - dumpInContext(out, 0); - } -+#endif // ENABLE(JIT) - - } // namespace JSC - -diff --git a/Source/JavaScriptCore/bytecode/ValueRecovery.h b/Source/JavaScriptCore/bytecode/ValueRecovery.h -index 7127db703f52ec5668fb8da3d1fae08fcf14162d..dc2d55a289b394ea360a8589d517019b2d2214a9 100644 ---- a/Source/JavaScriptCore/bytecode/ValueRecovery.h -+++ b/Source/JavaScriptCore/bytecode/ValueRecovery.h -@@ -27,12 +27,13 @@ - #define ValueRecovery_h - - #include "DataFormat.h" -+#if ENABLE(JIT) - #include "GPRInfo.h" - #include "FPRInfo.h" -+#endif - #include "JSCJSValue.h" - #include "MacroAssembler.h" - #include "VirtualRegister.h" --#include - #include - - namespace JSC { -@@ -246,8 +247,10 @@ public: - - JSValue recover(ExecState*) const; - -+#if ENABLE(JIT) - void dumpInContext(PrintStream& out, DumpContext* context) const; - void dump(PrintStream& out) const; -+#endif - - private: - ValueRecoveryTechnique m_technique; diff --git a/webkitgtk-2.3.2-no_jit_2.patch b/webkitgtk-2.3.2-no_jit_2.patch deleted file mode 100644 index 7b9d0b9..0000000 --- a/webkitgtk-2.3.2-no_jit_2.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/Source/JavaScriptCore/llint/LLIntThunks.cpp b/Source/JavaScriptCore/llint/LLIntThunks.cpp -index a7387d54c5ad5eedbffa142b94ca890732b11c9b..cd4e7c106c20337a8f45e11d212cdeee09b438e1 100644 ---- a/Source/JavaScriptCore/llint/LLIntThunks.cpp -+++ b/Source/JavaScriptCore/llint/LLIntThunks.cpp -@@ -26,7 +26,7 @@ - #include "config.h" - #include "LLIntThunks.h" - --#if ENABLE(LLINT) -+#if ENABLE(LLINT) && ENABLE(JIT) - - #include "JSInterfaceJIT.h" - #include "JSObject.h" -@@ -36,8 +36,6 @@ - - namespace JSC { namespace LLInt { - --#if !ENABLE(LLINT_C_LOOP) -- - static MacroAssemblerCodeRef generateThunkWithJumpTo(VM* vm, void (*target)(), const char *thunkKind) - { - JSInterfaceJIT jit(vm); -@@ -80,8 +78,6 @@ MacroAssemblerCodeRef programEntryThunkGenerator(VM* vm) - return generateThunkWithJumpTo(vm, llint_program_prologue, "program"); - } - --#endif // !ENABLE(LLINT_C_LOOP) -- - } } // namespace JSC::LLInt - --#endif // ENABLE(LLINT) -+#endif // ENABLE(LLINT) && ENABLE(JIT) diff --git a/webkitgtk-2.3.2-no_jit_3.patch b/webkitgtk-2.3.2-no_jit_3.patch deleted file mode 100644 index ebfc4d4..0000000 --- a/webkitgtk-2.3.2-no_jit_3.patch +++ /dev/null @@ -1,349 +0,0 @@ -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp.no_jit_3 2013-11-12 08:53:56.000000000 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/assembler/LinkBuffer.cpp 2013-12-05 13:32:59.623494221 +0100 -@@ -49,7 +49,8 @@ LinkBuffer::CodeRef LinkBuffer::finalize - ASSERT(Options::showDisassembly() || Options::showDFGDisassembly()); - - CodeRef result = finalizeCodeWithoutDisassembly(); -- -+ -+#if ENABLE(DISASSEMBLER) - dataLogF("Generated JIT code for "); - va_list argList; - va_start(argList, format); -@@ -59,6 +60,9 @@ LinkBuffer::CodeRef LinkBuffer::finalize - - dataLogF(" Code at [%p, %p):\n", result.code().executableAddress(), static_cast(result.code().executableAddress()) + result.size()); - disassemble(result.code(), m_size, " ", WTF::dataFile()); -+#else -+ UNUSED_PARAM(format); -+#endif // ENABLE(DISASSEMBLER) - - return result; - } -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp.no_jit_3 2013-11-18 08:40:24.000000000 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.cpp 2013-12-05 13:32:59.623494221 +0100 -@@ -26,7 +26,7 @@ - #include "config.h" - #include "DFGDisassembler.h" - --#if ENABLE(DFG_JIT) -+#if ENABLE(DFG_JIT) && ENABLE(DISASSEMBLER) - - #include "CodeBlockWithJITType.h" - #include "DFGGraph.h" -@@ -172,4 +172,4 @@ void Disassembler::dumpDisassembly(Print - - } } // namespace JSC::DFG - --#endif // ENABLE(DFG_JIT) -+#endif // ENABLE(DFG_JIT) && ENABLE(DISASSEMBLER) -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h ---- webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h.no_jit_3 2013-08-03 18:10:38.000000000 +0200 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/dfg/DFGDisassembler.h 2013-12-05 13:32:59.623494221 +0100 -@@ -42,6 +42,8 @@ namespace JSC { namespace DFG { - - class Graph; - -+#if ENABLE(DISASSEMBLER) -+ - class Disassembler { - WTF_MAKE_FAST_ALLOCATED; - public: -@@ -97,6 +99,25 @@ private: - MacroAssembler::Label m_endOfCode; - }; - -+#else // ENABLE(DISASSEMBLER) -+ -+class Disassembler { -+ WTF_MAKE_FAST_ALLOCATED; -+public: -+ Disassembler(Graph&) { } -+ -+ void setStartOfCode(MacroAssembler::Label) { } -+ void setForBlockIndex(BlockIndex, MacroAssembler::Label) { } -+ void setForNode(Node*, MacroAssembler::Label) { } -+ void setEndOfMainPath(MacroAssembler::Label) { } -+ void setEndOfCode(MacroAssembler::Label) { } -+ -+ void dump(LinkBuffer&) { } -+ void reportToProfiler(Profiler::Compilation*, LinkBuffer&) { } -+}; -+ -+#endif // ENABLE(DISASSEMBLER) -+ - } } // namespace JSC::DFG - - #endif // ENABLE(DFG_JIT) -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/Disassembler.cpp 2013-12-05 13:32:59.623494221 +0100 -@@ -26,6 +26,8 @@ - #include "config.h" - #include "Disassembler.h" - -+#if ENABLE(DISASSEMBLER) -+ - #include "MacroAssemblerCodeRef.h" - #include - -@@ -41,3 +43,4 @@ void disassemble(const MacroAssemblerCod - - } // namespace JSC - -+#endif // ENABLE(DISASSEMBLER) -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/disassembler/X86Disassembler.cpp 2013-12-05 13:32:59.623494221 +0100 -@@ -26,6 +26,7 @@ - #include "config.h" - #include "Disassembler.h" - -+#if ENABLE(DISASSEMBLER) - #if USE(UDIS86) || USE(LLVM_DISASSEMBLER) - - #include "MacroAssemblerCodeRef.h" -@@ -70,4 +71,4 @@ bool tryToDisassemble(const MacroAssembl - } // namespace JSC - - #endif // USE(UDIS86) || USE(LLVM_DISASSEMBLER) -- -+#endif // ENABLE(DISASSEMBLER) -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h ---- webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h.no_jit_3 2013-11-15 11:39:11.000000000 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/FPRInfo.h 2013-12-05 13:32:59.623494221 +0100 -@@ -34,6 +34,8 @@ namespace JSC { - typedef MacroAssembler::FPRegisterID FPRReg; - #define InvalidFPRReg ((::JSC::FPRReg)-1) - -+#if ENABLE(JIT) -+ - #if CPU(X86) || CPU(X86_64) - - class FPRInfo { -@@ -108,7 +110,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(X86) || CPU(X86_64) - - #if CPU(ARM) - -@@ -172,7 +174,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(ARM) - - #if CPU(ARM64) - -@@ -260,7 +262,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(ARM64) - - #if CPU(MIPS) - -@@ -327,7 +329,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(MIPS) - - #if CPU(SH4) - -@@ -389,7 +391,9 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(SH4) -+ -+#endif // ENABLE(JIT) - - } // namespace JSC - -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h ---- webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h.no_jit_3 2013-11-15 11:39:11.000000000 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/GPRInfo.h 2013-12-05 13:32:59.623494221 +0100 -@@ -34,6 +34,8 @@ namespace JSC { - typedef MacroAssembler::RegisterID GPRReg; - #define InvalidGPRReg ((::JSC::GPRReg)-1) - -+#if ENABLE(JIT) -+ - #if USE(JSVALUE64) - class JSValueRegs { - public: -@@ -125,7 +127,7 @@ private: - int32_t m_offset; - GPRReg m_base; - }; --#endif -+#endif // USE(JSVALUE64) - - #if USE(JSVALUE32_64) - class JSValueRegs { -@@ -276,7 +278,7 @@ private: - int8_t m_payload; - int8_t m_tagType; // Contains the low bits of the tag. - }; --#endif -+#endif // USE(JSVALUE32_64) - - // The baseline JIT requires that regT3 be callee-preserved. - -@@ -343,7 +345,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(X86) - - #if CPU(X86_64) - #if !OS(WINDOWS) -@@ -439,7 +441,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(X86_64) - - #if CPU(ARM) - #define NUMBER_OF_ARGUMENT_REGISTERS 4u -@@ -520,7 +522,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(ARM) - - #if CPU(ARM64) - #define NUMBER_OF_ARGUMENT_REGISTERS 8u -@@ -618,7 +620,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(ARM64) - - #if CPU(MIPS) - #define NUMBER_OF_ARGUMENT_REGISTERS 4u -@@ -694,7 +696,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(MIPS) - - #if CPU(SH4) - #define NUMBER_OF_ARGUMENT_REGISTERS 4u -@@ -764,7 +766,7 @@ public: - static const unsigned InvalidIndex = 0xffffffff; - }; - --#endif -+#endif // CPU(SH4) - - // The baseline JIT uses "accumulator" style execution with regT0 (for 64-bit) - // and regT0 + regT1 (for 32-bit) serving as the accumulator register(s) for -@@ -774,6 +776,8 @@ COMPILE_ASSERT(GPRInfo::regT0 == GPRInfo - COMPILE_ASSERT(GPRInfo::regT1 == GPRInfo::returnValueGPR2, regT1_must_equal_returnValueGPR2); - #endif - -+#endif // ENABLE(JIT) -+ - } // namespace JSC - - namespace WTF { -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp.no_jit_3 2013-08-03 18:10:38.000000000 +0200 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.cpp 2013-12-05 13:32:59.623494221 +0100 -@@ -1,5 +1,5 @@ - /* -- * Copyright (C) 2012 Apple Inc. All rights reserved. -+ * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions -@@ -26,7 +26,7 @@ - #include "config.h" - #include "JITDisassembler.h" - --#if ENABLE(JIT) -+#if ENABLE(JIT) && ENABLE(DISASSEMBLER) - - #include "CodeBlock.h" - #include "CodeBlockWithJITType.h" -@@ -164,5 +164,5 @@ void JITDisassembler::dumpDisassembly(Pr - - } // namespace JSC - --#endif // ENABLE(JIT) -+#endif // ENABLE(JIT) && ENABLE(DISASSEMBLER) - -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h.no_jit_3 webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h ---- webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h.no_jit_3 2013-08-03 18:10:38.000000000 +0200 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/jit/JITDisassembler.h 2013-12-05 13:32:59.623494221 +0100 -@@ -39,6 +39,8 @@ namespace JSC { - - class CodeBlock; - -+#if ENABLE(DISASSEMBLER) -+ - class JITDisassembler { - WTF_MAKE_FAST_ALLOCATED; - public: -@@ -84,6 +86,25 @@ private: - MacroAssembler::Label m_endOfCode; - }; - -+#else // ENABLE(DISASSEMBLER) -+ -+class JITDisassembler { -+ WTF_MAKE_FAST_ALLOCATED; -+public: -+ JITDisassembler(CodeBlock*) { } -+ -+ void setStartOfCode(MacroAssembler::Label) { } -+ void setForBytecodeMainPath(unsigned, MacroAssembler::Label) { } -+ void setForBytecodeSlowPath(unsigned, MacroAssembler::Label) { } -+ void setEndOfSlowPath(MacroAssembler::Label) { } -+ void setEndOfCode(MacroAssembler::Label) { } -+ -+ void dump(LinkBuffer&) { } -+ void reportToProfiler(Profiler::Compilation*, LinkBuffer&) { } -+}; -+ -+#endif // ENABLE(DISASSEMBLER) -+ - } // namespace JSC - - #endif // ENABLE(JIT) -diff -up webkitgtk-2.3.2/Source/WTF/wtf/Platform.h.no_jit_3 webkitgtk-2.3.2/Source/WTF/wtf/Platform.h ---- webkitgtk-2.3.2/Source/WTF/wtf/Platform.h.no_jit_3 2013-12-05 13:32:59.613494190 +0100 -+++ webkitgtk-2.3.2/Source/WTF/wtf/Platform.h 2013-12-05 13:32:59.623494221 +0100 -@@ -868,6 +868,16 @@ - #endif - #endif - -+/* If the Disassembler is enabled, then the Assembler must be enabled as well: */ -+#if ENABLE(DISASSEMBLER) -+#if defined(ENABLE_ASSEMBLER) && !ENABLE_ASSEMBLER -+#error "Cannot enable the Disassembler without enabling the Assembler" -+#else -+#undef ENABLE_ASSEMBLER -+#define ENABLE_ASSEMBLER 1 -+#endif -+#endif -+ - /* Pick which allocator to use; we only need an executable allocator if the assembler is compiled in. - On x86-64 we use a single fixed mmap, on other platforms we mmap on demand. */ - #if ENABLE(ASSEMBLER) diff --git a/webkitgtk-2.3.2-no_jit_4.patch b/webkitgtk-2.3.2-no_jit_4.patch deleted file mode 100644 index 692ff21..0000000 --- a/webkitgtk-2.3.2-no_jit_4.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.no_jit_4 webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm ---- webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.no_jit_4 2013-12-05 13:37:50.064205163 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2013-12-05 13:38:25.544272612 +0100 -@@ -426,12 +426,15 @@ macro doReturn() - ret - end - -+if C_LOOP -+else - # stub to call into JavaScript - # EncodedJSValue callToJavaScript(void* code, Register* topOfStack) - # Note, if this stub or one of it's related macros is changed, make the - # equivalent changes in jit/JITStubsX86.h and/or jit/JITStubsMSVC64.asm - _callToJavaScript: - doCallToJavaScript() -+end - - # Indicate the beginning of LLInt. - _llint_begin: -diff -up webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.no_jit_4 webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ---- webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp.no_jit_4 2013-12-05 13:40:54.414566332 +0100 -+++ webkitgtk-2.3.2/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp 2013-12-05 13:41:17.944614906 +0100 -@@ -309,7 +309,7 @@ JSValue CLoop::execute(CallFrame* callFr - // 2. 32 bit result values will be in the low 32-bit of t0. - // 3. 64 bit result values will be in t0. - -- CLoopRegister t0, t1, t2, t3, a1; -+ CLoopRegister t0, t1, t2, t3; - #if USE(JSVALUE64) - CLoopRegister rBasePC, tagTypeNumber, tagMask; - #endif diff --git a/webkitgtk3.spec b/webkitgtk3.spec index ff6b25f..fcb8b1e 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.2 +Version: 2.3.3 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -19,18 +19,6 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch -# https://bugs.webkit.org/show_bug.cgi?id=125062 -# Remove when 2.3.3 will be released -Patch5: webkitgtk-2.3.2-no_jit_1.patch -# https://bugs.webkit.org/show_bug.cgi?id=125063 -# Remove when 2.3.3 will be released -Patch6: webkitgtk-2.3.2-no_jit_2.patch -# https://bugs.webkit.org/show_bug.cgi?id=123809 -# Remove when 2.3.3 will be released -Patch7: webkitgtk-2.3.2-no_jit_3.patch -# https://bugs.webkit.org/show_bug.cgi?id=125186 -# Remove when 2.3.3 will be released -Patch8: webkitgtk-2.3.2-no_jit_4.patch Patch9: webkitgtk-2.3.2-libatomic.patch BuildRequires: at-spi2-core-devel @@ -109,10 +97,6 @@ This package contains developer documentation for %{name}. %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif -%patch5 -p1 -b .no_jit_1 -%patch6 -p1 -b .no_jit_2 -%patch7 -p1 -b .no_jit_3 -%patch8 -p1 -b .no_jit_4 %ifarch ppc %patch9 -p1 -b .libatomic %endif @@ -235,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Dec 19 2013 Tomas Popela - 2.3.3-1 +- Update to 2.3.3 + * Thu Dec 5 2013 Tomas Popela - 2.3.2-1 - Update to 2.3.2 - Add libatomic as BR on ppc From 4e16f80caabbb4916bc3f8dfddcb7101e284aef7 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 1 Jan 2014 21:45:56 -0700 Subject: [PATCH 10/92] Rebuild for libwebp soname bump --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index fcb8b1e..1329f4c 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -219,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Jan 02 2014 Orion Poplawski - 2.3.3-2 +- Rebuild for libwebp soname bump + * Thu Dec 19 2013 Tomas Popela - 2.3.3-1 - Update to 2.3.3 From 6f6b8b4e3e149cdfb857654ef42e596acfbe1ee1 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 13 Jan 2014 14:41:05 +0100 Subject: [PATCH 11/92] Update to 2.3.4 --- .gitignore | 1 + sources | 2 +- webkitgtk3.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 43ed7e4..9b17195 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.2.3.tar.xz /webkitgtk-2.3.2.tar.xz /webkitgtk-2.3.3.tar.xz +/webkitgtk-2.3.4.tar.xz diff --git a/sources b/sources index cdc130b..43eaf84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c51782e37af0af230adf171d97ecdb37 webkitgtk-2.3.3.tar.xz +9f4271fb19c92c4b854b3e59d95b1e57 webkitgtk-2.3.4.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 1329f4c..043b846 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.3 +Version: 2.3.4 Release: 2%{?dist} Summary: GTK+ Web content engine library @@ -219,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Jan 13 2014 Tomas Popela - 2.3.4-1 +- Update to 2.3.4 + * Thu Jan 02 2014 Orion Poplawski - 2.3.3-2 - Rebuild for libwebp soname bump From b4c792c7a5f74e0f17e82590c390bc8348c09e5b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 17 Jan 2014 07:52:12 +0100 Subject: [PATCH 12/92] Add patch that fixes compilation on i686 --- webkitgtk-2.3.4-atomics_h.patch | 12 ++++++++++++ webkitgtk3.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.3.4-atomics_h.patch diff --git a/webkitgtk-2.3.4-atomics_h.patch b/webkitgtk-2.3.4-atomics_h.patch new file mode 100644 index 0000000..68dcf87 --- /dev/null +++ b/webkitgtk-2.3.4-atomics_h.patch @@ -0,0 +1,12 @@ +diff -up webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h.atomics_h webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h +--- webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h.atomics_h 2014-01-17 07:49:55.261905005 +0100 ++++ webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h 2014-01-17 07:51:12.145846305 +0100 +@@ -295,7 +295,7 @@ inline bool weakCompareAndSwap(uint8_t* + "lock; cmpxchgb %3, %2\n\t" + "sete %1" + : "+a"(expected), "=q"(result), "+m"(*location) +- : "r"(newValue) ++ : "q"(newValue) + : "memory" + ); + return result; diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 043b846..817fdca 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.4 -Release: 2%{?dist} +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -20,6 +20,9 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch Patch9: webkitgtk-2.3.2-libatomic.patch +# https://bugs.webkit.org/show_bug.cgi?id=126985 +# Remove when next version will be released +Patch10: webkitgtk-2.3.4-atomics_h.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -100,6 +103,7 @@ This package contains developer documentation for %{name}. %ifarch ppc %patch9 -p1 -b .libatomic %endif +%patch10 -p1 -b .atomics_h %build # Use linker flags to reduce memory consumption @@ -221,6 +225,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog * Mon Jan 13 2014 Tomas Popela - 2.3.4-1 - Update to 2.3.4 +- Add patch that fixes compilation on i686 * Thu Jan 02 2014 Orion Poplawski - 2.3.3-2 - Rebuild for libwebp soname bump From 9c0bad912f1781026fff49d6ca5a552fd36dc763 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 17 Jan 2014 10:39:15 +0100 Subject: [PATCH 13/92] Add newly introduced files --- webkitgtk3.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 817fdca..8e2fb09 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -198,7 +198,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_libdir}/libwebkit2gtk-3.0.so.* %{_libdir}/webkit2gtk-3.0/ %{_libdir}/girepository-1.0/WebKit2-3.0.typelib +%{_libdir}/girepository-1.0/WebKit2WebExtension-3.0.typelib %{_libexecdir}/%{name}/MiniBrowser +%{_libexecdir}/WebKitNetworkProcess %{_libexecdir}/WebKitPluginProcess %{_libexecdir}/WebKitWebProcess @@ -213,6 +215,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc %{_datadir}/gir-1.0/WebKit-3.0.gir %{_datadir}/gir-1.0/WebKit2-3.0.gir +%{_datadir}/gir-1.0/WebKit2WebExtension-3.0.gir %{_datadir}/gir-1.0/JavaScriptCore-3.0.gir %files doc From 4ed3fcb7b2f5ae8701982236afb93f69ae717240 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 6 Feb 2014 14:41:30 +0100 Subject: [PATCH 14/92] Update to 2.3.5 --- .gitignore | 1 + sources | 2 +- webkitgtk-2.3.4-atomics_h.patch | 12 ------------ webkitgtk3.spec | 9 ++++----- 4 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 webkitgtk-2.3.4-atomics_h.patch diff --git a/.gitignore b/.gitignore index 9b17195..9d82b5c 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.3.2.tar.xz /webkitgtk-2.3.3.tar.xz /webkitgtk-2.3.4.tar.xz +/webkitgtk-2.3.5.tar.xz diff --git a/sources b/sources index 43eaf84..78a80c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f4271fb19c92c4b854b3e59d95b1e57 webkitgtk-2.3.4.tar.xz +8e677aa4bb867b3ef1c4e083c58d771e webkitgtk-2.3.5.tar.xz diff --git a/webkitgtk-2.3.4-atomics_h.patch b/webkitgtk-2.3.4-atomics_h.patch deleted file mode 100644 index 68dcf87..0000000 --- a/webkitgtk-2.3.4-atomics_h.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h.atomics_h webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h ---- webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h.atomics_h 2014-01-17 07:49:55.261905005 +0100 -+++ webkitgtk-2.3.4/Source/WTF/wtf/Atomics.h 2014-01-17 07:51:12.145846305 +0100 -@@ -295,7 +295,7 @@ inline bool weakCompareAndSwap(uint8_t* - "lock; cmpxchgb %3, %2\n\t" - "sete %1" - : "+a"(expected), "=q"(result), "+m"(*location) -- : "r"(newValue) -+ : "q"(newValue) - : "memory" - ); - return result; diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 8e2fb09..5de1dd0 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.4 +Version: 2.3.5 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -20,9 +20,6 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch Patch9: webkitgtk-2.3.2-libatomic.patch -# https://bugs.webkit.org/show_bug.cgi?id=126985 -# Remove when next version will be released -Patch10: webkitgtk-2.3.4-atomics_h.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -103,7 +100,6 @@ This package contains developer documentation for %{name}. %ifarch ppc %patch9 -p1 -b .libatomic %endif -%patch10 -p1 -b .atomics_h %build # Use linker flags to reduce memory consumption @@ -226,6 +222,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Feb 6 2014 Tomas Popela - 2.3.5-1 +- Update to 2.3.5 + * Mon Jan 13 2014 Tomas Popela - 2.3.4-1 - Update to 2.3.4 - Add patch that fixes compilation on i686 From 04f73efdf6ee6c5cf6a080d26f01e2620a432402 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 7 Feb 2014 10:52:25 +0000 Subject: [PATCH 15/92] Add support for aarch64 --- webkitgtk3.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 5de1dd0..34a6543 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -20,6 +20,7 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch Patch9: webkitgtk-2.3.2-libatomic.patch +Patch10: webkitgtk-aarch64.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -100,6 +101,7 @@ This package contains developer documentation for %{name}. %ifarch ppc %patch9 -p1 -b .libatomic %endif +%patch10 -p1 -b .aarch64 %build # Use linker flags to reduce memory consumption @@ -222,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Feb 7 2014 Peter Robinson 2.3.5-2 +- Add support for aarch64 + * Thu Feb 6 2014 Tomas Popela - 2.3.5-1 - Update to 2.3.5 From 750a878a146c94517dcdb94347828da71d5df290 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 7 Feb 2014 10:56:36 +0000 Subject: [PATCH 16/92] add aarch64 patch --- webkitgtk-aarch64.patch | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 webkitgtk-aarch64.patch diff --git a/webkitgtk-aarch64.patch b/webkitgtk-aarch64.patch new file mode 100644 index 0000000..e6601b8 --- /dev/null +++ b/webkitgtk-aarch64.patch @@ -0,0 +1,47 @@ +--- webkitgtk-2.3.5/Source/WTF/wtf/Platform.h.orig 2014-02-04 16:38:03.000000000 +0000 ++++ webkitgtk-2.3.5/Source/WTF/wtf/Platform.h 2014-02-07 10:50:32.639441614 +0000 +@@ -317,6 +317,14 @@ + #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 + #endif + ++/* CPU(AARCH64) - AArch64 */ ++#if defined(__aarch64__) ++#define WTF_CPU_AARCH64 1 ++#if defined(__AARCH64BE__) ++#define WTF_CPU_BIG_ENDIAN 1 ++#endif ++#endif ++ + /* ==== OS() - underlying operating system; only to be used for mandated low-level services like + virtual memory, not to choose a GUI toolkit ==== */ + +@@ -641,7 +649,8 @@ + || CPU(ALPHA) \ + || CPU(ARM64) \ + || CPU(S390X) \ +- || CPU(PPC64) ++ || CPU(PPC64) \ ++ || CPU(AARCH64) + #define WTF_USE_JSVALUE64 1 + #else + #define WTF_USE_JSVALUE32_64 1 +@@ -807,7 +816,7 @@ + #define ENABLE_REGEXP_TRACING 0 + + /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ +-#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) ++#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !CPU(AARCH64) && !CPU(PPC) + #define ENABLE_YARR_JIT 1 + + /* Setting this flag compares JIT results with interpreter results. */ +--- webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h.orig 2014-02-07 10:50:15.238174894 +0000 ++++ webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h 2014-02-07 10:50:32.640441629 +0000 +@@ -49,7 +49,7 @@ + defined(__ARMEL__) || \ + defined(_MIPS_ARCH_MIPS32R2) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 +-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) ++#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) + #if defined(_WIN32) From 92da13a472c7df837f61725cd2c6424fd6407975 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 13 Feb 2014 18:18:47 +0000 Subject: [PATCH 17/92] Rebuild against new libicu --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 34a6543..6b286b7 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -224,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Feb 7 2014 Paul Howarth - 2.3.5-3 +- Rebuild against new libicu + * Fri Feb 7 2014 Peter Robinson 2.3.5-2 - Add support for aarch64 From 818580ec2a6e7c929882c2fc60c2c41ecb4fac74 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 13 Feb 2014 18:19:58 +0000 Subject: [PATCH 18/92] Fix wrong date in changelog --- webkitgtk3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 6b286b7..984446b 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -224,7 +224,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog -* Fri Feb 7 2014 Paul Howarth - 2.3.5-3 +* Thu Feb 13 2014 Paul Howarth - 2.3.5-3 - Rebuild against new libicu * Fri Feb 7 2014 Peter Robinson 2.3.5-2 From e03186d5d440f8e21ba7e5c53da0bc2e4d43af32 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 18 Feb 2014 09:21:01 +0100 Subject: [PATCH 19/92] Update to 2.3.90 Enable full debuginfo on s390x --- .gitignore | 1 + sources | 2 +- webkitgtk3.spec | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9d82b5c..926d02b 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ webkit-1.3.3.tar.gz /webkitgtk-2.3.3.tar.xz /webkitgtk-2.3.4.tar.xz /webkitgtk-2.3.5.tar.xz +/webkitgtk-2.3.90.tar.xz diff --git a/sources b/sources index 78a80c8..9e2a685 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e677aa4bb867b3ef1c4e083c58d771e webkitgtk-2.3.5.tar.xz +870c7e41e816d25dc33b8fc786fc5328 webkitgtk-2.3.90.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 984446b..fbf3c66 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.5 -Release: 3%{?dist} +Version: 2.3.90 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -107,7 +107,7 @@ This package contains developer documentation for %{name}. # Use linker flags to reduce memory consumption %global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -%ifarch s390 s390x %{arm} +%ifarch s390 %{arm} # Decrease debuginfo verbosity to reduce memory consumption even more %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %endif @@ -224,6 +224,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Feb 18 2014 Tomas Popela - 2.3.90-1 +- Update to 2.3.90 +- Enable full debuginfo on s390x + * Thu Feb 13 2014 Paul Howarth - 2.3.5-3 - Rebuild against new libicu From 527ebb445dfe1c5a30d807dccac9ce6b07c74418 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 18 Feb 2014 16:26:00 +0000 Subject: [PATCH 20/92] Disable JIT on aarch64 --- .gitignore | 57 +------------------------------------------------ webkitgtk3.spec | 7 ++++-- 2 files changed, 6 insertions(+), 58 deletions(-) diff --git a/.gitignore b/.gitignore index 926d02b..90f2733 100644 --- a/.gitignore +++ b/.gitignore @@ -1,56 +1 @@ -webkit-1.3.3.tar.gz -/webkit-1.3.4.tar.gz -/webkit-1.3.5.tar.gz -/webkit-1.3.6.tar.gz -/webkit-1.3.7.tar.gz -/webkit-1.3.9.tar.gz -/webkit-1.3.10.tar.gz -/webkit-1.3.11.tar.gz -/webkit-1.3.13.tar.gz -/webkit-1.4.0.tar.gz -/webkit-1.5.1.tar.gz -/webkit-1.6.1.tar.gz -/webkit-1.7.1.tar.gz -/webkit-1.7.2.tar.xz -/webkit-1.7.3.tar.xz -/webkit-1.7.4.tar.xz -/webkit-1.7.5.tar.xz -/webkit-1.7.91.tar.xz -/webkit-1.7.92.tar.xz -/webkit-1.8.0.tar.xz -/webkit-1.8.1.tar.xz -/webkit-1.9.3.tar.xz -/webkit-1.9.4.tar.xz -/webkit-1.9.5.tar.xz -/webkit-1.9.90.tar.xz -/webkit-1.9.91.tar.xz -/webkit-1.9.92.tar.xz -/webkitgtk-1.10.0.tar.xz -/webkitgtk-1.10.1.tar.xz -/webkitgtk-1.11.2.tar.xz -/webkitgtk-1.11.4.tar.xz -/webkitgtk-1.11.5.tar.xz -/webkitgtk-1.11.90.tar.xz -/webkitgtk-1.11.91.tar.xz -/webkitgtk-1.11.92.tar.xz -/webkitgtk-2.0.0.tar.xz -/webkitgtk-2.0.1.tar.xz -/webkitgtk-2.0.2.tar.xz -/webkitgtk-2.1.1.tar.xz -/webkitgtk-2.1.2.tar.xz -/webkitgtk-2.1.3.tar.xz -/webkitgtk-2.1.4.tar.xz -/webkitgtk-2.1.90.tar.xz -/webkitgtk-2.1.90.1.tar.xz -/webkitgtk-2.1.91.tar.xz -/webkitgtk-2.1.92.tar.xz -/webkitgtk-2.2.0.tar.xz -/webkitgtk-2.2.1.tar.xz -/webkitgtk-2.3.1.tar.xz -/webkitgtk-2.2.2.tar.xz -/webkitgtk-2.2.3.tar.xz -/webkitgtk-2.3.2.tar.xz -/webkitgtk-2.3.3.tar.xz -/webkitgtk-2.3.4.tar.xz -/webkitgtk-2.3.5.tar.xz -/webkitgtk-2.3.90.tar.xz +/webkitgtk-2.*.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index fbf3c66..112ee2d 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.90 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -123,7 +123,7 @@ This package contains developer documentation for %{name}. %configure \ --with-gtk=3.0 \ -%ifarch s390 s390x ppc ppc64 +%ifarch s390 s390x ppc ppc64 aarch64 --disable-jit \ %else --enable-jit \ @@ -224,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Feb 18 2014 Peter Robinson 2.3.90-2 +- Disable JIT on aarch64 + * Tue Feb 18 2014 Tomas Popela - 2.3.90-1 - Update to 2.3.90 - Enable full debuginfo on s390x From 500c54515d567ba3c8d1b4f7a04ff88de93ad9d0 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 27 Feb 2014 18:48:20 +0100 Subject: [PATCH 21/92] disable libatomic patch on ppc. webkitgtk3 now uses std::atomic --- webkitgtk3.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 112ee2d..6336887 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.90 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -99,7 +99,7 @@ This package contains developer documentation for %{name}. %patch4 -p1 -b .double2intsPPC32 %endif %ifarch ppc -%patch9 -p1 -b .libatomic +#patch9 -p1 -b .libatomic %endif %patch10 -p1 -b .aarch64 @@ -224,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Feb 27 2014 Karsten Hopp 2.3.90-3 +- disable libatomic patch on ppc. webkitgtk3 now uses std::atomic + * Tue Feb 18 2014 Peter Robinson 2.3.90-2 - Disable JIT on aarch64 From a4dd5144f0e731fe65c058e33a2cd270384a9fe6 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 4 Mar 2014 09:20:42 +0100 Subject: [PATCH 22/92] Update to 2.3.91 --- sources | 2 +- webkitgtk-2.3.2-libatomic.patch | 19 ------------------- webkitgtk3.spec | 15 +++++---------- 3 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 webkitgtk-2.3.2-libatomic.patch diff --git a/sources b/sources index 9e2a685..f4c8083 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -870c7e41e816d25dc33b8fc786fc5328 webkitgtk-2.3.90.tar.xz +97e0a3c3d2155c3d64410743bada9f4d webkitgtk-2.3.91.tar.xz diff --git a/webkitgtk-2.3.2-libatomic.patch b/webkitgtk-2.3.2-libatomic.patch deleted file mode 100644 index 307a812..0000000 --- a/webkitgtk-2.3.2-libatomic.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h.libatomic webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h ---- webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h.libatomic 2013-12-05 15:43:22.160186327 +0100 -+++ webkitgtk-2.3.2/Source/WTF/wtf/Atomics.h 2013-12-05 15:44:02.630264977 +0100 -@@ -101,11 +101,11 @@ inline int atomicDecrement(int volatile* - - #elif COMPILER(GCC) - --inline int atomicIncrement(int volatile* addend) { return __sync_add_and_fetch(addend, 1); } --inline int atomicDecrement(int volatile* addend) { return __sync_sub_and_fetch(addend, 1); } -+inline int atomicIncrement(int volatile* addend) { return __atomic_fetch_add(addend, 1, __ATOMIC_ACQ_REL); } -+inline int atomicDecrement(int volatile* addend) { return __atomic_fetch_sub(addend, 1, __ATOMIC_ACQ_REL); } - --inline int64_t atomicIncrement(int64_t volatile* addend) { return __sync_add_and_fetch(addend, 1); } --inline int64_t atomicDecrement(int64_t volatile* addend) { return __sync_sub_and_fetch(addend, 1); } -+inline int64_t atomicIncrement(int64_t volatile* addend) { return __atomic_fetch_add(addend, 1, __ATOMIC_ACQ_REL); } -+inline int64_t atomicDecrement(int64_t volatile* addend) { return __atomic_fetch_sub(addend, 1, __ATOMIC_ACQ_REL); } - - #endif - diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 6336887..4a4578b 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.90 -Release: 3%{?dist} +Version: 2.3.91 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -19,7 +19,6 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch -Patch9: webkitgtk-2.3.2-libatomic.patch Patch10: webkitgtk-aarch64.patch BuildRequires: at-spi2-core-devel @@ -55,10 +54,6 @@ BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel -%ifarch ppc -BuildRequires: libatomic -%endif - %description WebKitGTK+ is the port of the portable web rendering engine WebKit to the GTK+ platform. @@ -98,9 +93,6 @@ This package contains developer documentation for %{name}. %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif -%ifarch ppc -#patch9 -p1 -b .libatomic -%endif %patch10 -p1 -b .aarch64 %build @@ -224,6 +216,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 4 2014 Tomas Popela - 2.3.91-1 +- Update to 2.3.91 + * Thu Feb 27 2014 Karsten Hopp 2.3.90-3 - disable libatomic patch on ppc. webkitgtk3 now uses std::atomic From 45fdd76fbf294d44a5b01f2656b5ef935e0e7df3 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 4 Mar 2014 14:53:06 +0100 Subject: [PATCH 23/92] Add newly installed file --- webkitgtk3.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 4a4578b..08174ad 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -202,6 +202,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_libdir}/libjavascriptcoregtk-3.0.so %{_libdir}/pkgconfig/webkitgtk-3.0.pc %{_libdir}/pkgconfig/webkit2gtk-3.0.pc +%{_libdir}/pkgconfig/webkit2gtk-web-extension-3.0.pc %{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc %{_datadir}/gir-1.0/WebKit-3.0.gir %{_datadir}/gir-1.0/WebKit2-3.0.gir From 9bc60cb0e5e7002fee1a381d736d744b93089563 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 18 Mar 2014 10:03:39 +0100 Subject: [PATCH 24/92] Update to 2.3.92 --- sources | 2 +- webkitgtk-aarch64.patch | 9 --------- webkitgtk3.spec | 7 +++++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/sources b/sources index f4c8083..b802e8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -97e0a3c3d2155c3d64410743bada9f4d webkitgtk-2.3.91.tar.xz +cd9ba6233421c6d0eefc511daf79001b webkitgtk-2.3.92.tar.xz diff --git a/webkitgtk-aarch64.patch b/webkitgtk-aarch64.patch index e6601b8..fe54daa 100644 --- a/webkitgtk-aarch64.patch +++ b/webkitgtk-aarch64.patch @@ -25,15 +25,6 @@ #define WTF_USE_JSVALUE64 1 #else #define WTF_USE_JSVALUE32_64 1 -@@ -807,7 +816,7 @@ - #define ENABLE_REGEXP_TRACING 0 - - /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ --#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) -+#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !CPU(AARCH64) && !CPU(PPC) - #define ENABLE_YARR_JIT 1 - - /* Setting this flag compares JIT results with interpreter results. */ --- webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h.orig 2014-02-07 10:50:15.238174894 +0000 +++ webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h 2014-02-07 10:50:32.640441629 +0000 @@ -49,7 +49,7 @@ diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 08174ad..6decf76 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.91 +Version: 2.3.92 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -109,7 +109,7 @@ This package contains developer documentation for %{name}. %global optflags %{optflags} -Wl,-relax -latomic %endif -%ifarch s390 s390x ppc ppc64 +%ifarch s390 s390x ppc ppc64 aarch64 %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif @@ -217,6 +217,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 18 2014 Tomas Popela - 2.3.92-1 +- Update to 2.3.92 + * Tue Mar 4 2014 Tomas Popela - 2.3.91-1 - Update to 2.3.91 From 2648ec3813cd3f977bf07d0f08fae81e0e181923 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 19 Mar 2014 11:39:26 +0100 Subject: [PATCH 25/92] Switch over to geoclue2 --- webkitgtk3.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 6decf76..e1048f2 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.3.92 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -29,7 +29,7 @@ BuildRequires: enchant-devel BuildRequires: flex BuildRequires: fontconfig-devel >= 2.5 BuildRequires: freetype-devel -BuildRequires: geoclue-devel +BuildRequires: geoclue2-devel BuildRequires: gettext BuildRequires: gperf BuildRequires: gstreamer1-devel @@ -53,6 +53,7 @@ BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel +Requires: geoclue2 %description WebKitGTK+ is the port of the portable web rendering engine WebKit to the @@ -64,6 +65,7 @@ This package contains WebKitGTK+ for GTK+ 3. Summary: The libwebkit2gtk library Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: geoclue2 %description -n libwebkit2gtk The libwebkit2gtk package contains the libwebkit2gtk library @@ -217,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Mar 19 2014 Kalev Lember - 2.3.92-2 +- Switch over to geoclue2 + * Tue Mar 18 2014 Tomas Popela - 2.3.92-1 - Update to 2.3.92 From f4e69b2b3f85fc6bfa8bb09843b986e00dabf773 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 25 Mar 2014 11:09:13 +0100 Subject: [PATCH 26/92] Update to 2.4.0 --- sources | 2 +- webkitgtk3.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sources b/sources index b802e8b..21acbc5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cd9ba6233421c6d0eefc511daf79001b webkitgtk-2.3.92.tar.xz +c759bf11fe4cadd1268630f16a97f7b9 webkitgtk-2.4.0.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index e1048f2..1c2b79d 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.3.92 -Release: 2%{?dist} +Version: 2.4.0 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -219,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 25 2014 Kalev Lember - 2.4.0-1 +- Update to 2.4.0 + * Wed Mar 19 2014 Kalev Lember - 2.3.92-2 - Switch over to geoclue2 From e719f0f6158786df11b2a46c9a79fcbbc53dd6b7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 14 Apr 2014 21:54:24 +0200 Subject: [PATCH 27/92] Update to 2.4.1 --- sources | 2 +- webkitgtk3.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 21acbc5..eda5de3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c759bf11fe4cadd1268630f16a97f7b9 webkitgtk-2.4.0.tar.xz +c57ebecff1ba7663b303e21a64840c48 webkitgtk-2.4.1.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 1c2b79d..06c136e 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,7 +6,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.0 +Version: 2.4.1 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -219,6 +219,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Apr 14 2014 Kalev Lember - 2.4.1-1 +- Update to 2.4.1 + * Tue Mar 25 2014 Kalev Lember - 2.4.0-1 - Update to 2.4.0 From db35e9b3b08361a9507f0f497c1f613a450fb923 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 7 May 2014 10:49:33 +0200 Subject: [PATCH 28/92] Make sure -devel pulls in libwebkit2gtk --- webkitgtk3.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 06c136e..bcd74c5 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -75,6 +75,7 @@ that is part of %{name}. Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libwebkit2gtk%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries, build data, and header @@ -219,6 +220,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed May 07 2014 Kalev Lember - 2.4.1-2 +- Make sure -devel pulls in libwebkit2gtk + * Mon Apr 14 2014 Kalev Lember - 2.4.1-1 - Update to 2.4.1 From 7f1513c796e9d0f0e0e0eebf65423109725223f0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 12 May 2014 11:04:26 +0200 Subject: [PATCH 29/92] Update to 2.4.2 --- sources | 2 +- webkitgtk3.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sources b/sources index eda5de3..083f89b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c57ebecff1ba7663b303e21a64840c48 webkitgtk-2.4.1.tar.xz +da2b1b0f0863f3f21bdbc0476001589f webkitgtk-2.4.2.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index bcd74c5..02dedc0 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.1 -Release: 2%{?dist} +Version: 2.4.2 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -220,6 +220,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon May 12 2014 Kalev Lember - 2.4.2-1 +- Update to 2.4.2 + * Wed May 07 2014 Kalev Lember - 2.4.1-2 - Make sure -devel pulls in libwebkit2gtk From cef621fe9b24ec4d4abfc6396ddde9960ca31f44 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 13 May 2014 18:05:58 +0200 Subject: [PATCH 30/92] PPC (32bit) needs libatomic in the buildroot --- webkitgtk3.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 02dedc0..1459d5a 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -53,6 +53,9 @@ BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel +%ifarch ppc +BuildRequires: libatomic +%endif Requires: geoclue2 %description @@ -220,6 +223,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue May 13 2014 Karsten Hopp 2.4.2-2 +- PPC (32bit) needs libatomic in the buildroot + * Mon May 12 2014 Kalev Lember - 2.4.2-1 - Update to 2.4.2 From 769a1f3710fb68105c9cff782af2f7d4221627d6 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 14 May 2014 16:51:33 +0200 Subject: [PATCH 31/92] Add support for ppc64le Fix for CLoop on ppc64, ppc64le and s390x --- webkitgtk-2.4.1-cloop_fix.patch | 138 ++++++++++++++++++++++++++++++ webkitgtk-2.4.1-ppc64_align.patch | 45 ++++++++++ webkitgtk-2.4.2-ppc64le.patch | 69 +++++++++++++++ webkitgtk3.spec | 22 ++++- 4 files changed, 271 insertions(+), 3 deletions(-) create mode 100644 webkitgtk-2.4.1-cloop_fix.patch create mode 100644 webkitgtk-2.4.1-ppc64_align.patch create mode 100644 webkitgtk-2.4.2-ppc64le.patch diff --git a/webkitgtk-2.4.1-cloop_fix.patch b/webkitgtk-2.4.1-cloop_fix.patch new file mode 100644 index 0000000..c5d9668 --- /dev/null +++ b/webkitgtk-2.4.1-cloop_fix.patch @@ -0,0 +1,138 @@ +diff -up webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h +--- webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix 2014-04-14 08:40:44.000000000 +0200 ++++ webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2014-04-30 16:10:49.120156216 +0200 +@@ -36,7 +36,7 @@ struct ProtoCallFrame { + Register calleeValue; + Register argCountAndCodeOriginValue; + Register thisArg; +- size_t paddedArgCount; ++ uint32_t paddedArgCount; + JSValue *args; + + void init(CodeBlock*, JSScope*, JSObject*, JSValue, int, JSValue* otherArgs = 0); +@@ -53,7 +53,7 @@ struct ProtoCallFrame { + int argumentCountIncludingThis() const { return argCountAndCodeOriginValue.payload(); } + int argumentCount() const { return argumentCountIncludingThis() - 1; } + void setArgumentCountIncludingThis(int count) { argCountAndCodeOriginValue.payload() = count; } +- void setPaddedArgsCount(size_t argCount) { paddedArgCount = argCount; } ++ void setPaddedArgsCount(uint32_t argCount) { paddedArgCount = argCount; } + + void clearCurrentVPC() { argCountAndCodeOriginValue.tag() = 0; } + +diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp +--- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix 2014-04-30 16:11:18.457540050 +0200 ++++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2014-04-30 16:11:50.944965101 +0200 +@@ -1354,7 +1354,7 @@ LLINT_SLOW_PATH_DECL(slow_path_get_from_ + CodeBlock* codeBlock = exec->codeBlock(); + ConcurrentJITLocker locker(codeBlock->m_lock); + pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); +- pc[6].u.operand = slot.cachedOffset(); ++ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); + } + } + +@@ -1381,7 +1381,7 @@ LLINT_SLOW_PATH_DECL(slow_path_put_to_sc + if (slot.isCacheable() && slot.base() == scope && scope->structure()->propertyAccessesAreCacheable()) { + ConcurrentJITLocker locker(codeBlock->m_lock); + pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); +- pc[6].u.operand = slot.cachedOffset(); ++ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); + } + } + +diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2014-04-14 08:40:44.000000000 +0200 ++++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2014-04-30 16:12:35.648549985 +0200 +@@ -282,7 +282,7 @@ macro doCallToJavaScript(makeCall, doRet + storep temp3, CodeBlock+4[cfr, temp1, 8] + btinz temp1, .copyHeaderLoop + +- loadi ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 ++ loadi PayloadOffset + ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 + subi 1, temp2 + loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp3 + subi 1, temp3 +@@ -2277,7 +2277,7 @@ macro loadWithStructureCheck(operand, sl + end + + macro getProperty() +- loadisFromInstruction(6, t3) ++ loadpFromInstruction(6, t3) + loadPropertyAtVariableOffset(t3, t0, t1, t2) + valueProfile(t1, t2, 28, t0) + loadisFromInstruction(1, t0) +@@ -2297,7 +2297,7 @@ end + + macro getClosureVar() + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t3) ++ loadpFromInstruction(6, t3) + loadp TagOffset[t0, t3, 8], t1 + loadp PayloadOffset[t0, t3, 8], t2 + valueProfile(t1, t2, 28, t0) +@@ -2356,7 +2356,7 @@ _llint_op_get_from_scope: + macro putProperty() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2, t3) +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storePropertyAtVariableOffset(t1, t0, t2, t3) + end + +@@ -2374,7 +2374,7 @@ macro putClosureVar() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2, t3) + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storei t2, TagOffset[t0, t1, 8] + storei t3, PayloadOffset[t0, t1, 8] + end +diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm +--- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix 2014-04-14 08:40:44.000000000 +0200 ++++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2014-04-30 16:10:49.121156229 +0200 +@@ -171,7 +171,7 @@ macro doCallToJavaScript(makeCall, doRet + storep temp3, CodeBlock[cfr, temp1, 8] + btinz temp1, .copyHeaderLoop + +- loadi ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 ++ loadi PayloadOffset + ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 + subi 1, temp2 + loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp3 + subi 1, temp3 +@@ -2047,7 +2047,7 @@ macro loadWithStructureCheck(operand, sl + end + + macro getProperty() +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + loadPropertyAtVariableOffset(t1, t0, t2) + valueProfile(t2, 7, t0) + loadisFromInstruction(1, t0) +@@ -2064,7 +2064,7 @@ end + + macro getClosureVar() + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + loadq [t0, t1, 8], t0 + valueProfile(t0, 7, t1) + loadisFromInstruction(1, t1) +@@ -2121,7 +2121,7 @@ _llint_op_get_from_scope: + macro putProperty() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2) +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storePropertyAtVariableOffset(t1, t0, t2) + end + +@@ -2138,7 +2138,7 @@ macro putClosureVar() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2) + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storeq t2, [t0, t1, 8] + end + diff --git a/webkitgtk-2.4.1-ppc64_align.patch b/webkitgtk-2.4.1-ppc64_align.patch new file mode 100644 index 0000000..5186d60 --- /dev/null +++ b/webkitgtk-2.4.1-ppc64_align.patch @@ -0,0 +1,45 @@ +diff -up webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h +--- webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align 2014-05-12 08:03:53.000000000 +0200 ++++ webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h 2014-05-14 15:16:36.946318596 +0200 +@@ -81,7 +81,7 @@ public: + size_t size(); + size_t capacity(); + +- static const size_t blockSize = 32 * KB; ++ static const size_t blockSize = 64 * KB; + + bool hasWorkList(); + CopyWorkList& workList(); +diff -up webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp +--- webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align 2014-05-12 08:03:53.000000000 +0200 ++++ webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp 2014-05-14 15:17:35.617171141 +0200 +@@ -49,7 +49,8 @@ JSStack::JSStack(VM& vm, size_t capacity + { + ASSERT(capacity && isPageAligned(capacity)); + +- m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitSize), OSAllocator::JSVMStackPages); ++ size_t commitsize = pageSize(); ++ m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitsize), OSAllocator::JSVMStackPages); + updateStackLimit(highAddress()); + m_commitEnd = highAddress(); + +@@ -78,7 +79,8 @@ bool JSStack::growSlowCase(Register* new + // Compute the chunk size of additional memory to commit, and see if we + // have it is still within our budget. If not, we'll fail to grow and + // return false. +- long delta = roundUpAllocationSize(reinterpret_cast(m_commitEnd) - reinterpret_cast(newEnd), commitSize); ++ size_t commitsize = pageSize(); ++ long delta = roundUpAllocationSize(reinterpret_cast(m_commitEnd) - reinterpret_cast(newEnd), commitsize); + if (reinterpret_cast(m_commitEnd) - delta <= reinterpret_cast(m_useableEnd)) + return false; + +@@ -134,7 +136,8 @@ void JSStack::enableErrorStackReserve() + + void JSStack::disableErrorStackReserve() + { +- char* useableEnd = reinterpret_cast(reservationEnd()) + commitSize; ++ size_t commitsize = pageSize(); ++ char* useableEnd = reinterpret_cast(reservationEnd()) + commitsize; + m_useableEnd = reinterpret_cast_ptr(useableEnd); + + // By the time we get here, we are guaranteed to be destructing the last diff --git a/webkitgtk-2.4.2-ppc64le.patch b/webkitgtk-2.4.2-ppc64le.patch new file mode 100644 index 0000000..3618d98 --- /dev/null +++ b/webkitgtk-2.4.2-ppc64le.patch @@ -0,0 +1,69 @@ +diff -up webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h.ppc64le webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h +--- webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h.ppc64le 2014-05-14 15:37:26.360159487 +0200 ++++ webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h 2014-05-14 15:38:46.938315499 +0200 +@@ -49,7 +49,7 @@ + defined(__ARMEL__) || \ + defined(_MIPS_ARCH_MIPS32R2) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 +-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) ++#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) + #if defined(_WIN32) +diff -up webkitgtk-2.4.2/Source/WTF/wtf/Platform.h.ppc64le webkitgtk-2.4.2/Source/WTF/wtf/Platform.h +--- webkitgtk-2.4.2/Source/WTF/wtf/Platform.h.ppc64le 2014-05-12 08:03:53.000000000 +0200 ++++ webkitgtk-2.4.2/Source/WTF/wtf/Platform.h 2014-05-14 15:39:08.402622454 +0200 +@@ -101,24 +101,38 @@ + #endif /* MIPS */ + + /* CPU(PPC) - PowerPC 32-bit */ +-#if defined(__ppc__) \ ++#if ( defined(__ppc__) \ + || defined(__PPC__) \ + || defined(__powerpc__) \ + || defined(__powerpc) \ + || defined(__POWERPC__) \ + || defined(_M_PPC) \ +- || defined(__PPC) ++ || defined(__PPC)) \ ++ && defined(__BYTE_ORDER__) \ ++ && (__BYTE_ORDER__==__ORDER_BIG_ENDIAN__) + #define WTF_CPU_PPC 1 + #define WTF_CPU_BIG_ENDIAN 1 + #endif + +-/* CPU(PPC64) - PowerPC 64-bit */ +-#if defined(__ppc64__) \ +- || defined(__PPC64__) ++/* CPU(PPC64) - PowerPC 64-bit Big Endian */ ++#if ( defined(__ppc64__) \ ++ || defined(__PPC64__)) \ ++ && defined(__BYTE_ORDER__) \ ++ && (__BYTE_ORDER__==__ORDER_BIG_ENDIAN__) + #define WTF_CPU_PPC64 1 + #define WTF_CPU_BIG_ENDIAN 1 + #endif + ++/* CPU(PPC64) - PowerPC 64-bit Little Endian */ ++#if ( defined(__ppc64__) \ ++ || defined(__PPC64__) \ ++ || defined(__ppc64le__) \ ++ || defined(__PPC64LE__)) \ ++ && defined(__BYTE_ORDER__) \ ++ && (__BYTE_ORDER__==__ORDER_LITTLE_ENDIAN__) ++#define WTF_CPU_PPC64LE 1 ++#endif ++ + /* CPU(SH4) - SuperH SH-4 */ + #if defined(__SH4__) + #define WTF_CPU_SH4 1 +@@ -641,7 +655,8 @@ + || CPU(ALPHA) \ + || CPU(ARM64) \ + || CPU(S390X) \ +- || CPU(PPC64) ++ || CPU(PPC64) \ ++ || CPU(PPC64LE) + #define WTF_USE_JSVALUE64 1 + #else + #define WTF_USE_JSVALUE32_64 1 diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 1459d5a..61eebb2 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -20,6 +20,9 @@ Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch Patch10: webkitgtk-aarch64.patch +Patch11: webkitgtk-2.4.1-cloop_fix.patch +Patch12: webkitgtk-2.4.1-ppc64_align.patch +Patch13: webkitgtk-2.4.2-ppc64le.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -99,7 +102,16 @@ This package contains developer documentation for %{name}. %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif +%ifarch aarch64 %patch10 -p1 -b .aarch64 +%endif +%ifarch %{power64} s390x +%patch11 -p1 -b .cloop_fix +%endif +%ifarch %{power64} +%patch12 -p1 -b .ppc64_align +%endif +%patch13 -p1 -b .ppc64le %build # Use linker flags to reduce memory consumption @@ -115,13 +127,13 @@ This package contains developer documentation for %{name}. %global optflags %{optflags} -Wl,-relax -latomic %endif -%ifarch s390 s390x ppc ppc64 aarch64 +%ifarch s390 s390x ppc %{power64} aarch64 %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif %configure \ --with-gtk=3.0 \ -%ifarch s390 s390x ppc ppc64 aarch64 +%ifarch s390 s390x ppc %{power64} aarch64 --disable-jit \ %else --enable-jit \ @@ -223,6 +235,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed May 14 2014 Tomas Popela 2.4.2-3 +- Add support for ppc64le +- Fix for CLoop on ppc64, ppc64le and s390x + * Tue May 13 2014 Karsten Hopp 2.4.2-2 - PPC (32bit) needs libatomic in the buildroot From edd519f2224b5a4567ec3d1c943d562ed5a3daf6 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 18 May 2014 09:16:15 +0100 Subject: [PATCH 32/92] Fix aarch64 build --- webkitgtk3.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 61eebb2..db82f65 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -110,8 +110,8 @@ This package contains developer documentation for %{name}. %endif %ifarch %{power64} %patch12 -p1 -b .ppc64_align -%endif %patch13 -p1 -b .ppc64le +%endif %build # Use linker flags to reduce memory consumption @@ -235,6 +235,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sun May 18 2014 Peter Robinson 2.4.2-4 +- Fix aarch64 build + * Wed May 14 2014 Tomas Popela 2.4.2-3 - Add support for ppc64le - Fix for CLoop on ppc64, ppc64le and s390x From 581a9135c5110b0c36cdc434f7990f43a3c19745 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 27 May 2014 12:20:01 +0200 Subject: [PATCH 33/92] Update to 2.4.3 --- sources | 2 +- webkitgtk3.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 083f89b..b34b0cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -da2b1b0f0863f3f21bdbc0476001589f webkitgtk-2.4.2.tar.xz +c5861552d9ecd6d7854a4d462ff25924 webkitgtk-2.4.3.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index db82f65..4c2b84e 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.2 -Release: 4%{?dist} +Version: 2.4.3 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -235,6 +235,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue May 27 2014 Tomas Popela 2.4.3-1 +- Update to 2.4.3 + * Sun May 18 2014 Peter Robinson 2.4.2-4 - Fix aarch64 build From 5e6b5ed2669b85972ac64d2c2d2a765271dbb1e7 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 23:20:54 -0500 Subject: [PATCH 34/92] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 4c2b84e..be1fab5 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -235,6 +235,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 2.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Tue May 27 2014 Tomas Popela 2.4.3-1 - Update to 2.4.3 From 2f4f7015ee0ce1a83f6d40f40e89df976775c987 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 4 Jul 2014 07:25:21 +0200 Subject: [PATCH 35/92] rhbz#1088480 - [abrt] libwebkit2gtk: TSymbolTableLevel::~TSymbolTableLevel(): WebKitWebProcess killed by SIGSEGV --- webkitgtk-2.4.3-angle_symbol_table.patch | 12 ++++++++++++ webkitgtk3.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.3-angle_symbol_table.patch diff --git a/webkitgtk-2.4.3-angle_symbol_table.patch b/webkitgtk-2.4.3-angle_symbol_table.patch new file mode 100644 index 0000000..e358042 --- /dev/null +++ b/webkitgtk-2.4.3-angle_symbol_table.patch @@ -0,0 +1,12 @@ +--- a/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp ++++ b/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp +@@ -171,7 +171,8 @@ TFunction::~TFunction() + TSymbolTableLevel::~TSymbolTableLevel() + { + for (tLevel::iterator it = level.begin(); it != level.end(); ++it) +- delete (*it).second; ++ if ((*it).first == (*it).second->getMangledName()) ++ delete (*it).second; + } + + // diff --git a/webkitgtk3.spec b/webkitgtk3.spec index be1fab5..ecb10a1 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -19,6 +19,9 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch +# https://bugs.webkit.org/show_bug.cgi?id=134593 +# Remove when 2.4.4 will be out +Patch5: webkitgtk-2.4.3-angle_symbol_table.patch Patch10: webkitgtk-aarch64.patch Patch11: webkitgtk-2.4.1-cloop_fix.patch Patch12: webkitgtk-2.4.1-ppc64_align.patch @@ -99,6 +102,7 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper +%patch5 -p1 -b .angle_symbol_table %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif @@ -235,6 +239,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Jul 04 2014 Tomas Popela 2.4.3-3 +- rhbz#1088480 - [abrt] libwebkit2gtk: TSymbolTableLevel::~TSymbolTableLevel(): WebKitWebProcess killed by SIGSEGV + * Sun Jun 08 2014 Fedora Release Engineering - 2.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From d70e882febc0538ff78898e72813db92607e690e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 4 Jul 2014 16:35:09 +0100 Subject: [PATCH 36/92] Fix for 64k pages on aarch64 (#1074093, #1113345) --- webkitgtk3.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index ecb10a1..eb8ab03 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -112,8 +112,10 @@ This package contains developer documentation for %{name}. %ifarch %{power64} s390x %patch11 -p1 -b .cloop_fix %endif -%ifarch %{power64} +%ifarch %{power64} aarch64 %patch12 -p1 -b .ppc64_align +%endif +%ifarch %{power64} %patch13 -p1 -b .ppc64le %endif @@ -239,6 +241,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Jul 4 2014 Yaakov Selkowitz - 2.4.3-4 +- Fix for 64k pages on aarch64 (#1074093, #1113345) + * Fri Jul 04 2014 Tomas Popela 2.4.3-3 - rhbz#1088480 - [abrt] libwebkit2gtk: TSymbolTableLevel::~TSymbolTableLevel(): WebKitWebProcess killed by SIGSEGV From c118d3b9bbdb1a187595dc3aec26321152e65a38 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 8 Jul 2014 17:30:46 +0200 Subject: [PATCH 37/92] Update to 2.4.4 --- sources | 2 +- webkitgtk-2.4.3-angle_symbol_table.patch | 12 ------------ webkitgtk3.spec | 11 +++++------ 3 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 webkitgtk-2.4.3-angle_symbol_table.patch diff --git a/sources b/sources index b34b0cf..f691369 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c5861552d9ecd6d7854a4d462ff25924 webkitgtk-2.4.3.tar.xz +79edd28d32172abc17a8861622cc274f webkitgtk-2.4.4.tar.xz diff --git a/webkitgtk-2.4.3-angle_symbol_table.patch b/webkitgtk-2.4.3-angle_symbol_table.patch deleted file mode 100644 index e358042..0000000 --- a/webkitgtk-2.4.3-angle_symbol_table.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp -+++ b/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp -@@ -171,7 +171,8 @@ TFunction::~TFunction() - TSymbolTableLevel::~TSymbolTableLevel() - { - for (tLevel::iterator it = level.begin(); it != level.end(); ++it) -- delete (*it).second; -+ if ((*it).first == (*it).second->getMangledName()) -+ delete (*it).second; - } - - // diff --git a/webkitgtk3.spec b/webkitgtk3.spec index eb8ab03..0135838 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.3 -Release: 4%{?dist} +Version: 2.4.4 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -19,9 +19,6 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch # https://bugs.webkit.org/show_bug.cgi?id=103128 Patch4: webkit-2.1.90-double2intsPPC32.patch -# https://bugs.webkit.org/show_bug.cgi?id=134593 -# Remove when 2.4.4 will be out -Patch5: webkitgtk-2.4.3-angle_symbol_table.patch Patch10: webkitgtk-aarch64.patch Patch11: webkitgtk-2.4.1-cloop_fix.patch Patch12: webkitgtk-2.4.1-ppc64_align.patch @@ -102,7 +99,6 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper -%patch5 -p1 -b .angle_symbol_table %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif @@ -241,6 +237,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Jul 08 2014 Kalev Lember - 2.4.4-1 +- Update to 2.4.4 + * Fri Jul 4 2014 Yaakov Selkowitz - 2.4.3-4 - Fix for 64k pages on aarch64 (#1074093, #1113345) From 14e6cfeaaced0fd8df3e276fba334c4efa3caf15 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 22 Jul 2014 20:39:24 +0200 Subject: [PATCH 38/92] Rebuilt for gobject-introspection 1.41.4 --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 0135838..e68d9b1 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -237,6 +237,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Jul 22 2014 Kalev Lember - 2.4.4-2 +- Rebuilt for gobject-introspection 1.41.4 + * Tue Jul 08 2014 Kalev Lember - 2.4.4-1 - Update to 2.4.4 From 9aaa67b26d9df06f325279b84a0f03969ff9be12 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 23 Jul 2014 15:46:17 +0200 Subject: [PATCH 39/92] Fix CLoop on ppc32 and s390 Add geoclue-devel as BR as WK1 needs it --- webkitgtk-2.4.1-cloop_fix.patch | 87 ++++++++++++++++++++++++++++----- webkitgtk3.spec | 13 +++-- 2 files changed, 82 insertions(+), 18 deletions(-) diff --git a/webkitgtk-2.4.1-cloop_fix.patch b/webkitgtk-2.4.1-cloop_fix.patch index c5d9668..2675caf 100644 --- a/webkitgtk-2.4.1-cloop_fix.patch +++ b/webkitgtk-2.4.1-cloop_fix.patch @@ -1,6 +1,6 @@ -diff -up webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h ---- webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix 2014-04-14 08:40:44.000000000 +0200 -+++ webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2014-04-30 16:10:49.120156216 +0200 +diff -up webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h +--- webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix 2014-07-23 14:15:45.497658648 +0200 ++++ webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2014-07-23 14:16:46.997687779 +0200 @@ -36,7 +36,7 @@ struct ProtoCallFrame { Register calleeValue; Register argCountAndCodeOriginValue; @@ -19,9 +19,9 @@ diff -up webkitgtk-2.4.1/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloo void clearCurrentVPC() { argCountAndCodeOriginValue.tag() = 0; } -diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp ---- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix 2014-04-30 16:11:18.457540050 +0200 -+++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2014-04-30 16:11:50.944965101 +0200 +diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp +--- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix 2014-07-23 14:16:02.057667404 +0200 ++++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2014-07-23 14:16:46.997687779 +0200 @@ -1354,7 +1354,7 @@ LLINT_SLOW_PATH_DECL(slow_path_get_from_ CodeBlock* codeBlock = exec->codeBlock(); ConcurrentJITLocker locker(codeBlock->m_lock); @@ -40,9 +40,9 @@ diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fi } } -diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2014-04-14 08:40:44.000000000 +0200 -+++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2014-04-30 16:12:35.648549985 +0200 +diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2014-07-23 14:16:13.047672325 +0200 ++++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2014-07-23 14:18:27.547721786 +0200 @@ -282,7 +282,7 @@ macro doCallToJavaScript(makeCall, doRet storep temp3, CodeBlock+4[cfr, temp1, 8] btinz temp1, .copyHeaderLoop @@ -52,7 +52,68 @@ diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as subi 1, temp2 loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp3 subi 1, temp3 -@@ -2277,7 +2277,7 @@ macro loadWithStructureCheck(operand, sl +@@ -321,7 +321,7 @@ macro doCallToJavaScript(makeCall, doRet + + .calleeFramePopped: + loadp Callee[cfr], temp3 # VM.topCallFrame +- loadp ScopeChain[cfr], temp4 ++ loadp ScopeChain + PayloadOffset[cfr], temp4 + storep temp4, [temp3] + + doReturn(extraStackSpace) +@@ -598,7 +598,7 @@ end + + + macro branchIfException(label) +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + bieq VM::m_exception + TagOffset[t3], EmptyValueTag, .noException +@@ -2039,7 +2039,7 @@ _llint_op_catch: + # the interpreter's throw trampoline (see _llint_throw_trampoline). + # The throwing code must have known that we were throwing to the interpreter, + # and have set VM::targetInterpreterPCForThrow. +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + loadp VM::callFrameForThrow[t3], cfr +@@ -2159,7 +2159,7 @@ macro nativeCallTrampoline(executableOff + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + elsif C_LOOP +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + storep cfr, VM::topCallFrame[t3] +@@ -2172,7 +2172,7 @@ macro nativeCallTrampoline(executableOff + move t2, cfr + cloopCallNative executableOffsetToFunction[t1] + restoreReturnAddressBeforeReturn(t3) +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + else +@@ -2212,7 +2212,7 @@ macro resolveScope() + addi 1, t2 + + .resolveScopeAfterActivationCheck: +- loadp ScopeChain[cfr], t0 ++ loadp ScopeChain + PayloadOffset[cfr], t0 + btiz t2, .resolveScopeLoopEnd + + .resolveScopeLoop: +@@ -2271,13 +2271,13 @@ _llint_op_resolve_scope: + + macro loadWithStructureCheck(operand, slowPath) + loadisFromInstruction(operand, t0) +- loadp [cfr, t0, 8], t0 ++ loadp PayloadOffset[cfr, t0, 8], t0 + loadpFromInstruction(5, t1) + bpneq JSCell::m_structure[t0], t1, slowPath end macro getProperty() @@ -88,9 +149,9 @@ diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as storei t2, TagOffset[t0, t1, 8] storei t3, PayloadOffset[t0, t1, 8] end -diff -up webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm ---- webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix 2014-04-14 08:40:44.000000000 +0200 -+++ webkitgtk-2.4.1/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2014-04-30 16:10:49.121156229 +0200 +diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm +--- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix 2014-07-23 14:16:19.147675074 +0200 ++++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2014-07-23 14:16:46.997687779 +0200 @@ -171,7 +171,7 @@ macro doCallToJavaScript(makeCall, doRet storep temp3, CodeBlock[cfr, temp1, 8] btinz temp1, .copyHeaderLoop diff --git a/webkitgtk3.spec b/webkitgtk3.spec index e68d9b1..bbdf15f 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -33,6 +33,7 @@ BuildRequires: flex BuildRequires: fontconfig-devel >= 2.5 BuildRequires: freetype-devel BuildRequires: geoclue2-devel +BuildRequires: geoclue-devel BuildRequires: gettext BuildRequires: gperf BuildRequires: gstreamer1-devel @@ -99,16 +100,14 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper +%patch11 -p1 -b .cloop_fix %ifarch ppc s390 %patch4 -p1 -b .double2intsPPC32 %endif %ifarch aarch64 %patch10 -p1 -b .aarch64 %endif -%ifarch %{power64} s390x -%patch11 -p1 -b .cloop_fix -%endif -%ifarch %{power64} aarch64 +%ifarch %{power64} aarch64 ppc %patch12 -p1 -b .ppc64_align %endif %ifarch %{power64} @@ -237,6 +236,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Jul 23 2014 Tomas Popela - 2.4.4-3 +- Fix CLoop on ppc32 and s390 +- Add geoclue-devel as BR as WK1 needs it + * Tue Jul 22 2014 Kalev Lember - 2.4.4-2 - Rebuilt for gobject-introspection 1.41.4 From 7a8e66fd1cc6918782c573e3d50aefe7bd83f50a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 23 Jul 2014 16:35:00 +0200 Subject: [PATCH 40/92] Remove geoclue-devel from BR --- webkitgtk3.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index bbdf15f..f56c128 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -33,7 +33,6 @@ BuildRequires: flex BuildRequires: fontconfig-devel >= 2.5 BuildRequires: freetype-devel BuildRequires: geoclue2-devel -BuildRequires: geoclue-devel BuildRequires: gettext BuildRequires: gperf BuildRequires: gstreamer1-devel @@ -236,6 +235,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Jul 23 2014 Tomas Popela - 2.4.4-4 +- Remove geoclue-devel from BR + * Wed Jul 23 2014 Tomas Popela - 2.4.4-3 - Fix CLoop on ppc32 and s390 - Add geoclue-devel as BR as WK1 needs it From 769d0fc82a8b4ad860593ac23f322208b1a3f2e9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 08:26:26 +0000 Subject: [PATCH 41/92] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index f56c128..2f0e97c 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -235,6 +235,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 2.4.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Wed Jul 23 2014 Tomas Popela - 2.4.4-4 - Remove geoclue-devel from BR From a43fec5ce60b36cbb165f22c1b43e12d21119c5e Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 26 Aug 2014 12:58:01 +0200 Subject: [PATCH 42/92] Update to 2.4.5 --- sources | 2 +- ...atch => webkitgtk-2.4.5-cloop_fix_32.patch | 12 ++++---- webkitgtk3.spec | 28 +++++++++---------- 3 files changed, 20 insertions(+), 22 deletions(-) rename webkit-2.1.90-double2intsPPC32.patch => webkitgtk-2.4.5-cloop_fix_32.patch (54%) diff --git a/sources b/sources index f691369..6b4c673 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -79edd28d32172abc17a8861622cc274f webkitgtk-2.4.4.tar.xz +c2e1687bb0314a0948fbf78e2d1e931f webkitgtk-2.4.5.tar.xz diff --git a/webkit-2.1.90-double2intsPPC32.patch b/webkitgtk-2.4.5-cloop_fix_32.patch similarity index 54% rename from webkit-2.1.90-double2intsPPC32.patch rename to webkitgtk-2.4.5-cloop_fix_32.patch index b904490..96c53ad 100644 --- a/webkit-2.1.90-double2intsPPC32.patch +++ b/webkitgtk-2.4.5-cloop_fix_32.patch @@ -1,6 +1,6 @@ -diff -up webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.double2intsPPC32 webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.double2intsPPC32 2013-08-28 21:06:29.000000000 +0200 -+++ webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2013-09-12 15:32:34.000000000 +0200 +diff -up webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_32 webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_32 2013-08-28 21:06:29.000000000 +0200 ++++ webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2013-09-12 15:32:34.000000000 +0200 @@ -1679,7 +1679,7 @@ _llint_op_next_pname: loadi 20[PC], t2 loadi PayloadOffset[cfr, t2, 8], t2 @@ -10,9 +10,9 @@ diff -up webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter32_64 addi 1, t0 storei t0, PayloadOffset[cfr, t1, 8] loadi 4[PC], t1 -diff -up webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.double2intsPPC32 webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm ---- webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.double2intsPPC32 2013-08-28 21:06:29.000000000 +0200 -+++ webkitgtk-2.1.90.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2013-09-12 15:32:34.000000000 +0200 +diff -up webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_32 webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm +--- webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_32 2013-08-28 21:06:29.000000000 +0200 ++++ webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2013-09-12 15:32:34.000000000 +0200 @@ -276,13 +276,13 @@ macro assertNotConstant(index) end diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2f0e97c..2da9831 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.4 -Release: 5%{?dist} +Version: 2.4.5 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -17,12 +17,10 @@ URL: http://www.webkitgtk.org/ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz Patch0: webkit-1.1.14-nspluginwrapper.patch -# https://bugs.webkit.org/show_bug.cgi?id=103128 -Patch4: webkit-2.1.90-double2intsPPC32.patch -Patch10: webkitgtk-aarch64.patch -Patch11: webkitgtk-2.4.1-cloop_fix.patch -Patch12: webkitgtk-2.4.1-ppc64_align.patch -Patch13: webkitgtk-2.4.2-ppc64le.patch +Patch1: webkitgtk-aarch64.patch +Patch2: webkitgtk-2.4.1-cloop_fix.patch +Patch3: webkitgtk-2.4.5-cloop_fix_32.patch +Patch4: webkitgtk-2.4.1-ppc64_align.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -99,18 +97,15 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper -%patch11 -p1 -b .cloop_fix +%patch2 -p1 -b .cloop_fix %ifarch ppc s390 -%patch4 -p1 -b .double2intsPPC32 +%patch3 -p1 -b .cloop_fix_32 %endif %ifarch aarch64 -%patch10 -p1 -b .aarch64 +%patch1 -p1 -b .aarch64 %endif %ifarch %{power64} aarch64 ppc -%patch12 -p1 -b .ppc64_align -%endif -%ifarch %{power64} -%patch13 -p1 -b .ppc64le +%patch4 -p1 -b .ppc64_align %endif %build @@ -235,6 +230,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Aug 26 2014 Tomas Popela - 2.4.5-1 +- Update to 2.4.5 + * Mon Aug 18 2014 Fedora Release Engineering - 2.4.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From b3197c85b6dbeaacff92b0099f8126cdc3cdcc42 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 26 Aug 2014 13:06:55 +0200 Subject: [PATCH 43/92] Remove the PPC64LE patch that was upstreamed --- webkitgtk-2.4.2-ppc64le.patch | 69 ----------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 webkitgtk-2.4.2-ppc64le.patch diff --git a/webkitgtk-2.4.2-ppc64le.patch b/webkitgtk-2.4.2-ppc64le.patch deleted file mode 100644 index 3618d98..0000000 --- a/webkitgtk-2.4.2-ppc64le.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff -up webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h.ppc64le webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h ---- webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h.ppc64le 2014-05-14 15:37:26.360159487 +0200 -+++ webkitgtk-2.4.2/Source/WTF/wtf/dtoa/utils.h 2014-05-14 15:38:46.938315499 +0200 -@@ -49,7 +49,7 @@ - defined(__ARMEL__) || \ - defined(_MIPS_ARCH_MIPS32R2) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 --#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) -+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(_M_IX86) || defined(__i386__) - #if defined(_WIN32) -diff -up webkitgtk-2.4.2/Source/WTF/wtf/Platform.h.ppc64le webkitgtk-2.4.2/Source/WTF/wtf/Platform.h ---- webkitgtk-2.4.2/Source/WTF/wtf/Platform.h.ppc64le 2014-05-12 08:03:53.000000000 +0200 -+++ webkitgtk-2.4.2/Source/WTF/wtf/Platform.h 2014-05-14 15:39:08.402622454 +0200 -@@ -101,24 +101,38 @@ - #endif /* MIPS */ - - /* CPU(PPC) - PowerPC 32-bit */ --#if defined(__ppc__) \ -+#if ( defined(__ppc__) \ - || defined(__PPC__) \ - || defined(__powerpc__) \ - || defined(__powerpc) \ - || defined(__POWERPC__) \ - || defined(_M_PPC) \ -- || defined(__PPC) -+ || defined(__PPC)) \ -+ && defined(__BYTE_ORDER__) \ -+ && (__BYTE_ORDER__==__ORDER_BIG_ENDIAN__) - #define WTF_CPU_PPC 1 - #define WTF_CPU_BIG_ENDIAN 1 - #endif - --/* CPU(PPC64) - PowerPC 64-bit */ --#if defined(__ppc64__) \ -- || defined(__PPC64__) -+/* CPU(PPC64) - PowerPC 64-bit Big Endian */ -+#if ( defined(__ppc64__) \ -+ || defined(__PPC64__)) \ -+ && defined(__BYTE_ORDER__) \ -+ && (__BYTE_ORDER__==__ORDER_BIG_ENDIAN__) - #define WTF_CPU_PPC64 1 - #define WTF_CPU_BIG_ENDIAN 1 - #endif - -+/* CPU(PPC64) - PowerPC 64-bit Little Endian */ -+#if ( defined(__ppc64__) \ -+ || defined(__PPC64__) \ -+ || defined(__ppc64le__) \ -+ || defined(__PPC64LE__)) \ -+ && defined(__BYTE_ORDER__) \ -+ && (__BYTE_ORDER__==__ORDER_LITTLE_ENDIAN__) -+#define WTF_CPU_PPC64LE 1 -+#endif -+ - /* CPU(SH4) - SuperH SH-4 */ - #if defined(__SH4__) - #define WTF_CPU_SH4 1 -@@ -641,7 +655,8 @@ - || CPU(ALPHA) \ - || CPU(ARM64) \ - || CPU(S390X) \ -- || CPU(PPC64) -+ || CPU(PPC64) \ -+ || CPU(PPC64LE) - #define WTF_USE_JSVALUE64 1 - #else - #define WTF_USE_JSVALUE32_64 1 From 59380741c1f1cd06715b62487ae0f8955375fe95 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 26 Aug 2014 16:48:20 +0200 Subject: [PATCH 44/92] rebuild for ICU 53.1 --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2da9831..979b209 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -230,6 +230,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Aug 26 2014 David Tardon - 2.4.5-2 +- rebuild for ICU 53.1 + * Tue Aug 26 2014 Tomas Popela - 2.4.5-1 - Update to 2.4.5 From c688535f1009d139be55d6a1035a092e6ca9b08b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 26 Aug 2014 17:52:14 +0200 Subject: [PATCH 45/92] Disable support for webkit2 API It's now provided by the webkitgtk4 package. --- webkitgtk3.spec | 42 ++++++------------------------------------ 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 979b209..131ef6e 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -65,21 +65,10 @@ GTK+ platform. This package contains WebKitGTK+ for GTK+ 3. -%package -n libwebkit2gtk -Summary: The libwebkit2gtk library -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: geoclue2 - -%description -n libwebkit2gtk -The libwebkit2gtk package contains the libwebkit2gtk library -that is part of %{name}. - %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: libwebkit2gtk%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries, build data, and header @@ -128,6 +117,7 @@ This package contains developer documentation for %{name}. %configure \ --with-gtk=3.0 \ + --disable-webkit2 \ %ifarch s390 s390x ppc %{power64} aarch64 --disable-jit \ %else @@ -150,16 +140,11 @@ make install DESTDIR=%{buildroot} install -d -m 755 %{buildroot}%{_libexecdir}/%{name} install -m 755 Programs/GtkLauncher %{buildroot}%{_libexecdir}/%{name} -install -m 755 Programs/MiniBrowser %{buildroot}%{_libexecdir}/%{name} # Remove lib64 rpaths chrpath --delete %{buildroot}%{_bindir}/jsc-3 chrpath --delete %{buildroot}%{_libdir}/libwebkitgtk-3.0.so -chrpath --delete %{buildroot}%{_libdir}/libwebkit2gtk-3.0.so chrpath --delete %{buildroot}%{_libexecdir}/%{name}/GtkLauncher -chrpath --delete %{buildroot}%{_libexecdir}/%{name}/MiniBrowser -chrpath --delete %{buildroot}%{_libexecdir}/WebKitPluginProcess -chrpath --delete %{buildroot}%{_libexecdir}/WebKitWebProcess # Remove .la files find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete @@ -183,9 +168,6 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post -n libwebkit2gtk -p /sbin/ldconfig -%postun -n libwebkit2gtk -p /sbin/ldconfig - %files -f WebKitGTK-3.0.lang %doc %{_pkgdocdir}/ @@ -197,39 +179,27 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_libexecdir}/%{name}/GtkLauncher %{_datadir}/webkitgtk-3.0 -%files -n libwebkit2gtk -%{_libdir}/libwebkit2gtk-3.0.so.* -%{_libdir}/webkit2gtk-3.0/ -%{_libdir}/girepository-1.0/WebKit2-3.0.typelib -%{_libdir}/girepository-1.0/WebKit2WebExtension-3.0.typelib -%{_libexecdir}/%{name}/MiniBrowser -%{_libexecdir}/WebKitNetworkProcess -%{_libexecdir}/WebKitPluginProcess -%{_libexecdir}/WebKitWebProcess - %files devel %{_bindir}/jsc-3 %{_includedir}/webkitgtk-3.0 %{_libdir}/libwebkitgtk-3.0.so -%{_libdir}/libwebkit2gtk-3.0.so %{_libdir}/libjavascriptcoregtk-3.0.so %{_libdir}/pkgconfig/webkitgtk-3.0.pc -%{_libdir}/pkgconfig/webkit2gtk-3.0.pc -%{_libdir}/pkgconfig/webkit2gtk-web-extension-3.0.pc %{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc %{_datadir}/gir-1.0/WebKit-3.0.gir -%{_datadir}/gir-1.0/WebKit2-3.0.gir -%{_datadir}/gir-1.0/WebKit2WebExtension-3.0.gir %{_datadir}/gir-1.0/JavaScriptCore-3.0.gir %files doc %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/webkitgtk -%{_datadir}/gtk-doc/html/webkit2gtk %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Aug 26 2014 Kalev Lember - 2.4.5-3 +- Disable support for webkit2 API which is now provided by the webkitgtk4 + package + * Tue Aug 26 2014 David Tardon - 2.4.5-2 - rebuild for ICU 53.1 From 7bba4f66509e88c11de796f8c27ccaa7ce53dc76 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 2 Sep 2014 11:44:13 +0200 Subject: [PATCH 46/92] Rebase the aarch64 patch --- webkitgtk-aarch64.patch | 38 ++++++++++++++++++++------------------ webkitgtk3.spec | 9 +++++---- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/webkitgtk-aarch64.patch b/webkitgtk-aarch64.patch index fe54daa..7272bc1 100644 --- a/webkitgtk-aarch64.patch +++ b/webkitgtk-aarch64.patch @@ -1,6 +1,19 @@ ---- webkitgtk-2.3.5/Source/WTF/wtf/Platform.h.orig 2014-02-04 16:38:03.000000000 +0000 -+++ webkitgtk-2.3.5/Source/WTF/wtf/Platform.h 2014-02-07 10:50:32.639441614 +0000 -@@ -317,6 +317,14 @@ +diff -up webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h.aarch64 webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h +--- webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h.aarch64 2014-09-02 11:39:15.782812173 +0200 ++++ webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h 2014-09-02 11:41:23.022637099 +0200 +@@ -49,7 +49,7 @@ + defined(__ARMEL__) || \ + defined(_MIPS_ARCH_MIPS32R2) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 +-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) ++#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) + #if defined(_WIN32) +diff -up webkitgtk-2.4.5/Source/WTF/wtf/Platform.h.aarch64 webkitgtk-2.4.5/Source/WTF/wtf/Platform.h +--- webkitgtk-2.4.5/Source/WTF/wtf/Platform.h.aarch64 2014-08-25 14:50:32.000000000 +0200 ++++ webkitgtk-2.4.5/Source/WTF/wtf/Platform.h 2014-09-02 11:40:40.925033307 +0200 +@@ -331,6 +331,14 @@ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 #endif @@ -15,24 +28,13 @@ /* ==== OS() - underlying operating system; only to be used for mandated low-level services like virtual memory, not to choose a GUI toolkit ==== */ -@@ -641,7 +649,8 @@ - || CPU(ALPHA) \ +@@ -656,7 +664,8 @@ || CPU(ARM64) \ || CPU(S390X) \ -- || CPU(PPC64) -+ || CPU(PPC64) \ + || CPU(PPC64) \ +- || CPU(PPC64LE) ++ || CPU(PPC64LE) \ + || CPU(AARCH64) #define WTF_USE_JSVALUE64 1 #else #define WTF_USE_JSVALUE32_64 1 ---- webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h.orig 2014-02-07 10:50:15.238174894 +0000 -+++ webkitgtk-2.3.5/Source/WTF/wtf/dtoa/utils.h 2014-02-07 10:50:32.640441629 +0000 -@@ -49,7 +49,7 @@ - defined(__ARMEL__) || \ - defined(_MIPS_ARCH_MIPS32R2) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 --#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) -+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(_M_IX86) || defined(__i386__) - #if defined(_WIN32) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 131ef6e..006dd4f 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -86,13 +86,11 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .nspluginwrapper +%patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif -%ifarch aarch64 -%patch1 -p1 -b .aarch64 -%endif %ifarch %{power64} aarch64 ppc %patch4 -p1 -b .ppc64_align %endif @@ -196,6 +194,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Sep 02 2014 Tomas Popela - 2.4.5-4 +- Rebase the aarch64 patch + * Tue Aug 26 2014 Kalev Lember - 2.4.5-3 - Disable support for webkit2 API which is now provided by the webkitgtk4 package From 21a1a932ab5910de161e14eb55e4a962587e1fc3 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 29 Sep 2014 11:45:06 +0200 Subject: [PATCH 47/92] Update to 2.4.6 --- sources | 2 +- webkitgtk3.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 6b4c673..6f48645 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c2e1687bb0314a0948fbf78e2d1e931f webkitgtk-2.4.5.tar.xz +b0d019777754bb5779de8b9ad1dd6bfe webkitgtk-2.4.6.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 006dd4f..8e042f0 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.5 -Release: 4%{?dist} +Version: 2.4.6 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -194,6 +194,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Sep 29 2014 Tomas Popela - 2.4.6-1 +- Update to 2.4.6 + * Tue Sep 02 2014 Tomas Popela - 2.4.5-4 - Rebase the aarch64 patch From 85c10ccf6da32fa0de7dde7d230448b3baa227fc Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 29 Sep 2014 12:40:16 +0200 Subject: [PATCH 48/92] Run make with -j1 to let it successfully compile in brew --- webkitgtk3.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 8e042f0..c8427a6 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -131,7 +131,10 @@ mkdir -p DerivedSources/webkitdom/ mkdir -p DerivedSources/InjectedBundle mkdir -p DerivedSources/Platform -make %{_smp_mflags} V=1 +# Disable the parallel compilation as it fails to compile in brew. +# https://bugs.webkit.org/show_bug.cgi?id=34846 +# make %{_smp_mflags} V=1 +make -j1 V=1 %install make install DESTDIR=%{buildroot} @@ -196,6 +199,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %changelog * Mon Sep 29 2014 Tomas Popela - 2.4.6-1 - Update to 2.4.6 +- Run make with -j1 to let it successfully compile in brew * Tue Sep 02 2014 Tomas Popela - 2.4.5-4 - Rebase the aarch64 patch From 8b06b4157bd0351c11ea844019a8caeff2bad43a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 21 Oct 2014 10:18:42 +0200 Subject: [PATCH 49/92] Disable the SSLv3 to address the POODLE vulnerability --- webkitgtk-2.4.6-poodle.patch | 47 ++++++++++++++++++++++++++++++++++++ webkitgtk3.spec | 8 +++++- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.6-poodle.patch diff --git a/webkitgtk-2.4.6-poodle.patch b/webkitgtk-2.4.6-poodle.patch new file mode 100644 index 0000000..2404f6f --- /dev/null +++ b/webkitgtk-2.4.6-poodle.patch @@ -0,0 +1,47 @@ +diff -up webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp.poodle webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp +--- webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp.poodle 2014-10-21 10:08:32.851222903 +0200 ++++ webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp 2014-10-21 10:08:31.234199110 +0200 +@@ -26,7 +26,19 @@ + + #include "WebProcessMainGtk.h" + ++#include ++ + int main(int argc, char** argv) + { ++ // Disable SSLv3 very early because it is practically impossible to safely ++ // use setenv() when multiple threads are running, as another thread calling ++ // getenv() could cause a crash, and many functions use getenv() internally. ++ // This workaround will stop working if glib-networking switches away from ++ // GnuTLS or simply stops parsing this variable. We intentionally do not ++ // overwrite this priority string if it's already set by the user. ++ // Keep this in sync with NetworkMainUnix.cpp. ++ // https://bugzilla.gnome.org/show_bug.cgi?id=738633 ++ setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", 0); ++ + return WebKit::WebProcessMainGtk(argc, argv); + } +diff -up webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp.poodle webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp +--- webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp.poodle 2014-10-21 10:03:39.622908372 +0200 ++++ webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp 2014-10-21 10:07:38.017416084 +0200 +@@ -30,8 +30,20 @@ + + #include "NetworkProcessMainUnix.h" + ++#include ++ + int main(int argc, char** argv) + { ++ // Disable SSLv3 very early because it is practically impossible to safely ++ // use setenv() when multiple threads are running, as another thread calling ++ // getenv() could cause a crash, and many functions use getenv() internally. ++ // This workaround will stop working if glib-networking switches away from ++ // GnuTLS or simply stops parsing this variable. We intentionally do not ++ // overwrite this priority string if it's already set by the user. ++ // Keep this in sync with MainGtk.cpp. ++ // https://bugzilla.gnome.org/show_bug.cgi?id=738633 ++ setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", 0); ++ + return WebKit::NetworkProcessMain(argc, argv); + } + diff --git a/webkitgtk3.spec b/webkitgtk3.spec index c8427a6..bbfab0c 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -7,7 +7,7 @@ Name: webkitgtk3 Version: 2.4.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -21,6 +21,8 @@ Patch1: webkitgtk-aarch64.patch Patch2: webkitgtk-2.4.1-cloop_fix.patch Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch +# https://bugs.webkit.org/show_bug.cgi?id=137859 +Patch5: webkitgtk-2.4.6-poodle.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -88,6 +90,7 @@ This package contains developer documentation for %{name}. %patch0 -p1 -b .nspluginwrapper %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix +%patch5 -p1 -b .poodle %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -197,6 +200,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Oct 21 2014 Tomas Popela - 2.4.6-2 +- Disable the SSLv3 to address the POODLE vulnerability + * Mon Sep 29 2014 Tomas Popela - 2.4.6-1 - Update to 2.4.6 - Run make with -j1 to let it successfully compile in brew From 40a90579ddcede69b822f53c3e66c7545d6516e8 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 22 Oct 2014 14:50:23 +0200 Subject: [PATCH 50/92] Update to 2.4.7 --- sources | 2 +- webkitgtk-2.4.6-poodle.patch | 47 ------------------------------------ webkitgtk3.spec | 10 ++++---- 3 files changed, 6 insertions(+), 53 deletions(-) delete mode 100644 webkitgtk-2.4.6-poodle.patch diff --git a/sources b/sources index 6f48645..3390423 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b0d019777754bb5779de8b9ad1dd6bfe webkitgtk-2.4.6.tar.xz +e1a10b4730f501980e3681db9b0e5d25 webkitgtk-2.4.7.tar.xz diff --git a/webkitgtk-2.4.6-poodle.patch b/webkitgtk-2.4.6-poodle.patch deleted file mode 100644 index 2404f6f..0000000 --- a/webkitgtk-2.4.6-poodle.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -up webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp.poodle webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp ---- webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp.poodle 2014-10-21 10:08:32.851222903 +0200 -+++ webkitgtk-2.4.6/Source/WebKit2/gtk/MainGtk.cpp 2014-10-21 10:08:31.234199110 +0200 -@@ -26,7 +26,19 @@ - - #include "WebProcessMainGtk.h" - -+#include -+ - int main(int argc, char** argv) - { -+ // Disable SSLv3 very early because it is practically impossible to safely -+ // use setenv() when multiple threads are running, as another thread calling -+ // getenv() could cause a crash, and many functions use getenv() internally. -+ // This workaround will stop working if glib-networking switches away from -+ // GnuTLS or simply stops parsing this variable. We intentionally do not -+ // overwrite this priority string if it's already set by the user. -+ // Keep this in sync with NetworkMainUnix.cpp. -+ // https://bugzilla.gnome.org/show_bug.cgi?id=738633 -+ setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", 0); -+ - return WebKit::WebProcessMainGtk(argc, argv); - } -diff -up webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp.poodle webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp ---- webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp.poodle 2014-10-21 10:03:39.622908372 +0200 -+++ webkitgtk-2.4.6/Source/WebKit2/unix/NetworkMainUnix.cpp 2014-10-21 10:07:38.017416084 +0200 -@@ -30,8 +30,20 @@ - - #include "NetworkProcessMainUnix.h" - -+#include -+ - int main(int argc, char** argv) - { -+ // Disable SSLv3 very early because it is practically impossible to safely -+ // use setenv() when multiple threads are running, as another thread calling -+ // getenv() could cause a crash, and many functions use getenv() internally. -+ // This workaround will stop working if glib-networking switches away from -+ // GnuTLS or simply stops parsing this variable. We intentionally do not -+ // overwrite this priority string if it's already set by the user. -+ // Keep this in sync with MainGtk.cpp. -+ // https://bugzilla.gnome.org/show_bug.cgi?id=738633 -+ setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", 0); -+ - return WebKit::NetworkProcessMain(argc, argv); - } - diff --git a/webkitgtk3.spec b/webkitgtk3.spec index bbfab0c..d4fb60f 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -6,8 +6,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.6 -Release: 2%{?dist} +Version: 2.4.7 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -21,8 +21,6 @@ Patch1: webkitgtk-aarch64.patch Patch2: webkitgtk-2.4.1-cloop_fix.patch Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch -# https://bugs.webkit.org/show_bug.cgi?id=137859 -Patch5: webkitgtk-2.4.6-poodle.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -90,7 +88,6 @@ This package contains developer documentation for %{name}. %patch0 -p1 -b .nspluginwrapper %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix -%patch5 -p1 -b .poodle %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -200,6 +197,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Oct 22 2014 Tomas Popela - 2.4.7-1 +- Update to 2.4.7 + * Tue Oct 21 2014 Tomas Popela - 2.4.6-2 - Disable the SSLv3 to address the POODLE vulnerability From d58dd95b97504082b84c02bdae4d896c7a1fc243 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 29 Oct 2014 17:07:42 +0000 Subject: [PATCH 51/92] trivial: Fix rebuild on non-Fedora --- webkitgtk3.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index d4fb60f..a6b94de 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -1,3 +1,6 @@ +# Fix rebuild on non-Fedora +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + ## NOTE: Lots of files in various subdirectories have the same name (such as ## "LICENSE") so this short macro allows us to distinguish them by using their ## directory names (from the source tree) as prefixes for the files. From 71df8dc785f699c16702d8ee8e095d9357d222b4 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 7 Jan 2015 13:34:21 +0100 Subject: [PATCH 52/92] Update to 2.4.8 --- sources | 2 +- webkitgtk3.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 3390423..a69c671 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e1a10b4730f501980e3681db9b0e5d25 webkitgtk-2.4.7.tar.xz +bcdcef8e1ba28dbd5bb05f86c79f76b8 webkitgtk-2.4.8.tar.xz diff --git a/webkitgtk3.spec b/webkitgtk3.spec index a6b94de..a1eb28a 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -9,7 +9,7 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.7 +Version: 2.4.8 Release: 1%{?dist} Summary: GTK+ Web content engine library @@ -200,6 +200,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Jan 07 2015 Tomas Popela - 2.4.8-1 +- Update to 2.4.8 + * Wed Oct 22 2014 Tomas Popela - 2.4.7-1 - Update to 2.4.7 From 95bd1465b593c200d6560c4c9c1b02a250a4aefc Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 8 Jan 2015 11:41:27 +0100 Subject: [PATCH 53/92] Fix the build when the WebKit2 is disabled --- webkitgtk-2.4.8-plugin_none.patch | 27 +++++++++++++++++++++++++++ webkitgtk3.spec | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 webkitgtk-2.4.8-plugin_none.patch diff --git a/webkitgtk-2.4.8-plugin_none.patch b/webkitgtk-2.4.8-plugin_none.patch new file mode 100644 index 0000000..19ae387 --- /dev/null +++ b/webkitgtk-2.4.8-plugin_none.patch @@ -0,0 +1,27 @@ +diff -up webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am.plugin_none webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am +--- webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am.plugin_none 2015-01-08 11:08:03.261853581 +0100 ++++ webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am 2015-01-08 11:08:53.650619552 +0100 +@@ -6254,9 +6254,11 @@ endif # END USE_GLX + endif # END TARGET_X11 + + if TARGET_WAYLAND ++if ENABLE_WEBKIT2 + webcore_sources += \ + Source/WebCore/plugins/PluginPackageNone.cpp \ + Source/WebCore/plugins/PluginViewNone.cpp ++endif # END ENABLE_WEBKIT2 + endif # END TARGET_WAYLAND + + if TARGET_X11_OR_WAYLAND +@@ -6305,9 +6307,11 @@ webcoregtk_sources += \ + endif # END TARGET_WIN32 + + if TARGET_QUARTZ ++if ENABLE_WEBKIT2 + webcore_sources += \ + Source/WebCore/plugins/PluginPackageNone.cpp \ + Source/WebCore/plugins/PluginViewNone.cpp ++endif # END ENABLE_WEBKIT2 + platformgtk_sources += \ + Source/WebCore/platform/cairo/WidgetBackingStoreCairo.h \ + Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp diff --git a/webkitgtk3.spec b/webkitgtk3.spec index a1eb28a..88e117c 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -24,6 +24,7 @@ Patch1: webkitgtk-aarch64.patch Patch2: webkitgtk-2.4.1-cloop_fix.patch Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch +Patch5: webkitgtk-2.4.8-plugin_none.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -91,6 +92,7 @@ This package contains developer documentation for %{name}. %patch0 -p1 -b .nspluginwrapper %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix +%patch5 -p1 -b .plugin_none %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif From 0582279e2d3a58da73105ae769cc3e46908ad597 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 8 Jan 2015 12:15:29 +0100 Subject: [PATCH 54/92] Add automake as BR --- webkitgtk3.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 88e117c..9a1cb49 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -24,6 +24,7 @@ Patch1: webkitgtk-aarch64.patch Patch2: webkitgtk-2.4.1-cloop_fix.patch Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch +# https://bugs.webkit.org/show_bug.cgi?id=140241 Patch5: webkitgtk-2.4.8-plugin_none.patch BuildRequires: at-spi2-core-devel @@ -58,6 +59,9 @@ BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel +# Remove when 2.4.9 will be released +# Needed for https://bugs.webkit.org/show_bug.cgi?id=140241 +BuildRequires: automake %ifarch ppc BuildRequires: libatomic %endif From ea88a33878c8b6a0c29269bf97173f8200a8084a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 8 Jan 2015 13:47:03 +0100 Subject: [PATCH 55/92] There is automake-1.15 in rawhide so we need to run autoreconf --- webkitgtk3.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 9a1cb49..8827050 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -59,9 +59,6 @@ BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: perl-Switch BuildRequires: ruby BuildRequires: mesa-libGL-devel -# Remove when 2.4.9 will be released -# Needed for https://bugs.webkit.org/show_bug.cgi?id=140241 -BuildRequires: automake %ifarch ppc BuildRequires: libatomic %endif @@ -104,6 +101,10 @@ This package contains developer documentation for %{name}. %patch4 -p1 -b .ppc64_align %endif +# Remove when 2.4.9 will be released +# Needed for https://bugs.webkit.org/show_bug.cgi?id=140241 +autoreconf -v + %build # Use linker flags to reduce memory consumption %global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads From 557c6dfe241d36750db4b12ef219951dec483160 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 26 Jan 2015 17:15:30 +0100 Subject: [PATCH 56/92] rebuild for ICU 54.1 --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 8827050..2416773 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -207,6 +207,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Jan 26 2015 David Tardon - 2.4.8-2 +- rebuild for ICU 54.1 + * Wed Jan 07 2015 Tomas Popela - 2.4.8-1 - Update to 2.4.8 From 632ad9bf9dd65bd86a2eaab7ab45be9b93abc141 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 18 Feb 2015 18:09:35 +0100 Subject: [PATCH 57/92] Add support for gcc 5.0 Let the package compile with latest glib --- webkitgtk-2.4.8-gcc5.patch | 33 ++++ webkitgtk-2.4.8-gmutexlocker.patch | 281 +++++++++++++++++++++++++++++ webkitgtk3.spec | 13 +- 3 files changed, 326 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.8-gcc5.patch create mode 100644 webkitgtk-2.4.8-gmutexlocker.patch diff --git a/webkitgtk-2.4.8-gcc5.patch b/webkitgtk-2.4.8-gcc5.patch new file mode 100644 index 0000000..73f6855 --- /dev/null +++ b/webkitgtk-2.4.8-gcc5.patch @@ -0,0 +1,33 @@ +diff -up webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4.gcc5 webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4 +--- webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4.gcc5 2015-01-07 10:45:43.000000000 +0100 ++++ webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4 2015-02-18 13:09:57.359888184 +0100 +@@ -87,12 +87,12 @@ AC_SYS_LARGEFILE + c_compiler="unknown" + AC_LANG_PUSH([C]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ +-#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) ++#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) + #error Not a supported GCC compiler + #endif + ])], [c_compiler="gcc"], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ +-#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3) ++#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3))))) + #error Not a supported Clang compiler + #endif + ])], [c_compiler="clang"], []) +@@ -106,12 +106,12 @@ fi + cxx_compiler="unknown" + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ +-#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) ++#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) + #error Not a supported G++ compiler + #endif + ])], [cxx_compiler="g++"], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ +-#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3) ++#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3))))) + #error Not a supported Clang++ compiler + #endif + ])], [cxx_compiler="clang++"], []) diff --git a/webkitgtk-2.4.8-gmutexlocker.patch b/webkitgtk-2.4.8-gmutexlocker.patch new file mode 100644 index 0000000..226da3d --- /dev/null +++ b/webkitgtk-2.4.8-gmutexlocker.patch @@ -0,0 +1,281 @@ +diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp +--- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.gmutexlocker 2015-02-18 15:40:21.851816374 +0100 ++++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2015-02-18 15:45:58.560092191 +0100 +@@ -316,7 +316,7 @@ void MediaPlayerPrivateGStreamerBase::mu + #if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER_GL) && !USE(COORDINATED_GRAPHICS) + PassRefPtr MediaPlayerPrivateGStreamerBase::updateTexture(TextureMapper* textureMapper) + { +- GMutexLocker lock(m_bufferMutex); ++ WebCore::GMutexLocker lock(m_bufferMutex); + if (!m_buffer) + return nullptr; + +@@ -366,7 +366,7 @@ void MediaPlayerPrivateGStreamerBase::tr + g_return_if_fail(GST_IS_BUFFER(buffer)); + + { +- GMutexLocker lock(m_bufferMutex); ++ WebCore::GMutexLocker lock(m_bufferMutex); + gst_buffer_replace(&m_buffer, buffer); + } + +@@ -398,7 +398,7 @@ void MediaPlayerPrivateGStreamerBase::pa + if (!m_player->visible()) + return; + +- GMutexLocker lock(m_bufferMutex); ++ WebCore::GMutexLocker lock(m_bufferMutex); + if (!m_buffer) + return; + +diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp +diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp +--- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp.gmutexlocker 2015-02-18 15:16:11.995228731 +0100 ++++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp 2015-02-18 15:45:42.686843477 +0100 +@@ -118,7 +118,7 @@ static gboolean webkitVideoSinkTimeoutCa + WebKitVideoSink* sink = reinterpret_cast(data); + WebKitVideoSinkPrivate* priv = sink->priv; + +- GMutexLocker lock(priv->bufferMutex); ++ WebCore::GMutexLocker lock(priv->bufferMutex); + GstBuffer* buffer = priv->buffer; + priv->buffer = 0; + priv->timeoutId = 0; +@@ -140,7 +140,7 @@ static GstFlowReturn webkitVideoSinkRend + WebKitVideoSink* sink = WEBKIT_VIDEO_SINK(baseSink); + WebKitVideoSinkPrivate* priv = sink->priv; + +- GMutexLocker lock(priv->bufferMutex); ++ WebCore::GMutexLocker lock(priv->bufferMutex); + + if (priv->unlocked) + return GST_FLOW_OK; +@@ -279,7 +279,7 @@ static void webkitVideoSinkGetProperty(G + + static void unlockBufferMutex(WebKitVideoSinkPrivate* priv) + { +- GMutexLocker lock(priv->bufferMutex); ++ WebCore::GMutexLocker lock(priv->bufferMutex); + + if (priv->buffer) { + gst_buffer_unref(priv->buffer); +@@ -305,7 +305,7 @@ static gboolean webkitVideoSinkUnlockSto + WebKitVideoSinkPrivate* priv = WEBKIT_VIDEO_SINK(baseSink)->priv; + + { +- GMutexLocker lock(priv->bufferMutex); ++ WebCore::GMutexLocker lock(priv->bufferMutex); + priv->unlocked = false; + } + +@@ -330,7 +330,7 @@ static gboolean webkitVideoSinkStart(Gst + { + WebKitVideoSinkPrivate* priv = WEBKIT_VIDEO_SINK(baseSink)->priv; + +- GMutexLocker lock(priv->bufferMutex); ++ WebCore::GMutexLocker lock(priv->bufferMutex); + priv->unlocked = false; + return TRUE; + } +diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp +--- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp.gmutexlocker 2015-02-18 15:16:40.954678407 +0100 ++++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2015-02-18 15:45:19.567481225 +0100 +@@ -346,7 +346,7 @@ static void webKitWebSrcSetProperty(GObj + + switch (propID) { + case PROP_IRADIO_MODE: { +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + priv->iradioMode = g_value_get_boolean(value); + break; + } +@@ -364,7 +364,7 @@ static void webKitWebSrcGetProperty(GObj + WebKitWebSrc* src = WEBKIT_WEB_SRC(object); + WebKitWebSrcPrivate* priv = src->priv; + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + switch (propID) { + case PROP_IRADIO_MODE: + g_value_set_boolean(value, priv->iradioMode); +@@ -417,7 +417,7 @@ static gboolean webKitWebSrcStop(WebKitW + + ASSERT(isMainThread()); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + + bool seeking = priv->seekID; + +@@ -476,7 +476,7 @@ static gboolean webKitWebSrcStart(WebKit + + ASSERT(isMainThread()); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + + priv->startID = 0; + priv->corsAccessCheck = CORSNoCheck; +@@ -573,7 +573,7 @@ static GstStateChangeReturn webKitWebSrc + return ret; + } + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + switch (transition) { + case GST_STATE_CHANGE_READY_TO_PAUSED: + GST_DEBUG_OBJECT(src, "READY->PAUSED"); +@@ -604,7 +604,7 @@ static gboolean webKitWebSrcQueryWithPar + gst_query_parse_duration(query, &format, NULL); + + GST_DEBUG_OBJECT(src, "duration query in format %s", gst_format_get_name(format)); +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + if (format == GST_FORMAT_BYTES && src->priv->size > 0) { + gst_query_set_duration(query, format, src->priv->size); + result = TRUE; +@@ -612,7 +612,7 @@ static gboolean webKitWebSrcQueryWithPar + break; + } + case GST_QUERY_URI: { +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + gst_query_set_uri(query, src->priv->uri); + result = TRUE; + break; +@@ -653,7 +653,7 @@ static gchar* webKitWebSrcGetUri(GstURIH + WebKitWebSrc* src = WEBKIT_WEB_SRC(handler); + gchar* ret; + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + ret = g_strdup(src->priv->uri); + return ret; + } +@@ -668,7 +668,7 @@ static gboolean webKitWebSrcSetUri(GstUR + return FALSE; + } + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + + g_free(priv->uri); + priv->uri = 0; +@@ -704,7 +704,7 @@ static gboolean webKitWebSrcNeedDataMain + + ASSERT(isMainThread()); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + // already stopped + if (!priv->needDataID) + return FALSE; +@@ -725,7 +725,7 @@ static void webKitWebSrcNeedDataCb(GstAp + + GST_DEBUG_OBJECT(src, "Need more data: %u", length); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + if (priv->needDataID || !priv->paused) { + return; + } +@@ -739,7 +739,7 @@ static gboolean webKitWebSrcEnoughDataMa + + ASSERT(isMainThread()); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + // already stopped + if (!priv->enoughDataID) + return FALSE; +@@ -760,7 +760,7 @@ static void webKitWebSrcEnoughDataCb(Gst + + GST_DEBUG_OBJECT(src, "Have enough data"); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + if (priv->enoughDataID || priv->paused) { + return; + } +@@ -774,7 +774,7 @@ static gboolean webKitWebSrcSeekMainCb(W + + ASSERT(isMainThread()); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + // already stopped + if (!priv->seekID) + return FALSE; +@@ -792,7 +792,7 @@ static gboolean webKitWebSrcSeekDataCb(G + WebKitWebSrcPrivate* priv = src->priv; + + GST_DEBUG_OBJECT(src, "Seeking to offset: %" G_GUINT64_FORMAT, offset); +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + if (offset == priv->offset && priv->requestedOffset == priv->offset) + return TRUE; + +@@ -811,7 +811,7 @@ static gboolean webKitWebSrcSeekDataCb(G + void webKitWebSrcSetMediaPlayer(WebKitWebSrc* src, WebCore::MediaPlayer* player) + { + ASSERT(player); +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + src->priv->player = player; + } + +@@ -841,7 +841,7 @@ char* StreamingClient::createReadBuffer( + + mapGstBuffer(buffer); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + priv->buffer = adoptGRef(buffer); + locker.unlock(); + +@@ -867,7 +867,7 @@ void StreamingClient::handleResponseRece + return; + } + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + + priv->corsAccessCheck = corsAccessCheck; + +@@ -966,7 +966,7 @@ void StreamingClient::handleDataReceived + WebKitWebSrc* src = WEBKIT_WEB_SRC(m_src); + WebKitWebSrcPrivate* priv = src->priv; + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + + GST_LOG_OBJECT(src, "Have %lld bytes of data", priv->buffer ? static_cast(gst_buffer_get_size(priv->buffer.get())) : length); + +@@ -1035,7 +1035,7 @@ void StreamingClient::handleNotifyFinish + + GST_DEBUG_OBJECT(src, "Have EOS"); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + if (!priv->seekID) { + locker.unlock(); + gst_app_src_end_of_stream(priv->appsrc); +@@ -1194,7 +1194,7 @@ void ResourceHandleStreamingClient::wasB + + GST_ERROR_OBJECT(src, "Request was blocked"); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + uri.reset(g_strdup(src->priv->uri)); + locker.unlock(); + +@@ -1208,7 +1208,7 @@ void ResourceHandleStreamingClient::cann + + GST_ERROR_OBJECT(src, "Cannot show URL"); + +- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); ++ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); + uri.reset(g_strdup(src->priv->uri)); + locker.unlock(); + +diff -up webkitgtk-2.4.8/Source/WTF/wtf/gobject/GMutexLocker.h.gmutexlocker webkitgtk-2.4.8/Source/WTF/wtf/gobject/GMutexLocker.h diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2416773..2539bf3 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -26,6 +26,10 @@ Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch # https://bugs.webkit.org/show_bug.cgi?id=140241 Patch5: webkitgtk-2.4.8-plugin_none.patch +# https://bugs.webkit.org/show_bug.cgi?id=126324 +Patch6: webkitgtk-2.4.8-gcc5.patch +# https://bugs.webkit.org/show_bug.cgi?id=141381 +Patch7: webkitgtk-2.4.8-gmutexlocker.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -94,6 +98,8 @@ This package contains developer documentation for %{name}. %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix %patch5 -p1 -b .plugin_none +%patch6 -p1 -b .gcc5 +%patch7 -p1 -b .gmutex_locker %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -103,6 +109,7 @@ This package contains developer documentation for %{name}. # Remove when 2.4.9 will be released # Needed for https://bugs.webkit.org/show_bug.cgi?id=140241 +# Regenerate configure to pick up the gcc 5.0 changes autoreconf -v %build @@ -207,6 +214,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Feb 18 2015 Tomas Popela - 2.4.8-3 +- Add support for gcc 5.0 +- Let the package compile with latest glib + * Mon Jan 26 2015 David Tardon - 2.4.8-2 - rebuild for ICU 54.1 From cff315d44b062c19a4952071a5186571024c30e0 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 21 Feb 2015 22:28:10 +0100 Subject: [PATCH 58/92] Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code --- webkitgtk3.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2539bf3..e60b0e1 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -214,6 +214,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sat Feb 21 2015 Till Maas - 2.4.8-4 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + * Wed Feb 18 2015 Tomas Popela - 2.4.8-3 - Add support for gcc 5.0 - Let the package compile with latest glib From 2fcf16f8ece082ff3c447d5c382bd88c20c565c7 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Fri, 27 Feb 2015 14:45:27 -0600 Subject: [PATCH 59/92] Add Fedora branding to the user agent --- webkitgtk-2.4.8-user-agent.patch | 27 +++++++++++++++++++++++++++ webkitgtk3.spec | 12 +++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.8-user-agent.patch diff --git a/webkitgtk-2.4.8-user-agent.patch b/webkitgtk-2.4.8-user-agent.patch new file mode 100644 index 0000000..84b5117 --- /dev/null +++ b/webkitgtk-2.4.8-user-agent.patch @@ -0,0 +1,27 @@ +From 050232bc122d6785fea01d39121c2f93e8dd16f1 Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Thu, 26 Feb 2015 16:06:36 -0600 +Subject: [PATCH] Allow branding the user agent + +--- + Source/WebCore/platform/gtk/UserAgentGtk.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/Source/WebCore/platform/gtk/UserAgentGtk.cpp b/Source/WebCore/platform/gtk/UserAgentGtk.cpp +index 91641dc..727fbaf 100644 +--- a/Source/WebCore/platform/gtk/UserAgentGtk.cpp ++++ b/Source/WebCore/platform/gtk/UserAgentGtk.cpp +@@ -84,7 +84,9 @@ static const char* cpuDescriptionForUAString() + + static const char* platformForUAString() + { +-#if PLATFORM(X11) ++#if defined USER_AGENT_GTK_DISTRIBUTOR_NAME ++ return USER_AGENT_GTK_DISTRIBUTOR_NAME; ++#elif PLATFORM(X11) + return "X11"; + #elif OS(WINDOWS) + return ""; +-- +2.1.0 + diff --git a/webkitgtk3.spec b/webkitgtk3.spec index e60b0e1..46a2782 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -30,6 +30,8 @@ Patch5: webkitgtk-2.4.8-plugin_none.patch Patch6: webkitgtk-2.4.8-gcc5.patch # https://bugs.webkit.org/show_bug.cgi?id=141381 Patch7: webkitgtk-2.4.8-gmutexlocker.patch +# https://bugs.webkit.org/show_bug.cgi?id=142074 +Patch8: webkitgtk-2.4.8-user-agent.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -100,6 +102,7 @@ This package contains developer documentation for %{name}. %patch5 -p1 -b .plugin_none %patch6 -p1 -b .gcc5 %patch7 -p1 -b .gmutex_locker +%patch8 -p1 -b .user_agent %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -130,6 +133,10 @@ autoreconf -v %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif +%if 0%{?fedora} +%global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\' +%endif + %configure \ --with-gtk=3.0 \ --disable-webkit2 \ @@ -214,6 +221,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Feb 27 2015 Michael Catanzaro - 2.4.8-5 +- Add Fedora branding to the user agent + * Sat Feb 21 2015 Till Maas - 2.4.8-4 - Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code From 9ec7d79f874d10c7efe3f568814952f9216f3355 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 10 Mar 2015 07:27:49 +0100 Subject: [PATCH 60/92] Backport fix for use-after-free when destroying frame --- webkitgtk-2.4.8-g_object_destroyed.patch | 23 +++++++++++++++++++++++ webkitgtk3.spec | 8 +++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.8-g_object_destroyed.patch diff --git a/webkitgtk-2.4.8-g_object_destroyed.patch b/webkitgtk-2.4.8-g_object_destroyed.patch new file mode 100644 index 0000000..479f1de --- /dev/null +++ b/webkitgtk-2.4.8-g_object_destroyed.patch @@ -0,0 +1,23 @@ +diff --git a/Source/WebCore/bindings/gobject/GObjectEventListener.cpp b/Source/WebCore/bindings/gobject/GObjectEventListener.cpp +index 76cf279..9d1b881 100644 +--- a/Source/WebCore/bindings/gobject/GObjectEventListener.cpp ++++ b/Source/WebCore/bindings/gobject/GObjectEventListener.cpp +@@ -52,12 +52,13 @@ void GObjectEventListener::gobjectDestroyed() + { + ASSERT(m_coreTarget); + +- // We must set m_coreTarget to null, because removeEventListener +- // may call the destructor as a side effect and we must be in the +- // proper state to prevent g_object_weak_unref. +- EventTarget* target = m_coreTarget; ++ // Protect 'this' class in case the 'm_coreTarget' holds the last reference, ++ // which may cause, inside removeEventListener(), free of this object ++ // and later use-after-free with the m_handler = 0; assignment. ++ RefPtr protect(this); ++ ++ m_coreTarget->removeEventListener(m_domEventName.data(), this, m_capture); + m_coreTarget = 0; +- target->removeEventListener(m_domEventName.data(), this, m_capture); + m_handler = 0; + } + diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 46a2782..c96b968 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -32,6 +32,8 @@ Patch6: webkitgtk-2.4.8-gcc5.patch Patch7: webkitgtk-2.4.8-gmutexlocker.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 Patch8: webkitgtk-2.4.8-user-agent.patch +#https://bugs.webkit.org/show_bug.cgi?id=127474 +Patch9: webkitgtk-2.4.8-g_object_destroyed.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -103,6 +105,7 @@ This package contains developer documentation for %{name}. %patch6 -p1 -b .gcc5 %patch7 -p1 -b .gmutex_locker %patch8 -p1 -b .user_agent +%patch9 -p1 -b .g_object_destroyed %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -221,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 10 2015 Tomas Popela - 2.4.8-6 +- Backport fix for use-after-free when destroying frame + * Fri Feb 27 2015 Michael Catanzaro - 2.4.8-5 - Add Fedora branding to the user agent From cc1f80644e51c64135ede719c7c14753d73dd1ef Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 17 Mar 2015 13:26:28 -0500 Subject: [PATCH 61/92] Backport fix for late certificate validation --- webkitgtk3.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index c96b968..2338f6a 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -34,6 +34,8 @@ Patch7: webkitgtk-2.4.8-gmutexlocker.patch Patch8: webkitgtk-2.4.8-user-agent.patch #https://bugs.webkit.org/show_bug.cgi?id=127474 Patch9: webkitgtk-2.4.8-g_object_destroyed.patch +# http://trac.webkit.org/changeset/181074/ +Patch10: webkitgtk-2.4.8-late-certificate-validation.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -106,6 +108,7 @@ This package contains developer documentation for %{name}. %patch7 -p1 -b .gmutex_locker %patch8 -p1 -b .user_agent %patch9 -p1 -b .g_object_destroyed +%patch10 -p1 -b .certificate_validation %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -224,6 +227,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 +- Backport fix for late certificate validation + * Tue Mar 10 2015 Tomas Popela - 2.4.8-6 - Backport fix for use-after-free when destroying frame From c27e97ddd33cc41648c8d3c508e1ab131a3501ec Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 17 Mar 2015 13:27:37 -0500 Subject: [PATCH 62/92] Backport fix for late certificate validation --- webkitgtk3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2338f6a..d9d8340 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries From 697baed4b1bc800db34e303207605e8a26ac53e8 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 17 Mar 2015 13:32:01 -0500 Subject: [PATCH 63/92] Backport fix for late certificate validation --- ...tk-2.4.8-late-certificate-validation.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 webkitgtk-2.4.8-late-certificate-validation.patch diff --git a/webkitgtk-2.4.8-late-certificate-validation.patch b/webkitgtk-2.4.8-late-certificate-validation.patch new file mode 100644 index 0000000..6aa0437 --- /dev/null +++ b/webkitgtk-2.4.8-late-certificate-validation.patch @@ -0,0 +1,32 @@ +--- a/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp ++++ b/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp +@@ -331,5 +331,5 @@ + } + +-static void gotHeadersCallback(SoupMessage* message, gpointer data) ++static void tlsErrorsChangedCallback(SoupMessage* message, GParamSpec*, gpointer data) + { + ResourceHandle* handle = static_cast(data); +@@ -337,8 +337,13 @@ + return; + +- if (handleUnignoredTLSErrors(handle, message)) { ++ if (handleUnignoredTLSErrors(handle, message)) + handle->cancel(); +- return; +- } ++} ++ ++static void gotHeadersCallback(SoupMessage* message, gpointer data) ++{ ++ ResourceHandle* handle = static_cast(data); ++ if (!handle || handle->cancelledOrClientless()) ++ return; + + ResourceHandleInternal* d = handle->getInternal(); +@@ -935,4 +940,5 @@ + soup_message_headers_set_content_length(soupMessage->request_headers, 0); + ++ g_signal_connect(d->m_soupMessage.get(), "notify::tls-errors", G_CALLBACK(tlsErrorsChangedCallback), handle); + g_signal_connect(d->m_soupMessage.get(), "got-headers", G_CALLBACK(gotHeadersCallback), handle); + g_signal_connect(d->m_soupMessage.get(), "wrote-body-data", G_CALLBACK(wroteBodyDataCallback), handle); From d924530f009cc4d0d72167d8760f4775fc87ff18 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 17 Mar 2015 14:50:48 -0500 Subject: [PATCH 64/92] Backport fix for late certificate validation --- webkitgtk3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index d9d8340..a60bb82 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -34,7 +34,7 @@ Patch7: webkitgtk-2.4.8-gmutexlocker.patch Patch8: webkitgtk-2.4.8-user-agent.patch #https://bugs.webkit.org/show_bug.cgi?id=127474 Patch9: webkitgtk-2.4.8-g_object_destroyed.patch -# http://trac.webkit.org/changeset/181074/ +# http://seclists.org/oss-sec/2015/q1/871 Patch10: webkitgtk-2.4.8-late-certificate-validation.patch BuildRequires: at-spi2-core-devel From 7433f334cc84866af5ef0b2c25ead931e6e603ea Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 17 Mar 2015 14:53:48 -0500 Subject: [PATCH 65/92] Remove the fix for late certificate validation because we use --disable-webkit2 --- ...tk-2.4.8-late-certificate-validation.patch | 32 ------------------- webkitgtk3.spec | 8 ++--- 2 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 webkitgtk-2.4.8-late-certificate-validation.patch diff --git a/webkitgtk-2.4.8-late-certificate-validation.patch b/webkitgtk-2.4.8-late-certificate-validation.patch deleted file mode 100644 index 6aa0437..0000000 --- a/webkitgtk-2.4.8-late-certificate-validation.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp -+++ b/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp -@@ -331,5 +331,5 @@ - } - --static void gotHeadersCallback(SoupMessage* message, gpointer data) -+static void tlsErrorsChangedCallback(SoupMessage* message, GParamSpec*, gpointer data) - { - ResourceHandle* handle = static_cast(data); -@@ -337,8 +337,13 @@ - return; - -- if (handleUnignoredTLSErrors(handle, message)) { -+ if (handleUnignoredTLSErrors(handle, message)) - handle->cancel(); -- return; -- } -+} -+ -+static void gotHeadersCallback(SoupMessage* message, gpointer data) -+{ -+ ResourceHandle* handle = static_cast(data); -+ if (!handle || handle->cancelledOrClientless()) -+ return; - - ResourceHandleInternal* d = handle->getInternal(); -@@ -935,4 +940,5 @@ - soup_message_headers_set_content_length(soupMessage->request_headers, 0); - -+ g_signal_connect(d->m_soupMessage.get(), "notify::tls-errors", G_CALLBACK(tlsErrorsChangedCallback), handle); - g_signal_connect(d->m_soupMessage.get(), "got-headers", G_CALLBACK(gotHeadersCallback), handle); - g_signal_connect(d->m_soupMessage.get(), "wrote-body-data", G_CALLBACK(wroteBodyDataCallback), handle); diff --git a/webkitgtk3.spec b/webkitgtk3.spec index a60bb82..12635ee 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -34,8 +34,6 @@ Patch7: webkitgtk-2.4.8-gmutexlocker.patch Patch8: webkitgtk-2.4.8-user-agent.patch #https://bugs.webkit.org/show_bug.cgi?id=127474 Patch9: webkitgtk-2.4.8-g_object_destroyed.patch -# http://seclists.org/oss-sec/2015/q1/871 -Patch10: webkitgtk-2.4.8-late-certificate-validation.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -108,7 +106,6 @@ This package contains developer documentation for %{name}. %patch7 -p1 -b .gmutex_locker %patch8 -p1 -b .user_agent %patch9 -p1 -b .g_object_destroyed -%patch10 -p1 -b .certificate_validation %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -227,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 +- Remove the fix for late certificate validation because we use --disable-webkit2 + * Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 - Backport fix for late certificate validation From aaa7b5adfc7e1d2b9e167b968e18d7fa2ba97732 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 2 May 2015 22:29:17 +0200 Subject: [PATCH 66/92] Rebuilt for GCC 5 C++11 ABI change --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 12635ee..d221a88 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.8 -Release: 8%{?dist} +Release: 9%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -224,6 +224,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sat May 02 2015 Kalev Lember - 2.4.8-9 +- Rebuilt for GCC 5 C++11 ABI change + * Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 - Remove the fix for late certificate validation because we use --disable-webkit2 From f13611ff0e60a07be75a656f704bbeb5144b43b1 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 20 May 2015 13:54:24 +0200 Subject: [PATCH 67/92] Update to 2.4.9 --- sources | 2 +- webkitgtk-2.4.8-g_object_destroyed.patch | 23 -- webkitgtk-2.4.8-gcc5.patch | 33 --- webkitgtk-2.4.8-gmutexlocker.patch | 281 ----------------------- webkitgtk-2.4.8-plugin_none.patch | 27 --- webkitgtk-aarch64.patch | 33 ++- webkitgtk3.spec | 28 +-- 7 files changed, 24 insertions(+), 403 deletions(-) delete mode 100644 webkitgtk-2.4.8-g_object_destroyed.patch delete mode 100644 webkitgtk-2.4.8-gcc5.patch delete mode 100644 webkitgtk-2.4.8-gmutexlocker.patch delete mode 100644 webkitgtk-2.4.8-plugin_none.patch diff --git a/sources b/sources index a69c671..1f8355d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bcdcef8e1ba28dbd5bb05f86c79f76b8 webkitgtk-2.4.8.tar.xz +312fd29eb7f5970660c6a64b8bf8420e webkitgtk-2.4.9.tar.xz diff --git a/webkitgtk-2.4.8-g_object_destroyed.patch b/webkitgtk-2.4.8-g_object_destroyed.patch deleted file mode 100644 index 479f1de..0000000 --- a/webkitgtk-2.4.8-g_object_destroyed.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/Source/WebCore/bindings/gobject/GObjectEventListener.cpp b/Source/WebCore/bindings/gobject/GObjectEventListener.cpp -index 76cf279..9d1b881 100644 ---- a/Source/WebCore/bindings/gobject/GObjectEventListener.cpp -+++ b/Source/WebCore/bindings/gobject/GObjectEventListener.cpp -@@ -52,12 +52,13 @@ void GObjectEventListener::gobjectDestroyed() - { - ASSERT(m_coreTarget); - -- // We must set m_coreTarget to null, because removeEventListener -- // may call the destructor as a side effect and we must be in the -- // proper state to prevent g_object_weak_unref. -- EventTarget* target = m_coreTarget; -+ // Protect 'this' class in case the 'm_coreTarget' holds the last reference, -+ // which may cause, inside removeEventListener(), free of this object -+ // and later use-after-free with the m_handler = 0; assignment. -+ RefPtr protect(this); -+ -+ m_coreTarget->removeEventListener(m_domEventName.data(), this, m_capture); - m_coreTarget = 0; -- target->removeEventListener(m_domEventName.data(), this, m_capture); - m_handler = 0; - } - diff --git a/webkitgtk-2.4.8-gcc5.patch b/webkitgtk-2.4.8-gcc5.patch deleted file mode 100644 index 73f6855..0000000 --- a/webkitgtk-2.4.8-gcc5.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -up webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4.gcc5 webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4 ---- webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4.gcc5 2015-01-07 10:45:43.000000000 +0100 -+++ webkitgtk-2.4.8/Source/autotools/CheckSystemAndBasicDependencies.m4 2015-02-18 13:09:57.359888184 +0100 -@@ -87,12 +87,12 @@ AC_SYS_LARGEFILE - c_compiler="unknown" - AC_LANG_PUSH([C]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ --#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) -+#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) - #error Not a supported GCC compiler - #endif - ])], [c_compiler="gcc"], []) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ --#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3) -+#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3))))) - #error Not a supported Clang compiler - #endif - ])], [c_compiler="clang"], []) -@@ -106,12 +106,12 @@ fi - cxx_compiler="unknown" - AC_LANG_PUSH([C++]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ --#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) -+#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) - #error Not a supported G++ compiler - #endif - ])], [cxx_compiler="g++"], []) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ --#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3) -+#if !(defined(__clang__) && (__apple_build_version__ >= 4250024 || (!defined(__apple_build_version__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3))))) - #error Not a supported Clang++ compiler - #endif - ])], [cxx_compiler="clang++"], []) diff --git a/webkitgtk-2.4.8-gmutexlocker.patch b/webkitgtk-2.4.8-gmutexlocker.patch deleted file mode 100644 index 226da3d..0000000 --- a/webkitgtk-2.4.8-gmutexlocker.patch +++ /dev/null @@ -1,281 +0,0 @@ -diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp ---- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.gmutexlocker 2015-02-18 15:40:21.851816374 +0100 -+++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2015-02-18 15:45:58.560092191 +0100 -@@ -316,7 +316,7 @@ void MediaPlayerPrivateGStreamerBase::mu - #if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER_GL) && !USE(COORDINATED_GRAPHICS) - PassRefPtr MediaPlayerPrivateGStreamerBase::updateTexture(TextureMapper* textureMapper) - { -- GMutexLocker lock(m_bufferMutex); -+ WebCore::GMutexLocker lock(m_bufferMutex); - if (!m_buffer) - return nullptr; - -@@ -366,7 +366,7 @@ void MediaPlayerPrivateGStreamerBase::tr - g_return_if_fail(GST_IS_BUFFER(buffer)); - - { -- GMutexLocker lock(m_bufferMutex); -+ WebCore::GMutexLocker lock(m_bufferMutex); - gst_buffer_replace(&m_buffer, buffer); - } - -@@ -398,7 +398,7 @@ void MediaPlayerPrivateGStreamerBase::pa - if (!m_player->visible()) - return; - -- GMutexLocker lock(m_bufferMutex); -+ WebCore::GMutexLocker lock(m_bufferMutex); - if (!m_buffer) - return; - -diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp -diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp ---- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp.gmutexlocker 2015-02-18 15:16:11.995228731 +0100 -+++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp 2015-02-18 15:45:42.686843477 +0100 -@@ -118,7 +118,7 @@ static gboolean webkitVideoSinkTimeoutCa - WebKitVideoSink* sink = reinterpret_cast(data); - WebKitVideoSinkPrivate* priv = sink->priv; - -- GMutexLocker lock(priv->bufferMutex); -+ WebCore::GMutexLocker lock(priv->bufferMutex); - GstBuffer* buffer = priv->buffer; - priv->buffer = 0; - priv->timeoutId = 0; -@@ -140,7 +140,7 @@ static GstFlowReturn webkitVideoSinkRend - WebKitVideoSink* sink = WEBKIT_VIDEO_SINK(baseSink); - WebKitVideoSinkPrivate* priv = sink->priv; - -- GMutexLocker lock(priv->bufferMutex); -+ WebCore::GMutexLocker lock(priv->bufferMutex); - - if (priv->unlocked) - return GST_FLOW_OK; -@@ -279,7 +279,7 @@ static void webkitVideoSinkGetProperty(G - - static void unlockBufferMutex(WebKitVideoSinkPrivate* priv) - { -- GMutexLocker lock(priv->bufferMutex); -+ WebCore::GMutexLocker lock(priv->bufferMutex); - - if (priv->buffer) { - gst_buffer_unref(priv->buffer); -@@ -305,7 +305,7 @@ static gboolean webkitVideoSinkUnlockSto - WebKitVideoSinkPrivate* priv = WEBKIT_VIDEO_SINK(baseSink)->priv; - - { -- GMutexLocker lock(priv->bufferMutex); -+ WebCore::GMutexLocker lock(priv->bufferMutex); - priv->unlocked = false; - } - -@@ -330,7 +330,7 @@ static gboolean webkitVideoSinkStart(Gst - { - WebKitVideoSinkPrivate* priv = WEBKIT_VIDEO_SINK(baseSink)->priv; - -- GMutexLocker lock(priv->bufferMutex); -+ WebCore::GMutexLocker lock(priv->bufferMutex); - priv->unlocked = false; - return TRUE; - } -diff -up webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp.gmutexlocker webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp ---- webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp.gmutexlocker 2015-02-18 15:16:40.954678407 +0100 -+++ webkitgtk-2.4.8/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2015-02-18 15:45:19.567481225 +0100 -@@ -346,7 +346,7 @@ static void webKitWebSrcSetProperty(GObj - - switch (propID) { - case PROP_IRADIO_MODE: { -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - priv->iradioMode = g_value_get_boolean(value); - break; - } -@@ -364,7 +364,7 @@ static void webKitWebSrcGetProperty(GObj - WebKitWebSrc* src = WEBKIT_WEB_SRC(object); - WebKitWebSrcPrivate* priv = src->priv; - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - switch (propID) { - case PROP_IRADIO_MODE: - g_value_set_boolean(value, priv->iradioMode); -@@ -417,7 +417,7 @@ static gboolean webKitWebSrcStop(WebKitW - - ASSERT(isMainThread()); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - - bool seeking = priv->seekID; - -@@ -476,7 +476,7 @@ static gboolean webKitWebSrcStart(WebKit - - ASSERT(isMainThread()); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - - priv->startID = 0; - priv->corsAccessCheck = CORSNoCheck; -@@ -573,7 +573,7 @@ static GstStateChangeReturn webKitWebSrc - return ret; - } - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - switch (transition) { - case GST_STATE_CHANGE_READY_TO_PAUSED: - GST_DEBUG_OBJECT(src, "READY->PAUSED"); -@@ -604,7 +604,7 @@ static gboolean webKitWebSrcQueryWithPar - gst_query_parse_duration(query, &format, NULL); - - GST_DEBUG_OBJECT(src, "duration query in format %s", gst_format_get_name(format)); -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - if (format == GST_FORMAT_BYTES && src->priv->size > 0) { - gst_query_set_duration(query, format, src->priv->size); - result = TRUE; -@@ -612,7 +612,7 @@ static gboolean webKitWebSrcQueryWithPar - break; - } - case GST_QUERY_URI: { -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - gst_query_set_uri(query, src->priv->uri); - result = TRUE; - break; -@@ -653,7 +653,7 @@ static gchar* webKitWebSrcGetUri(GstURIH - WebKitWebSrc* src = WEBKIT_WEB_SRC(handler); - gchar* ret; - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - ret = g_strdup(src->priv->uri); - return ret; - } -@@ -668,7 +668,7 @@ static gboolean webKitWebSrcSetUri(GstUR - return FALSE; - } - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - - g_free(priv->uri); - priv->uri = 0; -@@ -704,7 +704,7 @@ static gboolean webKitWebSrcNeedDataMain - - ASSERT(isMainThread()); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - // already stopped - if (!priv->needDataID) - return FALSE; -@@ -725,7 +725,7 @@ static void webKitWebSrcNeedDataCb(GstAp - - GST_DEBUG_OBJECT(src, "Need more data: %u", length); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - if (priv->needDataID || !priv->paused) { - return; - } -@@ -739,7 +739,7 @@ static gboolean webKitWebSrcEnoughDataMa - - ASSERT(isMainThread()); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - // already stopped - if (!priv->enoughDataID) - return FALSE; -@@ -760,7 +760,7 @@ static void webKitWebSrcEnoughDataCb(Gst - - GST_DEBUG_OBJECT(src, "Have enough data"); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - if (priv->enoughDataID || priv->paused) { - return; - } -@@ -774,7 +774,7 @@ static gboolean webKitWebSrcSeekMainCb(W - - ASSERT(isMainThread()); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - // already stopped - if (!priv->seekID) - return FALSE; -@@ -792,7 +792,7 @@ static gboolean webKitWebSrcSeekDataCb(G - WebKitWebSrcPrivate* priv = src->priv; - - GST_DEBUG_OBJECT(src, "Seeking to offset: %" G_GUINT64_FORMAT, offset); -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - if (offset == priv->offset && priv->requestedOffset == priv->offset) - return TRUE; - -@@ -811,7 +811,7 @@ static gboolean webKitWebSrcSeekDataCb(G - void webKitWebSrcSetMediaPlayer(WebKitWebSrc* src, WebCore::MediaPlayer* player) - { - ASSERT(player); -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - src->priv->player = player; - } - -@@ -841,7 +841,7 @@ char* StreamingClient::createReadBuffer( - - mapGstBuffer(buffer); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - priv->buffer = adoptGRef(buffer); - locker.unlock(); - -@@ -867,7 +867,7 @@ void StreamingClient::handleResponseRece - return; - } - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - - priv->corsAccessCheck = corsAccessCheck; - -@@ -966,7 +966,7 @@ void StreamingClient::handleDataReceived - WebKitWebSrc* src = WEBKIT_WEB_SRC(m_src); - WebKitWebSrcPrivate* priv = src->priv; - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - - GST_LOG_OBJECT(src, "Have %lld bytes of data", priv->buffer ? static_cast(gst_buffer_get_size(priv->buffer.get())) : length); - -@@ -1035,7 +1035,7 @@ void StreamingClient::handleNotifyFinish - - GST_DEBUG_OBJECT(src, "Have EOS"); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - if (!priv->seekID) { - locker.unlock(); - gst_app_src_end_of_stream(priv->appsrc); -@@ -1194,7 +1194,7 @@ void ResourceHandleStreamingClient::wasB - - GST_ERROR_OBJECT(src, "Request was blocked"); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - uri.reset(g_strdup(src->priv->uri)); - locker.unlock(); - -@@ -1208,7 +1208,7 @@ void ResourceHandleStreamingClient::cann - - GST_ERROR_OBJECT(src, "Cannot show URL"); - -- GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); -+ WebCore::GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); - uri.reset(g_strdup(src->priv->uri)); - locker.unlock(); - -diff -up webkitgtk-2.4.8/Source/WTF/wtf/gobject/GMutexLocker.h.gmutexlocker webkitgtk-2.4.8/Source/WTF/wtf/gobject/GMutexLocker.h diff --git a/webkitgtk-2.4.8-plugin_none.patch b/webkitgtk-2.4.8-plugin_none.patch deleted file mode 100644 index 19ae387..0000000 --- a/webkitgtk-2.4.8-plugin_none.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -up webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am.plugin_none webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am ---- webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am.plugin_none 2015-01-08 11:08:03.261853581 +0100 -+++ webkitgtk-2.4.8/Source/WebCore/GNUmakefile.list.am 2015-01-08 11:08:53.650619552 +0100 -@@ -6254,9 +6254,11 @@ endif # END USE_GLX - endif # END TARGET_X11 - - if TARGET_WAYLAND -+if ENABLE_WEBKIT2 - webcore_sources += \ - Source/WebCore/plugins/PluginPackageNone.cpp \ - Source/WebCore/plugins/PluginViewNone.cpp -+endif # END ENABLE_WEBKIT2 - endif # END TARGET_WAYLAND - - if TARGET_X11_OR_WAYLAND -@@ -6305,9 +6307,11 @@ webcoregtk_sources += \ - endif # END TARGET_WIN32 - - if TARGET_QUARTZ -+if ENABLE_WEBKIT2 - webcore_sources += \ - Source/WebCore/plugins/PluginPackageNone.cpp \ - Source/WebCore/plugins/PluginViewNone.cpp -+endif # END ENABLE_WEBKIT2 - platformgtk_sources += \ - Source/WebCore/platform/cairo/WidgetBackingStoreCairo.h \ - Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp diff --git a/webkitgtk-aarch64.patch b/webkitgtk-aarch64.patch index 7272bc1..6a82264 100644 --- a/webkitgtk-aarch64.patch +++ b/webkitgtk-aarch64.patch @@ -1,19 +1,19 @@ -diff -up webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h.aarch64 webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h ---- webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h.aarch64 2014-09-02 11:39:15.782812173 +0200 -+++ webkitgtk-2.4.5/Source/WTF/wtf/dtoa/utils.h 2014-09-02 11:41:23.022637099 +0200 +diff -up webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h.aarch64 webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h +--- webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h.aarch64 2015-05-20 11:03:24.000000000 +0200 ++++ webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h 2015-05-20 13:45:35.629023925 +0200 @@ -49,7 +49,7 @@ defined(__ARMEL__) || \ defined(_MIPS_ARCH_MIPS32R2) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 --#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) -+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) +-#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) ++#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #elif defined(_M_IX86) || defined(__i386__) #if defined(_WIN32) -diff -up webkitgtk-2.4.5/Source/WTF/wtf/Platform.h.aarch64 webkitgtk-2.4.5/Source/WTF/wtf/Platform.h ---- webkitgtk-2.4.5/Source/WTF/wtf/Platform.h.aarch64 2014-08-25 14:50:32.000000000 +0200 -+++ webkitgtk-2.4.5/Source/WTF/wtf/Platform.h 2014-09-02 11:40:40.925033307 +0200 -@@ -331,6 +331,14 @@ +diff -up webkitgtk-2.4.9/Source/WTF/wtf/Platform.h.aarch64 webkitgtk-2.4.9/Source/WTF/wtf/Platform.h +--- webkitgtk-2.4.9/Source/WTF/wtf/Platform.h.aarch64 2015-05-20 11:03:24.000000000 +0200 ++++ webkitgtk-2.4.9/Source/WTF/wtf/Platform.h 2015-05-20 13:47:34.439861401 +0200 +@@ -334,6 +334,14 @@ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 #endif @@ -28,13 +28,12 @@ diff -up webkitgtk-2.4.5/Source/WTF/wtf/Platform.h.aarch64 webkitgtk-2.4.5/Sourc /* ==== OS() - underlying operating system; only to be used for mandated low-level services like virtual memory, not to choose a GUI toolkit ==== */ -@@ -656,7 +664,8 @@ - || CPU(ARM64) \ +@@ -654,7 +662,7 @@ + #if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \ + || (CPU(IA64) && !CPU(IA64_32)) \ + || CPU(ALPHA) \ +- || CPU(ARM64) \ ++ || CPU(AARCH64) \ || CPU(S390X) \ + || CPU(MIPS64) \ || CPU(PPC64) \ -- || CPU(PPC64LE) -+ || CPU(PPC64LE) \ -+ || CPU(AARCH64) - #define WTF_USE_JSVALUE64 1 - #else - #define WTF_USE_JSVALUE32_64 1 diff --git a/webkitgtk3.spec b/webkitgtk3.spec index d221a88..ec12040 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -9,8 +9,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.8 -Release: 9%{?dist} +Version: 2.4.9 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -24,16 +24,8 @@ Patch1: webkitgtk-aarch64.patch Patch2: webkitgtk-2.4.1-cloop_fix.patch Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch -# https://bugs.webkit.org/show_bug.cgi?id=140241 -Patch5: webkitgtk-2.4.8-plugin_none.patch -# https://bugs.webkit.org/show_bug.cgi?id=126324 -Patch6: webkitgtk-2.4.8-gcc5.patch -# https://bugs.webkit.org/show_bug.cgi?id=141381 -Patch7: webkitgtk-2.4.8-gmutexlocker.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 -Patch8: webkitgtk-2.4.8-user-agent.patch -#https://bugs.webkit.org/show_bug.cgi?id=127474 -Patch9: webkitgtk-2.4.8-g_object_destroyed.patch +Patch5: webkitgtk-2.4.8-user-agent.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -101,11 +93,7 @@ This package contains developer documentation for %{name}. %patch0 -p1 -b .nspluginwrapper %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix -%patch5 -p1 -b .plugin_none -%patch6 -p1 -b .gcc5 -%patch7 -p1 -b .gmutex_locker -%patch8 -p1 -b .user_agent -%patch9 -p1 -b .g_object_destroyed +%patch5 -p1 -b .user_agent %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -113,11 +101,6 @@ This package contains developer documentation for %{name}. %patch4 -p1 -b .ppc64_align %endif -# Remove when 2.4.9 will be released -# Needed for https://bugs.webkit.org/show_bug.cgi?id=140241 -# Regenerate configure to pick up the gcc 5.0 changes -autoreconf -v - %build # Use linker flags to reduce memory consumption %global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads @@ -224,6 +207,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed May 20 2015 Tomas Popela - 2.4.9-1 +- Update to 2.4.9 + * Sat May 02 2015 Kalev Lember - 2.4.8-9 - Rebuilt for GCC 5 C++11 ABI change From 07ad6fa231faa647cd59070e69fa8c381ad85e8e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:19:25 +0000 Subject: [PATCH 68/92] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index ec12040..54a4ae7 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -207,6 +207,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 2.4.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed May 20 2015 Tomas Popela - 2.4.9-1 - Update to 2.4.9 From 0f1bc27ea78108ba1cede88a85fbbf7ebb35afa6 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 25 Sep 2015 07:53:26 +0200 Subject: [PATCH 69/92] - rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV Initialize string in SQLiteStatement before using it --- webkitgtk-2.4.9-sql_initialize_string.patch | 12 ++++++++++++ webkitgtk3.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.9-sql_initialize_string.patch diff --git a/webkitgtk-2.4.9-sql_initialize_string.patch b/webkitgtk-2.4.9-sql_initialize_string.patch new file mode 100644 index 0000000..a34ef14 --- /dev/null +++ b/webkitgtk-2.4.9-sql_initialize_string.patch @@ -0,0 +1,12 @@ +diff -up webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp.sql_initialize_string webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp +--- webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp.sql_initialize_string 2015-09-14 09:25:43.004200172 +0200 ++++ webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp 2015-09-14 09:25:57.852082368 +0200 +@@ -71,7 +71,7 @@ int SQLiteStatement::prepare() + // this lets SQLite avoid an extra string copy. + size_t lengthIncludingNullCharacter = query.length() + 1; + +- const char* tail; ++ const char* tail = nullptr; + int error = sqlite3_prepare_v2(m_database.sqlite3Handle(), query.data(), lengthIncludingNullCharacter, &m_statement, &tail); + + if (error != SQLITE_OK) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 54a4ae7..2028449 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -26,6 +26,8 @@ Patch3: webkitgtk-2.4.5-cloop_fix_32.patch Patch4: webkitgtk-2.4.1-ppc64_align.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 Patch5: webkitgtk-2.4.8-user-agent.patch +# http://trac.webkit.org/changeset/169665 +Patch6: webkitgtk-2.4.9-sql_initialize_string.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -94,6 +96,7 @@ This package contains developer documentation for %{name}. %patch1 -p1 -b .aarch64 %patch2 -p1 -b .cloop_fix %patch5 -p1 -b .user_agent +%patch6 -p1 -b .sql_initialize_string %ifarch ppc s390 %patch3 -p1 -b .cloop_fix_32 %endif @@ -207,6 +210,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Sep 25 2015 Tomas Popela - 2.4.9-3 +- rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV + Initialize string in SQLiteStatement before using it + * Fri Jun 19 2015 Fedora Release Engineering - 2.4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From dc09c7cf4fec274979b1f31e1c1a8048ae743848 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 28 Oct 2015 14:09:07 +0100 Subject: [PATCH 70/92] rebuild for ICU 56.1 --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 2028449..524bd09 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -210,6 +210,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Oct 28 2015 David Tardon - 2.4.9-4 +- rebuild for ICU 56.1 + * Fri Sep 25 2015 Tomas Popela - 2.4.9-3 - rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV Initialize string in SQLiteStatement before using it From 21c2602eaf2779270868d9bce0db86f483c1e177 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 7 Dec 2015 11:48:28 +0100 Subject: [PATCH 71/92] rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24 --- webkit-1.1.14-nspluginwrapper.patch | 12 ---------- webkitgtk3.spec | 34 ++++++++++++++++------------- 2 files changed, 19 insertions(+), 27 deletions(-) delete mode 100644 webkit-1.1.14-nspluginwrapper.patch diff --git a/webkit-1.1.14-nspluginwrapper.patch b/webkit-1.1.14-nspluginwrapper.patch deleted file mode 100644 index 0d3aa27..0000000 --- a/webkit-1.1.14-nspluginwrapper.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- webkit-1.1.17/Source/WebCore/plugins/PluginDatabase.cpp.old 2009-12-01 15:22:10.000000000 +0000 -+++ webkit-1.1.17/Source/WebCore/plugins/PluginDatabase.cpp 2009-12-01 15:22:21.000000000 +0000 -@@ -357,6 +357,9 @@ Vector PluginDatabase::defaultPl - paths.append("/usr/lib64/mozilla/plugins"); - paths.append("/usr/lib/nsbrowser/plugins"); - paths.append("/usr/lib64/nsbrowser/plugins"); -+ /* And for nspluginwrapper */ -+ paths.append("/usr/lib64/mozilla/plugins-wrapped"); -+ paths.append("/usr/lib/mozilla/plugins-wrapped"); - - String mozHome(getenv("MOZILLA_HOME")); - mozHome.append("/plugins"); diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 524bd09..fdb5217 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -19,15 +19,14 @@ URL: http://www.webkitgtk.org/ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz -Patch0: webkit-1.1.14-nspluginwrapper.patch -Patch1: webkitgtk-aarch64.patch -Patch2: webkitgtk-2.4.1-cloop_fix.patch -Patch3: webkitgtk-2.4.5-cloop_fix_32.patch -Patch4: webkitgtk-2.4.1-ppc64_align.patch +Patch0: webkitgtk-aarch64.patch +Patch1: webkitgtk-2.4.1-cloop_fix.patch +Patch2: webkitgtk-2.4.5-cloop_fix_32.patch +Patch3: webkitgtk-2.4.1-ppc64_align.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 -Patch5: webkitgtk-2.4.8-user-agent.patch +Patch4: webkitgtk-2.4.8-user-agent.patch # http://trac.webkit.org/changeset/169665 -Patch6: webkitgtk-2.4.9-sql_initialize_string.patch +Patch5: webkitgtk-2.4.9-sql_initialize_string.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -92,16 +91,15 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" -%patch0 -p1 -b .nspluginwrapper -%patch1 -p1 -b .aarch64 -%patch2 -p1 -b .cloop_fix -%patch5 -p1 -b .user_agent -%patch6 -p1 -b .sql_initialize_string +%patch0 -p1 -b .aarch64 +%patch1 -p1 -b .cloop_fix +%patch4 -p1 -b .user_agent +%patch5 -p1 -b .sql_initialize_string %ifarch ppc s390 -%patch3 -p1 -b .cloop_fix_32 +%patch2 -p1 -b .cloop_fix_32 %endif %ifarch %{power64} aarch64 ppc -%patch4 -p1 -b .ppc64_align +%patch3 -p1 -b .ppc64_align %endif %build @@ -210,6 +208,12 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Dec 07 2015 Tomas Popela - 2.4.9-5 +- rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24 + +* Wed Oct 28 2015 David Tardon - 2.4.9-4 +- rebuild for ICU 56.1 + * Wed Oct 28 2015 David Tardon - 2.4.9-4 - rebuild for ICU 56.1 From 8a1b0dbf98d44cbe7725b05e287da6545fc599f2 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 7 Dec 2015 11:49:31 +0100 Subject: [PATCH 72/92] Remove Changelog entry duplicate --- webkitgtk3.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index fdb5217..1b4c644 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -214,9 +214,6 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete * Wed Oct 28 2015 David Tardon - 2.4.9-4 - rebuild for ICU 56.1 -* Wed Oct 28 2015 David Tardon - 2.4.9-4 -- rebuild for ICU 56.1 - * Fri Sep 25 2015 Tomas Popela - 2.4.9-3 - rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV Initialize string in SQLiteStatement before using it From f0daba1da0877784683898a6a49bd3858fc60b80 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Dec 2015 18:56:14 +0100 Subject: [PATCH 73/92] Rebuilt for libwebp soname bump Signed-off-by: Igor Gnatenko --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 1b4c644..b978c72 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -208,6 +208,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Dec 28 2015 Igor Gnatenko - 2.4.9-6 +- Rebuilt for libwebp soname bump + * Mon Dec 07 2015 Tomas Popela - 2.4.9-5 - rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24 From 5d2bdbb15a8197024809528d468b69bfa87373f9 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 25 Jan 2016 09:47:36 +0100 Subject: [PATCH 74/92] Add support for MIPS --- webkitgtk3.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index b978c72..4743463 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -95,7 +95,7 @@ This package contains developer documentation for %{name}. %patch1 -p1 -b .cloop_fix %patch4 -p1 -b .user_agent %patch5 -p1 -b .sql_initialize_string -%ifarch ppc s390 +%ifarch ppc s390 mips %patch2 -p1 -b .cloop_fix_32 %endif %ifarch %{power64} aarch64 ppc @@ -106,7 +106,7 @@ This package contains developer documentation for %{name}. # Use linker flags to reduce memory consumption %global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -%ifarch s390 %{arm} +%ifarch s390 %{arm} mips mipsel # Decrease debuginfo verbosity to reduce memory consumption even more %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %endif @@ -116,7 +116,7 @@ This package contains developer documentation for %{name}. %global optflags %{optflags} -Wl,-relax -latomic %endif -%ifarch s390 s390x ppc %{power64} aarch64 +%ifarch s390 s390x ppc %{power64} aarch64 %{mips} %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif @@ -127,7 +127,7 @@ This package contains developer documentation for %{name}. %configure \ --with-gtk=3.0 \ --disable-webkit2 \ -%ifarch s390 s390x ppc %{power64} aarch64 +%ifarch s390 s390x ppc %{power64} aarch64 %{mips} --disable-jit \ %else --enable-jit \ @@ -208,6 +208,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Dec 30 2015 Michal Toman - 2.4.9-7 +- Add support for MIPS + * Mon Dec 28 2015 Igor Gnatenko - 2.4.9-6 - Rebuilt for libwebp soname bump From e255be264ccab9b35a8e3aa2b29fc54acaa44930 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:57:23 +0000 Subject: [PATCH 75/92] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 4743463..699ef7d 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -208,6 +208,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 2.4.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Dec 30 2015 Michal Toman - 2.4.9-7 - Add support for MIPS From 5b0f27ebbc3c53a0227c6283b72233297bc2b2c3 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 8 Feb 2016 08:21:18 +0100 Subject: [PATCH 76/92] Fix the build with gcc 6 (use Kevin's patch from the webkitgtk package) --- webkitgtk-2.4.9-abs.patch | 26 ++++++++++++++++++++++++++ webkitgtk3.spec | 7 ++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.9-abs.patch diff --git a/webkitgtk-2.4.9-abs.patch b/webkitgtk-2.4.9-abs.patch new file mode 100644 index 0000000..9a1c5f9 --- /dev/null +++ b/webkitgtk-2.4.9-abs.patch @@ -0,0 +1,26 @@ +diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp +--- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600 ++++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700 +@@ -85,8 +85,8 @@ + guint32 eventTime = getEventTime(event); + + if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) +- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) +- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) ++ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) ++ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) + && (eventTime - m_previousClickTime < static_cast(doubleClickTime)) + && (buttonEvent->button == m_previousClickButton))) + m_currentClickCount++; +diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp +--- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600 ++++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700 +@@ -659,7 +659,7 @@ + if (!std::isfinite(time)) + return String::fromUTF8(_("indefinite time")); + +- int seconds = static_cast(abs(time)); ++ int seconds = static_cast(fabs(time)); + int days = seconds / (60 * 60 * 24); + int hours = seconds / (60 * 60); + int minutes = (seconds / 60) % 60; diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 699ef7d..e146005 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 8%{?dist} +Release: 9%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -27,6 +27,7 @@ Patch3: webkitgtk-2.4.1-ppc64_align.patch Patch4: webkitgtk-2.4.8-user-agent.patch # http://trac.webkit.org/changeset/169665 Patch5: webkitgtk-2.4.9-sql_initialize_string.patch +Patch6: webkitgtk-2.4.9-abs.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -95,6 +96,7 @@ This package contains developer documentation for %{name}. %patch1 -p1 -b .cloop_fix %patch4 -p1 -b .user_agent %patch5 -p1 -b .sql_initialize_string +%patch6 -p1 -b .abs %ifarch ppc s390 mips %patch2 -p1 -b .cloop_fix_32 %endif @@ -208,6 +210,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sat Feb 06 2016 Tomas Popela - 2.4.9-9 +- Fix the build with gcc 6 (use Kevin's patch from the webkitgtk package) + * Fri Feb 05 2016 Fedora Release Engineering - 2.4.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From fbb8dbd5183a02c17d4d1a0c388375479e880b14 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 9 Feb 2016 13:35:03 +0000 Subject: [PATCH 77/92] Add ruby deps for build --- webkitgtk3.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index e146005..84dea45 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.9 -Release: 9%{?dist} +Release: 10%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -59,7 +59,7 @@ BuildRequires: pcre-devel BuildRequires: sqlite-devel BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: perl-Switch -BuildRequires: ruby +BuildRequires: ruby rubypick rubygems BuildRequires: mesa-libGL-devel %ifarch ppc BuildRequires: libatomic @@ -210,6 +210,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Feb 9 2016 Peter Robinson 2.4.9-10 +- Add ruby deps for build + * Sat Feb 06 2016 Tomas Popela - 2.4.9-9 - Fix the build with gcc 6 (use Kevin's patch from the webkitgtk package) From b529119ff510f10a9db5bea517ee7d4a74a7c298 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 7 Mar 2016 10:34:48 +0100 Subject: [PATCH 78/92] Clear the patches before the 2.4.10 release --- webkitgtk-2.4.1-cloop_fix.patch | 141 +------------------ webkitgtk-2.4.1-cloop_operations_scope.patch | 99 +++++++++++++ webkitgtk-2.4.1-jsc_proto_call_frame.patch | 45 ++++++ webkitgtk3.spec | 13 +- 4 files changed, 160 insertions(+), 138 deletions(-) create mode 100644 webkitgtk-2.4.1-cloop_operations_scope.patch create mode 100644 webkitgtk-2.4.1-jsc_proto_call_frame.patch diff --git a/webkitgtk-2.4.1-cloop_fix.patch b/webkitgtk-2.4.1-cloop_fix.patch index 2675caf..b647b10 100644 --- a/webkitgtk-2.4.1-cloop_fix.patch +++ b/webkitgtk-2.4.1-cloop_fix.patch @@ -1,57 +1,6 @@ -diff -up webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h ---- webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.cloop_fix 2014-07-23 14:15:45.497658648 +0200 -+++ webkitgtk-2.4.4/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2014-07-23 14:16:46.997687779 +0200 -@@ -36,7 +36,7 @@ struct ProtoCallFrame { - Register calleeValue; - Register argCountAndCodeOriginValue; - Register thisArg; -- size_t paddedArgCount; -+ uint32_t paddedArgCount; - JSValue *args; - - void init(CodeBlock*, JSScope*, JSObject*, JSValue, int, JSValue* otherArgs = 0); -@@ -53,7 +53,7 @@ struct ProtoCallFrame { - int argumentCountIncludingThis() const { return argCountAndCodeOriginValue.payload(); } - int argumentCount() const { return argumentCountIncludingThis() - 1; } - void setArgumentCountIncludingThis(int count) { argCountAndCodeOriginValue.payload() = count; } -- void setPaddedArgsCount(size_t argCount) { paddedArgCount = argCount; } -+ void setPaddedArgsCount(uint32_t argCount) { paddedArgCount = argCount; } - - void clearCurrentVPC() { argCountAndCodeOriginValue.tag() = 0; } - -diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp ---- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_fix 2014-07-23 14:16:02.057667404 +0200 -+++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2014-07-23 14:16:46.997687779 +0200 -@@ -1354,7 +1354,7 @@ LLINT_SLOW_PATH_DECL(slow_path_get_from_ - CodeBlock* codeBlock = exec->codeBlock(); - ConcurrentJITLocker locker(codeBlock->m_lock); - pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); -- pc[6].u.operand = slot.cachedOffset(); -+ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); - } - } - -@@ -1381,7 +1381,7 @@ LLINT_SLOW_PATH_DECL(slow_path_put_to_sc - if (slot.isCacheable() && slot.base() == scope && scope->structure()->propertyAccessesAreCacheable()) { - ConcurrentJITLocker locker(codeBlock->m_lock); - pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); -- pc[6].u.operand = slot.cachedOffset(); -+ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); - } - } - -diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2014-07-23 14:16:13.047672325 +0200 -+++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2014-07-23 14:18:27.547721786 +0200 -@@ -282,7 +282,7 @@ macro doCallToJavaScript(makeCall, doRet - storep temp3, CodeBlock+4[cfr, temp1, 8] - btinz temp1, .copyHeaderLoop - -- loadi ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 -+ loadi PayloadOffset + ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 - subi 1, temp2 - loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp3 - subi 1, temp3 +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2015-05-20 11:03:24.000000000 +0200 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:17:14.337760573 +0100 @@ -321,7 +321,7 @@ macro doCallToJavaScript(makeCall, doRet .calleeFramePopped: @@ -106,7 +55,7 @@ diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as btiz t2, .resolveScopeLoopEnd .resolveScopeLoop: -@@ -2271,13 +2271,13 @@ _llint_op_resolve_scope: +@@ -2271,7 +2271,7 @@ _llint_op_resolve_scope: macro loadWithStructureCheck(operand, slowPath) loadisFromInstruction(operand, t0) @@ -115,85 +64,3 @@ diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as loadpFromInstruction(5, t1) bpneq JSCell::m_structure[t0], t1, slowPath end - - macro getProperty() -- loadisFromInstruction(6, t3) -+ loadpFromInstruction(6, t3) - loadPropertyAtVariableOffset(t3, t0, t1, t2) - valueProfile(t1, t2, 28, t0) - loadisFromInstruction(1, t0) -@@ -2297,7 +2297,7 @@ end - - macro getClosureVar() - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t3) -+ loadpFromInstruction(6, t3) - loadp TagOffset[t0, t3, 8], t1 - loadp PayloadOffset[t0, t3, 8], t2 - valueProfile(t1, t2, 28, t0) -@@ -2356,7 +2356,7 @@ _llint_op_get_from_scope: - macro putProperty() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2, t3) -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storePropertyAtVariableOffset(t1, t0, t2, t3) - end - -@@ -2374,7 +2374,7 @@ macro putClosureVar() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2, t3) - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storei t2, TagOffset[t0, t1, 8] - storei t3, PayloadOffset[t0, t1, 8] - end -diff -up webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm ---- webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_fix 2014-07-23 14:16:19.147675074 +0200 -+++ webkitgtk-2.4.4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2014-07-23 14:16:46.997687779 +0200 -@@ -171,7 +171,7 @@ macro doCallToJavaScript(makeCall, doRet - storep temp3, CodeBlock[cfr, temp1, 8] - btinz temp1, .copyHeaderLoop - -- loadi ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 -+ loadi PayloadOffset + ProtoCallFrame::argCountAndCodeOriginValue[protoCallFrame], temp2 - subi 1, temp2 - loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp3 - subi 1, temp3 -@@ -2047,7 +2047,7 @@ macro loadWithStructureCheck(operand, sl - end - - macro getProperty() -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - loadPropertyAtVariableOffset(t1, t0, t2) - valueProfile(t2, 7, t0) - loadisFromInstruction(1, t0) -@@ -2064,7 +2064,7 @@ end - - macro getClosureVar() - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - loadq [t0, t1, 8], t0 - valueProfile(t0, 7, t1) - loadisFromInstruction(1, t1) -@@ -2121,7 +2121,7 @@ _llint_op_get_from_scope: - macro putProperty() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2) -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storePropertyAtVariableOffset(t1, t0, t2) - end - -@@ -2138,7 +2138,7 @@ macro putClosureVar() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2) - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storeq t2, [t0, t1, 8] - end - diff --git a/webkitgtk-2.4.1-cloop_operations_scope.patch b/webkitgtk-2.4.1-cloop_operations_scope.patch new file mode 100644 index 0000000..e7b6415 --- /dev/null +++ b/webkitgtk-2.4.1-cloop_operations_scope.patch @@ -0,0 +1,99 @@ +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_operations_scope 2015-05-20 11:03:24.000000000 +0200 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2016-03-07 10:15:36.659406501 +0100 +@@ -1354,7 +1354,7 @@ LLINT_SLOW_PATH_DECL(slow_path_get_from_ + CodeBlock* codeBlock = exec->codeBlock(); + ConcurrentJITLocker locker(codeBlock->m_lock); + pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); +- pc[6].u.operand = slot.cachedOffset(); ++ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); + } + } + +@@ -1381,7 +1381,7 @@ LLINT_SLOW_PATH_DECL(slow_path_put_to_sc + if (slot.isCacheable() && slot.base() == scope && scope->structure()->propertyAccessesAreCacheable()) { + ConcurrentJITLocker locker(codeBlock->m_lock); + pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); +- pc[6].u.operand = slot.cachedOffset(); ++ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); + } + } + +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_operations_scope 2016-03-07 10:15:36.657406514 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:16:01.854239892 +0100 +@@ -2277,7 +2277,7 @@ macro loadWithStructureCheck(operand, sl + end + + macro getProperty() +- loadisFromInstruction(6, t3) ++ loadpFromInstruction(6, t3) + loadPropertyAtVariableOffset(t3, t0, t1, t2) + valueProfile(t1, t2, 28, t0) + loadisFromInstruction(1, t0) +@@ -2297,7 +2297,7 @@ end + + macro getClosureVar() + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t3) ++ loadpFromInstruction(6, t3) + loadp TagOffset[t0, t3, 8], t1 + loadp PayloadOffset[t0, t3, 8], t2 + valueProfile(t1, t2, 28, t0) +@@ -2356,7 +2356,7 @@ _llint_op_get_from_scope: + macro putProperty() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2, t3) +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storePropertyAtVariableOffset(t1, t0, t2, t3) + end + +@@ -2374,7 +2374,7 @@ macro putClosureVar() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2, t3) + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storei t2, TagOffset[t0, t1, 8] + storei t3, PayloadOffset[t0, t1, 8] + end +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_operations_scope 2016-03-07 10:15:36.658406508 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2016-03-07 10:15:36.660406494 +0100 +@@ -2047,7 +2047,7 @@ macro loadWithStructureCheck(operand, sl + end + + macro getProperty() +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + loadPropertyAtVariableOffset(t1, t0, t2) + valueProfile(t2, 7, t0) + loadisFromInstruction(1, t0) +@@ -2064,7 +2064,7 @@ end + + macro getClosureVar() + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + loadq [t0, t1, 8], t0 + valueProfile(t0, 7, t1) + loadisFromInstruction(1, t1) +@@ -2121,7 +2121,7 @@ _llint_op_get_from_scope: + macro putProperty() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2) +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storePropertyAtVariableOffset(t1, t0, t2) + end + +@@ -2138,7 +2138,7 @@ macro putClosureVar() + loadisFromInstruction(3, t1) + loadConstantOrVariable(t1, t2) + loadp JSVariableObject::m_registers[t0], t0 +- loadisFromInstruction(6, t1) ++ loadpFromInstruction(6, t1) + storeq t2, [t0, t1, 8] + end + diff --git a/webkitgtk-2.4.1-jsc_proto_call_frame.patch b/webkitgtk-2.4.1-jsc_proto_call_frame.patch new file mode 100644 index 0000000..b80751c --- /dev/null +++ b/webkitgtk-2.4.1-jsc_proto_call_frame.patch @@ -0,0 +1,45 @@ +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h +--- webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.jsc_proto_call_frame 2016-03-07 10:04:24.425851848 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2016-03-07 10:04:53.193661612 +0100 +@@ -36,7 +36,7 @@ struct ProtoCallFrame { + Register calleeValue; + Register argCountAndCodeOriginValue; + Register thisArg; +- size_t paddedArgCount; ++ uint32_t paddedArgCount; + JSValue *args; + + void init(CodeBlock*, JSScope*, JSObject*, JSValue, int, JSValue* otherArgs = 0); +@@ -53,7 +53,7 @@ struct ProtoCallFrame { + int argumentCountIncludingThis() const { return argCountAndCodeOriginValue.payload(); } + int argumentCount() const { return argumentCountIncludingThis() - 1; } + void setArgumentCountIncludingThis(int count) { argCountAndCodeOriginValue.payload() = count; } +- void setPaddedArgsCount(size_t argCount) { paddedArgCount = argCount; } ++ void setPaddedArgsCount(uint32_t argCount) { paddedArgCount = argCount; } + + void clearCurrentVPC() { argCountAndCodeOriginValue.tag() = 0; } + +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.jsc_proto_call_frame 2016-03-07 10:05:28.754426456 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:06:02.349204301 +0100 +@@ -266,7 +266,7 @@ macro doCallToJavaScript(makeCall, doRet + storep previousCFR, CallerFrame[cfr] + move cfr, temp1 + +- loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 ++ loadi PayloadOffset + ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 + addp CallFrameHeaderSlots, temp2, temp2 + lshiftp 3, temp2 + subp temp2, cfr +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.jsc_proto_call_frame 2016-03-07 10:05:34.843386191 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2016-03-07 10:06:23.245066120 +0100 +@@ -157,7 +157,7 @@ macro doCallToJavaScript(makeCall, doRet + storep previousCFR, CallerFrame[cfr] + move cfr, temp1 + +- loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 ++ loadi PayloadOffset + ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 + addp CallFrameHeaderSlots, temp2, temp2 + lshiftp 3, temp2 + subp temp2, cfr diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 84dea45..82cfcd6 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -19,15 +19,24 @@ URL: http://www.webkitgtk.org/ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz +# https://bugs.webkit.org/show_bug.cgi?id=130506 - 2.4.10 Patch0: webkitgtk-aarch64.patch +# not upstreamed! Patch1: webkitgtk-2.4.1-cloop_fix.patch +# not upstreamed - applied just on 32-bit architectures! Patch2: webkitgtk-2.4.5-cloop_fix_32.patch +# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 Patch3: webkitgtk-2.4.1-ppc64_align.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 Patch4: webkitgtk-2.4.8-user-agent.patch -# http://trac.webkit.org/changeset/169665 +# http://trac.webkit.org/changeset/169665 - 2.4.10 Patch5: webkitgtk-2.4.9-sql_initialize_string.patch Patch6: webkitgtk-2.4.9-abs.patch +# https://bugs.webkit.org/show_bug.cgi?id=131449 - 2.4.10 +Patch7: webkitgtk-2.4.1-jsc_proto_call_frame.patch +# https://bugs.webkit.org/show_bug.cgi?id=132333 - never got r+ but used in Fedora for a long time +Patch8: webkitgtk-2.4.1-cloop_operations_scope.patch + BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -94,6 +103,8 @@ This package contains developer documentation for %{name}. %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .aarch64 %patch1 -p1 -b .cloop_fix +%patch7 -p1 -b .jsc_proto_call_frame +%patch8 -p1 -b .cloop_operations_scope %patch4 -p1 -b .user_agent %patch5 -p1 -b .sql_initialize_string %patch6 -p1 -b .abs From ee0cef90f38f5ca729fd685375f78cdc4513532b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 9 Mar 2016 11:52:36 +0100 Subject: [PATCH 79/92] Improve the downstream patches situation a little bit --- webkitgtk-2.4.1-cloop_fix.patch | 66 --------------- webkitgtk-2.4.5-cloop_fix_32.patch | 31 ------- webkitgtk-2.4.9-cloop_fix_2_4.patch | 121 ++++++++++++++++++++++++++++ webkitgtk3.spec | 43 +++++----- 4 files changed, 140 insertions(+), 121 deletions(-) delete mode 100644 webkitgtk-2.4.1-cloop_fix.patch delete mode 100644 webkitgtk-2.4.5-cloop_fix_32.patch create mode 100644 webkitgtk-2.4.9-cloop_fix_2_4.patch diff --git a/webkitgtk-2.4.1-cloop_fix.patch b/webkitgtk-2.4.1-cloop_fix.patch deleted file mode 100644 index b647b10..0000000 --- a/webkitgtk-2.4.1-cloop_fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:17:14.337760573 +0100 -@@ -321,7 +321,7 @@ macro doCallToJavaScript(makeCall, doRet - - .calleeFramePopped: - loadp Callee[cfr], temp3 # VM.topCallFrame -- loadp ScopeChain[cfr], temp4 -+ loadp ScopeChain + PayloadOffset[cfr], temp4 - storep temp4, [temp3] - - doReturn(extraStackSpace) -@@ -598,7 +598,7 @@ end - - - macro branchIfException(label) -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - bieq VM::m_exception + TagOffset[t3], EmptyValueTag, .noException -@@ -2039,7 +2039,7 @@ _llint_op_catch: - # the interpreter's throw trampoline (see _llint_throw_trampoline). - # The throwing code must have known that we were throwing to the interpreter, - # and have set VM::targetInterpreterPCForThrow. -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - loadp VM::callFrameForThrow[t3], cfr -@@ -2159,7 +2159,7 @@ macro nativeCallTrampoline(executableOff - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - elsif C_LOOP -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - storep cfr, VM::topCallFrame[t3] -@@ -2172,7 +2172,7 @@ macro nativeCallTrampoline(executableOff - move t2, cfr - cloopCallNative executableOffsetToFunction[t1] - restoreReturnAddressBeforeReturn(t3) -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - else -@@ -2212,7 +2212,7 @@ macro resolveScope() - addi 1, t2 - - .resolveScopeAfterActivationCheck: -- loadp ScopeChain[cfr], t0 -+ loadp ScopeChain + PayloadOffset[cfr], t0 - btiz t2, .resolveScopeLoopEnd - - .resolveScopeLoop: -@@ -2271,7 +2271,7 @@ _llint_op_resolve_scope: - - macro loadWithStructureCheck(operand, slowPath) - loadisFromInstruction(operand, t0) -- loadp [cfr, t0, 8], t0 -+ loadp PayloadOffset[cfr, t0, 8], t0 - loadpFromInstruction(5, t1) - bpneq JSCell::m_structure[t0], t1, slowPath - end diff --git a/webkitgtk-2.4.5-cloop_fix_32.patch b/webkitgtk-2.4.5-cloop_fix_32.patch deleted file mode 100644 index 96c53ad..0000000 --- a/webkitgtk-2.4.5-cloop_fix_32.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_32 webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_32 2013-08-28 21:06:29.000000000 +0200 -+++ webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2013-09-12 15:32:34.000000000 +0200 -@@ -1679,7 +1679,7 @@ _llint_op_next_pname: - loadi 20[PC], t2 - loadi PayloadOffset[cfr, t2, 8], t2 - loadp JSPropertyNameIterator::m_jsStrings[t2], t3 -- loadi [t3, t0, 8], t3 -+ loadi PayloadOffset[t3, t0, 8], t3 - addi 1, t0 - storei t0, PayloadOffset[cfr, t1, 8] - loadi 4[PC], t1 -diff -up webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_32 webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm ---- webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_32 2013-08-28 21:06:29.000000000 +0200 -+++ webkitgtk-2.4.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2013-09-12 15:32:34.000000000 +0200 -@@ -276,13 +276,13 @@ macro assertNotConstant(index) - end - - macro functionForCallCodeBlockGetter(targetRegister) -- loadp Callee[cfr], targetRegister -+ loadp Callee + PayloadOffset[cfr], targetRegister - loadp JSFunction::m_executable[targetRegister], targetRegister - loadp FunctionExecutable::m_codeBlockForCall[targetRegister], targetRegister - end - - macro functionForConstructCodeBlockGetter(targetRegister) -- loadp Callee[cfr], targetRegister -+ loadp Callee + PayloadOffset[cfr], targetRegister - loadp JSFunction::m_executable[targetRegister], targetRegister - loadp FunctionExecutable::m_codeBlockForConstruct[targetRegister], targetRegister - end diff --git a/webkitgtk-2.4.9-cloop_fix_2_4.patch b/webkitgtk-2.4.9-cloop_fix_2_4.patch new file mode 100644 index 0000000..aad575c --- /dev/null +++ b/webkitgtk-2.4.9-cloop_fix_2_4.patch @@ -0,0 +1,121 @@ +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 2016-03-07 11:32:36.130671900 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 13:15:35.451673413 +0100 +@@ -321,7 +321,7 @@ macro doCallToJavaScript(makeCall, doRet + + .calleeFramePopped: + loadp Callee[cfr], temp3 # VM.topCallFrame +- loadp ScopeChain[cfr], temp4 ++ loadp ScopeChain + PayloadOffset[cfr], temp4 + storep temp4, [temp3] + + doReturn(extraStackSpace) +@@ -598,7 +598,7 @@ end + + + macro branchIfException(label) +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + bieq VM::m_exception + TagOffset[t3], EmptyValueTag, .noException +@@ -2039,7 +2039,7 @@ _llint_op_catch: + # the interpreter's throw trampoline (see _llint_throw_trampoline). + # The throwing code must have known that we were throwing to the interpreter, + # and have set VM::targetInterpreterPCForThrow. +- loadp ScopeChain[cfr], t3 ++ loadp ScopeChain + PayloadOffset[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + loadp VM::callFrameForThrow[t3], cfr +@@ -2122,7 +2122,7 @@ macro nativeCallTrampoline(executableOff + storei CellTag, ScopeChain + TagOffset[cfr] + storei t1, ScopeChain + PayloadOffset[cfr] + if X86 +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + storep cfr, VM::topCallFrame[t3] +@@ -2135,11 +2135,11 @@ macro nativeCallTrampoline(executableOff + move t0, cfr + call executableOffsetToFunction[t1] + addp 16 - 4, sp +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + elsif ARM or ARMv7 or ARMv7_TRADITIONAL or MIPS or SH4 +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + storep cfr, VM::topCallFrame[t3] +@@ -2155,11 +2155,11 @@ macro nativeCallTrampoline(executableOff + end + call executableOffsetToFunction[t1] + restoreReturnAddressBeforeReturn(t3) +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + elsif C_LOOP +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + storep cfr, VM::topCallFrame[t3] +@@ -2172,7 +2172,7 @@ macro nativeCallTrampoline(executableOff + move t2, cfr + cloopCallNative executableOffsetToFunction[t1] + restoreReturnAddressBeforeReturn(t3) +- loadp ScopeChain[cfr], t3 ++ loadp PayloadOffset + ScopeChain[cfr], t3 + andp MarkedBlockMask, t3 + loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 + else +@@ -2212,7 +2212,7 @@ macro resolveScope() + addi 1, t2 + + .resolveScopeAfterActivationCheck: +- loadp ScopeChain[cfr], t0 ++ loadp ScopeChain + PayloadOffset[cfr], t0 + btiz t2, .resolveScopeLoopEnd + + .resolveScopeLoop: +@@ -2271,7 +2271,7 @@ _llint_op_resolve_scope: + + macro loadWithStructureCheck(operand, slowPath) + loadisFromInstruction(operand, t0) +- loadp [cfr, t0, 8], t0 ++ loadp PayloadOffset[cfr, t0, 8], t0 + loadpFromInstruction(5, t1) + bpneq JSCell::m_structure[t0], t1, slowPath + end +diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 2015-05-20 11:03:24.000000000 +0200 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2016-03-07 11:32:36.129671904 +0100 +@@ -299,13 +299,21 @@ macro assertNotConstant(index) + end + + macro functionForCallCodeBlockGetter(targetRegister) +- loadp Callee[cfr], targetRegister ++ if JSVALUE64 ++ loadp Callee[cfr], targetRegister ++ else ++ loadp Callee + PayloadOffset[cfr], targetRegister ++ end + loadp JSFunction::m_executable[targetRegister], targetRegister + loadp FunctionExecutable::m_codeBlockForCall[targetRegister], targetRegister + end + + macro functionForConstructCodeBlockGetter(targetRegister) +- loadp Callee[cfr], targetRegister ++ if JSVALUE64 ++ loadp Callee[cfr], targetRegister ++ else ++ loadp Callee + PayloadOffset[cfr], targetRegister ++ end + loadp JSFunction::m_executable[targetRegister], targetRegister + loadp FunctionExecutable::m_codeBlockForConstruct[targetRegister], targetRegister + end diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 82cfcd6..c21ce76 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -21,21 +21,19 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz # https://bugs.webkit.org/show_bug.cgi?id=130506 - 2.4.10 Patch0: webkitgtk-aarch64.patch -# not upstreamed! -Patch1: webkitgtk-2.4.1-cloop_fix.patch -# not upstreamed - applied just on 32-bit architectures! -Patch2: webkitgtk-2.4.5-cloop_fix_32.patch -# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 -Patch3: webkitgtk-2.4.1-ppc64_align.patch -# https://bugs.webkit.org/show_bug.cgi?id=142074 -Patch4: webkitgtk-2.4.8-user-agent.patch -# http://trac.webkit.org/changeset/169665 - 2.4.10 -Patch5: webkitgtk-2.4.9-sql_initialize_string.patch -Patch6: webkitgtk-2.4.9-abs.patch -# https://bugs.webkit.org/show_bug.cgi?id=131449 - 2.4.10 -Patch7: webkitgtk-2.4.1-jsc_proto_call_frame.patch +# https://bugs.webkit.org/show_bug.cgi?id=137020 - backported to 2.4 branch +Patch1: webkitgtk-2.4.1-jsc_proto_call_frame.patch # https://bugs.webkit.org/show_bug.cgi?id=132333 - never got r+ but used in Fedora for a long time -Patch8: webkitgtk-2.4.1-cloop_operations_scope.patch +Patch2: webkitgtk-2.4.1-cloop_operations_scope.patch +# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 +Patch3: webkitgtk-2.4.9-cloop_fix_2_4.patch +# https://bugs.webkit.org/show_bug.cgi?id=131449 - 2.4.10 +Patch4: webkitgtk-2.4.1-ppc64_align.patch +# https://bugs.webkit.org/show_bug.cgi?id=142074 +Patch5: webkitgtk-2.4.8-user-agent.patch +# http://trac.webkit.org/changeset/169665 - 2.4.10 +Patch6: webkitgtk-2.4.9-sql_initialize_string.patch +Patch7: webkitgtk-2.4.9-abs.patch BuildRequires: at-spi2-core-devel @@ -102,18 +100,15 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .aarch64 -%patch1 -p1 -b .cloop_fix -%patch7 -p1 -b .jsc_proto_call_frame -%patch8 -p1 -b .cloop_operations_scope -%patch4 -p1 -b .user_agent -%patch5 -p1 -b .sql_initialize_string -%patch6 -p1 -b .abs -%ifarch ppc s390 mips -%patch2 -p1 -b .cloop_fix_32 -%endif +%patch1 -p1 -b .jsc_proto_call_frame +%patch2 -p1 -b .cloop_operations_scope +%patch3 -p1 -b .cloop_fix_2_4 %ifarch %{power64} aarch64 ppc -%patch3 -p1 -b .ppc64_align +%patch4 -p1 -b .ppc64_align %endif +%patch5 -p1 -b .user_agent +%patch6 -p1 -b .sql_initialize_string +%patch7 -p1 -b .abs %build # Use linker flags to reduce memory consumption From 147aac44d999e8d6d1f2aeff2972d2c93bf19cf1 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 10 Mar 2016 15:51:38 +0100 Subject: [PATCH 80/92] Update the CLoop patches --- webkitgtk-2.4.9-cloop_fix_2_4.patch | 30 ++++++++++++++++++++++++----- webkitgtk3.spec | 4 ++-- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/webkitgtk-2.4.9-cloop_fix_2_4.patch b/webkitgtk-2.4.9-cloop_fix_2_4.patch index aad575c..1a50e56 100644 --- a/webkitgtk-2.4.9-cloop_fix_2_4.patch +++ b/webkitgtk-2.4.9-cloop_fix_2_4.patch @@ -1,11 +1,13 @@ diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 2016-03-07 11:32:36.130671900 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 13:15:35.451673413 +0100 -@@ -321,7 +321,7 @@ macro doCallToJavaScript(makeCall, doRet +--- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 2016-03-10 15:41:33.812926852 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-10 15:47:56.326522861 +0100 +@@ -320,8 +320,8 @@ macro doCallToJavaScript(makeCall, doRet + loadp CallerFrame[cfr], cfr .calleeFramePopped: - loadp Callee[cfr], temp3 # VM.topCallFrame +- loadp Callee[cfr], temp3 # VM.topCallFrame - loadp ScopeChain[cfr], temp4 ++ loadp Callee + PayloadOffset[cfr], temp3 # VM.topCallFrame + loadp ScopeChain + PayloadOffset[cfr], temp4 storep temp4, [temp3] @@ -19,6 +21,24 @@ diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as andp MarkedBlockMask, t3 loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 bieq VM::m_exception + TagOffset[t3], EmptyValueTag, .noException +@@ -1574,7 +1574,7 @@ _llint_op_get_by_pname: + loadp JSCell::m_structure[t2], t0 + bpneq t0, JSPropertyNameIterator::m_cachedStructure[t3], .opGetByPnameSlow + loadi 24[PC], t0 +- loadi [cfr, t0, 8], t0 ++ loadi PayloadOffset[cfr, t0, 8], t0 + subi 1, t0 + biaeq t0, JSPropertyNameIterator::m_numCacheableSlots[t3], .opGetByPnameSlow + bilt t0, JSPropertyNameIterator::m_cachedStructureInlineCapacity[t3], .opGetByPnameInlineProperty +@@ -2002,7 +2002,7 @@ _llint_op_next_pname: + loadi 20[PC], t2 + loadi PayloadOffset[cfr, t2, 8], t2 + loadp JSPropertyNameIterator::m_jsStrings[t2], t3 +- loadi [t3, t0, 8], t3 ++ loadi PayloadOffset[t3, t0, 8], t3 + addi 1, t0 + storei t0, PayloadOffset[cfr, t1, 8] + loadi 4[PC], t1 @@ -2039,7 +2039,7 @@ _llint_op_catch: # the interpreter's throw trampoline (see _llint_throw_trampoline). # The throwing code must have known that we were throwing to the interpreter, @@ -94,7 +114,7 @@ diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.as end diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm --- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2016-03-07 11:32:36.129671904 +0100 ++++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2016-03-10 15:41:33.815926841 +0100 @@ -299,13 +299,21 @@ macro assertNotConstant(index) end diff --git a/webkitgtk3.spec b/webkitgtk3.spec index c21ce76..eb32e23 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -21,11 +21,11 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz # https://bugs.webkit.org/show_bug.cgi?id=130506 - 2.4.10 Patch0: webkitgtk-aarch64.patch -# https://bugs.webkit.org/show_bug.cgi?id=137020 - backported to 2.4 branch +# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 Patch1: webkitgtk-2.4.1-jsc_proto_call_frame.patch # https://bugs.webkit.org/show_bug.cgi?id=132333 - never got r+ but used in Fedora for a long time Patch2: webkitgtk-2.4.1-cloop_operations_scope.patch -# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 +# https://bugs.webkit.org/show_bug.cgi?id=137020 - backported to 2.4 branch Patch3: webkitgtk-2.4.9-cloop_fix_2_4.patch # https://bugs.webkit.org/show_bug.cgi?id=131449 - 2.4.10 Patch4: webkitgtk-2.4.1-ppc64_align.patch From 405f7eac201f14ea9085d9c025ae137cb2ca2942 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 14 Mar 2016 11:33:02 +0100 Subject: [PATCH 81/92] Update to 2.4.10 --- sources | 2 +- webkitgtk-2.4.1-cloop_operations_scope.patch | 99 ------------- webkitgtk-2.4.1-jsc_proto_call_frame.patch | 45 ------ webkitgtk-2.4.1-ppc64_align.patch | 45 ------ webkitgtk-2.4.9-cloop_fix_2_4.patch | 141 ------------------- webkitgtk-2.4.9-sql_initialize_string.patch | 12 -- webkitgtk-aarch64.patch | 39 ----- webkitgtk3.spec | 35 ++--- 8 files changed, 10 insertions(+), 408 deletions(-) delete mode 100644 webkitgtk-2.4.1-cloop_operations_scope.patch delete mode 100644 webkitgtk-2.4.1-jsc_proto_call_frame.patch delete mode 100644 webkitgtk-2.4.1-ppc64_align.patch delete mode 100644 webkitgtk-2.4.9-cloop_fix_2_4.patch delete mode 100644 webkitgtk-2.4.9-sql_initialize_string.patch delete mode 100644 webkitgtk-aarch64.patch diff --git a/sources b/sources index 1f8355d..65e6d9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -312fd29eb7f5970660c6a64b8bf8420e webkitgtk-2.4.9.tar.xz +1b3f18d4087dfc648e8060c14e16e202 webkitgtk-2.4.10.tar.xz diff --git a/webkitgtk-2.4.1-cloop_operations_scope.patch b/webkitgtk-2.4.1-cloop_operations_scope.patch deleted file mode 100644 index e7b6415..0000000 --- a/webkitgtk-2.4.1-cloop_operations_scope.patch +++ /dev/null @@ -1,99 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp.cloop_operations_scope 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp 2016-03-07 10:15:36.659406501 +0100 -@@ -1354,7 +1354,7 @@ LLINT_SLOW_PATH_DECL(slow_path_get_from_ - CodeBlock* codeBlock = exec->codeBlock(); - ConcurrentJITLocker locker(codeBlock->m_lock); - pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); -- pc[6].u.operand = slot.cachedOffset(); -+ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); - } - } - -@@ -1381,7 +1381,7 @@ LLINT_SLOW_PATH_DECL(slow_path_put_to_sc - if (slot.isCacheable() && slot.base() == scope && scope->structure()->propertyAccessesAreCacheable()) { - ConcurrentJITLocker locker(codeBlock->m_lock); - pc[5].u.structure.set(exec->vm(), codeBlock->ownerExecutable(), scope->structure()); -- pc[6].u.operand = slot.cachedOffset(); -+ pc[6].u.pointer = reinterpret_cast(slot.cachedOffset()); - } - } - -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_operations_scope 2016-03-07 10:15:36.657406514 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:16:01.854239892 +0100 -@@ -2277,7 +2277,7 @@ macro loadWithStructureCheck(operand, sl - end - - macro getProperty() -- loadisFromInstruction(6, t3) -+ loadpFromInstruction(6, t3) - loadPropertyAtVariableOffset(t3, t0, t1, t2) - valueProfile(t1, t2, 28, t0) - loadisFromInstruction(1, t0) -@@ -2297,7 +2297,7 @@ end - - macro getClosureVar() - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t3) -+ loadpFromInstruction(6, t3) - loadp TagOffset[t0, t3, 8], t1 - loadp PayloadOffset[t0, t3, 8], t2 - valueProfile(t1, t2, 28, t0) -@@ -2356,7 +2356,7 @@ _llint_op_get_from_scope: - macro putProperty() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2, t3) -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storePropertyAtVariableOffset(t1, t0, t2, t3) - end - -@@ -2374,7 +2374,7 @@ macro putClosureVar() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2, t3) - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storei t2, TagOffset[t0, t1, 8] - storei t3, PayloadOffset[t0, t1, 8] - end -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_operations_scope webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.cloop_operations_scope 2016-03-07 10:15:36.658406508 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2016-03-07 10:15:36.660406494 +0100 -@@ -2047,7 +2047,7 @@ macro loadWithStructureCheck(operand, sl - end - - macro getProperty() -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - loadPropertyAtVariableOffset(t1, t0, t2) - valueProfile(t2, 7, t0) - loadisFromInstruction(1, t0) -@@ -2064,7 +2064,7 @@ end - - macro getClosureVar() - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - loadq [t0, t1, 8], t0 - valueProfile(t0, 7, t1) - loadisFromInstruction(1, t1) -@@ -2121,7 +2121,7 @@ _llint_op_get_from_scope: - macro putProperty() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2) -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storePropertyAtVariableOffset(t1, t0, t2) - end - -@@ -2138,7 +2138,7 @@ macro putClosureVar() - loadisFromInstruction(3, t1) - loadConstantOrVariable(t1, t2) - loadp JSVariableObject::m_registers[t0], t0 -- loadisFromInstruction(6, t1) -+ loadpFromInstruction(6, t1) - storeq t2, [t0, t1, 8] - end - diff --git a/webkitgtk-2.4.1-jsc_proto_call_frame.patch b/webkitgtk-2.4.1-jsc_proto_call_frame.patch deleted file mode 100644 index b80751c..0000000 --- a/webkitgtk-2.4.1-jsc_proto_call_frame.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h ---- webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h.jsc_proto_call_frame 2016-03-07 10:04:24.425851848 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/interpreter/ProtoCallFrame.h 2016-03-07 10:04:53.193661612 +0100 -@@ -36,7 +36,7 @@ struct ProtoCallFrame { - Register calleeValue; - Register argCountAndCodeOriginValue; - Register thisArg; -- size_t paddedArgCount; -+ uint32_t paddedArgCount; - JSValue *args; - - void init(CodeBlock*, JSScope*, JSObject*, JSValue, int, JSValue* otherArgs = 0); -@@ -53,7 +53,7 @@ struct ProtoCallFrame { - int argumentCountIncludingThis() const { return argCountAndCodeOriginValue.payload(); } - int argumentCount() const { return argumentCountIncludingThis() - 1; } - void setArgumentCountIncludingThis(int count) { argCountAndCodeOriginValue.payload() = count; } -- void setPaddedArgsCount(size_t argCount) { paddedArgCount = argCount; } -+ void setPaddedArgsCount(uint32_t argCount) { paddedArgCount = argCount; } - - void clearCurrentVPC() { argCountAndCodeOriginValue.tag() = 0; } - -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.jsc_proto_call_frame 2016-03-07 10:05:28.754426456 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-07 10:06:02.349204301 +0100 -@@ -266,7 +266,7 @@ macro doCallToJavaScript(makeCall, doRet - storep previousCFR, CallerFrame[cfr] - move cfr, temp1 - -- loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 -+ loadi PayloadOffset + ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 - addp CallFrameHeaderSlots, temp2, temp2 - lshiftp 3, temp2 - subp temp2, cfr -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.jsc_proto_call_frame webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm.jsc_proto_call_frame 2016-03-07 10:05:34.843386191 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm 2016-03-07 10:06:23.245066120 +0100 -@@ -157,7 +157,7 @@ macro doCallToJavaScript(makeCall, doRet - storep previousCFR, CallerFrame[cfr] - move cfr, temp1 - -- loadi ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 -+ loadi PayloadOffset + ProtoCallFrame::paddedArgCount[protoCallFrame], temp2 - addp CallFrameHeaderSlots, temp2, temp2 - lshiftp 3, temp2 - subp temp2, cfr diff --git a/webkitgtk-2.4.1-ppc64_align.patch b/webkitgtk-2.4.1-ppc64_align.patch deleted file mode 100644 index 5186d60..0000000 --- a/webkitgtk-2.4.1-ppc64_align.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -up webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h ---- webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align 2014-05-12 08:03:53.000000000 +0200 -+++ webkitgtk-2.4.2/Source/JavaScriptCore/heap/CopiedBlock.h 2014-05-14 15:16:36.946318596 +0200 -@@ -81,7 +81,7 @@ public: - size_t size(); - size_t capacity(); - -- static const size_t blockSize = 32 * KB; -+ static const size_t blockSize = 64 * KB; - - bool hasWorkList(); - CopyWorkList& workList(); -diff -up webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp ---- webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align 2014-05-12 08:03:53.000000000 +0200 -+++ webkitgtk-2.4.2/Source/JavaScriptCore/interpreter/JSStack.cpp 2014-05-14 15:17:35.617171141 +0200 -@@ -49,7 +49,8 @@ JSStack::JSStack(VM& vm, size_t capacity - { - ASSERT(capacity && isPageAligned(capacity)); - -- m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitSize), OSAllocator::JSVMStackPages); -+ size_t commitsize = pageSize(); -+ m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitsize), OSAllocator::JSVMStackPages); - updateStackLimit(highAddress()); - m_commitEnd = highAddress(); - -@@ -78,7 +79,8 @@ bool JSStack::growSlowCase(Register* new - // Compute the chunk size of additional memory to commit, and see if we - // have it is still within our budget. If not, we'll fail to grow and - // return false. -- long delta = roundUpAllocationSize(reinterpret_cast(m_commitEnd) - reinterpret_cast(newEnd), commitSize); -+ size_t commitsize = pageSize(); -+ long delta = roundUpAllocationSize(reinterpret_cast(m_commitEnd) - reinterpret_cast(newEnd), commitsize); - if (reinterpret_cast(m_commitEnd) - delta <= reinterpret_cast(m_useableEnd)) - return false; - -@@ -134,7 +136,8 @@ void JSStack::enableErrorStackReserve() - - void JSStack::disableErrorStackReserve() - { -- char* useableEnd = reinterpret_cast(reservationEnd()) + commitSize; -+ size_t commitsize = pageSize(); -+ char* useableEnd = reinterpret_cast(reservationEnd()) + commitsize; - m_useableEnd = reinterpret_cast_ptr(useableEnd); - - // By the time we get here, we are guaranteed to be destructing the last diff --git a/webkitgtk-2.4.9-cloop_fix_2_4.patch b/webkitgtk-2.4.9-cloop_fix_2_4.patch deleted file mode 100644 index 1a50e56..0000000 --- a/webkitgtk-2.4.9-cloop_fix_2_4.patch +++ /dev/null @@ -1,141 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.cloop_fix_2_4 2016-03-10 15:41:33.812926852 +0100 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 2016-03-10 15:47:56.326522861 +0100 -@@ -320,8 +320,8 @@ macro doCallToJavaScript(makeCall, doRet - loadp CallerFrame[cfr], cfr - - .calleeFramePopped: -- loadp Callee[cfr], temp3 # VM.topCallFrame -- loadp ScopeChain[cfr], temp4 -+ loadp Callee + PayloadOffset[cfr], temp3 # VM.topCallFrame -+ loadp ScopeChain + PayloadOffset[cfr], temp4 - storep temp4, [temp3] - - doReturn(extraStackSpace) -@@ -598,7 +598,7 @@ end - - - macro branchIfException(label) -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - bieq VM::m_exception + TagOffset[t3], EmptyValueTag, .noException -@@ -1574,7 +1574,7 @@ _llint_op_get_by_pname: - loadp JSCell::m_structure[t2], t0 - bpneq t0, JSPropertyNameIterator::m_cachedStructure[t3], .opGetByPnameSlow - loadi 24[PC], t0 -- loadi [cfr, t0, 8], t0 -+ loadi PayloadOffset[cfr, t0, 8], t0 - subi 1, t0 - biaeq t0, JSPropertyNameIterator::m_numCacheableSlots[t3], .opGetByPnameSlow - bilt t0, JSPropertyNameIterator::m_cachedStructureInlineCapacity[t3], .opGetByPnameInlineProperty -@@ -2002,7 +2002,7 @@ _llint_op_next_pname: - loadi 20[PC], t2 - loadi PayloadOffset[cfr, t2, 8], t2 - loadp JSPropertyNameIterator::m_jsStrings[t2], t3 -- loadi [t3, t0, 8], t3 -+ loadi PayloadOffset[t3, t0, 8], t3 - addi 1, t0 - storei t0, PayloadOffset[cfr, t1, 8] - loadi 4[PC], t1 -@@ -2039,7 +2039,7 @@ _llint_op_catch: - # the interpreter's throw trampoline (see _llint_throw_trampoline). - # The throwing code must have known that we were throwing to the interpreter, - # and have set VM::targetInterpreterPCForThrow. -- loadp ScopeChain[cfr], t3 -+ loadp ScopeChain + PayloadOffset[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - loadp VM::callFrameForThrow[t3], cfr -@@ -2122,7 +2122,7 @@ macro nativeCallTrampoline(executableOff - storei CellTag, ScopeChain + TagOffset[cfr] - storei t1, ScopeChain + PayloadOffset[cfr] - if X86 -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - storep cfr, VM::topCallFrame[t3] -@@ -2135,11 +2135,11 @@ macro nativeCallTrampoline(executableOff - move t0, cfr - call executableOffsetToFunction[t1] - addp 16 - 4, sp -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - elsif ARM or ARMv7 or ARMv7_TRADITIONAL or MIPS or SH4 -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - storep cfr, VM::topCallFrame[t3] -@@ -2155,11 +2155,11 @@ macro nativeCallTrampoline(executableOff - end - call executableOffsetToFunction[t1] - restoreReturnAddressBeforeReturn(t3) -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - elsif C_LOOP -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - storep cfr, VM::topCallFrame[t3] -@@ -2172,7 +2172,7 @@ macro nativeCallTrampoline(executableOff - move t2, cfr - cloopCallNative executableOffsetToFunction[t1] - restoreReturnAddressBeforeReturn(t3) -- loadp ScopeChain[cfr], t3 -+ loadp PayloadOffset + ScopeChain[cfr], t3 - andp MarkedBlockMask, t3 - loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t3], t3 - else -@@ -2212,7 +2212,7 @@ macro resolveScope() - addi 1, t2 - - .resolveScopeAfterActivationCheck: -- loadp ScopeChain[cfr], t0 -+ loadp ScopeChain + PayloadOffset[cfr], t0 - btiz t2, .resolveScopeLoopEnd - - .resolveScopeLoop: -@@ -2271,7 +2271,7 @@ _llint_op_resolve_scope: - - macro loadWithStructureCheck(operand, slowPath) - loadisFromInstruction(operand, t0) -- loadp [cfr, t0, 8], t0 -+ loadp PayloadOffset[cfr, t0, 8], t0 - loadpFromInstruction(5, t1) - bpneq JSCell::m_structure[t0], t1, slowPath - end -diff -up webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm ---- webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm.cloop_fix_2_4 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/JavaScriptCore/llint/LowLevelInterpreter.asm 2016-03-10 15:41:33.815926841 +0100 -@@ -299,13 +299,21 @@ macro assertNotConstant(index) - end - - macro functionForCallCodeBlockGetter(targetRegister) -- loadp Callee[cfr], targetRegister -+ if JSVALUE64 -+ loadp Callee[cfr], targetRegister -+ else -+ loadp Callee + PayloadOffset[cfr], targetRegister -+ end - loadp JSFunction::m_executable[targetRegister], targetRegister - loadp FunctionExecutable::m_codeBlockForCall[targetRegister], targetRegister - end - - macro functionForConstructCodeBlockGetter(targetRegister) -- loadp Callee[cfr], targetRegister -+ if JSVALUE64 -+ loadp Callee[cfr], targetRegister -+ else -+ loadp Callee + PayloadOffset[cfr], targetRegister -+ end - loadp JSFunction::m_executable[targetRegister], targetRegister - loadp FunctionExecutable::m_codeBlockForConstruct[targetRegister], targetRegister - end diff --git a/webkitgtk-2.4.9-sql_initialize_string.patch b/webkitgtk-2.4.9-sql_initialize_string.patch deleted file mode 100644 index a34ef14..0000000 --- a/webkitgtk-2.4.9-sql_initialize_string.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp.sql_initialize_string webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp ---- webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp.sql_initialize_string 2015-09-14 09:25:43.004200172 +0200 -+++ webkitgtk-2.4.9/Source/WebCore/platform/sql/SQLiteStatement.cpp 2015-09-14 09:25:57.852082368 +0200 -@@ -71,7 +71,7 @@ int SQLiteStatement::prepare() - // this lets SQLite avoid an extra string copy. - size_t lengthIncludingNullCharacter = query.length() + 1; - -- const char* tail; -+ const char* tail = nullptr; - int error = sqlite3_prepare_v2(m_database.sqlite3Handle(), query.data(), lengthIncludingNullCharacter, &m_statement, &tail); - - if (error != SQLITE_OK) diff --git a/webkitgtk-aarch64.patch b/webkitgtk-aarch64.patch deleted file mode 100644 index 6a82264..0000000 --- a/webkitgtk-aarch64.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -up webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h.aarch64 webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h ---- webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h.aarch64 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/WTF/wtf/dtoa/utils.h 2015-05-20 13:45:35.629023925 +0200 -@@ -49,7 +49,7 @@ - defined(__ARMEL__) || \ - defined(_MIPS_ARCH_MIPS32R2) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 --#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) -+#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(AARCH64) || CPU(HPPA) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(_M_IX86) || defined(__i386__) - #if defined(_WIN32) -diff -up webkitgtk-2.4.9/Source/WTF/wtf/Platform.h.aarch64 webkitgtk-2.4.9/Source/WTF/wtf/Platform.h ---- webkitgtk-2.4.9/Source/WTF/wtf/Platform.h.aarch64 2015-05-20 11:03:24.000000000 +0200 -+++ webkitgtk-2.4.9/Source/WTF/wtf/Platform.h 2015-05-20 13:47:34.439861401 +0200 -@@ -334,6 +334,14 @@ - #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 - #endif - -+/* CPU(AARCH64) - AArch64 */ -+#if defined(__aarch64__) -+#define WTF_CPU_AARCH64 1 -+#if defined(__AARCH64BE__) -+#define WTF_CPU_BIG_ENDIAN 1 -+#endif -+#endif -+ - /* ==== OS() - underlying operating system; only to be used for mandated low-level services like - virtual memory, not to choose a GUI toolkit ==== */ - -@@ -654,7 +662,7 @@ - #if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \ - || (CPU(IA64) && !CPU(IA64_32)) \ - || CPU(ALPHA) \ -- || CPU(ARM64) \ -+ || CPU(AARCH64) \ - || CPU(S390X) \ - || CPU(MIPS64) \ - || CPU(PPC64) \ diff --git a/webkitgtk3.spec b/webkitgtk3.spec index eb32e23..9cfdae2 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -9,8 +9,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.9 -Release: 10%{?dist} +Version: 2.4.10 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -19,21 +19,9 @@ URL: http://www.webkitgtk.org/ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz -# https://bugs.webkit.org/show_bug.cgi?id=130506 - 2.4.10 -Patch0: webkitgtk-aarch64.patch -# https://bugs.webkit.org/show_bug.cgi?id=130237 - 2.4.10 -Patch1: webkitgtk-2.4.1-jsc_proto_call_frame.patch -# https://bugs.webkit.org/show_bug.cgi?id=132333 - never got r+ but used in Fedora for a long time -Patch2: webkitgtk-2.4.1-cloop_operations_scope.patch -# https://bugs.webkit.org/show_bug.cgi?id=137020 - backported to 2.4 branch -Patch3: webkitgtk-2.4.9-cloop_fix_2_4.patch -# https://bugs.webkit.org/show_bug.cgi?id=131449 - 2.4.10 -Patch4: webkitgtk-2.4.1-ppc64_align.patch # https://bugs.webkit.org/show_bug.cgi?id=142074 -Patch5: webkitgtk-2.4.8-user-agent.patch -# http://trac.webkit.org/changeset/169665 - 2.4.10 -Patch6: webkitgtk-2.4.9-sql_initialize_string.patch -Patch7: webkitgtk-2.4.9-abs.patch +Patch0: webkitgtk-2.4.8-user-agent.patch +Patch1: webkitgtk-2.4.9-abs.patch BuildRequires: at-spi2-core-devel @@ -99,16 +87,8 @@ This package contains developer documentation for %{name}. %prep %setup -qn "webkitgtk-%{version}" -%patch0 -p1 -b .aarch64 -%patch1 -p1 -b .jsc_proto_call_frame -%patch2 -p1 -b .cloop_operations_scope -%patch3 -p1 -b .cloop_fix_2_4 -%ifarch %{power64} aarch64 ppc -%patch4 -p1 -b .ppc64_align -%endif -%patch5 -p1 -b .user_agent -%patch6 -p1 -b .sql_initialize_string -%patch7 -p1 -b .abs +%patch0 -p1 -b .user_agent +%patch1 -p1 -b .abs %build # Use linker flags to reduce memory consumption @@ -216,6 +196,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Mar 14 2016 Tomas Popela - 2.4.10-1 +- Update to 2.4.10 + * Tue Feb 9 2016 Peter Robinson 2.4.9-10 - Add ruby deps for build From d95fe126002a6fca2e1fc943760afcc3b8e8d79a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 24 Mar 2016 10:46:33 +0100 Subject: [PATCH 82/92] Add a workaround for rhbz#1320240 --- webkitgtk3.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 9cfdae2..ad3b781 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -108,6 +108,11 @@ This package contains developer documentation for %{name}. %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif +# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1320240 +%ifarch s390 s390x ppc %{power64} aarch64 %{mips} +%global optflags %{optflags} -fno-delete-null-pointer-checks +%endif + %if 0%{?fedora} %global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\' %endif @@ -196,6 +201,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Thu Mar 24 2016 Tomas Popela - 2.4.10-2 +- Add a workaround for rhbz#1320240 + * Mon Mar 14 2016 Tomas Popela - 2.4.10-1 - Update to 2.4.10 From 465c7452185d59bb186c41ccc88c823f1daa0682 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 5 Apr 2016 10:00:09 +0200 Subject: [PATCH 83/92] rhbz#1321722 - [abrt] evolution: WTF::StringImpl::startsWith(): SIGSEGV with webkitgtk3-2.4.10 --- webkitgtk3.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index ad3b781..16255db 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -22,7 +22,8 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz # https://bugs.webkit.org/show_bug.cgi?id=142074 Patch0: webkitgtk-2.4.8-user-agent.patch Patch1: webkitgtk-2.4.9-abs.patch - +# http://trac.webkit.org/changeset/165044 +Patch2: webkitgtk-2.4.10-qualified-name.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -89,6 +90,7 @@ This package contains developer documentation for %{name}. %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .user_agent %patch1 -p1 -b .abs +%patch2 -p1 -b .qualified-name %build # Use linker flags to reduce memory consumption @@ -201,6 +203,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Apr 05 2016 Tomas Popela - 2.4.10-3 +- rhbz#1321722 - [abrt] evolution: WTF::StringImpl::startsWith(): SIGSEGV with webkitgtk3-2.4.10 + * Thu Mar 24 2016 Tomas Popela - 2.4.10-2 - Add a workaround for rhbz#1320240 From 8b3d6b636715019e6800513688d653974246ecde Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 5 Apr 2016 10:01:24 +0200 Subject: [PATCH 84/92] Add the missing patch --- webkitgtk-2.4.10-qualified-name.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 webkitgtk-2.4.10-qualified-name.patch diff --git a/webkitgtk-2.4.10-qualified-name.patch b/webkitgtk-2.4.10-qualified-name.patch new file mode 100644 index 0000000..6bd2dd3 --- /dev/null +++ b/webkitgtk-2.4.10-qualified-name.patch @@ -0,0 +1,12 @@ +diff -up webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp.qualified-name webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp +--- webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp.qualified-name 2016-04-05 09:58:17.928258276 +0200 ++++ webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp 2016-04-05 09:58:23.240229758 +0200 +@@ -1056,7 +1056,7 @@ inline void Element::setAttributeInterna + const Attribute& attribute = attributeAt(index); + AtomicString oldValue = attribute.value(); + bool valueChanged = newValue != oldValue; +- const QualifiedName& attributeName = (!inSynchronizationOfLazyAttribute || valueChanged) ? attribute.name() : name; ++ QualifiedName attributeName = (!inSynchronizationOfLazyAttribute || valueChanged) ? attribute.name() : name; + + if (!inSynchronizationOfLazyAttribute) + willModifyAttribute(attributeName, oldValue, newValue); From 08249ae1be0bc4e7f4f83001ff414b4d54ffd457 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 6 Apr 2016 07:48:54 +0200 Subject: [PATCH 85/92] Fix the compilation on aarch64 --- webkitgtk-2.4.10-arm64-asm.patch | 108 +++++++++++++++++++++++++++++++ webkitgtk-2.4.10-arm64-gcc.patch | 45 +++++++++++++ webkitgtk3.spec | 11 +++- 3 files changed, 163 insertions(+), 1 deletion(-) create mode 100644 webkitgtk-2.4.10-arm64-asm.patch create mode 100644 webkitgtk-2.4.10-arm64-gcc.patch diff --git a/webkitgtk-2.4.10-arm64-asm.patch b/webkitgtk-2.4.10-arm64-asm.patch new file mode 100644 index 0000000..c5d8695 --- /dev/null +++ b/webkitgtk-2.4.10-arm64-asm.patch @@ -0,0 +1,108 @@ +diff -up webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp.arm64-asm webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp +--- webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp.arm64-asm 2016-04-05 14:49:20.174877057 +0200 ++++ webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp 2016-04-05 14:49:48.680774345 +0200 +@@ -1040,61 +1040,61 @@ TransformationMatrix& TransformationMatr + const double* rightMatrix = &(mat.m_matrix[0][0]); + asm volatile ( + // First, load the leftMatrix completely in memory. The leftMatrix is in v16-v23. +- "mov x4, %[leftMatrix]\n\t" +- "ld1.2d {v16, v17, v18, v19}, [%[leftMatrix]], #64\n\t" +- "ld1.2d {v20, v21, v22, v23}, [%[leftMatrix]]\n\t" ++ "mov x4, %[leftMatrix]\n\t" ++ "ld1 {v16.2d, v17.2d, v18.2d, v19.2d}, [%[leftMatrix]], #64\n\t" ++ "ld1 {v20.2d, v21.2d, v22.2d, v23.2d}, [%[leftMatrix]]\n\t" + + // First row. +- "ld4r.2d {v24, v25, v26, v27}, [%[rightMatrix]], #32\n\t" +- "fmul.2d v28, v24, v16\n\t" +- "fmul.2d v29, v24, v17\n\t" +- "fmla.2d v28, v25, v18\n\t" +- "fmla.2d v29, v25, v19\n\t" +- "fmla.2d v28, v26, v20\n\t" +- "fmla.2d v29, v26, v21\n\t" +- "fmla.2d v28, v27, v22\n\t" +- "fmla.2d v29, v27, v23\n\t" ++ "ld4r {v24.2d, v25.2d, v26.2d, v27.2d}, [%[rightMatrix]], #32\n\t" ++ "fmul v28.2d, v24.2d, v16.2d\n\t" ++ "fmul v29.2d, v24.2d, v17.2d\n\t" ++ "fmla v28.2d, v25.2d, v18.2d\n\t" ++ "fmla v29.2d, v25.2d, v19.2d\n\t" ++ "fmla v28.2d, v26.2d, v20.2d\n\t" ++ "fmla v29.2d, v26.2d, v21.2d\n\t" ++ "fmla v28.2d, v27.2d, v22.2d\n\t" ++ "fmla v29.2d, v27.2d, v23.2d\n\t" + +- "ld4r.2d {v0, v1, v2, v3}, [%[rightMatrix]], #32\n\t" +- "st1.2d {v28, v29}, [x4], #32\n\t" ++ "ld4r {v0.2d, v1.2d, v2.2d, v3.2d}, [%[rightMatrix]], #32\n\t" ++ "st1 {v28.2d, v29.2d}, [x4], #32\n\t" + + // Second row. +- "fmul.2d v30, v0, v16\n\t" +- "fmul.2d v31, v0, v17\n\t" +- "fmla.2d v30, v1, v18\n\t" +- "fmla.2d v31, v1, v19\n\t" +- "fmla.2d v30, v2, v20\n\t" +- "fmla.2d v31, v2, v21\n\t" +- "fmla.2d v30, v3, v22\n\t" +- "fmla.2d v31, v3, v23\n\t" ++ "fmul v30.2d, v0.2d, v16.2d\n\t" ++ "fmul v31.2d, v0.2d, v17.2d\n\t" ++ "fmla v30.2d, v1.2d, v18.2d\n\t" ++ "fmla v31.2d, v1.2d, v19.2d\n\t" ++ "fmla v30.2d, v2.2d, v20.2d\n\t" ++ "fmla v31.2d, v2.2d, v21.2d\n\t" ++ "fmla v30.2d, v3.2d, v22.2d\n\t" ++ "fmla v31.2d, v3.2d, v23.2d\n\t" + +- "ld4r.2d {v24, v25, v26, v27}, [%[rightMatrix]], #32\n\t" +- "st1.2d {v30, v31}, [x4], #32\n\t" ++ "ld4r {v24.2d, v25.2d, v26.2d, v27.2d}, [%[rightMatrix]], #32\n\t" ++ "st1 {v30.2d, v31.2d}, [x4], #32\n\t" + + // Third row. +- "fmul.2d v28, v24, v16\n\t" +- "fmul.2d v29, v24, v17\n\t" +- "fmla.2d v28, v25, v18\n\t" +- "fmla.2d v29, v25, v19\n\t" +- "fmla.2d v28, v26, v20\n\t" +- "fmla.2d v29, v26, v21\n\t" +- "fmla.2d v28, v27, v22\n\t" +- "fmla.2d v29, v27, v23\n\t" ++ "fmul v28.2d, v24.2d, v16.2d\n\t" ++ "fmul v29.2d, v24.2d, v17.2d\n\t" ++ "fmla v28.2d, v25.2d, v18.2d\n\t" ++ "fmla v29.2d, v25.2d, v19.2d\n\t" ++ "fmla v28.2d, v26.2d, v20.2d\n\t" ++ "fmla v29.2d, v26.2d, v21.2d\n\t" ++ "fmla v28.2d, v27.2d, v22.2d\n\t" ++ "fmla v29.2d, v27.2d, v23.2d\n\t" + +- "ld4r.2d {v0, v1, v2, v3}, [%[rightMatrix]], #32\n\t" +- "st1.2d {v28, v29}, [x4], #32\n\t" ++ "ld4r {v0.2d, v1.2d, v2.2d, v3.2d}, [%[rightMatrix]], #32\n\t" ++ "st1 {v28.2d, v29.2d}, [x4], #32\n\t" + + // Fourth row. +- "fmul.2d v30, v0, v16\n\t" +- "fmul.2d v31, v0, v17\n\t" +- "fmla.2d v30, v1, v18\n\t" +- "fmla.2d v31, v1, v19\n\t" +- "fmla.2d v30, v2, v20\n\t" +- "fmla.2d v31, v2, v21\n\t" +- "fmla.2d v30, v3, v22\n\t" +- "fmla.2d v31, v3, v23\n\t" ++ "fmul v30.2d, v0.2d, v16.2d\n\t" ++ "fmul v31.2d, v0.2d, v17.2d\n\t" ++ "fmla v30.2d, v1.2d, v18.2d\n\t" ++ "fmla v31.2d, v1.2d, v19.2d\n\t" ++ "fmla v30.2d, v2.2d, v20.2d\n\t" ++ "fmla v31.2d, v2.2d, v21.2d\n\t" ++ "fmla v30.2d, v3.2d, v22.2d\n\t" ++ "fmla v31.2d, v3.2d, v23.2d\n\t" + +- "st1.2d {v30, v31}, [x4]\n\t" ++ "st1 {v30.2d, v31.2d}, [x4]\n\t" + + : [leftMatrix]"+r"(leftMatrix), [rightMatrix]"+r"(rightMatrix) + : diff --git a/webkitgtk-2.4.10-arm64-gcc.patch b/webkitgtk-2.4.10-arm64-gcc.patch new file mode 100644 index 0000000..bad1e64 --- /dev/null +++ b/webkitgtk-2.4.10-arm64-gcc.patch @@ -0,0 +1,45 @@ +diff -up webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h.arm64_gcc webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h +--- webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h.arm64_gcc 2016-04-05 13:17:49.467473861 +0200 ++++ webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h 2016-04-05 13:18:00.812429048 +0200 +@@ -113,6 +113,20 @@ inline bool weakCompareAndSwap(volatile + : "r"(expected), "r"(newValue) + : "memory"); + result = !result; ++#elif CPU(ARM64) && COMPILER(GCC) ++ unsigned tmp; ++ unsigned result; ++ asm volatile( ++ "mov %w1, #1\n\t" ++ "ldxr %w2, [%0]\n\t" ++ "cmp %w3, %w2\n\t" ++ "b.ne 0f\n\t" ++ "stxr %w1, %w4, [%0]\n\t" ++ "0:" ++ : "+r"(location), "=&r"(result), "=&r"(tmp) ++ : "r"(expected), "r"(newValue) ++ : "memory"); ++ result = !result; + #elif CPU(ARM64) + unsigned tmp; + unsigned result; +@@ -153,6 +167,20 @@ inline bool weakCompareAndSwap(void*vola + : "memory" + ); + return result; ++#elif CPU(ARM64) && COMPILER(GCC) ++ bool result; ++ void* tmp; ++ asm volatile( ++ "mov %w1, #1\n\t" ++ "ldxr %x2, [%0]\n\t" ++ "cmp %x3, %x2\n\t" ++ "b.ne 0f\n\t" ++ "stxr %w1, %x4, [%0]\n\t" ++ "0:" ++ : "+r"(location), "=&r"(result), "=&r"(tmp) ++ : "r"(expected), "r"(newValue) ++ : "memory"); ++ return !result; + #elif CPU(ARM64) + bool result; + void* tmp; diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 16255db..18901a3 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -24,6 +24,10 @@ Patch0: webkitgtk-2.4.8-user-agent.patch Patch1: webkitgtk-2.4.9-abs.patch # http://trac.webkit.org/changeset/165044 Patch2: webkitgtk-2.4.10-qualified-name.patch +# http://trac.webkit.org/changeset/166234 +Patch3: webkitgtk-2.4.10-arm64-gcc.patch +# http://trac.webkit.org/changeset/166233 +Patch4: webkitgtk-2.4.10-arm64-asm.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -91,6 +95,8 @@ This package contains developer documentation for %{name}. %patch0 -p1 -b .user_agent %patch1 -p1 -b .abs %patch2 -p1 -b .qualified-name +%patch3 -p1 -b .arm64-gcc.patch +%patch4 -p1 -b .arm64-asm.patch %build # Use linker flags to reduce memory consumption @@ -203,6 +209,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Tue Apr 05 2016 Tomas Popela - 2.4.10-4 +- Fix the compilation on aarch64 + * Tue Apr 05 2016 Tomas Popela - 2.4.10-3 - rhbz#1321722 - [abrt] evolution: WTF::StringImpl::startsWith(): SIGSEGV with webkitgtk3-2.4.10 From 6b1eb0d89d8099c85a20b9e0463c21a6e1ba8f71 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 11 Apr 2016 08:45:56 +0200 Subject: [PATCH 86/92] Update to 2.4.11 --- sources | 2 +- webkitgtk-2.4.10-arm64-asm.patch | 108 -------------------------- webkitgtk-2.4.10-arm64-gcc.patch | 45 ----------- webkitgtk-2.4.10-qualified-name.patch | 12 --- webkitgtk3.spec | 18 ++--- 5 files changed, 7 insertions(+), 178 deletions(-) delete mode 100644 webkitgtk-2.4.10-arm64-asm.patch delete mode 100644 webkitgtk-2.4.10-arm64-gcc.patch delete mode 100644 webkitgtk-2.4.10-qualified-name.patch diff --git a/sources b/sources index 65e6d9c..b11eb4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1b3f18d4087dfc648e8060c14e16e202 webkitgtk-2.4.10.tar.xz +24a25ccc30a7914ae50922aedf24b7bc webkitgtk-2.4.11.tar.xz diff --git a/webkitgtk-2.4.10-arm64-asm.patch b/webkitgtk-2.4.10-arm64-asm.patch deleted file mode 100644 index c5d8695..0000000 --- a/webkitgtk-2.4.10-arm64-asm.patch +++ /dev/null @@ -1,108 +0,0 @@ -diff -up webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp.arm64-asm webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp ---- webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp.arm64-asm 2016-04-05 14:49:20.174877057 +0200 -+++ webkitgtk-2.4.10/Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp 2016-04-05 14:49:48.680774345 +0200 -@@ -1040,61 +1040,61 @@ TransformationMatrix& TransformationMatr - const double* rightMatrix = &(mat.m_matrix[0][0]); - asm volatile ( - // First, load the leftMatrix completely in memory. The leftMatrix is in v16-v23. -- "mov x4, %[leftMatrix]\n\t" -- "ld1.2d {v16, v17, v18, v19}, [%[leftMatrix]], #64\n\t" -- "ld1.2d {v20, v21, v22, v23}, [%[leftMatrix]]\n\t" -+ "mov x4, %[leftMatrix]\n\t" -+ "ld1 {v16.2d, v17.2d, v18.2d, v19.2d}, [%[leftMatrix]], #64\n\t" -+ "ld1 {v20.2d, v21.2d, v22.2d, v23.2d}, [%[leftMatrix]]\n\t" - - // First row. -- "ld4r.2d {v24, v25, v26, v27}, [%[rightMatrix]], #32\n\t" -- "fmul.2d v28, v24, v16\n\t" -- "fmul.2d v29, v24, v17\n\t" -- "fmla.2d v28, v25, v18\n\t" -- "fmla.2d v29, v25, v19\n\t" -- "fmla.2d v28, v26, v20\n\t" -- "fmla.2d v29, v26, v21\n\t" -- "fmla.2d v28, v27, v22\n\t" -- "fmla.2d v29, v27, v23\n\t" -+ "ld4r {v24.2d, v25.2d, v26.2d, v27.2d}, [%[rightMatrix]], #32\n\t" -+ "fmul v28.2d, v24.2d, v16.2d\n\t" -+ "fmul v29.2d, v24.2d, v17.2d\n\t" -+ "fmla v28.2d, v25.2d, v18.2d\n\t" -+ "fmla v29.2d, v25.2d, v19.2d\n\t" -+ "fmla v28.2d, v26.2d, v20.2d\n\t" -+ "fmla v29.2d, v26.2d, v21.2d\n\t" -+ "fmla v28.2d, v27.2d, v22.2d\n\t" -+ "fmla v29.2d, v27.2d, v23.2d\n\t" - -- "ld4r.2d {v0, v1, v2, v3}, [%[rightMatrix]], #32\n\t" -- "st1.2d {v28, v29}, [x4], #32\n\t" -+ "ld4r {v0.2d, v1.2d, v2.2d, v3.2d}, [%[rightMatrix]], #32\n\t" -+ "st1 {v28.2d, v29.2d}, [x4], #32\n\t" - - // Second row. -- "fmul.2d v30, v0, v16\n\t" -- "fmul.2d v31, v0, v17\n\t" -- "fmla.2d v30, v1, v18\n\t" -- "fmla.2d v31, v1, v19\n\t" -- "fmla.2d v30, v2, v20\n\t" -- "fmla.2d v31, v2, v21\n\t" -- "fmla.2d v30, v3, v22\n\t" -- "fmla.2d v31, v3, v23\n\t" -+ "fmul v30.2d, v0.2d, v16.2d\n\t" -+ "fmul v31.2d, v0.2d, v17.2d\n\t" -+ "fmla v30.2d, v1.2d, v18.2d\n\t" -+ "fmla v31.2d, v1.2d, v19.2d\n\t" -+ "fmla v30.2d, v2.2d, v20.2d\n\t" -+ "fmla v31.2d, v2.2d, v21.2d\n\t" -+ "fmla v30.2d, v3.2d, v22.2d\n\t" -+ "fmla v31.2d, v3.2d, v23.2d\n\t" - -- "ld4r.2d {v24, v25, v26, v27}, [%[rightMatrix]], #32\n\t" -- "st1.2d {v30, v31}, [x4], #32\n\t" -+ "ld4r {v24.2d, v25.2d, v26.2d, v27.2d}, [%[rightMatrix]], #32\n\t" -+ "st1 {v30.2d, v31.2d}, [x4], #32\n\t" - - // Third row. -- "fmul.2d v28, v24, v16\n\t" -- "fmul.2d v29, v24, v17\n\t" -- "fmla.2d v28, v25, v18\n\t" -- "fmla.2d v29, v25, v19\n\t" -- "fmla.2d v28, v26, v20\n\t" -- "fmla.2d v29, v26, v21\n\t" -- "fmla.2d v28, v27, v22\n\t" -- "fmla.2d v29, v27, v23\n\t" -+ "fmul v28.2d, v24.2d, v16.2d\n\t" -+ "fmul v29.2d, v24.2d, v17.2d\n\t" -+ "fmla v28.2d, v25.2d, v18.2d\n\t" -+ "fmla v29.2d, v25.2d, v19.2d\n\t" -+ "fmla v28.2d, v26.2d, v20.2d\n\t" -+ "fmla v29.2d, v26.2d, v21.2d\n\t" -+ "fmla v28.2d, v27.2d, v22.2d\n\t" -+ "fmla v29.2d, v27.2d, v23.2d\n\t" - -- "ld4r.2d {v0, v1, v2, v3}, [%[rightMatrix]], #32\n\t" -- "st1.2d {v28, v29}, [x4], #32\n\t" -+ "ld4r {v0.2d, v1.2d, v2.2d, v3.2d}, [%[rightMatrix]], #32\n\t" -+ "st1 {v28.2d, v29.2d}, [x4], #32\n\t" - - // Fourth row. -- "fmul.2d v30, v0, v16\n\t" -- "fmul.2d v31, v0, v17\n\t" -- "fmla.2d v30, v1, v18\n\t" -- "fmla.2d v31, v1, v19\n\t" -- "fmla.2d v30, v2, v20\n\t" -- "fmla.2d v31, v2, v21\n\t" -- "fmla.2d v30, v3, v22\n\t" -- "fmla.2d v31, v3, v23\n\t" -+ "fmul v30.2d, v0.2d, v16.2d\n\t" -+ "fmul v31.2d, v0.2d, v17.2d\n\t" -+ "fmla v30.2d, v1.2d, v18.2d\n\t" -+ "fmla v31.2d, v1.2d, v19.2d\n\t" -+ "fmla v30.2d, v2.2d, v20.2d\n\t" -+ "fmla v31.2d, v2.2d, v21.2d\n\t" -+ "fmla v30.2d, v3.2d, v22.2d\n\t" -+ "fmla v31.2d, v3.2d, v23.2d\n\t" - -- "st1.2d {v30, v31}, [x4]\n\t" -+ "st1 {v30.2d, v31.2d}, [x4]\n\t" - - : [leftMatrix]"+r"(leftMatrix), [rightMatrix]"+r"(rightMatrix) - : diff --git a/webkitgtk-2.4.10-arm64-gcc.patch b/webkitgtk-2.4.10-arm64-gcc.patch deleted file mode 100644 index bad1e64..0000000 --- a/webkitgtk-2.4.10-arm64-gcc.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -up webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h.arm64_gcc webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h ---- webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h.arm64_gcc 2016-04-05 13:17:49.467473861 +0200 -+++ webkitgtk-2.4.10/Source/WTF/wtf/Atomics.h 2016-04-05 13:18:00.812429048 +0200 -@@ -113,6 +113,20 @@ inline bool weakCompareAndSwap(volatile - : "r"(expected), "r"(newValue) - : "memory"); - result = !result; -+#elif CPU(ARM64) && COMPILER(GCC) -+ unsigned tmp; -+ unsigned result; -+ asm volatile( -+ "mov %w1, #1\n\t" -+ "ldxr %w2, [%0]\n\t" -+ "cmp %w3, %w2\n\t" -+ "b.ne 0f\n\t" -+ "stxr %w1, %w4, [%0]\n\t" -+ "0:" -+ : "+r"(location), "=&r"(result), "=&r"(tmp) -+ : "r"(expected), "r"(newValue) -+ : "memory"); -+ result = !result; - #elif CPU(ARM64) - unsigned tmp; - unsigned result; -@@ -153,6 +167,20 @@ inline bool weakCompareAndSwap(void*vola - : "memory" - ); - return result; -+#elif CPU(ARM64) && COMPILER(GCC) -+ bool result; -+ void* tmp; -+ asm volatile( -+ "mov %w1, #1\n\t" -+ "ldxr %x2, [%0]\n\t" -+ "cmp %x3, %x2\n\t" -+ "b.ne 0f\n\t" -+ "stxr %w1, %x4, [%0]\n\t" -+ "0:" -+ : "+r"(location), "=&r"(result), "=&r"(tmp) -+ : "r"(expected), "r"(newValue) -+ : "memory"); -+ return !result; - #elif CPU(ARM64) - bool result; - void* tmp; diff --git a/webkitgtk-2.4.10-qualified-name.patch b/webkitgtk-2.4.10-qualified-name.patch deleted file mode 100644 index 6bd2dd3..0000000 --- a/webkitgtk-2.4.10-qualified-name.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp.qualified-name webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp ---- webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp.qualified-name 2016-04-05 09:58:17.928258276 +0200 -+++ webkitgtk-2.4.10/Source/WebCore/dom/Element.cpp 2016-04-05 09:58:23.240229758 +0200 -@@ -1056,7 +1056,7 @@ inline void Element::setAttributeInterna - const Attribute& attribute = attributeAt(index); - AtomicString oldValue = attribute.value(); - bool valueChanged = newValue != oldValue; -- const QualifiedName& attributeName = (!inSynchronizationOfLazyAttribute || valueChanged) ? attribute.name() : name; -+ QualifiedName attributeName = (!inSynchronizationOfLazyAttribute || valueChanged) ? attribute.name() : name; - - if (!inSynchronizationOfLazyAttribute) - willModifyAttribute(attributeName, oldValue, newValue); diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 18901a3..dd6c8a4 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -9,8 +9,8 @@ cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') Name: webkitgtk3 -Version: 2.4.10 -Release: 4%{?dist} +Version: 2.4.11 +Release: 1%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -22,12 +22,6 @@ Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz # https://bugs.webkit.org/show_bug.cgi?id=142074 Patch0: webkitgtk-2.4.8-user-agent.patch Patch1: webkitgtk-2.4.9-abs.patch -# http://trac.webkit.org/changeset/165044 -Patch2: webkitgtk-2.4.10-qualified-name.patch -# http://trac.webkit.org/changeset/166234 -Patch3: webkitgtk-2.4.10-arm64-gcc.patch -# http://trac.webkit.org/changeset/166233 -Patch4: webkitgtk-2.4.10-arm64-asm.patch BuildRequires: at-spi2-core-devel BuildRequires: bison @@ -94,9 +88,6 @@ This package contains developer documentation for %{name}. %setup -qn "webkitgtk-%{version}" %patch0 -p1 -b .user_agent %patch1 -p1 -b .abs -%patch2 -p1 -b .qualified-name -%patch3 -p1 -b .arm64-gcc.patch -%patch4 -p1 -b .arm64-asm.patch %build # Use linker flags to reduce memory consumption @@ -109,7 +100,7 @@ This package contains developer documentation for %{name}. %ifarch ppc # Use linker flag -relax to get WebKit2 build under ppc(32) with JIT disabled -%global optflags %{optflags} -Wl,-relax -latomic +%global optflags %{optflags} -Wl,-relax %endif %ifarch s390 s390x ppc %{power64} aarch64 %{mips} @@ -209,6 +200,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Mon Apr 11 2016 Tomas Popela - 2.4.11-1 +- Update to 2.4.11 + * Tue Apr 05 2016 Tomas Popela - 2.4.10-4 - Fix the compilation on aarch64 From 1f87ce468b9713abec87f7a3667f830922c6bb11 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 15 Apr 2016 20:17:10 +0200 Subject: [PATCH 87/92] rebuild for ICU 57.1 --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index dd6c8a4..88adc31 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -200,6 +200,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Apr 15 2016 David Tardon - 2.4.11-2 +- rebuild for ICU 57.1 + * Mon Apr 11 2016 Tomas Popela - 2.4.11-1 - Update to 2.4.11 From c64521c782468bfc7390d4b292c11311629e24c4 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 27 Jun 2016 07:30:50 +0200 Subject: [PATCH 88/92] Workaround crashes with gcc 6.1 rhbz#1349856 - Programs using webkitgtk3 compiled with gcc 6.1 crash on start. F.e: midori, xombrero, etc. --- webkitgtk3.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 88adc31..db1a0e1 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -107,10 +107,8 @@ This package contains developer documentation for %{name}. %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif -# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1320240 -%ifarch s390 s390x ppc %{power64} aarch64 %{mips} +# Workaround crashes with gcc 6.1 %global optflags %{optflags} -fno-delete-null-pointer-checks -%endif %if 0%{?fedora} %global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\' @@ -200,6 +198,10 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Fri Jun 24 2016 Tomas Popela - 2.4.11-3 +- Workaround crashes with gcc 6.1 +- rhbz#1349856 - Programs using webkitgtk3 compiled with gcc 6.1 crash on start. F.e: midori, xombrero, etc. + * Fri Apr 15 2016 David Tardon - 2.4.11-2 - rebuild for ICU 57.1 From 9d9718b9328d06fe9c99c1bdff876a06ac63d414 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 26 Sep 2016 09:40:01 +0200 Subject: [PATCH 89/92] Update the package description so it reflects the current state of package. --- webkitgtk3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index db1a0e1..a66b861 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -64,7 +64,7 @@ Requires: geoclue2 WebKitGTK+ is the port of the portable web rendering engine WebKit to the GTK+ platform. -This package contains WebKitGTK+ for GTK+ 3. +This package contains an insecure and deprecated version of WebKitGTK+ for GTK+ 3. Use WebKit2 instead. %package devel Summary: Development files for %{name} From de68f368caedb41ad1b6261908af0d934ccc1cc7 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 1 Feb 2017 19:33:11 +0100 Subject: [PATCH 90/92] Rebuild (libwebp) --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index a66b861..5831e25 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -198,6 +198,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Wed Feb 01 2017 Sandro Mani - 2.4.11-4 +- Rebuild (libwebp) + * Fri Jun 24 2016 Tomas Popela - 2.4.11-3 - Workaround crashes with gcc 6.1 - rhbz#1349856 - Programs using webkitgtk3 compiled with gcc 6.1 crash on start. F.e: midori, xombrero, etc. From 38d662017b426adc20215f7f37e190b1f5437d1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:18:55 +0000 Subject: [PATCH 91/92] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- webkitgtk3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webkitgtk3.spec b/webkitgtk3.spec index 5831e25..f24275b 100644 --- a/webkitgtk3.spec +++ b/webkitgtk3.spec @@ -10,7 +10,7 @@ Name: webkitgtk3 Version: 2.4.11 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GTK+ Web content engine library Group: Development/Libraries @@ -198,6 +198,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete %{_datadir}/gtk-doc/html/webkitdomgtk %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 2.4.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 01 2017 Sandro Mani - 2.4.11-4 - Rebuild (libwebp) From 6f85a399bfceed052fcb929e93c121d6cadfc7e3 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 14 Mar 2017 10:33:22 -0500 Subject: [PATCH 92/92] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AKVB363GFCHHJ5MTHGVYHYT6NLLTF5VM/ --- .gitignore | 1 - dead.package | 1 + sources | 1 - webkitgtk-2.4.8-user-agent.patch | 27 -- webkitgtk-2.4.9-abs.patch | 26 -- webkitgtk3.spec | 742 ------------------------------- 6 files changed, 1 insertion(+), 797 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 webkitgtk-2.4.8-user-agent.patch delete mode 100644 webkitgtk-2.4.9-abs.patch delete mode 100644 webkitgtk3.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 90f2733..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/webkitgtk-2.*.tar.xz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a60d10e --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AKVB363GFCHHJ5MTHGVYHYT6NLLTF5VM/ diff --git a/sources b/sources deleted file mode 100644 index b11eb4f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -24a25ccc30a7914ae50922aedf24b7bc webkitgtk-2.4.11.tar.xz diff --git a/webkitgtk-2.4.8-user-agent.patch b/webkitgtk-2.4.8-user-agent.patch deleted file mode 100644 index 84b5117..0000000 --- a/webkitgtk-2.4.8-user-agent.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 050232bc122d6785fea01d39121c2f93e8dd16f1 Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Thu, 26 Feb 2015 16:06:36 -0600 -Subject: [PATCH] Allow branding the user agent - ---- - Source/WebCore/platform/gtk/UserAgentGtk.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/Source/WebCore/platform/gtk/UserAgentGtk.cpp b/Source/WebCore/platform/gtk/UserAgentGtk.cpp -index 91641dc..727fbaf 100644 ---- a/Source/WebCore/platform/gtk/UserAgentGtk.cpp -+++ b/Source/WebCore/platform/gtk/UserAgentGtk.cpp -@@ -84,7 +84,9 @@ static const char* cpuDescriptionForUAString() - - static const char* platformForUAString() - { --#if PLATFORM(X11) -+#if defined USER_AGENT_GTK_DISTRIBUTOR_NAME -+ return USER_AGENT_GTK_DISTRIBUTOR_NAME; -+#elif PLATFORM(X11) - return "X11"; - #elif OS(WINDOWS) - return ""; --- -2.1.0 - diff --git a/webkitgtk-2.4.9-abs.patch b/webkitgtk-2.4.9-abs.patch deleted file mode 100644 index 9a1c5f9..0000000 --- a/webkitgtk-2.4.9-abs.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp ---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600 -+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700 -@@ -85,8 +85,8 @@ - guint32 eventTime = getEventTime(event); - - if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) -- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) -- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) -+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) -+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) - && (eventTime - m_previousClickTime < static_cast(doubleClickTime)) - && (buttonEvent->button == m_previousClickButton))) - m_currentClickCount++; -diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp ---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600 -+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700 -@@ -659,7 +659,7 @@ - if (!std::isfinite(time)) - return String::fromUTF8(_("indefinite time")); - -- int seconds = static_cast(abs(time)); -+ int seconds = static_cast(fabs(time)); - int days = seconds / (60 * 60 * 24); - int hours = seconds / (60 * 60); - int minutes = (seconds / 60) % 60; diff --git a/webkitgtk3.spec b/webkitgtk3.spec deleted file mode 100644 index f24275b..0000000 --- a/webkitgtk3.spec +++ /dev/null @@ -1,742 +0,0 @@ -# Fix rebuild on non-Fedora -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} - -## NOTE: Lots of files in various subdirectories have the same name (such as -## "LICENSE") so this short macro allows us to distinguish them by using their -## directory names (from the source tree) as prefixes for the files. -%global add_to_doc_files() \ - mkdir -p %{buildroot}%{_pkgdocdir} ||: ; \ - cp -p %1 %{buildroot}%{_pkgdocdir}/$(echo '%1' | sed -e 's!/!.!g') - -Name: webkitgtk3 -Version: 2.4.11 -Release: 5%{?dist} -Summary: GTK+ Web content engine library - -Group: Development/Libraries -License: LGPLv2+ and BSD -URL: http://www.webkitgtk.org/ - -Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz - -# https://bugs.webkit.org/show_bug.cgi?id=142074 -Patch0: webkitgtk-2.4.8-user-agent.patch -Patch1: webkitgtk-2.4.9-abs.patch - -BuildRequires: at-spi2-core-devel -BuildRequires: bison -BuildRequires: cairo-devel -BuildRequires: chrpath -BuildRequires: enchant-devel -BuildRequires: flex -BuildRequires: fontconfig-devel >= 2.5 -BuildRequires: freetype-devel -BuildRequires: geoclue2-devel -BuildRequires: gettext -BuildRequires: gperf -BuildRequires: gstreamer1-devel -BuildRequires: gstreamer1-plugins-base-devel -BuildRequires: gtk2-devel -BuildRequires: gtk3-devel >= 3.6 -BuildRequires: gtk-doc -BuildRequires: glib2-devel >= 2.36.0 -BuildRequires: harfbuzz-devel -BuildRequires: libsoup-devel >= 2.42.0 -BuildRequires: libicu-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libsecret-devel -BuildRequires: libwebp-devel -BuildRequires: libxslt-devel -BuildRequires: libXt-devel -BuildRequires: pcre-devel -BuildRequires: sqlite-devel -BuildRequires: gobject-introspection-devel >= 1.32.0 -BuildRequires: perl-Switch -BuildRequires: ruby rubypick rubygems -BuildRequires: mesa-libGL-devel -%ifarch ppc -BuildRequires: libatomic -%endif -Requires: geoclue2 - -%description -WebKitGTK+ is the port of the portable web rendering engine WebKit to the -GTK+ platform. - -This package contains an insecure and deprecated version of WebKitGTK+ for GTK+ 3. Use WebKit2 instead. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -The %{name}-devel package contains libraries, build data, and header -files for developing applications that use %{name}. - -%package doc -Summary: Documentation files for %{name} -Group: Documentation -BuildArch: noarch -Requires: %{name} = %{version}-%{release} - -%description doc -This package contains developer documentation for %{name}. - -%prep -%setup -qn "webkitgtk-%{version}" -%patch0 -p1 -b .user_agent -%patch1 -p1 -b .abs - -%build -# Use linker flags to reduce memory consumption -%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads - -%ifarch s390 %{arm} mips mipsel -# Decrease debuginfo verbosity to reduce memory consumption even more -%global optflags %(echo %{optflags} | sed 's/-g /-g1 /') -%endif - -%ifarch ppc -# Use linker flag -relax to get WebKit2 build under ppc(32) with JIT disabled -%global optflags %{optflags} -Wl,-relax -%endif - -%ifarch s390 s390x ppc %{power64} aarch64 %{mips} -%global optflags %{optflags} -DENABLE_YARR_JIT=0 -%endif - -# Workaround crashes with gcc 6.1 -%global optflags %{optflags} -fno-delete-null-pointer-checks - -%if 0%{?fedora} -%global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\' -%endif - -%configure \ - --with-gtk=3.0 \ - --disable-webkit2 \ -%ifarch s390 s390x ppc %{power64} aarch64 %{mips} - --disable-jit \ -%else - --enable-jit \ -%endif - --enable-introspection - -mkdir -p DerivedSources/webkit -mkdir -p DerivedSources/WebCore -mkdir -p DerivedSources/ANGLE -mkdir -p DerivedSources/WebKit2 -mkdir -p DerivedSources/webkitdom/ -mkdir -p DerivedSources/InjectedBundle -mkdir -p DerivedSources/Platform - -# Disable the parallel compilation as it fails to compile in brew. -# https://bugs.webkit.org/show_bug.cgi?id=34846 -# make %{_smp_mflags} V=1 -make -j1 V=1 - -%install -make install DESTDIR=%{buildroot} - -install -d -m 755 %{buildroot}%{_libexecdir}/%{name} -install -m 755 Programs/GtkLauncher %{buildroot}%{_libexecdir}/%{name} - -# Remove lib64 rpaths -chrpath --delete %{buildroot}%{_bindir}/jsc-3 -chrpath --delete %{buildroot}%{_libdir}/libwebkitgtk-3.0.so -chrpath --delete %{buildroot}%{_libexecdir}/%{name}/GtkLauncher - -# Remove .la files -find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete - -%find_lang WebKitGTK-3.0 - -## Finally, copy over and rename the various files for %%doc inclusion. -%add_to_doc_files Source/WebKit/LICENSE -%add_to_doc_files Source/WebKit/gtk/NEWS -%add_to_doc_files Source/WebCore/icu/LICENSE -%add_to_doc_files Source/WebCore/LICENSE-APPLE -%add_to_doc_files Source/WebCore/LICENSE-LGPL-2 -%add_to_doc_files Source/WebCore/LICENSE-LGPL-2.1 -%add_to_doc_files Source/JavaScriptCore/COPYING.LIB -%add_to_doc_files Source/JavaScriptCore/THANKS -%add_to_doc_files Source/JavaScriptCore/AUTHORS -%add_to_doc_files Source/JavaScriptCore/icu/README -%add_to_doc_files Source/JavaScriptCore/icu/LICENSE - - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - - -%files -f WebKitGTK-3.0.lang -%doc %{_pkgdocdir}/ -%{_libdir}/libwebkitgtk-3.0.so.* -%{_libdir}/libjavascriptcoregtk-3.0.so.* -%{_libdir}/girepository-1.0/WebKit-3.0.typelib -%{_libdir}/girepository-1.0/JavaScriptCore-3.0.typelib -%dir %{_libexecdir}/%{name} -%{_libexecdir}/%{name}/GtkLauncher -%{_datadir}/webkitgtk-3.0 - -%files devel -%{_bindir}/jsc-3 -%{_includedir}/webkitgtk-3.0 -%{_libdir}/libwebkitgtk-3.0.so -%{_libdir}/libjavascriptcoregtk-3.0.so -%{_libdir}/pkgconfig/webkitgtk-3.0.pc -%{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc -%{_datadir}/gir-1.0/WebKit-3.0.gir -%{_datadir}/gir-1.0/JavaScriptCore-3.0.gir - -%files doc -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%{_datadir}/gtk-doc/html/webkitgtk -%{_datadir}/gtk-doc/html/webkitdomgtk - -%changelog -* Sat Feb 11 2017 Fedora Release Engineering - 2.4.11-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 01 2017 Sandro Mani - 2.4.11-4 -- Rebuild (libwebp) - -* Fri Jun 24 2016 Tomas Popela - 2.4.11-3 -- Workaround crashes with gcc 6.1 -- rhbz#1349856 - Programs using webkitgtk3 compiled with gcc 6.1 crash on start. F.e: midori, xombrero, etc. - -* Fri Apr 15 2016 David Tardon - 2.4.11-2 -- rebuild for ICU 57.1 - -* Mon Apr 11 2016 Tomas Popela - 2.4.11-1 -- Update to 2.4.11 - -* Tue Apr 05 2016 Tomas Popela - 2.4.10-4 -- Fix the compilation on aarch64 - -* Tue Apr 05 2016 Tomas Popela - 2.4.10-3 -- rhbz#1321722 - [abrt] evolution: WTF::StringImpl::startsWith(): SIGSEGV with webkitgtk3-2.4.10 - -* Thu Mar 24 2016 Tomas Popela - 2.4.10-2 -- Add a workaround for rhbz#1320240 - -* Mon Mar 14 2016 Tomas Popela - 2.4.10-1 -- Update to 2.4.10 - -* Tue Feb 9 2016 Peter Robinson 2.4.9-10 -- Add ruby deps for build - -* Sat Feb 06 2016 Tomas Popela - 2.4.9-9 -- Fix the build with gcc 6 (use Kevin's patch from the webkitgtk package) - -* Fri Feb 05 2016 Fedora Release Engineering - 2.4.9-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Dec 30 2015 Michal Toman - 2.4.9-7 -- Add support for MIPS - -* Mon Dec 28 2015 Igor Gnatenko - 2.4.9-6 -- Rebuilt for libwebp soname bump - -* Mon Dec 07 2015 Tomas Popela - 2.4.9-5 -- rhbz#1289053 - Retire nspluginwrapper and remove from Fedora 24 - -* Wed Oct 28 2015 David Tardon - 2.4.9-4 -- rebuild for ICU 56.1 - -* Fri Sep 25 2015 Tomas Popela - 2.4.9-3 -- rhbz#1189303 - [abrt] midori: WebCore::SQLiteStatement::prepare(): midori killed by SIGSEGV - Initialize string in SQLiteStatement before using it - -* Fri Jun 19 2015 Fedora Release Engineering - 2.4.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed May 20 2015 Tomas Popela - 2.4.9-1 -- Update to 2.4.9 - -* Sat May 02 2015 Kalev Lember - 2.4.8-9 -- Rebuilt for GCC 5 C++11 ABI change - -* Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 -- Remove the fix for late certificate validation because we use --disable-webkit2 - -* Tue Mar 17 2015 Michael Catanzaro - 2.4.8-7 -- Backport fix for late certificate validation - -* Tue Mar 10 2015 Tomas Popela - 2.4.8-6 -- Backport fix for use-after-free when destroying frame - -* Fri Feb 27 2015 Michael Catanzaro - 2.4.8-5 -- Add Fedora branding to the user agent - -* Sat Feb 21 2015 Till Maas - 2.4.8-4 -- Rebuilt for Fedora 23 Change - https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code - -* Wed Feb 18 2015 Tomas Popela - 2.4.8-3 -- Add support for gcc 5.0 -- Let the package compile with latest glib - -* Mon Jan 26 2015 David Tardon - 2.4.8-2 -- rebuild for ICU 54.1 - -* Wed Jan 07 2015 Tomas Popela - 2.4.8-1 -- Update to 2.4.8 - -* Wed Oct 22 2014 Tomas Popela - 2.4.7-1 -- Update to 2.4.7 - -* Tue Oct 21 2014 Tomas Popela - 2.4.6-2 -- Disable the SSLv3 to address the POODLE vulnerability - -* Mon Sep 29 2014 Tomas Popela - 2.4.6-1 -- Update to 2.4.6 -- Run make with -j1 to let it successfully compile in brew - -* Tue Sep 02 2014 Tomas Popela - 2.4.5-4 -- Rebase the aarch64 patch - -* Tue Aug 26 2014 Kalev Lember - 2.4.5-3 -- Disable support for webkit2 API which is now provided by the webkitgtk4 - package - -* Tue Aug 26 2014 David Tardon - 2.4.5-2 -- rebuild for ICU 53.1 - -* Tue Aug 26 2014 Tomas Popela - 2.4.5-1 -- Update to 2.4.5 - -* Mon Aug 18 2014 Fedora Release Engineering - 2.4.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Wed Jul 23 2014 Tomas Popela - 2.4.4-4 -- Remove geoclue-devel from BR - -* Wed Jul 23 2014 Tomas Popela - 2.4.4-3 -- Fix CLoop on ppc32 and s390 -- Add geoclue-devel as BR as WK1 needs it - -* Tue Jul 22 2014 Kalev Lember - 2.4.4-2 -- Rebuilt for gobject-introspection 1.41.4 - -* Tue Jul 08 2014 Kalev Lember - 2.4.4-1 -- Update to 2.4.4 - -* Fri Jul 4 2014 Yaakov Selkowitz - 2.4.3-4 -- Fix for 64k pages on aarch64 (#1074093, #1113345) - -* Fri Jul 04 2014 Tomas Popela 2.4.3-3 -- rhbz#1088480 - [abrt] libwebkit2gtk: TSymbolTableLevel::~TSymbolTableLevel(): WebKitWebProcess killed by SIGSEGV - -* Sun Jun 08 2014 Fedora Release Engineering - 2.4.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue May 27 2014 Tomas Popela 2.4.3-1 -- Update to 2.4.3 - -* Sun May 18 2014 Peter Robinson 2.4.2-4 -- Fix aarch64 build - -* Wed May 14 2014 Tomas Popela 2.4.2-3 -- Add support for ppc64le -- Fix for CLoop on ppc64, ppc64le and s390x - -* Tue May 13 2014 Karsten Hopp 2.4.2-2 -- PPC (32bit) needs libatomic in the buildroot - -* Mon May 12 2014 Kalev Lember - 2.4.2-1 -- Update to 2.4.2 - -* Wed May 07 2014 Kalev Lember - 2.4.1-2 -- Make sure -devel pulls in libwebkit2gtk - -* Mon Apr 14 2014 Kalev Lember - 2.4.1-1 -- Update to 2.4.1 - -* Tue Mar 25 2014 Kalev Lember - 2.4.0-1 -- Update to 2.4.0 - -* Wed Mar 19 2014 Kalev Lember - 2.3.92-2 -- Switch over to geoclue2 - -* Tue Mar 18 2014 Tomas Popela - 2.3.92-1 -- Update to 2.3.92 - -* Tue Mar 4 2014 Tomas Popela - 2.3.91-1 -- Update to 2.3.91 - -* Thu Feb 27 2014 Karsten Hopp 2.3.90-3 -- disable libatomic patch on ppc. webkitgtk3 now uses std::atomic - -* Tue Feb 18 2014 Peter Robinson 2.3.90-2 -- Disable JIT on aarch64 - -* Tue Feb 18 2014 Tomas Popela - 2.3.90-1 -- Update to 2.3.90 -- Enable full debuginfo on s390x - -* Thu Feb 13 2014 Paul Howarth - 2.3.5-3 -- Rebuild against new libicu - -* Fri Feb 7 2014 Peter Robinson 2.3.5-2 -- Add support for aarch64 - -* Thu Feb 6 2014 Tomas Popela - 2.3.5-1 -- Update to 2.3.5 - -* Mon Jan 13 2014 Tomas Popela - 2.3.4-1 -- Update to 2.3.4 -- Add patch that fixes compilation on i686 - -* Thu Jan 02 2014 Orion Poplawski - 2.3.3-2 -- Rebuild for libwebp soname bump - -* Thu Dec 19 2013 Tomas Popela - 2.3.3-1 -- Update to 2.3.3 - -* Thu Dec 5 2013 Tomas Popela - 2.3.2-1 -- Update to 2.3.2 -- Add libatomic as BR on ppc - -* Wed Dec 4 2013 Tomas Popela - 2.2.3-1 -- Update to 2.2.3 - -* Thu Nov 28 2013 Tomas Popela - 2.2.2-2 -- Fix for RH bug #1035764 - Crashes with certain Google Drive documents - -* Mon Nov 11 2013 Tomas Popela - 2.2.2-1 -- Update to 2.2.2 - -* Fri Oct 18 2013 Tomas Popela - 2.2.1-1 -- Update to 2.2.1 - -* Fri Sep 27 2013 Kalev Lember - 2.2.0-1 -- Update to 2.2.0 - -* Wed Sep 18 2013 Kalev Lember - 2.1.92-1 -- Update to 2.1.92 - -* Thu Sep 12 2013 Dan Horák - 2.1.91-2 -- rediff the ppc32 patch, it failed to apply on s390 - -* Wed Sep 11 2013 Kalev Lember - 2.1.91-1 -- Update to 2.1.91 - -* Fri Aug 30 2013 Karsten Hopp 2.1.90.1-2 -- modify ppc32 patch, the macro interpretResolveWithBase got removed - -* Fri Aug 30 2013 Kalev Lember - 2.1.90.1-1 -- Update to 2.1.90.1 - -* Wed Aug 28 2013 Kalev Lember - 2.1.90-1 -- Update to 2.1.90 -- Add missing at-spi2-core-devel build dep - -* Mon Aug 12 2013 Kalev Lember - 2.1.4-1 -- Update to 2.1.4 - -* Sat Aug 10 2013 Kalev Lember - 2.1.3-3 -- Switch to unversioned docdirs (#993890) - -* Sun Aug 04 2013 Fedora Release Engineering - 2.1.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Jul 9 2013 Tomas Popela - 2.1.3-1 -- Update to 2.1.3 - -* Wed Jun 19 2013 Tomas Popela - 2.1.2-1 -- Update to 2.1.2 - -* Fri Jun 07 2013 Kalev Lember - 2.1.1-3 -- Link with harfbuzz-icu (split into separate library in harfbuzz 0.9.18) - -* Mon Jun 03 2013 Kalev Lember - 2.1.1-2 -- Remove glib-compile-schemas scriptlets: the schemas are no longer installed -- Add ldconfig calls to the libwebkit2gtk subpackage -- Remove rpath from MiniBrowser -- Re-enable full debuginfo (#861452) - -* Mon Jun 3 2013 Tomas Popela - 2.1.1-1 -- Update to 2.1.1 -- Drop unused patches - -* Mon May 13 2013 Tomas Popela - 2.0.2-1 -- Update to 2.0.2 - -* Mon May 6 2013 Matthias Clasen - 2.0.1-2 -- Split libwebkit2gtk off into a subpackage to avoid - pulling this 35M behemoth of a library onto the livecd - needlessly - -* Tue Apr 16 2013 Tomas Popela - 2.0.1-1 -- Update to 2.0.1 - -* Thu Apr 11 2013 Tomas Popela - 2.0.0-3 -- Add fix for broken GObject casting - -* Wed Apr 3 2013 Tomas Popela - 2.0.0-2 -- Apply double2intsPPC32.patch also on s390 - -* Wed Mar 27 2013 Tomas Popela - 2.0.0-1 -- Update to 2.0.0 -- Update BR versions -- Drop unused patches - -* Wed Mar 20 2013 Kalev Lember - 1.11.92-1 -- Update to 1.11.92 - -* Fri Mar 08 2013 Tomas Popela 1.11.91-1 -- Update to 1.11.91 -- Fix for RH bug #915990 - Seed segfaults in JSC::LLInt::CLoop::execute() - -* Mon Feb 25 2013 Tomas Popela 1.11.90-3 -- Fix for not building on ppc32 with JIT disabled - -* Sat Feb 23 2013 Kevin Fenzi 1.11.90-2 -- Add webkit2 MiniBrowser - -* Fri Feb 22 2013 Kalev Lember - 1.11.90-1 -- Update to 1.11.90 - -* Fri Feb 22 2013 Tomas Popela 1.11.5-5 -- Fix for not building on ppc32 with JIT disabled -- BR libatomic (needs gcc >= 4.8.0) for ppc32 - -* Mon Feb 18 2013 Tomas Popela 1.11.5-4 -- Backported fixes for not building with disabled JIT - -* Sat Feb 16 2013 Peter Robinson 1.11.5-3 -- Re-enable JIT on ARM (hopefully the gmail crash is fixed) - -* Thu Feb 14 2013 Tomas Popela 1.11.5-2 -- Add upstream patch for RH bug #908143 - AccessibilityTableRow::parentTable crash - -* Wed Feb 06 2013 Kalev Lember - 1.11.5-1 -- Update to 1.11.5 -- Drop upstreamed patches - -* Wed Jan 30 2013 Mamoru TASAKA - 1.11.4-5 -- Rebuild against new icu again - -* Sat Jan 26 2013 Kalev Lember - 1.11.4-4 -- Rebuilt for icu 50 - -* Fri Jan 25 2013 Kalev Lember - 1.11.4-3 -- Backport a fix for a crash in AccessibilityTableCell::parentTable() - -* Mon Jan 21 2013 Adam Tkac - 1.11.4-2 -- rebuild due to "jpeg8-ABI" feature drop - -* Wed Jan 16 2013 Kalev Lember - 1.11.4-1 -- Update to 1.11.4 -- Remove conditional pango deps; the build now uses harfbuzz directly -- BR libwebp-devel -- Drop upstreamed librt linking patch - -* Tue Dec 18 2012 Dan Horák - 1.11.2-3 -- fix 32-bit non-JIT arches - -* Tue Dec 18 2012 Dan Horák - 1.11.2-2 -- fix build for non-JIT arches - -* Sat Nov 24 2012 Kalev Lember - 1.11.2-1 -- Update to 1.11.2 -- Add a patch to explicitly link with librt - -* Wed Oct 17 2012 Kalev Lember - 1.10.1-1 -- Update to 1.10.1 -- Enable the parallel build -- Drop the upstreamed Geode-compatibility patch - -* Fri Oct 5 2012 Daniel Drake - 1.10.0-2 -- Restore compatibility with AMD Geode processors - -* Mon Sep 24 2012 Kalev Lember - 1.10.0-1 -- Update to 1.10.0 -- Adjust for webkit -> webkitgtk upstream tarball rename - -* Wed Sep 19 2012 Kalev Lember - 1.9.92-2 -- Build with gstreamer1 - -* Wed Sep 19 2012 Kalev Lember - 1.9.92-1 -- Update to 1.9.92 - -* Wed Sep 05 2012 Kalev Lember - 1.9.91-1 -- Update to 1.9.91 - -* Sun Sep 2 2012 Matthias Clasen - 1.9.90-2 -- Rebuild - -* Wed Aug 29 2012 Daniel Drake - 1.9.90-1 -- Update to latest release (#850520) - -* Thu Aug 9 2012 Daniel Drake - 1.9.5-2 -- Add upstream patch to fix build without JIT (#843428) -- Add upstream patch to fix build with latest gcc/bison - -* Wed Jul 18 2012 Kalev Lember - 1.9.5-1 -- Update to 1.9.5 -- Build with -g1 to avoid running into 4 GB ar format limit - -* Wed Jul 11 2012 Ville Skyttä - 1.9.4-3 -- Fix %%post scriptlet dependencies. - -* Wed Jul 04 2012 Dan Horák - 1.9.4-2 -- apply workaround for s390x until #835957 is resolved (static library archive > 4 GB) - -* Thu Jun 28 2012 Kalev Lember - 1.9.4-1 -- Update to 1.9.4 - -* Thu Jun 07 2012 Kalev Lember - 1.9.3-1 -- Update to 1.9.3 -- Build webkit2gtk and BR gtk2-devel for its plugin process - -* Tue May 15 2012 Karsten Hopp 1.8.1-3 -- disable JIT on PPC(64) as the autodetection enables it even if not supported - -* Mon May 14 2012 Peter Robinson - 1.8.1-2 -- Explicitly disable JIT on ARM as it's not currently stable with JS heavy pages - -* Tue Apr 24 2012 Kalev Lember - 1.8.1-1 -- Update to 1.8.1 -- Dropped the backported patches -- Remove lib64 rpaths with chrpath -- Update gsettings rpm scriptlets - -* Wed Apr 18 2012 Peter Robinson - 1.8.0-3 -- Add upstream patch to fix crash when SSE2 isn't present -- Add upstream patch to flickering when some widgets are drawn - -* Mon Apr 09 2012 Kalev Lember - 1.8.0-2 -- Finish splitting out a -doc subpackage (#808917) - -* Wed Mar 28 2012 Richard Hughes - 1.8.0-1 -- Update to 1.8.0. - -* Sat Mar 24 2012 Dan Horák - 1.7.92-2 -- add ppc to low mem arches -- decrease debuginfo verbosity on s390 to save memory - -* Wed Mar 21 2012 Kalev Lember - 1.7.92-1 -- Update to 1.7.92 -- Don't pass --enable-geolocation to configure; it's now enabled by default - -* Thu Mar 15 2012 Karsten Hopp 1.7.91-2 -- disable jit on ppc(64) - -* Thu Mar 8 2012 Matthias Clasen - 1.7.91-1 -- Update to 1.7.91 - -* Tue Feb 28 2012 Peter Robinson - 1.7.5-3 -- Add ARM to and optimise compile flags for low mem arches - -* Mon Feb 20 2012 Dan Horák - 1.7.5-2 -- don't enable jit on s390(x) - -* Tue Feb 7 2012 Matthias Clasen - 1.7.5-1 -- Update to 1.7.5 - -* Tue Jan 17 2012 Matthias Clasen - 1.7.4-1 -- Update to 1.7.4 - -* Sat Jan 14 2012 Fedora Release Engineering - 1.7.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 20 2011 Matthias Clasen - 1.7.3-1 -- Update to 1.7.3 - -* Thu Nov 24 2011 Tomas Bzatek - 1.7.2-1 -- Update to 1.7.2 - -* Mon Nov 7 2011 Matthias Clasen 1.7.1-2 -- Rebuild against new libpng - -* Wed Nov 2 2011 Matthias Clasen 1.7.1-1 -- Update to 1.7.1 - -* Wed Oct 12 2011 Dan Horák 1.6.1-2 -- fix build on s390(x) - -* Wed Sep 28 2011 Ray Strode 1.6.1-1 -- Update to 1.6.1 - -* Fri Sep 09 2011 Caolán McNamara - 1.5.1-2 -- rebuild for icu 4.8.1 - -* Thu Jun 16 2011 Tomas Bzatek - 1.5.1-1 -- Update to 1.5.1 - -* Tue Jun 14 2011 Bastien Nocera 1.4.0-3 -- Rebuild against newer GTK+ - -* Wed May 11 2011 Cosimo Cecchi 1.4.0-2 -- Add a doc package for gtk-doc documentation - -* Tue Apr 26 2011 Matthias Clasen 1.4.0-1 -- Update to 1.4.0 - -* Tue Mar 22 2011 Matthias Clasen 1.3.13-1 -- Update to 1.3.13 - -* Thu Feb 10 2011 Matthias Clasen 1.3.10-3 -- Rebuild against newer gtk - -* Mon Feb 07 2011 Fedora Release Engineering - 1.3.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Feb 2 2011 Matthias Clasen 1.3.11-1 -- 1.3.11 - -* Wed Feb 2 2011 Matthias Clasen 1.3.10-2 -- Rebuild against newer gtk - -* Mon Jan 10 2011 Matthias Clasen 1.3.10-1 -- Update to 1.3.10 - -* Sun Jan 9 2011 Matthias Clasen 1.3.9-1 -- Update to 1.3.9 - -* Fri Dec 3 2010 Matthias Clasen 1.3.7-2 -- Rebuild against new gtk - -* Wed Dec 1 2010 Matthias Clasen 1.3.7-1 -- Update to 1.3.7 - -* Thu Nov 11 2010 Matthias Clasen 1.3.6-1 -- Update to 1.3.6 -- Disable the s390 patch again :-( Upstream it, maybe ? - -* Thu Nov 11 2010 Dan Horák - 1.3.5-2 -- Updated and re-enabled the s390 patch - -* Mon Nov 1 2010 Matthias Clasen 1.3.5-1 -- Update to 1.3.5 - -* Wed Sep 29 2010 jkeating - 1.3.4-3 -- Rebuilt for gcc bug 634757 - -* Fri Sep 24 2010 Matthias Clasen 1.3.4-2 -- Enable JIT/patch for execmem -- Move inspector to the main package - -* Thu Sep 23 2010 Matthias Clasen 1.3.4-1 -- Update to 1.3.4 - -* Wed Aug 25 2010 Dan Horák - 1.3.3-4 -- Do not generate debug information to prevent linker memory exhaustion on s390 with its 2 GB address space - -* Wed Jul 21 2010 Dan Horák - 1.3.3-3 -- Fix build on s390(x) - -* Thu Jul 15 2010 Colin Walters - 1.3.3-2 -- Rebuild with new gobject-introspection - -* Fri Jul 9 2010 Matthias Clasen 1.3.2-2 -- Fix conflicting gettext domain with webkitgtk -- Drop the -doc subpackage - -* Thu Jul 1 2010 Matthias Clasen 1.3.2-1 -- Initial packaging