Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ideascube
ARCHIVED Kiwix Hotspot
Commits
823a985e
Commit
823a985e
authored
Jun 21, 2017
by
thiolliere
Browse files
add macos qemu deps
parent
c5f3f2cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
823a985e
...
...
@@ -14,6 +14,24 @@ matrix:
-
brew install pygobject3 --with-python3 gtk+3
-
python3 -m pip install -r requirements-macos.txt
-
python3 -m pip install pyinstaller
# Bundle QEMU
-
git clone https://github.com/auriamg/macdylibbundler/
-
cd macdylibbundler/
-
make
-
cd ..
-
mkdir qemu
-
cd qemu
-
cp /usr/local/bin/qemu-img .
-
cp /usr/local/bin/qemu-system-arm .
-
chmod u+w qemu-img
-
chmod u+w qemu-system-arm
-
../macdylibbundler/dylibbundler -d . -p @loader_path/ -b -x ./qemu-system-arm -x ./qemu-img
-
chmod u-w qemu-img
-
chmod u-w qemu-system-arm
-
cd ..
# Run PyInstaller
-
pyinstaller --log-level=DEBUG pibox-installer-macos.spec
# Sign application
...
...
@@ -29,7 +47,7 @@ matrix:
-
create-dmg dist/pibox-installer.app ||
true
# Send dmg
-
scp -v -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer-0.0.0.dmg pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +"%Y-%m-%d")/pibox-installer-macos.dmg
-
scp -v -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer-0.0.0.dmg pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +"%Y-%m-%d")/pibox-installer-macos
-qemu-deps
.dmg
-
os
:
linux
language
:
python
...
...
pibox-installer-macos.spec
View file @
823a985e
# -*- mode: python -*-
import
subprocess
block_cipher
=
None
output
=
subprocess
.
check_output
([
"ls"
,
"qemu"
])
files
=
output
.
decode
(
'utf-8'
).
splitlines
()
block_cipher
=
None
a
=
Analysis
([
'pibox-installer/__main__.py'
],
pathex
=
[
'.'
],
binaries
=
[(
'/usr/local/bin/qemu-system-arm'
,
'.'
),
(
'/usr/local/bin/qemu-img'
,
'.'
)
],
binaries
=
[(
"qemu/"
+
file
,
'.'
)
for
file
in
files
],
datas
=
[(
'ui.glade'
,
'.'
)],
hiddenimports
=
[],
hookspath
=
[],
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment