Add more dependencies to emacs installation script
This commit is contained in:
parent
5e07b8ad42
commit
4625e9b40e
|
@ -23,6 +23,7 @@
|
|||
#############################################################
|
||||
LOG_DIR="/home/${SUDO_USER}"
|
||||
LOG="${LOG_DIR}/log.txt"
|
||||
PREFIX="/home/${SUDO_USER}/.local"
|
||||
|
||||
#############################################################
|
||||
# HELPER FUNCTIONS
|
||||
|
@ -109,7 +110,11 @@ install_emacs_build_dependencies() {
|
|||
libmagickcore-dev \
|
||||
libmagickwand-dev \
|
||||
libglib2.0-dev \
|
||||
libgirepository1.0-dev
|
||||
libgirepository1.0-dev \
|
||||
gir1.2-gtk-3.0 \
|
||||
libgtk-3-dev \
|
||||
libacl1-dev \
|
||||
libwebkit2gtk-4.1-dev
|
||||
|
||||
|
||||
[[ $? -gt 0 ]] && { error "$step_name failed, stopping now"; exit 1; }
|
||||
|
@ -130,7 +135,7 @@ clone_and_build_tree_sitter() {
|
|||
|
||||
git clone https://github.com/tree-sitter/tree-sitter.git
|
||||
cd tree-sitter
|
||||
make
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
# if emacs fails to build becasue of tree-sitter not found
|
||||
|
@ -225,9 +230,14 @@ clone_and_build_emacs() {
|
|||
--with-tree-sitter \
|
||||
--with-imagemagick \
|
||||
--with-rsvg \
|
||||
--with-xwidgets
|
||||
--with-xwidgets \
|
||||
--with-pgtk \
|
||||
--with-x-toolkit=gtk3 \
|
||||
--disable-silent-rules \
|
||||
--exec_prefix=$PREFIX \
|
||||
--prefix=$PREFIX
|
||||
|
||||
make
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
[[ $? -gt 0 ]] && { error "$step_name failed, stopping now"; exit 1; }
|
||||
|
|
Loading…
Reference in New Issue