Compare commits

..

1 commit

Author SHA1 Message Date
Tomas Popela
93e8aaaed2 Update the package description so it reflects the current state of package. 2016-09-26 09:36:42 +02:00
10 changed files with 835 additions and 546 deletions

1
.gitignore vendored
View file

@ -1,2 +1 @@
/webkitgtk-*.tar.xz
/webkitgtk-*.tar.xz.asc

View file

@ -1,2 +0,0 @@
* Thu Aug 04 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.37.1-12
- Initial import. This manual changelog entry hides the repo's long git history from rpm-autospec.

View file

@ -1,13 +0,0 @@
# Enable/disable monitoring
monitoring = false
# Enable/disable filling bugzilla ticket for new release
# When disabled it will also disable scratch builds
bugzilla = true
# Enable/disable reporting only stable versions
# Stable versions are recognized based on release-monitoring.org project settings
stable_only = false
# Enable/disable reporting all new versions instead of the latest one
# Enabling this will disable scratch builds
all_versions = false
# Enable/disable scratch build for newly opened version
scratch_build = false

View file

@ -1,5 +0,0 @@
---
inspections:
abidiff: off
changedfiles: off
filesize: off

View file

@ -1,82 +0,0 @@
diff --git a/Source/ThirdParty/skia/include/core/SkTypes.h b/Source/ThirdParty/skia/include/core/SkTypes.h
index 79644da049ff..fc0646e21772 100644
--- a/Source/ThirdParty/skia/include/core/SkTypes.h
+++ b/Source/ThirdParty/skia/include/core/SkTypes.h
@@ -33,6 +33,8 @@
# undef SK_DIRECT3D
#endif
+#if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT) || !defined(SK_A32_SHIFT)
+
// If SK_R32_SHIFT is set, we'll use that to choose RGBA or BGRA.
// If not, we'll default to RGBA everywhere except BGRA on Windows.
#if defined(SK_R32_SHIFT)
@@ -52,6 +54,8 @@
#define SK_G32_SHIFT 8
#define SK_A32_SHIFT 24
+#endif
+
/**
* SK_PMCOLOR_BYTE_ORDER can be used to query the byte order of SkPMColor at compile time.
*/
diff --git a/Source/ThirdParty/skia/src/codec/SkCodecPriv.h b/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
index c321fb77c0ae..a0a01cccd58a 100644
--- a/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
+++ b/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
@@ -14,6 +14,7 @@
#include "include/core/SkTypes.h"
#include "include/private/SkEncodedInfo.h"
#include "modules/skcms/skcms.h"
+#include "src/core/SkEndian.h"
#include "src/codec/SkColorPalette.h"
#include "src/core/SkColorData.h"
diff --git a/Source/ThirdParty/skia/src/core/Sk4px.h b/Source/ThirdParty/skia/src/core/Sk4px.h
index d5d481e7e300..c7ef0bcd0ed0 100644
--- a/Source/ThirdParty/skia/src/core/Sk4px.h
+++ b/Source/ThirdParty/skia/src/core/Sk4px.h
@@ -27,7 +27,9 @@ public:
// RGBA rgba XYZW xyzw -> AAAA aaaa WWWW wwww
Sk4px alphas() const {
+#ifdef SK_CPU_LENDIAN
static_assert(SK_A32_SHIFT == 24, "This method assumes little-endian.");
+#endif
return Sk4px(skvx::shuffle<3,3,3,3, 7,7,7,7, 11,11,11,11, 15,15,15,15>(fV));
}
Sk4px inv() const { return Sk4px(skvx::byte16(255) - fV); }
diff --git a/Source/ThirdParty/skia/src/core/SkColorPriv.h b/Source/ThirdParty/skia/src/core/SkColorPriv.h
index 45471c25529e..319fec78069b 100644
--- a/Source/ThirdParty/skia/src/core/SkColorPriv.h
+++ b/Source/ThirdParty/skia/src/core/SkColorPriv.h
@@ -64,6 +64,20 @@ static inline U8CPU SkUnitScalarClampToByte(SkScalar x) {
* Here we enforce this constraint.
*/
+#ifdef SK_CPU_BENDIAN
+
+#define SK_RGBA_R32_SHIFT 24
+#define SK_RGBA_G32_SHIFT 16
+#define SK_RGBA_B32_SHIFT 8
+#define SK_RGBA_A32_SHIFT 0
+
+#define SK_BGRA_B32_SHIFT 24
+#define SK_BGRA_G32_SHIFT 16
+#define SK_BGRA_R32_SHIFT 8
+#define SK_BGRA_A32_SHIFT 0
+
+#else
+
#define SK_RGBA_R32_SHIFT 0
#define SK_RGBA_G32_SHIFT 8
#define SK_RGBA_B32_SHIFT 16
@@ -74,6 +88,8 @@ static inline U8CPU SkUnitScalarClampToByte(SkScalar x) {
#define SK_BGRA_R32_SHIFT 16
#define SK_BGRA_A32_SHIFT 24
+#endif
+
#if defined(SK_PMCOLOR_IS_RGBA) || defined(SK_PMCOLOR_IS_BGRA)
#error "Configure PMCOLOR by setting SK_R32_SHIFT."
#endif

View file

@ -1,2 +1 @@
SHA512 (webkitgtk-2.53.91.tar.xz) = 0bb5ec4c75cf0dcd4ccc46b7cf8595722d447385b75ed6ec79333b56203f681077fa355600210edb4fe6344e4af2943c7fb5b1bff6e35a7ec1ea456d891a1951
SHA512 (webkitgtk-2.53.91.tar.xz.asc) = 72f6f01f8f3e12228ee70202b9b9bda589c80a791086cde6d6af5f2f916b44877b984267c6a5970f4fe41ff7dac21bccfa7323f19d71f6fd3e4a87abb18be58c
24a25ccc30a7914ae50922aedf24b7bc webkitgtk-2.4.11.tar.xz

View file

@ -0,0 +1,27 @@
From 050232bc122d6785fea01d39121c2f93e8dd16f1 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
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

26
webkitgtk-2.4.9-abs.patch Normal file
View file

@ -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<guint>(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<int>(abs(time));
+ int seconds = static_cast<int>(fabs(time));
int days = seconds / (60 * 60 * 24);
int hours = seconds / (60 * 60);
int minutes = (seconds / 60) % 60;

Binary file not shown.

File diff suppressed because it is too large Load diff