-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppImage #212
Open
probonopd
wants to merge
1
commit into
sk1project:master
Choose a base branch
from
probonopd:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
AppImage #212
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,44 @@ | ||
os: linux | ||
sudo: required | ||
dist: xenial | ||
compiler: gcc | ||
language: python | ||
python: | ||
- "2.7" | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
sudo: required | ||
dist: xenial | ||
compiler: gcc | ||
services: | ||
- docker | ||
|
||
|
||
script: | ||
- git remote add upstream https://github.com/sk1project/sk1-wx | ||
- git fetch upstream | ||
- git pull upstream master | ||
- sudo apt-get install -y sshpass gettext | ||
- sudo apt-get install -y sshpass gettext python-cairo-dev libpango1.0-dev | ||
- mkdir subproj | ||
- git clone https://github.com/sk1project/build-utils subproj/build-utils | ||
- ln -s subproj/build-utils/src/utils utils | ||
- git clone https://github.com/sk1project/uniconvertor subproj/uniconvertor | ||
- ln -s ../subproj/uniconvertor/src/uc2 src/uc2 | ||
- git clone https://github.com/sk1project/wal subproj/wal | ||
- ln -s ../subproj/wal/src/wal src/wal | ||
- git clone https://github.com/sk1project/build-cache subproj/build-cache | ||
- python bbox.py pull | ||
- python bbox.py build | ||
- python setup.py bdist_deb | ||
- ( mkdir appdir ; cd appdir/ ; dpkg-deb -x $(find .. -name 'python-sk1-*.deb') . ) | ||
# Bundle Python | ||
- cd appdir/ | ||
- apt-get download libcairo2 libpango1.0 python-wxgtk3.0 python-reportlab python-cups python-pil python-cairo libpng12-0 libpython2.7-stdlib python2.7 python2.7-minimal libpython2.7-minimal python-wxgtk3.0 libwxgtk3.0-0v5 libwxbase3.0-0v5 | ||
- find *.deb -exec dpkg-deb -x {} . \; | ||
- rm *deb | ||
- cd .. | ||
- wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64" -O ./appdir/AppRun ; chmod +x ./appdir/AppRun | ||
- cp appdir/usr/lib/sk1-wx-*/sk1/share/icons/generic/sk1-icon-64x64.png appdir/sk1.png | ||
# FIXME: Icon naming in appdir/usr/share probably still broken | ||
- cp appdir/usr/share/applications/sk1.desktop appdir/ | ||
- ( cd appdir/usr/lib/python2.7/dist-packages/ ; ln -s ../../sk1-wx-*/* . ) | ||
- ( cd appdir/usr/lib/python2.7/dist-packages/ ; ln -s wx-3.0-gtk2/* . ) | ||
- find appdir/ | ||
- wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" | ||
- chmod a+x appimagetool-x86_64.AppImage | ||
- ./appimagetool-x86_64.AppImage -g appdir/ | ||
|
||
after_success: | ||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh | ||
- bash upload.sh sK1*.AppImage* | ||
|
||
branches: | ||
except: | ||
- # Do not build tags that we create when we upload to GitHub Releases | ||
- /^(?i:continuous)/ |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think, this would be fixed before stable release of sK1
v2.0
(in one-two months)