Commit ddc0c1bb authored by Ciro Santilli's avatar Ciro Santilli Committed by Ciro Santilli

0

parents
[submodule "client-android"]
path = client-android
url = https://gerrit-ring.savoirfairelinux.com/ring-client-android
[submodule "client-gnome"]
path = client-gnome
url = https://gerrit-ring.savoirfairelinux.com/ring-client-gnome
[submodule "client-windows"]
path = client-windows
url = https://gerrit-ring.savoirfairelinux.com/ring-client-widows
[submodule "daemon"]
path = daemon
url = https://gerrit-ring.savoirfairelinux.com/ring-daemon
[submodule "lrc"]
path = lrc
url = https://gerrit-ring.savoirfairelinux.com/ring-lrc
# Ring
Synchronization of all the repositories of <https://ring.cx/> through submodules, with scripts to build for each platform easily.
Fixes <https://tuleap.ring.cx/plugins/tracker/?aid=250>.
I'd rather have a single Git repo, but without official support, maintaining a single git repo is useless, so I'll start with submodules which are easier to put together.
## Ubuntu 15.10
./ubuntu-15.10.sh
nohup ./install/daemon/libexec/dring >/dev/null &
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:install/lrc/lib" ./install/client-gnome/bin/gnome-ring
#!/usr/bin/env bash
# Remove everything that is not git tracked.
# May cause data loss.
git submodule foreach git clean -dfx
client-android @ ec528bb7
Subproject commit ec528bb70890b5c2808206416fac5c3fa3e91695
client-gnome @ 26cd160c
Subproject commit 26cd160c13c062e9d08c784370156b9712e631e6
client-windows @ 9c3e7f78
Subproject commit 9c3e7f78f86629ca23847c68f8c521719bb9f318
daemon @ 927f3b9c
Subproject commit 927f3b9cfdbad6ba8744b905ce48adb9e804a652
lrc @ a7ac2ddf
Subproject commit a7ac2ddfbe14a05bfed0f9220f17bef8cf8bcb29
#!/usr/bin/env bash
set -e
sudo apt-get install \
autoconf \
automake \
autopoint \
cmake \
dbus \
g++ \
gettext \
gnome-icon-theme-symbolic \
libasound2-dev \
libavcodec-dev \
libavcodec-extra \
libavdevice-dev \
libavformat-dev \
libboost-dev \
libclutter-gtk-1.0-dev \
libcppunit-dev \
libdbus-1-dev \
libdbus-c++-dev \
libebook1.2-dev \
libexpat1-dev \
libgnutls-dev \
libgsm1-dev \
libgtk-3-dev \
libjack-dev \
libnotify-dev \
libopus-dev \
libpcre3-dev \
libpulse-dev \
libsamplerate0-dev \
libsndfile1-dev \
libspeex-dev \
libspeexdsp-dev \
libsrtp-dev \
libswscale-dev \
libtool \
libudev-dev \
libupnp-dev \
libyaml-cpp-dev \
openjdk-7-jdk \
qtbase5-dev \
sip-tester \
swig \
uuid-dev \
yasm
TOP="$(pwd)"
INSTALL="${TOP}/install"
cd daemon
RING="$(pwd)"
cd contrib
mkdir -p native
cd native
../bootstrap
make -j$(nproc)
cd "${RING}"
./autogen.sh
./configure --prefix="${INSTALL}/daemon"
make -j$(nproc)
make install
cd "${TOP}/lrc"
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="${INSTALL}/lrc" \
-DRING_BUILD_DIR="${RING}/src"
make
make install
cd "${TOP}/client-gnome"
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX="${INSTALL}/client-gnome" \
-DLibRingClient_DIR="${INSTALL}/lrc/lib/cmake/LibRingClient"
make
sudo make install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment