-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathubuntu-dep-install.sh
executable file
·32 lines (22 loc) · 1.5 KB
/
ubuntu-dep-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
if [ ! -n "`which apt-get`" ]; then
echo "WARNING: Dependencies have to be installed manually or using another script (apt-get is missing)."
echo "You can comment out DEPENDENCY_SCRIPT variable in the build profile to turn off this warning."
exit
fi
# Install Etoile and GNUstep dependencies for Ubuntu 9.04 (copied from INSTALL.Ubuntu)
# Universe repository needs to be enabled in /etc/apt/sources.list for libonig-dev to show up
# The installs have been split up in to multiple apt-get commands because apt-get install
# will fail to install all packages if a single package isn't available, and some packages
# are no longer available in recent Ubuntu versions.
sudo apt-get -q=2 install libjpeg-dev libtiff-dev libpng-dev libgif-dev
sudo apt-get -q=2 install cmake gobjc libxml2-dev libxslt1-dev libffi-dev libssl-dev libgnutls-dev libicu-dev libfreetype6-dev libx11-dev libcairo2-dev libxft-dev libxmu-dev dbus libdbus-1-dev lemon libgmp3-dev libsqlite3-dev libkqueue-dev libpthread-workqueue-dev libavcodec-dev libavformat-dev libtagc0-dev libmp4v2-dev discount libgraphviz-dev
if [ "$LLVM_VERSION" = "packaged" ]; then
echo
echo "Installing clang 3.3 packages"
sudo apt-get -q=2 install clang-3.3 libclang-3.3-dev
fi
# Install some packages used in Etoile SVN but not in the new Git repository
sudo apt-get -q=2 install libonig-dev libstartup-notification0-dev libxcursor-dev libxss-dev xscreensaver g++ libpoppler-dev
# Install build script tools
sudo apt-get -q=2 install subversion git sendemail