diff --git a/www/nyxt/Makefile b/www/nyxt/Makefile index 8c0fbb19a1a0..57cc3bac5042 100644 --- a/www/nyxt/Makefile +++ b/www/nyxt/Makefile @@ -1,36 +1,36 @@ PORTNAME= nyxt DISTVERSION= 3.12.0 DISTVERSIONSUFFIX= -source-with-submodules -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://github.com/atlas-engineer/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Keyboard-driven web browser which uses WebKitGTK backend WWW= https://nyxt.atlas.engineer/ LICENSE= BSD3CLAUSE CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/licenses/SOURCE-LICENSE LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/licenses/ASSET-LICENSE NOT_FOR_ARCHS= i386 BUILD_DEPENDS= git>0:devel/git \ sbcl>0:lang/sbcl LIB_DEPENDS= libfixposix.so:devel/libfixposix \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ libzstd.so:archivers/zstd USES= desktop-file-utils gmake pkgconfig tar:xz MAKEFILE= makefile WRKSRC= ${WRKDIR} OPTIONS_DEFINE= GSTREAMER OPTIONS_DEFAULT= GSTREAMER GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,good,libav .include diff --git a/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp b/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp new file mode 100644 index 000000000000..9e6c1075b214 --- /dev/null +++ b/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp @@ -0,0 +1,12 @@ +--- _build/cl-webkit/webkit2/webkit2.web-view.lisp.orig 2025-11-09 06:31:52 UTC ++++ _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) diff --git a/www/nyxt/files/patch-source_renderer_gtk.lisp b/www/nyxt/files/patch-source_renderer_gtk.lisp new file mode 100644 index 000000000000..1ad6e0a472c0 --- /dev/null +++ b/www/nyxt/files/patch-source_renderer_gtk.lisp @@ -0,0 +1,11 @@ +--- source/renderer/gtk.lisp.orig 2025-11-09 06:33:25 UTC ++++ 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."