Last active
August 29, 2015 14:15
-
-
Save bmaupin/22e03360cf9b3a1648dc to your computer and use it in GitHub Desktop.
Build footnote on Ubuntu 14.04 64-bit
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
#!/bin/bash | |
# Install libgranite-dev 0.2 and prerequisites | |
wget https://launchpad.net/~elementary-os/+archive/ubuntu/stable/+files/gir1.2-granite-1.0_0.2.3.1~r662-0%2Bpkg55~ubuntu12.04.1_amd64.deb | |
wget https://launchpad.net/~elementary-os/+archive/ubuntu/stable/+files/libgranite-common_0.2.3.1~r662-0%2Bpkg55~ubuntu12.04.1_all.deb | |
wget https://launchpad.net/~elementary-os/+archive/ubuntu/stable/+files/libgranite-dev_0.2.3.1~r662-0%2Bpkg55~ubuntu12.04.1_amd64.deb | |
wget https://launchpad.net/~elementary-os/+archive/ubuntu/stable/+files/libgranite1_0.2.3.1~r662-0%2Bpkg55~ubuntu12.04.1_amd64.deb | |
sudo dpkg -i gir1.2-granite-1.0_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb libgranite-common_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_all.deb libgranite-dev_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb libgranite1_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb | |
rm gir1.2-granite-1.0_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb libgranite-common_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_all.deb libgranite-dev_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb libgranite1_0.2.3.1~r662-0+pkg55~ubuntu12.04.1_amd64.deb | |
# Install other prerequisites | |
sudo apt-get -y install bzr cmake debhelper libclutter-gtk-1.0-dev libgee-dev libgtk-3-dev libsqlheavy-dev pkg-config valac | |
# Check out, build, install footnote | |
cd ~/Desktop | |
bzr branch lp:footnote | |
cd footnote | |
# r302 requires gee-0.8 and gtk+-3.0>=3.11.6 | |
bzr revert -r301 | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr | |
make | |
sudo make install | |
# Cleanup | |
cd .. | |
rm -rf footnote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment