Skip to content

Commit 44c1801

Browse files
committed
Merge remote-tracking branch 'remotes/origin/master' into bugfix/qml-import-paths
2 parents f445074 + 7bc9171 commit 44c1801

6 files changed

+17
-17
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*build*/
22
.idea/
33
*.AppImage
4+
*.zsync

.travis.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ dist: xenial
33

44
matrix:
55
include:
6-
- name: Build x86_64 AppImage on CentOS 6
6+
- name: Build x86_64 AppImage on CentOS 7
77
services:
88
- docker
9-
env: ARCH=x86_64 BUILD_TYPE=centos6
10-
script: travis/build-centos6-docker.sh
9+
env: ARCH=x86_64 BUILD_TYPE=centos7
10+
script: travis/build-centos7-docker.sh
1111
after_success:
1212
- ls -lh
1313
# make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh
1414
- if [ "$TRAVIS_TAG" != "$TRAVIS_BRANCH" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
1515
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
1616
- bash upload.sh linuxdeploy*.AppImage*
1717

18-
- name: Build i386 AppImage on CentOS 6
18+
- name: Build i386 AppImage on CentOS 7
1919
services:
2020
- docker
21-
env: ARCH=i386 BUILD_TYPE=centos6
22-
script: travis/build-centos6-docker.sh
21+
env: ARCH=i386 BUILD_TYPE=centos7
22+
script: travis/build-centos7-docker.sh
2323
after_success:
2424
- ls -lh
2525
# make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh

travis/Dockerfile.centos6 renamed to travis/Dockerfile.centos7

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
FROM centos:6
1+
FROM centos:7
22

3-
RUN yum install -y centos-release-scl-rh && \
4-
yum install -y devtoolset-7 wget curl patchelf vim-common fuse libfuse2 libtool autoconf automake zlib-devel libjpeg-devel libpng-devel nano git && \
3+
RUN yum install -y centos-release-scl && \
4+
yum install -y devtoolset-9 wget curl patchelf vim-common fuse libfuse2 libtool autoconf automake zlib-devel libjpeg-devel libpng-devel nano git file gcc-c++ && \
55
wget https://artifacts.assassinate-you.net/artifactory/cmake-centos6/cmake-v3.15.3-x86_64.tar.gz -O- | tar xz --strip-components=1 -C/usr/local
66

77
ENV ARCH=x86_64
88
COPY entrypoint.sh /
99
SHELL ["/entrypoint.sh", "bash", "-x", "-c"]
1010
ENTRYPOINT ["/entrypoint.sh"]
1111

12-
RUN yum install -y gcc-c++ && \
13-
git clone https://github.com/NixOS/patchelf.git && \
12+
RUN git clone https://github.com/NixOS/patchelf.git && \
1413
pushd patchelf && \
1514
# cannot use -b since it's not supported in really old versions of git
1615
git checkout 0.8 && \

travis/Dockerfile.centos6-i386 renamed to travis/Dockerfile.centos7-i386

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM i386/centos:6
1+
FROM i386/centos:7
22

33
SHELL ["/bin/bash", "-x", "-c"]
44

@@ -9,8 +9,8 @@ RUN sed -i 's/$basearch/i386/g' /etc/yum.repos.d/CentOS-Base.repo
99
# thanks CloudLinux, you're really helping us poor AppImage creators seeking for maximum compatibility by providing devtoolset i386 builds
1010
RUN yum install -y yum-utils && \
1111
rpm --import https://repo.cloudlinux.com/cloudlinux/security/RPM-GPG-KEY-CloudLinux && \
12-
yum-config-manager --add-repo https://www.repo.cloudlinux.com/cloudlinux/6/sclo/devtoolset-7/i386/ && \
13-
yum install -y devtoolset-7 wget curl patchelf vim-common fuse libfuse2 libtool autoconf automake zlib-devel libjpeg-devel libpng-devel nano git
12+
yum-config-manager --add-repo https://www.repo.cloudlinux.com/cloudlinux/7/sclo/devtoolset-9/i386/ && \
13+
yum install -y devtoolset-9 wget curl patchelf vim-common fuse libfuse2 libtool autoconf automake zlib-evel libjpeg-devel libpng-devel nano git make file gcc-c++
1414

1515
# the shell wrapper takes care of enabling devtoolset and running a shell properly
1616
# unfortunately this is the easiest and most solid workaround to the limitations of the scl command

travis/build-centos6-docker.sh renamed to travis/build-centos7-docker.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -xe
55
old_cwd=$(readlink -f .)
66
here=$(readlink -f $(dirname "$0"))
77

8-
DOCKERFILE="$here"/Dockerfile.centos6
9-
IMAGE=linuxdeploy-build-centos6
8+
DOCKERFILE="$here"/Dockerfile.centos7
9+
IMAGE=linuxdeploy-build-centos7
1010

1111
if [ "$ARCH" == "i386" ]; then
1212
DOCKERFILE="$DOCKERFILE"-i386
@@ -15,4 +15,4 @@ fi
1515

1616
(cd "$here" && docker build -f "$DOCKERFILE" -t "$IMAGE" .)
1717

18-
docker run --rm -it -v "$here"/..:/ws:ro -v "$old_cwd":/out -e CI=1 -e OUTDIR_OWNER=$(id -u) "$IMAGE" /bin/bash -xe -c "cd /out && /ws/travis/build-centos6.sh"
18+
docker run --rm -it -v "$here"/..:/ws:ro -v "$old_cwd":/out -e CI=1 -e OUTDIR_OWNER=$(id -u) "$IMAGE" /bin/bash -xe -c "cd /out && /ws/travis/build-centos7.sh"
File renamed without changes.

0 commit comments

Comments
 (0)