Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nodejs-electron for openSUSE:Factory 
checked in at 2022-04-22 21:53:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Fri Apr 22 21:53:36 2022 rev:22 rq:972112 version:17.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2022-04-12 21:51:27.234200991 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.1538/nodejs-electron.changes    
    2022-04-22 21:54:15.442806209 +0200
@@ -1,0 +2,24 @@
+Fri Apr 22 09:47:33 UTC 2022 - Dominik Heidler <[email protected]>
+
+- Build against nodejs16 on tumbleweed
+
+-------------------------------------------------------------------
+Wed Apr 20 10:21:11 UTC 2022 - Bruno Pitrus <[email protected]>
+- Add chromium-94.0.4606.71-InkDropHost-crash.patch
+  * Fixes crashes when opening File menu in VSCode
+
+-------------------------------------------------------------------
+Sat Apr 16 11:40:14 UTC 2022 - Bruno Pitrus <[email protected]>
+- Re-enable reduced debuginfo (-g1) like Fedora's chromium package
+
+-------------------------------------------------------------------
+Tue Apr 12 11:52:13 UTC 2022 - Dominik Heidler <[email protected]>
+
+- Help fedora to choose dependencies
+
+-------------------------------------------------------------------
+Tue Apr 12 10:41:39 UTC 2022 - Dominik Heidler <[email protected]>
+
+- Use nodejs16 on 15.3
+
+-------------------------------------------------------------------

New:
----
  chromium-94.0.4606.71-InkDropHost-crash.patch

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

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.zFzAGs/_old  2022-04-22 21:54:24.894816980 +0200
+++ /var/tmp/diff_new_pack.zFzAGs/_new  2022-04-22 21:54:24.898816984 +0200
@@ -23,7 +23,7 @@
 %if 0%{?fedora}
 # Debuginfo packages aren't very useful here. If you need to debug
 # you should do a proper debug build (not implemented in this spec yet)
-%global debug_package %{nil}
+#%%global debug_package %{nil}
 %endif
 
 %define mod_name electron
@@ -131,6 +131,8 @@
 Patch30:        electron-16-fix-swiftshader-template.patch
 Patch31:        electron-16-v8-missing-utility-include.patch
 Patch32:        electron-17-breakpad-align-int-types.patch
+# From https://git.droidware.info/wchen342/ungoogled-chromium-fedora
+Patch33:        chromium-94.0.4606.71-InkDropHost-crash.patch
 BuildRequires:  SDL-devel
 BuildRequires:  binutils-gold
 BuildRequires:  bison
@@ -169,6 +171,9 @@
 %endif
 BuildRequires:  nodejs >= 16.5.0
 %if 0%{?suse_version}
+BuildRequires:  nodejs16
+%endif
+%if 0%{?suse_version}
 BuildRequires:  npm-default
 %else
 BuildRequires:  npm
@@ -242,6 +247,9 @@
 BuildRequires:  pkgconfig(libxslt)
 %if 0%{?fedora}
 BuildRequires:  minizip-compat-devel
+# help decide for dependency
+BuildRequires:  pipewire-jack-audio-connection-kit-devel
+BuildRequires:  nodejs-devel >= 17
 %else
 BuildRequires:  pkgconfig(minizip)
 %endif
@@ -368,7 +376,8 @@
 %else
 
 # REDUCE DEBUG as it gets TOO large
-ARCH_FLAGS="$(echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ 
-g$//g')"
+ARCH_FLAGS="$(echo %{optflags} | sed -e 's/-g /-g1 /g' -e 's/-g$/-g1/g')"
+
 %if 0%{?fedora}
 # Fix base/allocator/allocator_shim.cc:408:2: error: #error This code cannot be
 # used when exceptions are turned on.
@@ -540,8 +549,6 @@
 ninja -v %{?_smp_mflags} -C out/Release electron
 ninja -v %{?_smp_mflags} -C out/Release copy_headers
 
-# strip the debugging and symbol information
-electron/script/strip-binaries.py -d out/Release
 
 %install
 install -d -m 0755 %{buildroot}%{_bindir}

++++++ chromium-94.0.4606.71-InkDropHost-crash.patch ++++++
diff -up 
chromium-94.0.4606.71/ui/views/animation/ink_drop_host_view.h.InkDropHost-crash 
chromium-94.0.4606.71/ui/views/animation/ink_drop_host_view.h
--- 
chromium-94.0.4606.71/ui/views/animation/ink_drop_host_view.h.InkDropHost-crash 
    2021-10-05 16:04:46.313586509 -0400
+++ chromium-94.0.4606.71/ui/views/animation/ink_drop_host_view.h       
2021-10-05 16:05:12.213732558 -0400
@@ -228,6 +228,11 @@ class VIEWS_EXPORT InkDropHost {
   // Used to observe View and inform the InkDrop of host-transform changes.
   ViewLayerTransformObserver host_view_transform_observer_;
 
+  // Declared before |ink_drop_|, because InkDropImpl may call
+  // RemoveInkDropLayer on partly destructed InkDropHost. In
+  // that case |ink_drop_mask_| must be still valid.
+  std::unique_ptr<views::InkDropMask> ink_drop_mask_;
+
   // Should not be accessed directly. Use GetInkDrop() instead.
   std::unique_ptr<InkDrop> ink_drop_;
 
@@ -249,8 +254,6 @@ class VIEWS_EXPORT InkDropHost {
   int ink_drop_small_corner_radius_ = 2;
   int ink_drop_large_corner_radius_ = 4;
 
-  std::unique_ptr<views::InkDropMask> ink_drop_mask_;
-
   base::RepeatingCallback<std::unique_ptr<InkDrop>()> 
create_ink_drop_callback_;
   base::RepeatingCallback<std::unique_ptr<InkDropRipple>()>
       create_ink_drop_ripple_callback_;

Reply via email to