From 6f6bbe25713dfc01fd0d6a691516ef43e77e03dd Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sat, 29 Jun 2024 09:28:56 +0000 Subject: Add build instructions --- config.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index 0de8c14..d375aec 100644 --- a/config.org +++ b/config.org @@ -19,6 +19,18 @@ I have consulted [[https://raw.githubusercontent.com/rasendubi/dotfiles/master/R For this initial test, my configuration fails on both counts. All i've done is put every section of elisp into a code block and turned the comments into normal org text. Over time, i hope to expand it into something which ticks both of those boxes. ** Emacs installation +What libraries do we need? Quite a few: + +#+begin_src sh :tangle no + sudo apt install libmagickwand-6.q16-dev libwebkit2gtk-4.0-dev libtree-sitter-dev +#+end_src + +#+begin_src sh :tangle no + git clone https://github.com/emacs-mirror/emacs + cd emacs + git checkout emacs-30 +#+end_src + #+begin_src sh :tangle no BUILD_OPTS=$(emacs \ --batch \ @@ -31,6 +43,17 @@ For this initial test, my configuration fails on both counts. All i've done is sudo make install #+end_src +#+begin_src sh :tangle no + ./autogen.sh + ./configure --with-x-toolkit=gtk3 --with-imagemagick --with-tree-sitter --with-xwidgets --with-native-compilation=aot --with-mailutils +#+end_src + +We should use all the cores we have to compile. + +#+begin_src sh :tangle no + make --jobs=$(nproc) +#+end_src + ** What is the purpose of a computer? I think it's a good exercise to consider what exactly i want to use the computer for. This not only gives me some areas to build this configuration around, it also helps me not to lose track of computers as tools, as bicycles for the mind, rather than as an end in themselves. -- cgit 1.4.1-2-gfad0