-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3381 from atlas-engineer/electron-input-handling
- Loading branch information
Showing
7 changed files
with
92 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cl-electron
updated
22 files
+3 −78 | .gitignore | |
+7 −33 | README.org | |
+5 −5 | cl-electron.asd | |
+0 −15 | demos/demo-window.lisp | |
+0 −3 | demos/package.lisp | |
+2 −2 | examples/example-protocol.lisp | |
+2 −2 | examples/example-views.lisp | |
+20 −0 | examples/example-window.lisp | |
+3 −0 | examples/package.lisp | |
+0 −22 | guix.scm | |
+26 −0 | manifest.scm | |
+3,751 −0 | package-lock.json | |
+24 −0 | package.json | |
+9 −11 | shell.nix | |
+29 −21 | source/browser-view.lisp | |
+73 −65 | source/browser-window.lisp | |
+8 −0 | source/condition.lisp | |
+102 −48 | source/core.lisp | |
+2 −2 | source/protocol.lisp | |
+6 −2 | source/server.js | |
+65 −65 | source/web-contents.lisp | |
+5 −4 | tests/tests.lisp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# SPDX-FileCopyrightText: Atlas Engineer LLC | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# To start the CL REPL: | ||
|
||
# nix-shell /path/to/shell.nix --run 'sbcl --dynamic-space-size 3072' | ||
|
||
{ pkgs ? import <nixpkgs> {} } : | ||
with builtins; | ||
let inherit (pkgs) stdenv; in | ||
with pkgs; | ||
stdenv.mkDerivation { | ||
name = "nyxt-dev"; | ||
|
||
nativeBuildInputs = [ | ||
pkgs.libressl.out | ||
pkgs.libfixposix.out | ||
pkgs.sqlite.out | ||
pkgs.pkg-config.out | ||
pkgs.sbcl | ||
] | ||
++ pkgs.lib.optionals (!pkgs.stdenv.isDarwin) [ | ||
pkgs.webkitgtk | ||
]; | ||
|
||
buildInputs = [ | ||
pkgs.sqlite | ||
pkgs.pkg-config | ||
pkgs.enchant.out | ||
pkgs.libfixposix.out | ||
] | ||
++ pkgs.lib.optionals (!pkgs.stdenv.isDarwin) [ | ||
pkgs.gobject-introspection | ||
pkgs.gsettings-desktop-schemas.out | ||
pkgs.glib-networking.out | ||
pkgs.pango.out | ||
pkgs.cairo.out | ||
pkgs.gdk-pixbuf.out | ||
pkgs.gtk3.out | ||
pkgs.glib.out | ||
pkgs.webkitgtk | ||
] | ||
++ (with gst_all_1; [ | ||
gst-plugins-base | ||
gst-plugins-good | ||
gst-plugins-bad | ||
gst-plugins-ugly | ||
gst-libav | ||
]); | ||
|
||
LD_LIBRARY_PATH = with lib; | ||
makeLibraryPath ( | ||
[ | ||
pkgs.enchant.out | ||
pkgs.sqlite.out | ||
pkgs.pkg-config.out | ||
pkgs.libfixposix.out | ||
pkgs.libressl.out | ||
] | ||
++ pkgs.lib.optionals (!pkgs.stdenv.isDarwin) [ | ||
pkgs.gobject-introspection | ||
pkgs.gsettings-desktop-schemas.out | ||
pkgs.glib-networking.out | ||
pkgs.pango.out | ||
pkgs.cairo.out | ||
pkgs.gdk-pixbuf.out | ||
pkgs.gtk3.out | ||
pkgs.glib.out | ||
pkgs.webkitgtk | ||
] | ||
); | ||
|
||
GIO_MODULE_DIR = "${pkgs.glib-networking.out}/lib/gio/modules/"; | ||
GIO_EXTRA_MODULES = "${pkgs.glib-networking.out}/lib/gio/modules/"; | ||
|
||
shellHook = | ||
'' | ||
NYXT_ROOT=`dirname ${toString ../README.org}`; | ||
export CL_SOURCE_REGISTRY=$HOME/common-lisp//:$NYXT_ROOT/_build//:$CL_SOURCE_REGISTRY; | ||
''; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters