Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package webkit2gtk3 for openSUSE:Factory 
checked in at 2023-04-04 21:17:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.webkit2gtk3.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "webkit2gtk3"

Tue Apr  4 21:17:04 2023 rev:166 rq:1076879 version:2.40.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes  2023-03-29 
23:26:55.759380033 +0200
+++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new.19717/webkit2gtk3.changes       
2023-04-04 21:17:08.831938268 +0200
@@ -1,0 +2,14 @@
+Tue Mar 28 08:22:05 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add fix-gst-crash.patch: Fix crash in
+  webkit_media_stream_src_class_init().
+  https://bugs.webkit.org/show_bug.cgi?id=254025
+- Add reproducibility.patch: Make build more reproducible. Still
+  not there yet though. Inject fixed year in file.
+
+-------------------------------------------------------------------
+Fri Mar 24 19:23:02 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Tweak constraints.
+
+-------------------------------------------------------------------

New:
----
  fix-gst-crash.patch
  reproducibility.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ webkit2gtk3.spec ++++++
--- /var/tmp/diff_new_pack.oKzcUS/_old  2023-04-04 21:17:09.671943624 +0200
+++ /var/tmp/diff_new_pack.oKzcUS/_new  2023-04-04 21:17:09.687943726 +0200
@@ -87,6 +87,10 @@
 Patch0:         regression-fix.patch
 # PATCH-FIX-UPSTREAM Fix rejected code by GCC 13: 
https://github.com/WebKit/WebKit/pull/11910
 Patch1:         gcc13-fix.patch
+# PATCH-FIX-UPSTREAM fix-gst-crash.patch -- Fix crash in 
webkit_media_stream_src_class_init()
+Patch2:         fix-gst-crash.patch
+# PATCH-FEATURE-OPENSUSE reproducibility.patch -- Make build reproducible
+Patch3:         reproducibility.patch
 
 BuildRequires:  Mesa-libEGL-devel
 BuildRequires:  Mesa-libGL-devel

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.oKzcUS/_old  2023-04-04 21:17:09.747944108 +0200
+++ /var/tmp/diff_new_pack.oKzcUS/_new  2023-04-04 21:17:09.755944159 +0200
@@ -1,12 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <constraints>
   <hardware>
+  <jobs>4</jobs>
     <disk>
-      <size unit="G">20</size>
+      <size unit="G">26</size>
     </disk>
     <physicalmemory>
-      <size unit="M">8000</size>
+      <size unit="G">15</size>
     </physicalmemory>
   </hardware>
+  <hostlabel exclude="true">SLOW_CPU</hostlabel>
   <overwrite>
     <conditions>
       <arch>aarch64</arch>

++++++ fix-gst-crash.patch ++++++
From: Philippe Normand <ph...@igalia.com>
Subject: Fix crash in webkit_media_stream_src_class_init()
Bug: https://bugs.webkit.org/show_bug.cgi?id=254025
Origin: 
https://github.com/WebKit/WebKit/commit/358ce3a4bd7353c8edaa5720c949301f31c9a5e9
Index: 
webkitgtk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
===================================================================
--- 
webkitgtk.orig/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+++ 
webkitgtk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -2647,6 +2647,9 @@ MediaPlayer::SupportsType MediaPlayerPri
 #endif
     }
 
+    if (!ensureGStreamerInitialized())
+        return result;
+
     GST_DEBUG("Checking mime-type \"%s\"", 
parameters.type.raw().utf8().data());
     if (parameters.type.isEmpty())
         return result;
Index: 
webkitgtk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
===================================================================
--- 
webkitgtk.orig/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
+++ 
webkitgtk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
@@ -439,22 +439,13 @@ void MediaPlayerPrivateGStreamerMSE::get
 
 MediaPlayer::SupportsType MediaPlayerPrivateGStreamerMSE::supportsType(const 
MediaEngineSupportParameters& parameters)
 {
-    static std::optional<VideoDecodingLimits> videoDecodingLimits;
-#ifdef VIDEO_DECODING_LIMIT
-    static std::once_flag onceFlag;
-    std::call_once(onceFlag, [] {
-        videoDecodingLimits = videoDecoderLimitsDefaults();
-        if (!videoDecodingLimits) {
-            GST_WARNING("Parsing VIDEO_DECODING_LIMIT failed");
-            ASSERT_NOT_REACHED();
-        }
-    });
-#endif
-
     MediaPlayer::SupportsType result = 
MediaPlayer::SupportsType::IsNotSupported;
     if (!parameters.isMediaSource)
         return result;
 
+    if (!ensureGStreamerInitialized())
+        return result;
+
     auto containerType = parameters.type.containerType();
 
     // YouTube TV provides empty types for some videos and we want to be 
selected as best media engine for them.
@@ -476,6 +467,16 @@ MediaPlayer::SupportsType MediaPlayerPri
     if (!ok)
         height = 0;
 
+    static std::optional<VideoDecodingLimits> videoDecodingLimits;
+#ifdef VIDEO_DECODING_LIMIT
+    static std::once_flag onceFlag;
+    std::call_once(onceFlag, [] {
+        videoDecodingLimits = videoDecoderLimitsDefaults();
+        if (!videoDecodingLimits)
+            GST_WARNING("Parsing VIDEO_DECODING_LIMIT failed");
+    });
+#endif
+
     if (videoDecodingLimits && (width > videoDecodingLimits->mediaMaxWidth || 
height > videoDecodingLimits->mediaMaxHeight))
         return result;
 


++++++ reproducibility.patch ++++++
--- webkitgtk-2.40.0-orig/Source/JavaScriptCore/generator/GeneratedFile.rb      
2023-02-20 10:22:05.321689800 +0100
+++ webkitgtk-2.40.0/Source/JavaScriptCore/generator/GeneratedFile.rb   
2023-03-28 10:29:49.754813443 +0200
@@ -25,7 +25,7 @@
 require 'digest'
 
 $LICENSE = <<-EOF
-Copyright (C) #{Date.today.year} Apple Inc. All rights reserved.
+Copyright (C) 2023 Apple Inc. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions

Reply via email to