Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-06-28 12:18:50 +0300
committerlovetox <philipp@hoerist.com>2020-06-28 14:27:42 +0300
commit8913d83a45694483b2f48fafea61e0a1ca9d5d8b (patch)
tree0c5e7ae52665581527146f393ca78dcd4e9e1df1 /win/_base.sh
parente195994b75feed11231d147ef66c648de3aeffb3 (diff)
Windows: Update build
- Remove some unused dirs to reduce the size of the installation - Add some needed executables
Diffstat (limited to 'win/_base.sh')
-rw-r--r--win/_base.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/win/_base.sh b/win/_base.sh
index f2ad64118..f4229cc6a 100644
--- a/win/_base.sh
+++ b/win/_base.sh
@@ -190,9 +190,11 @@ function cleanup_install {
fi
done
- find "${MINGW_ROOT}" -regextype "posix-extended" -name "*.exe" -a ! \
- -iregex ".*/(gajim|python|history_manager)[^/]*\\.exe" \
- -exec rm -f {} \;
+ KEEP="gajim|gajim-debug|python3|gajim-history-manager|gdbus|gspawn-win32-helper"
+
+ echo "deleting .exe files"
+ find "${MINGW_ROOT}" -regextype "posix-extended" -name "*.exe" -and ! \
+ -iregex ".*/(${KEEP})\.exe" -exec rm -f {} \; -print
rm -Rf "${MINGW_ROOT}"/libexec
rm -Rf "${MINGW_ROOT}"/share/gtk-doc
@@ -227,6 +229,7 @@ function cleanup_install {
rm -Rf "${MINGW_ROOT}"/share/fontconfig
rm -Rf "${MINGW_ROOT}"/share/gettext-*
rm -Rf "${MINGW_ROOT}"/share/gstreamer-1.0
+ rm -Rf "${MINGW_ROOT}"/share/terminfo
find "${MINGW_ROOT}"/share/glib-2.0 -type f ! \
-name "*.compiled" -exec rm -f {} \;
@@ -240,6 +243,10 @@ function cleanup_install {
rm -Rf "${MINGW_ROOT}"/lib/ruby
rm -Rf "${MINGW_ROOT}"/lib/tcl8
rm -Rf "${MINGW_ROOT}"/lib/tcl8.6
+ rm -Rf "${MINGW_ROOT}"/lib/terminfo
+ rm -Rf "${MINGW_ROOT}"/lib/installed-tests
+ rm -Rf "${MINGW_ROOT}"/lib/tabset
+ rm -Rf "${MINGW_ROOT}"/lib/libthai
rm -f "${MINGW_ROOT}"/lib/gstreamer-1.0/libgstvpx.dll
rm -f "${MINGW_ROOT}"/lib/gstreamer-1.0/libgstdaala.dll