mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-07-05 01:19:31 +00:00
Update windows installer
This commit is contained in:
parent
674f4585bc
commit
7c64273952
Binary file not shown.
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 4.2 KiB |
1
win32/.gitignore
vendored
Normal file
1
win32/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
installer/
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
_wixdir="/c/Program Files (x86)/WiX Toolset v3.8"
|
_wixdir="/c/Program Files (x86)/WiX Toolset v3.11"
|
||||||
_thisdir="$(dirname $0)"
|
_thisdir="$(dirname $0)"
|
||||||
test "${_thisdir}" = "." && _thisdir=${PWD}
|
test "${_thisdir}" = "." && _thisdir=${PWD}
|
||||||
_installer_root="${_thisdir}"/installer
|
_installer_root="${_thisdir}"/installer
|
||||||
|
@ -95,7 +95,7 @@ remove_useless_stuff() {
|
||||||
rm -rf installer/SourceDir/share/doc
|
rm -rf installer/SourceDir/share/doc
|
||||||
# remove on the lib folder
|
# remove on the lib folder
|
||||||
rm -rf installer/SourceDir/lib/terminfo
|
rm -rf installer/SourceDir/lib/terminfo
|
||||||
rm -rf installer/SourceDir/lib/python2*
|
rm -rf installer/SourceDir/lib/python*
|
||||||
rm -rf installer/SourceDir/lib/pkgconfig
|
rm -rf installer/SourceDir/lib/pkgconfig
|
||||||
rm -rf installer/SourceDir/lib/peas-demo
|
rm -rf installer/SourceDir/lib/peas-demo
|
||||||
|
|
||||||
|
@ -109,6 +109,7 @@ remove_useless_stuff() {
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_source_dir() {
|
setup_source_dir() {
|
||||||
|
[ -d "installer/SourceDir" ] && rm -rf "installer/SourceDir"
|
||||||
cp -R "${_newgitg}/mingw${_bitness}" "installer/SourceDir"
|
cp -R "${_newgitg}/mingw${_bitness}" "installer/SourceDir"
|
||||||
remove_useless_stuff
|
remove_useless_stuff
|
||||||
}
|
}
|
||||||
|
@ -155,10 +156,6 @@ install_gitg_packages() {
|
||||||
if [ "$_result" -ne "0" ]; then
|
if [ "$_result" -ne "0" ]; then
|
||||||
exit_cleanly "1" "failed to create ${_newgitg} via command 'pacman -S gitg --noconfirm --root ${_newgitg}'"
|
exit_cleanly "1" "failed to create ${_newgitg} via command 'pacman -S gitg --noconfirm --root ${_newgitg}'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# some packages are pulled by the deps but we do not need them like python2
|
|
||||||
pacman -Rdd mingw-w64-${_arch}-python2 --noconfirm --root "${_newgitg}"
|
|
||||||
pacman -Rdd mingw-w64-${_arch}-gtk2 --noconfirm --root "${_newgitg}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${_stage}" = "stage1" ]; then
|
if [ "${_stage}" = "stage1" ]; then
|
||||||
|
|
3
win32/make-installer-all
Normal file
3
win32/make-installer-all
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
./make-installer stage1 && ./make-installer stage2
|
Loading…
Reference in New Issue
Block a user