diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-03 14:51:12 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-03 14:51:12 +0100 |
| commit | 5953361d823f85f6d94f21dc08f4ec52ca30c969 (patch) | |
| tree | de91269e076aedc00a207b43ed0b7d7c4e7922f4 /docs | |
| parent | b79deae783a4e46a87b3f6c7f437bf92e31a1d28 (diff) | |
Complete dependency lists
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/magit.org | 17 | ||||
| -rw-r--r-- | docs/magit.texi | 17 |
2 files changed, 24 insertions, 10 deletions
diff --git a/docs/magit.org b/docs/magit.org index d5c15eb..dd77eaa 100644 --- a/docs/magit.org +++ b/docs/magit.org @@ -153,7 +153,8 @@ Now see [[*Post-Installation Tasks]]. ** Installing from the Git Repository -Magit depends on the ~compat~, ~dash~, ~transient~ and ~with-editor~ libraries +Magit depends on the ~compat~, ~dash~, ~llama~, ~seq~ (the built-in version is +enough when using Emacs >= 29.1), ~transient~ and ~with-editor~ libraries which are available from Melpa and Melpa-Stable. Install them using ~M-x package-install RET <package> RET~. Of course you may also install them manually from their repository. @@ -171,17 +172,20 @@ Then compile the libraries and generate the info manuals: $ make #+end_src -If you haven't installed ~compat~, ~dash~, ~transient~ and ~with-editor~ from -Melpa or at ~/path/to/magit/../<package>~, then you have to tell ~make~ -where to find them. To do so create the file ~/path/to/magit/config.mk~ +If you haven't installed ~compat~, ~dash~, ~llama~, ~seq~ (for Emacs < 29.1), +~transient~ and ~with-editor~ from Melpa, or at +~/path/to/magit/../<package>~, then you have to tell ~make~ where to +find them. To do so create the file ~/path/to/magit/config.mk~ with the following content before running ~make~: #+begin_src makefile LOAD_PATH = -L ~/.emacs.d/site-lisp/magit/lisp + LOAD_PATH += -L ~/.emacs.d/site-lisp/compat LOAD_PATH += -L ~/.emacs.d/site-lisp/dash + LOAD_PATH += -L ~/.emacs.d/site-lisp/llama + LOAD_PATH += -L ~/.emacs.d/site-lisp/seq LOAD_PATH += -L ~/.emacs.d/site-lisp/transient/lisp LOAD_PATH += -L ~/.emacs.d/site-lisp/with-editor/lisp - LOAD_PATH += -L ~/.emacs.d/site-lisp/compat #+end_src Finally add this to your init file: @@ -199,7 +203,10 @@ Of course if you installed the dependencies manually as well, then you have to tell Emacs about them too, by prefixing the above with: #+begin_src emacs-lisp + (add-to-list 'load-path "~/.emacs.d/site-lisp/compat") (add-to-list 'load-path "~/.emacs.d/site-lisp/dash") + (add-to-list 'load-path "~/.emacs.d/site-lisp/llama") + (add-to-list 'load-path "~/.emacs.d/site-lisp/seq") (add-to-list 'load-path "~/.emacs.d/site-lisp/transient/lisp") (add-to-list 'load-path "~/.emacs.d/site-lisp/with-editor") #+end_src diff --git a/docs/magit.texi b/docs/magit.texi index 05ad9a0..7ad9e26 100644 --- a/docs/magit.texi +++ b/docs/magit.texi @@ -305,7 +305,8 @@ Now see @ref{Post-Installation Tasks}. @node Installing from the Git Repository @section Installing from the Git Repository -Magit depends on the @code{compat}, @code{dash}, @code{transient} and @code{with-editor} libraries +Magit depends on the @code{compat}, @code{dash}, @code{llama}, @code{seq} (the built-in version is +enough when using Emacs >= 29.1), @code{transient} and @code{with-editor} libraries which are available from Melpa and Melpa-Stable. Install them using @code{M-x package-install RET <package> RET}. Of course you may also install them manually from their repository. @@ -323,17 +324,20 @@ Then compile the libraries and generate the info manuals: $ make @end example -If you haven't installed @code{compat}, @code{dash}, @code{transient} and @code{with-editor} from -Melpa or at @code{/path/to/magit/../<package>}, then you have to tell @code{make} -where to find them. To do so create the file @code{/path/to/magit/config.mk} +If you haven't installed @code{compat}, @code{dash}, @code{llama}, @code{seq} (for Emacs < 29.1), +@code{transient} and @code{with-editor} from Melpa, or at +@code{/path/to/magit/../<package>}, then you have to tell @code{make} where to +find them. To do so create the file @code{/path/to/magit/config.mk} with the following content before running @code{make}: @example LOAD_PATH = -L ~/.emacs.d/site-lisp/magit/lisp +LOAD_PATH += -L ~/.emacs.d/site-lisp/compat LOAD_PATH += -L ~/.emacs.d/site-lisp/dash +LOAD_PATH += -L ~/.emacs.d/site-lisp/llama +LOAD_PATH += -L ~/.emacs.d/site-lisp/seq LOAD_PATH += -L ~/.emacs.d/site-lisp/transient/lisp LOAD_PATH += -L ~/.emacs.d/site-lisp/with-editor/lisp -LOAD_PATH += -L ~/.emacs.d/site-lisp/compat @end example Finally add this to your init file: @@ -351,7 +355,10 @@ Of course if you installed the dependencies manually as well, then you have to tell Emacs about them too, by prefixing the above with: @lisp +(add-to-list 'load-path "~/.emacs.d/site-lisp/compat") (add-to-list 'load-path "~/.emacs.d/site-lisp/dash") +(add-to-list 'load-path "~/.emacs.d/site-lisp/llama") +(add-to-list 'load-path "~/.emacs.d/site-lisp/seq") (add-to-list 'load-path "~/.emacs.d/site-lisp/transient/lisp") (add-to-list 'load-path "~/.emacs.d/site-lisp/with-editor") @end lisp |
