forked from atlas-engineer/nyxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
61 lines (43 loc) · 2.5 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Usage:
make all # Create Nyxt.
make install # Install Nyxt.
make doc # Generate Nyxt documentation (as a fallback).
Set DESTDIR to change the target destination. It should be
an absolute path.
Set NYXT_SOURCE_PATH to where the source files will be installed.
By default the GTK renderer loads the `libnyxt' library (enabling WebExtension
support) relatively to the nyxt.asd location. You can also configure this at
runtime through the `gtk-extensions-directory' `resolve' method.
Set LISP and LISP_FLAGS to accommodate to your Lisp compiler.
Set NYXT_RENDERER to the renderer of your choice, for instance "gtk".
Set NYXT_VERSION to force the version number instead of deriving it from Git.
This is useful for build systems without access to the .git metadata.
Set NYXT_COMPRESS to generate a compressed executable. This
greatly reduces the file size at the expense of a slightly
increased startup time. It's recommended to leave this off
on file systems with compression.
Set NYXT_TESTS_NO_NETWORK to disable tests that require networking.
Set NYXT_TESTS_ERROR_ON_FAIL to error out when a test fails. This is useful for
continuous integration and build systems.
If NYXT_SUBMODULES is "true" (the default), all Lisp
dependencies will be fetched with `git submodules' into the
NYXT_SUBMODULES_DIR directory.
Otherwise, the dependencies will have to be locally installed
on your system. You may have to accommodate the LISP_FLAGS
to use your local install of Quicklisp. For example:
make all NYXT_SUBMODULES=false LISP_FLAGS=
But in this case, you don't have to use `make' at all. Instead, you could build
Nyxt with an invocation along these lines:
sbcl --eval '(asdf:load-asd "'$(pwd)'/nyxt.asd")' --eval '(ql:quickload :nyxt/gi-gtk-application)' --quit
or, even shorter if Nyxt is checked out in a directory traversed by ASDF (like
~/common-lisp):
sbcl --eval '(ql:quickload :nyxt/gi-gtk-application)' --quit
WARNING: Make sure your Quicklisp distribution is up-to-date when using
NYXT_SUBMODULES=false. Also check the .gitmodules file for Common Lisp
libraries pinned to a version that may not be the same as the one in the latest
Quickdist.
The documentation generation is mostly useful if you cannot consult the
documentation in Nyxt itself. Since the manual is normally dynamically
generated at runtime (for instance the paths and the bindings are printed
according to the user configuration), the static doc generation can only display
the default values.