Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nyxt for openSUSE:Factory checked in 
at 2026-01-12 10:23:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nyxt (Old)
 and      /work/SRC/openSUSE:Factory/.nyxt.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nyxt"

Mon Jan 12 10:23:37 2026 rev:25 rq:1326520 version:3.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nyxt/nyxt.changes        2024-10-23 
21:11:38.878120440 +0200
+++ /work/SRC/openSUSE:Factory/.nyxt.new.1928/nyxt.changes      2026-01-12 
10:32:09.012241998 +0100
@@ -1,0 +2,10 @@
+Sat Jan 10 15:37:19 UTC 2026 - Michael Pujos <[email protected]>
+
+- added fix-named-readtables-sbcl.patch to fix compilation failure
+  with SBCL 2.6.0
+- added fix-gdk-event.patch and fix-webkit2-web-view.patch to fix
+  blank window on startup due to GDK event failure
+- on NVIDIA, launch nyxt with WEBKIT_DISABLE_COMPOSITING_MODE=1 to
+  workaround blank window
+
+-------------------------------------------------------------------

New:
----
  fix-gdk-event.patch
  fix-named-readtables-sbcl.patch
  fix-webkit2-web-view.patch

----------(New B)----------
  New:  with SBCL 2.6.0
- added fix-gdk-event.patch and fix-webkit2-web-view.patch to fix
  blank window on startup due to GDK event failure
  New:
- added fix-named-readtables-sbcl.patch to fix compilation failure
  with SBCL 2.6.0
  New:  with SBCL 2.6.0
- added fix-gdk-event.patch and fix-webkit2-web-view.patch to fix
  blank window on startup due to GDK event failure
----------(New E)----------

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

Other differences:
------------------
++++++ nyxt.spec ++++++
--- /var/tmp/diff_new_pack.DaqQ4O/_old  2026-01-12 10:32:09.632267438 +0100
+++ /var/tmp/diff_new_pack.DaqQ4O/_new  2026-01-12 10:32:09.632267438 +0100
@@ -29,6 +29,12 @@
 Source:         nyxt-%{version}-source-with-submodules.tar.xz
 Source1:        nyxt-rpmlintrc
 Patch0:         so_ver_fix.patch
+# 
https://github.com/melisgl/named-readtables/commit/6eea56674442b884a4fee6ede4c8aad63541aa5b
+Patch1:         fix-named-readtables-sbcl.patch
+# 
https://cgit.freebsd.org/ports/tree/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp?id=0529575a3639d40322e1634b0287fe56e0a40684
+Patch2:         fix-webkit2-web-view.patch
+# 
https://cgit.freebsd.org/ports/tree/www/nyxt/files/patch-source_renderer_gtk.lisp?id=0529575a3639d40322e1634b0287fe56e0a40684
+Patch3:         fix-gdk-event.patch
 BuildRequires:  gcc-c++
 BuildRequires:  git
 BuildRequires:  libfixposix-devel
@@ -72,6 +78,11 @@
 cat > "%{buildroot}%{_bindir}/nyxt" << EOF
 #!/bin/sh
 
+# must disable compositing on NVIDIA driver to workaround blank window
+if [ -x /usr/bin/nvidia-smi -a /usr/bin/nvidia-smi &> /dev/null ]; then
+        export WEBKIT_DISABLE_COMPOSITING_MODE=1
+fi
+
 # partial work-around for WebKitGTK gstreamer issue running nyxt sandboxed:
 # https://bugs.webkit.org/show_bug.cgi?id=268759
 

++++++ fix-gdk-event.patch ++++++
--- a/source/renderer/gtk.lisp.orig     2025-11-09 06:33:25 UTC
+++ b/source/renderer/gtk.lisp
@@ -641,7 +641,7 @@ Return nil when key must be discarded, e.g. for modifi
                (member :meta-mask modifier-state))
       (alex:deletef (modifiers browser) :super-mask))))
 
-(-> translate-modifiers (list &optional gdk:gdk-event) list)
+(-> translate-modifiers (list &optional t) list)
 (defun translate-modifiers (modifier-state &optional event)
   "Return list of modifiers fit for `keymaps:make-key'.
 See `gtk-browser's `modifier-translator' slot."

++++++ fix-named-readtables-sbcl.patch ++++++
>From 6eea56674442b884a4fee6ede4c8aad63541aa5b Mon Sep 17 00:00:00 2001
From: Gabor Melis <[email protected]>
Date: Sun, 9 Nov 2025 18:20:21 +0100
Subject: [PATCH] unbreak after SBCL internals change

---
 src/cruft.lisp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/cruft.lisp b/src/cruft.lisp
index 01f9783..9b43cbd 100644
--- orig/_build/named-readtables/src/cruft.lisp
+++ orig/_build/named-readtables/src/cruft.lisp
@@ -231,7 +231,11 @@
                      (grovel-unicode-chars)
                      (let ((reader-fn (svref char-macro-array char-code))
                            (char (code-char (shiftf char-code (1+ 
char-code)))))
-                       (if reader-fn
+                       ;; In older SBCL, READER-FN may be NIL. Since
+                       ;; commit 00eabf5 ("Make a few mostly-stylistic
+                       ;; tweaks to macro char reading"), this is 0
+                       ;; instead.
+                       (if (and reader-fn (not (eql reader-fn 0)))
                            (yield char)
                            (grovel-base-chars)))))
                (grovel-unicode-chars ()

++++++ fix-webkit2-web-view.patch ++++++
--- a/_build/cl-webkit/webkit2/webkit2.web-view.lisp.orig       2025-11-09 
06:31:52 UTC
+++ b/_build/cl-webkit/webkit2/webkit2.web-view.lisp
@@ -276,7 +276,8 @@
 
 (declaim (ftype (function (webkit-web-view string &optional
                                            (or null (function (t t)))
-                                           (or null (function (condition))) 
string))
+                                           (or null (function (condition)))
+                                           (or null string)))
                 webkit-web-view-evaluate-javascript))
 (defun webkit-web-view-evaluate-javascript (web-view javascript
                                             &optional call-back 
error-call-back world)

Reply via email to