summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-29 09:28:56 +0000
committernoa@gaiwan.org2024-06-29 09:28:56 +0000
commit6f6bbe25713dfc01fd0d6a691516ef43e77e03dd (patch)
tree94ab6584c89044bb98eb9ec1b1069e73952fa92a
parentabecaebe954bfd92c6e82a2cb697caf4dc77a2a0 (diff)
Add build instructions
-rw-r--r--config.org23
1 files changed, 23 insertions, 0 deletions
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.