Updated libraries and version

This commit is contained in:
wolverindev 2018-07-12 21:13:30 +01:00
parent 1e6867a003
commit 93e1429f2e
20 changed files with 99 additions and 10 deletions

24
.gitmodules vendored
View File

@ -25,3 +25,27 @@
[submodule "libraries/event"]
path = libraries/event
url = https://github.com/libevent/libevent.git
[submodule "TeaSpeak"]
path = TeaSpeak
url = http://git.mcgalaxy.de:8090/WolverinDEV/TeaSpeak.git
[submodule "libraries/spdlog"]
path = libraries/spdlog
url = http://git.mcgalaxy.de:8090/WolverinDEV/spdlog.git
[submodule "libraries/StringVariable"]
path = libraries/StringVariable
url = https://github.com/WolverinDEV/StringVariable.git
[submodule "libraries/ed25519"]
path = libraries/ed25519
url = https://github.com/WolverinDEV/ed25519.git
[submodule "libraries/breakpad"]
path = libraries/breakpad
url = https://chromium.googlesource.com/breakpad/breakpad
[submodule "mysqlconnector"]
path = mysqlconnector
url = https://github.com/mysql/mysql-connector-cpp.git
[submodule "libraries/mysqlconnector"]
path = libraries/mysqlconnector
url = https://github.com/mysql/mysql-connector-cpp.git
[submodule "libraries/boringssl"]
path = libraries/boringssl
url = https://boringssl.googlesource.com/boringssl

@ -1 +1 @@
Subproject commit bd7b5cc57096a67408947eeb54fd297ad2c13e00
Subproject commit 43023c65a76914e41ec99d845ce578899f13333d

11
init_modules.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
set -e
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
while read path_key path
do
url_key=$(echo $path_key | sed 's/\.path/.url/')
url=$(git config -f .gitmodules --get "$url_key")
git submodule add $url $path
done

@ -1 +1 @@
Subproject commit 7d5c141ad0f4d43d0c5159e6be0588938116cf08
Subproject commit cfcf317507ef4a991ecca3a14a358ffaae0582b0

@ -0,0 +1 @@
Subproject commit 7868b90427efa06e8d3cf8fb3eba9305e3aa1081

@ -1 +1 @@
Subproject commit cba6e82b2f2fe6ff4f584da49a92c4d4d94509a6
Subproject commit 83664441746e91bba8c8636ca4d51a9be7bfa249

1
libraries/boringssl Submodule

@ -0,0 +1 @@
Subproject commit e0afc85719db9a0842bcfddcf4b15e856b253ee2

1
libraries/breakpad Submodule

@ -0,0 +1 @@
Subproject commit ecbbfbeb9dee9de92f6dac680e20c63ba9406426

3
libraries/build.sh Normal file
View File

@ -0,0 +1,3 @@
mkdir -p CXXTerminal/build event/build jsoncpp/build opus/build opusfile/build Thread-Pool/build tomcrypt/build tommath/build yaml-cpp/build

1
libraries/ed25519 Submodule

@ -0,0 +1 @@
Subproject commit 98bd4f3ec60ab1bb09b6becd7a5e1d91d35c81cd

@ -1 +1 @@
Subproject commit 08a0d366073eacf800027725891c2f668f2f0144
Subproject commit 514dc7579c43e673bdf613e01690371438661260

@ -1 +1 @@
Subproject commit 313a0e4c340253f3ad2c7897b54fad9a8040847c
Subproject commit 80bc776bae74261742b7c2d0b8dc31ec1718ba4a

@ -0,0 +1 @@
Subproject commit 36b7e300a396a85249503f862a19941a5808f178

@ -1 +1 @@
Subproject commit 610c14ce80ad1a6754a9e2743e6799cf45a093c5
Subproject commit c1c247d7e715100a50ca185948c7336bdd4dfdba

1
libraries/opusfile Submodule

@ -0,0 +1 @@
Subproject commit 189647328ce1d41bc5c19a5b86eaeb10f12f4013

@ -1 +1 @@
Subproject commit 84d3c90b93afd52a7ba3d659d144b996a36fa82b
Subproject commit 94c2ddf19d6ccbb60ff54ab7b0933689b0c0d0ee

@ -1 +1 @@
Subproject commit 0f7fd3c606c204cf13b39ca35722782d3d05e319
Subproject commit 5f0bdabfc023376fed3640391f1a9228a4449fb0

@ -1 +1 @@
Subproject commit 5d5bb52ec2825eb4c0c932a9c2d50dc3699f932f
Subproject commit 1698b47b65feded180f44d762ddaf7181a270608

View File

@ -1,4 +1,7 @@
sudo apt-get install libssl-dev
sudo apt-get install libevent-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install libevent-dev
sudo apt-get install autotools-dev
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install libmysqlclient-dev

View File

@ -1,2 +1,44 @@
Before you're doing something:
git submodule update --remote
git submodule update --remote -f --merge --recursive
Build everythink with C++ ABI = 0
(yaml-cpp needs CMakeLists.txt entry)
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
For jsoncpp:
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
NOTE: May was CXXFLAGS (without the underscore)
For yaml:
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=Release
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fPIC"
For breakpad:
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
mkdir build && cd build
../configure
make CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
For MySQL:
git submodule update --init
mkdir build && cd build
cmake .. -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -static-libgcc -static-libstdc++" -DWITH_JDBC=ON
make -j 12
For boringssl:
cmake .. -DBUILD_SHARED_LIBS=ON
make -j 8
Instal protobuf:
sudo apt-get install -y git autoconf automake libtool curl make g++ unzip
git clone https://github.com/google/protobuf.git
cd protobuf/
./autogen.sh
./configure
make
make check
sudo make install