Created
August 14, 2018 16:24
-
-
Save karimElmougi/5d6613e6300f245a8d0013b77c7d6538 to your computer and use it in GitHub Desktop.
Termite install script for Void linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
# install dependencies | |
sudo xbps-install -Sy git-all gcc make automake autoconf gtk-doc glib-devel vala-devel gobject-introspection pkg-config intltool gettext-devel gnutls gtk+3 pango gnutls-devel gtk+3-devel pango-devel gperf pcre2-devel | |
# fetch, compile and install vte-ng | |
git clone https://github.com/jelly/vte-ng.git | |
cd vte-ng | |
git checkout 0.50.2-ng | |
./autogen.sh --prefix=/usr | |
make | |
sudo make install | |
# fetch, compile and install termite | |
cd .. | |
git clone --recursive https://github.com/thestinger/termite | |
cd termite | |
sed 's/PREFIX = \/usr\/local/PREFIX = \/usr/' -i Makefile | |
make | |
sudo make install |
@Sup3r-Us3r
Most of these are necessary for compiling vte-ng, but aren't needed to run the program afterwards. You would need to do some trial and error to find out which of these are runtime dependencies and uninstall the rest. I think you can safely remove most of them.
In case if the error occur during "make" command:
app.vala:820.3-820.23: error: struct `Test.App.Options' cannot be empty
Solution:
GNOME/vte@53690d5#diff-09af37e3a14d365cf086df3ead32aa7f
@cnekmp That fix worked for me! Thanks for pointing that out
I second that @cnekmp, the fix worked for me too, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@karimElmougi I tested the script and it worked perfectly.
I have a question, do you need all these dependencies to run the "Termite" ? because in Arch Linux with only 1 pkg enough, gave more than 40 dependencies in Void Linux, is any of these packages optional?