Skip to content

Instantly share code, notes, and snippets.

@karimElmougi
Created August 14, 2018 16:24
Show Gist options
  • Save karimElmougi/5d6613e6300f245a8d0013b77c7d6538 to your computer and use it in GitHub Desktop.
Save karimElmougi/5d6613e6300f245a8d0013b77c7d6538 to your computer and use it in GitHub Desktop.
Termite install script for Void linux
#! /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
@karimElmougi
Copy link
Author

@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.

@cnekmp
Copy link

cnekmp commented May 14, 2019

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

@ryanmjacobs
Copy link

@cnekmp That fix worked for me! Thanks for pointing that out

@rtud
Copy link

rtud commented Sep 19, 2020

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