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_DIR="/home/${SUDO_USER}"
|
||||||
LOG="${LOG_DIR}/log.txt"
|
LOG="${LOG_DIR}/log.txt"
|
||||||
|
PREFIX="/home/${SUDO_USER}/.local"
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
# HELPER FUNCTIONS
|
# HELPER FUNCTIONS
|
||||||
|
@ -86,30 +87,34 @@ install_emacs_build_dependencies() {
|
||||||
info "$step_name"
|
info "$step_name"
|
||||||
|
|
||||||
apt install -y \
|
apt install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
texinfo \
|
texinfo \
|
||||||
libtool \
|
libtool \
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libgtk2.0-dev \
|
libgtk2.0-dev \
|
||||||
libxpm-dev \
|
libxpm-dev \
|
||||||
libjpeg-dev \
|
libjpeg-dev \
|
||||||
libgif-dev \
|
libgif-dev \
|
||||||
libtiff5-dev \
|
libtiff5-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
librsvg2-dev \
|
librsvg2-dev \
|
||||||
libgnutls28-dev \
|
libgnutls28-dev \
|
||||||
libncurses-dev \
|
libncurses-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libgpm-dev \
|
libgpm-dev \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
libotf-dev \
|
libotf-dev \
|
||||||
libm17n-dev \
|
libm17n-dev \
|
||||||
libmagickcore-dev \
|
libmagickcore-dev \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libglib2.0-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; }
|
[[ $? -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
|
git clone https://github.com/tree-sitter/tree-sitter.git
|
||||||
cd tree-sitter
|
cd tree-sitter
|
||||||
make
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# if emacs fails to build becasue of tree-sitter not found
|
# if emacs fails to build becasue of tree-sitter not found
|
||||||
|
@ -225,9 +230,14 @@ clone_and_build_emacs() {
|
||||||
--with-tree-sitter \
|
--with-tree-sitter \
|
||||||
--with-imagemagick \
|
--with-imagemagick \
|
||||||
--with-rsvg \
|
--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
|
make install
|
||||||
|
|
||||||
[[ $? -gt 0 ]] && { error "$step_name failed, stopping now"; exit 1; }
|
[[ $? -gt 0 ]] && { error "$step_name failed, stopping now"; exit 1; }
|
||||||
|
|
Loading…
Reference in New Issue