diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /net-libs/webkit-gtk | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'net-libs/webkit-gtk')
-rw-r--r-- | net-libs/webkit-gtk/Manifest | 3 | ||||
-rw-r--r-- | net-libs/webkit-gtk/files/2.34.3-jumbo-fix.patch | 70 | ||||
-rw-r--r-- | net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild | 5 |
3 files changed, 75 insertions, 3 deletions
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index b2b4d9c9b8fa..5fe9028404a0 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1,8 +1,9 @@ AUX 2.28.2-opengl-without-X-fixes.patch 1704 BLAKE2B ae6e830a7a0d58ae43e19f235290225982c98b8aba1fd58836ebd588c1df4465f92eec8adbc12d410928b559dc2e50bf928d3b15f3d63b644d7c3aa59456954a SHA512 f424fcf62c308f47c322a7322189cbdeab0cced46d1855c0727748996fe0253c5ce1e65819142f75b8435b330a7193c11569f4257cd9522d334153c0e58a1edd +AUX 2.34.3-jumbo-fix.patch 2430 BLAKE2B 0896f652262284cee74bec5f84f9bf8a88884f8c4182cbbc72dc59de5778856807772ecc92b9eb75c40eb021b0732ef81435e8894b46c8c10d833474e8c077c6 SHA512 c131daff77815eda541a376dc8904cffe7a75d9eb00fdf07ae872072aaa09493c2d01ae94122a0e6f43bdd8c8ba9aceb01821fb56b803c1b5f894d0e08abad53 AUX 2.34.3-non-jumbo-fix.patch 1056 BLAKE2B 4d229c01fbfae518725bb802c0fd907a1dc8bd4edd41be2b48075471f31ec84b6f9bae1b97294f46a42ba77a081e3705be3ad49177de28791a495f19ddb4f51e SHA512 1ace5a3c1e775f258c67c59987a0c84ebc7cadd007cc0b79b282712b354cdaf9eb4dd6ef75b85b234ad3b16079ac8dbf2890921165854fc2da51f79cbd5f0e79 AUX 2.34.3-opengl-without-X-fixes.patch 1436 BLAKE2B 231cdc9a428342d7fe98a1c1fb230b345f29b6a2d45da02cfa674dae1ceffbbcf5d62a77e903f690b59eb49ad7a3e50dffc190ea57bfa953f10fccfeb6dd4dfd SHA512 1af17f79d2a60cdd5337ca5a571787fb2cc1abc7d3f392b6640edc88856e2f8fc3e77625fdfd600d9ba9376a18ec379151d064d5f7ad1b2bfed0db2e0330e2ee DIST webkitgtk-2.32.4.tar.xz 23327956 BLAKE2B 13762828c39ea55dcdc65be6561fd1ce33fa8c83c1750807fa56a05adfa3604992d0c532ca0466295e6b0e0174dbbda93ebd8082b1ad06b597b54ad8e3a69bd6 SHA512 c2d72850097da72a82faab0a1218b312668b88bc8b67fcd62f08368c71d46bc833e08b3e095eb286beeae59ee88ac74c8393caee8a4ec5a8e90e02425e43350b DIST webkitgtk-2.34.3.tar.xz 24996976 BLAKE2B 03e9d15e956eddb516e7d1c74b2b0adc99659e6121aaa7795fe8d5348b25b909ed08dc6f85ec26a8058331ffbfd2e9e3f7f6e8effe0353270c7bd419171492a0 SHA512 f3d0ad2e051fc177e1a478908ad806e0a094ac7ab1d9e40049a67e868974278dd5fa84d911bed2eb356022fbe020d985370c69af70efa0e223221e9be607efbc EBUILD webkit-gtk-2.32.4.ebuild 9133 BLAKE2B c7d7e364939545a9529cded1349892d28a215a128630d697d17cd8c906ee31bc1e626bc8251d50b8df28f4e8364fdb1776bc39345e8b8be3b9b26b6431c89509 SHA512 8933e6b923c347740ffe1c280ed42c9435ffdc399c0fc216bec09f3afafedbcc13150998102794738219f151353149e561dfe5f637f96026c3aa3961e0ae09a8 -EBUILD webkit-gtk-2.34.3.ebuild 8266 BLAKE2B 754573cae584af0b855e30136fa4885a6730ec6f80b08bba74942fbe4eddb0538be06c4775df1943794b5a9b6f83a0125f70d5eec8fe8202f32eaa6ab4d9c612 SHA512 6b2e09bdefa19fbd3d57b9833b648353099abff0b26b1374d3739a1919851c7febb65ec974a2dec2921d1b35eea6914f27e344d78fe8c405e1cb5c79b77b8901 +EBUILD webkit-gtk-2.34.3.ebuild 8340 BLAKE2B 20de943304b61764da5a55212e24fc912bf7cf532ca3b85c42fca83c9632005d5f76b9c7924838c8b709648b504b2f098b2e99b58e6f8b7543294b4b209227ab SHA512 59ce1fc154a8c29f00e2c4f63bb4d4efb8a96e4956095e32ace53ece576dbac19ff0033911a32d5166b11caa98ba67ea8d4266b1790e3cb2dcf4c25517e91bc1 MISC metadata.xml 741 BLAKE2B a9445f675a7fb64e6e79f49de24759e8f797723c13e7c534e4f209d4116af79bafaeb7dd0132e07638ac6eaea75a7bcf7fec46adf87b8499c271db8899c18bb2 SHA512 53beb5307257e7d22b33c6824237654cab8941da9f3e5393499c3674257b5d94434b87c786491d91e5353058b7f9ffda2af6a094f2ad7f59a210f0896b852bbe diff --git a/net-libs/webkit-gtk/files/2.34.3-jumbo-fix.patch b/net-libs/webkit-gtk/files/2.34.3-jumbo-fix.patch new file mode 100644 index 000000000000..97c5c0c8e4b6 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.34.3-jumbo-fix.patch @@ -0,0 +1,70 @@ +From b60c2e4d1770660280d97cae9e82f3040ab97229 Mon Sep 17 00:00:00 2001 +From: "philn@webkit.org" + <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> +Date: Sat, 11 Sep 2021 11:34:42 +0000 +Subject: [PATCH] [GLIB] MediaSession is not enabled + https://bugs.webkit.org/show_bug.cgi?id=217991 <rdar://problem/70740119> + +leio: Extracted to include only the side-effect of fixing unity builds on +some machine configurations. +Thanks-To gen2dev +--- + Source/WebCore/platform/PlatformScreen.h | 6 ++++++ + Source/WebCore/platform/graphics/ImageFrame.h | 6 ++++++ + Source/WebCore/platform/graphics/ImageOrientation.h | 6 ++++++ + 3 files changed, 18 insertions(+) + +diff --git a/Source/WebCore/platform/PlatformScreen.h b/Source/WebCore/platform/PlatformScreen.h +index d3f12a6538b8..d47d193e8bee 100644 +--- a/Source/WebCore/platform/PlatformScreen.h ++++ b/Source/WebCore/platform/PlatformScreen.h +@@ -48,6 +48,12 @@ OBJC_CLASS UIScreen; + typedef struct CGColorSpace *CGColorSpaceRef; + #endif + ++// X11 headers define a bunch of macros with common terms, interfering with WebCore and WTF enum values. ++// As a workaround, we explicitly undef them here. ++#if defined(None) ++#undef None ++#endif ++ + namespace WebCore { + + class DestinationColorSpace; +diff --git a/Source/WebCore/platform/graphics/ImageFrame.h b/Source/WebCore/platform/graphics/ImageFrame.h +index 9843aac40eb4..92e1d4486c5f 100644 +--- a/Source/WebCore/platform/graphics/ImageFrame.h ++++ b/Source/WebCore/platform/graphics/ImageFrame.h +@@ -33,6 +33,12 @@ + #include "NativeImage.h" + #include <wtf/Seconds.h> + ++// X11 headers define a bunch of macros with common terms, interfering with WebCore and WTF enum values. ++// As a workaround, we explicitly undef them here. ++#if defined(None) ++#undef None ++#endif ++ + namespace WebCore { + + class ImageFrame { +diff --git a/Source/WebCore/platform/graphics/ImageOrientation.h b/Source/WebCore/platform/graphics/ImageOrientation.h +index d990a3dc555f..5de271e52352 100644 +--- a/Source/WebCore/platform/graphics/ImageOrientation.h ++++ b/Source/WebCore/platform/graphics/ImageOrientation.h +@@ -30,6 +30,12 @@ + #include "FloatSize.h" + #include <wtf/EnumTraits.h> + ++// X11 headers define a bunch of macros with common terms, interfering with WebCore and WTF enum values. ++// As a workaround, we explicitly undef them here. ++#if defined(None) ++#undef None ++#endif ++ + namespace WebCore { + + struct ImageOrientation { +-- +2.32.0 + diff --git a/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild index a21471f285eb..a6cb56d76a50 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.34.3.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" LICENSE="LGPL-2+ BSD" SLOT="4/37" # soname version of libwebkit2gtk-4.0 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv ~sparc x86" IUSE="aqua avif +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify seccomp spell systemd wayland +X" @@ -159,6 +159,7 @@ pkg_setup() { src_prepare() { eapply "${FILESDIR}"/2.34.3-opengl-without-X-fixes.patch eapply "${FILESDIR}"/2.34.3-non-jumbo-fix.patch + eapply "${FILESDIR}"/2.34.3-jumbo-fix.patch # bug 830638 cmake_src_prepare gnome2_src_prepare } @@ -183,7 +184,7 @@ src_configure() { # Try to use less memory, bug #469942 (see Fedora .spec for reference) # --no-keep-memory doesn't work on ia64, bug #502492 if ! use ia64; then - append-ldflags "-Wl,--no-keep-memory" + append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") fi # Ruby situation is a bit complicated. See bug 513888 |