Skip to content

Instantly share code, notes, and snippets.

@ba0f3
Last active August 29, 2015 14:04
Show Gist options
  • Save ba0f3/c0b92468974e2c6b5973 to your computer and use it in GitHub Desktop.
Save ba0f3/c0b92468974e2c6b5973 to your computer and use it in GitHub Desktop.
Build Limetext on Ubuntu 14.04 64bit
wget http://golang.org/dl/go1.2.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.2.2.linux-amd64.tar.gz
mkdir -p ~/src/gospace
First, grab python3-3
echo 'yes' | sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update -qq
sudo apt-get install python3.3 python3.3-dev
Next, get qt, qml, whatever else
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev
Then the Oniguruma lib
sudo apt-get install libonig2
go get github.com/limetext/rubex
go install github.com/limetext/rubex
(Note, you may have to make the file /usr/lib/pkgconfig/oniguruma.pc containing what's found at the following URL: https://github.com/limetext/rubex/blob/master/oniguruma.pc)
sudo wget https://raw.githubusercontent.com/limetext/rubex/master/oniguruma.pc /usr/lib/pkgconfig
Next, get the actual limetext code and test it
go get github.com/limetext/lime/frontend/termbox
cd $GOPATH/src/github.com/limetext/lime
git submodule update --init
go test github.com/limetext/lime/backend/...
go test github.com/limetext/lime/frontend/termbox/...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment