Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sophie Herold
gajim
Commits
737b5ae0
Commit
737b5ae0
authored
7 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Fix Windows build
parent
4c545be7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
appveyor.yml
+15
-20
15 additions, 20 deletions
appveyor.yml
win/_base.sh
+0
-2
0 additions, 2 deletions
win/_base.sh
win/build.sh
+0
-8
0 additions, 8 deletions
win/build.sh
with
15 additions
and
30 deletions
appveyor.yml
+
15
−
20
View file @
737b5ae0
environment
:
matrix
:
-
MSYS
:
"
C:
\\
msys64
\\
mingw32
.exe"
-
MSYS
:
C:
/
msys64
/
mingw32
branches
:
only
:
...
...
@@ -15,24 +14,20 @@ clone_depth: 1
install
:
-
ps
:
|
function bash($command) {
Write-Host $command -NoNewline
cmd /c start /wait C:\msys64\usr\bin\sh.exe --login -c $command
Write-Host " - OK" -ForegroundColor Green
}
bash 'pacman -Sy --noconfirm git'
bash 'git clone C:/projects/gajim C:/msys64/home/appveyor/gajim'
- cmd
:
'
%MSYS%
C:/msys64/home/appveyor/gajim/win/build.sh'
# Ugly workaround, because i found no way to tell when mingw32.exe returns
-
cmd
:
timeout
1100
# Push Installer Exe
-
ps
:
$env:TIME_STRING=(get-date -UFormat "%Y-%m-%d").ToString()
-
ps
:
$env:BUILDROOT="C:\msys64\home\appveyor\gajim\win\_build_root"
-
ps
:
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim.exe" -FileName "Gajim-Master-$($env:TIME_STRING).exe"
-
ps
:
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim-Portable.exe" -FileName "Gajim-Portable-Master-$($env:TIME_STRING).exe"
$env:MSYSTEM="MINGW32"
$env:TIME_STRING=(get-date -UFormat "%Y-%m-%d").ToString()
$env:BUILDROOT="C:\msys64\home\appveyor\gajim\win\_build_root"
function bash($command) {
Write-Host $command -NoNewline
C:\msys64\usr\bin\sh.exe --login -c $command
}
bash 'pacman -Sy --noconfirm git'
bash 'git clone C:/projects/gajim C:/msys64/home/appveyor/gajim'
bash 'C:/msys64/home/appveyor/gajim/win/build.sh'
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim.exe" -FileName "Gajim-Master-$($env:TIME_STRING).exe"
Push-AppveyorArtifact "$($env:BUILDROOT)/Gajim-Portable.exe" -FileName "Gajim-Portable-Master-$($env:TIME_STRING).exe"
build
:
off
...
...
This diff is collapsed.
Click to expand it.
win/_base.sh
+
0
−
2
View file @
737b5ae0
...
...
@@ -164,9 +164,7 @@ function cleanup_install {
mingw-w64-
"
${
ARCH
}
"
-
"
${
PYTHON_ID
}
"
-pip
mingw-w64-
"
${
ARCH
}
"
-ncurses
||
true
build_pacman
--noconfirm
-Rdd
mingw-w64-
"
${
ARCH
}
"
-tk
||
true
build_pacman
--noconfirm
-Rdd
mingw-w64-
"
${
ARCH
}
"
-tcl
||
true
build_pacman
--noconfirm
-Rdd
mingw-w64-
"
${
ARCH
}
"
-gnome-common
||
true
build_pacman
--noconfirm
-Rdd
mingw-w64-
"
${
ARCH
}
"
-gsl
||
true
build_pacman
--noconfirm
-Rdd
mingw-w64-
"
${
ARCH
}
"
-libvpx
||
true
#delete translations we don't support
for
d
in
"
${
MINGW_ROOT
}
"
/share/locale/
*
/LC_MESSAGES
;
do
...
...
This diff is collapsed.
Click to expand it.
win/build.sh
+
0
−
8
View file @
737b5ae0
...
...
@@ -12,14 +12,6 @@ source "$DIR"/_base.sh
function
main
{
local
GIT_TAG
=
${
1
:-
"master"
}
[[
-d
"
${
BUILD_ROOT
}
"
]]
&&
(
echo
"
${
BUILD_ROOT
}
already exists"
;
exit
1
)
# started from the wrong env -> switch
if
[
$(
echo
"
$MSYSTEM
"
|
tr
'[A-Z]'
'[a-z]'
)
!=
"
$MINGW
"
]
;
then
"/
${
MINGW
}
.exe"
"
$0
"
exit
$?
fi
install_pre_deps
create_root
install_deps
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment