diff --git a/.gitignore b/.gitignore index d489a8c8..6fba84f0 100644 --- a/.gitignore +++ b/.gitignore @@ -18,5 +18,7 @@ /bin/test/data/TestSettings.xml /bin/test/data/*.sqlite +/setup/Linux/lib/* + .DS_Store .idea diff --git a/CMakeLists.txt b/CMakeLists.txt index dc1f1aa3..c51147fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -338,6 +338,11 @@ endif () # Linux package if(UNIX AND NOT APPLE) + execute_process( + COMMAND ${CMAKE_SOURCE_DIR}/setup/Linux/findAndCopyLibraries.sh + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) + INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/data DESTINATION share/coati/.config/coati PATTERN "log/*" EXCLUDE diff --git a/setup/Linux/findAndCopyLibraries.sh b/setup/Linux/findAndCopyLibraries.sh new file mode 100755 index 00000000..d1dd7716 --- /dev/null +++ b/setup/Linux/findAndCopyLibraries.sh @@ -0,0 +1,3 @@ +#!/bin/sh +mkdir -p setup/Linux/lib +ldd bin/app/Release/Coati | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' setup/Linux/lib diff --git a/setup/Linux/lib/libLTO.so.3.7 b/setup/Linux/lib/libLTO.so.3.7 deleted file mode 100755 index 3d054e0b..00000000 Binary files a/setup/Linux/lib/libLTO.so.3.7 and /dev/null differ diff --git a/setup/Linux/lib/libQt5Core.so.5 b/setup/Linux/lib/libQt5Core.so.5 deleted file mode 100755 index 9929a553..00000000 Binary files a/setup/Linux/lib/libQt5Core.so.5 and /dev/null differ diff --git a/setup/Linux/lib/libQt5DBus.so.5 b/setup/Linux/lib/libQt5DBus.so.5 deleted file mode 100755 index 59ebe569..00000000 Binary files a/setup/Linux/lib/libQt5DBus.so.5 and /dev/null differ diff --git a/setup/Linux/lib/libQt5Gui.so.5 b/setup/Linux/lib/libQt5Gui.so.5 deleted file mode 100755 index 975ce8c7..00000000 Binary files a/setup/Linux/lib/libQt5Gui.so.5 and /dev/null differ diff --git a/setup/Linux/lib/libQt5Widgets.so.5 b/setup/Linux/lib/libQt5Widgets.so.5 deleted file mode 100755 index 61b6a9bf..00000000 Binary files a/setup/Linux/lib/libQt5Widgets.so.5 and /dev/null differ diff --git a/setup/Linux/lib/libboost_date_time.so.1.55.0 b/setup/Linux/lib/libboost_date_time.so.1.55.0 deleted file mode 100755 index 53128a0e..00000000 Binary files a/setup/Linux/lib/libboost_date_time.so.1.55.0 and /dev/null differ diff --git a/setup/Linux/lib/libboost_filesystem.so.1.55.0 b/setup/Linux/lib/libboost_filesystem.so.1.55.0 deleted file mode 100755 index 053273c8..00000000 Binary files a/setup/Linux/lib/libboost_filesystem.so.1.55.0 and /dev/null differ diff --git a/setup/Linux/lib/libboost_system.so.1.55.0 b/setup/Linux/lib/libboost_system.so.1.55.0 deleted file mode 100755 index b359f39c..00000000 Binary files a/setup/Linux/lib/libboost_system.so.1.55.0 and /dev/null differ diff --git a/setup/Linux/lib/libedit.so.0 b/setup/Linux/lib/libedit.so.0 deleted file mode 100755 index 1096d021..00000000 Binary files a/setup/Linux/lib/libedit.so.0 and /dev/null differ diff --git a/setup/Linux/lib/libgcrypt.so.20 b/setup/Linux/lib/libgcrypt.so.20 deleted file mode 100755 index afb0a25a..00000000 Binary files a/setup/Linux/lib/libgcrypt.so.20 and /dev/null differ diff --git a/setup/Linux/lib/libgpg-error.so.0 b/setup/Linux/lib/libgpg-error.so.0 deleted file mode 100755 index 34528447..00000000 Binary files a/setup/Linux/lib/libgpg-error.so.0 and /dev/null differ diff --git a/setup/Linux/lib/libicudata.so.54 b/setup/Linux/lib/libicudata.so.54 deleted file mode 100755 index 5b8b9abd..00000000 Binary files a/setup/Linux/lib/libicudata.so.54 and /dev/null differ diff --git a/setup/Linux/lib/libicui18n.so.54 b/setup/Linux/lib/libicui18n.so.54 deleted file mode 100755 index 1cfc47fa..00000000 Binary files a/setup/Linux/lib/libicui18n.so.54 and /dev/null differ diff --git a/setup/Linux/lib/libicuuc.so.54 b/setup/Linux/lib/libicuuc.so.54 deleted file mode 100755 index 5d48094e..00000000 Binary files a/setup/Linux/lib/libicuuc.so.54 and /dev/null differ diff --git a/setup/Linux/lib/liblz4.so.1 b/setup/Linux/lib/liblz4.so.1 deleted file mode 100755 index 69d563ae..00000000 Binary files a/setup/Linux/lib/liblz4.so.1 and /dev/null differ diff --git a/setup/Linux/lib/libpcre16.so.0 b/setup/Linux/lib/libpcre16.so.0 deleted file mode 100755 index df9e958e..00000000 Binary files a/setup/Linux/lib/libpcre16.so.0 and /dev/null differ diff --git a/setup/Linux/lib/libpng16.so.16 b/setup/Linux/lib/libpng16.so.16 deleted file mode 100755 index 37330023..00000000 Binary files a/setup/Linux/lib/libpng16.so.16 and /dev/null differ diff --git a/setup/Linux/lib/libstdc++.so.6 b/setup/Linux/lib/libstdc++.so.6 deleted file mode 100755 index ed2cec0d..00000000 Binary files a/setup/Linux/lib/libstdc++.so.6 and /dev/null differ diff --git a/setup/Linux/lib/libsystemd.so.0 b/setup/Linux/lib/libsystemd.so.0 deleted file mode 100755 index 74ccb93e..00000000 Binary files a/setup/Linux/lib/libsystemd.so.0 and /dev/null differ