From b6825b367eab5028b16c0907070129c85c71b767 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Fri, 31 Jan 2020 20:07:29 +0200 Subject: [PATCH] net-libs/webkit-gtk: security bump to 2.26.3, fix gtk-doc Move gtk-doc building from USE=doc to USE=gtk-doc, as the latter is the one to use now for when generating gtk-doc from scratch. Fix it with perl-based gtk-doc by stripping out some tags in the docs completely; this was already fixed upstream, but that fix seems dependent on newer gtk-doc handling the markdown quoting that got added. So remove the tags completely until we can depend on a newer gtk-doc that doesn't have trouble with the upstream way. Also a build fix for USE="wayland -opengl -gles2-only" (but remember: you shouldn't disable both opengl and gles2-only on any real desktop system). Bug: https://bugs.gentoo.org/706374 Bug: https://bugs.gentoo.org/704550 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- net-libs/webkit-gtk/Manifest | 1 + .../webkit-gtk/files/2.26.3-fix-gtk-doc.patch | 27 ++ .../files/2.26.3-fix-noGL-wayland-build.patch | 39 +++ net-libs/webkit-gtk/webkit-gtk-2.26.3.ebuild | 287 ++++++++++++++++++ 4 files changed, 354 insertions(+) create mode 100644 net-libs/webkit-gtk/files/2.26.3-fix-gtk-doc.patch create mode 100644 net-libs/webkit-gtk/files/2.26.3-fix-noGL-wayland-build.patch create mode 100644 net-libs/webkit-gtk/webkit-gtk-2.26.3.ebuild diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index db8394225ffb..b34080964f46 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1,2 +1,3 @@ DIST webkitgtk-2.24.4.tar.xz 17575784 BLAKE2B c30683ea365a50d7def572305b49278343d67739f9bd3cfd78cb08b5cc87b5453504df9b09752f8d6483b18b9b812f3d3cddc084762cfa8990fcc651660b89c2 SHA512 1d713955a735ae2e2229beea7bda7f518a6247c6aa7f5753aeb5b5c6395339d451d0d146f7188e7ba65cb82ea5a74a5e73e956fe59d5f5f97659a44af33df112 DIST webkitgtk-2.26.2.tar.xz 19330000 BLAKE2B c0142aa19572c96e3dff11251316a4527be0357cf101177e056dd40aa9b5346216a4dcc14071d9c1240c101bd03f2179559d0d2bd81308967aba8530208186e0 SHA512 98d47282fd8f766dbe4a74c1a3f618aaeeeed69bd0666ed4e8674ae562b634681b3bd18b0d428df6bfefbaa3e18eb4cfb2fb077f5be4fed34cbc81c8293ec33e +DIST webkitgtk-2.26.3.tar.xz 19331900 BLAKE2B 14c31b0f640b0f859a3c1eeda542f176f6c7981270c5be3225556eb4a1027a2511039cf0f33682faa93846c4ca5ed64158574a9b8a662a4a200b97cad28d5ed0 SHA512 9575c86ab5752c09841878cf55134e7de9a87200e55017859cd02affb1cadd58031a7b6f67a580e87a1dfe4fc830fed9774ba289e7244d3ead9eb9328e76d7c9 diff --git a/net-libs/webkit-gtk/files/2.26.3-fix-gtk-doc.patch b/net-libs/webkit-gtk/files/2.26.3-fix-gtk-doc.patch new file mode 100644 index 000000000000..85328be1a5ca --- /dev/null +++ b/net-libs/webkit-gtk/files/2.26.3-fix-gtk-doc.patch @@ -0,0 +1,27 @@ +Upstream commit 41455af5d76a726f195838846b61e1693a2da99c is supposed to fix this, +but it looks like it's not enough with older perl-based gtk-doc. +Keep this extra patch only until we can't depend on a newer gtk-doc version, which +should be retested whether this patch is unnecessary then. + +Upstream extra reference for the above reference commit: +git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245027 268f45cc-cd09-0410-ab3c-d52691b4dbfc +--- + Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp b/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp +index 023b14c33f4..657b1febf5d 100644 +--- a/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp ++++ b/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp +@@ -1505,7 +1505,7 @@ static void webkit_settings_class_init(WebKitSettingsClass* klass) + * WebKitSettings:enable-media: + * + * Enable or disable support for media playback on pages. This setting is enabled by +- * default. Disabling it means `