Last active
August 29, 2015 14:04
-
-
Save ba0f3/c0b92468974e2c6b5973 to your computer and use it in GitHub Desktop.
Build Limetext on Ubuntu 14.04 64bit
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
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