File tree Expand file tree Collapse file tree 6 files changed +8
-138
lines changed Expand file tree Collapse file tree 6 files changed +8
-138
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ function pre_build {
4040 echo ' -----------------'
4141 else
4242 echo " Running for linux"
43- export LDFLAGS=" -Wl,--no-as-needed -Wl,--no-undefined ${LDFLAGS} "
4443 fi
4544 qmake -query
4645}
Original file line number Diff line number Diff line change 11FROM quay.io/pypa/manylinux1_i686:latest
22
3- RUN wget --no-check-certificate https://download.qt.io/official_releases /qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz && \
3+ RUN curl -O -L https://download.qt.io/archive /qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz && \
44 tar -xf qt-everywhere-opensource-src-4.8.7.tar.gz && \
55 cd qt-everywhere* && \
6- ./configure -prefix /opt/Qt4.8.7 -release -opensource -confirm-license -qtnamespace Qt4 && \
7- gmake && \
6+ ./configure -prefix /opt/Qt4.8.7 -release -opensource -confirm-license && \
7+ gmake -j5 && \
88 gmake install && \
99 cd .. && \
1010 rm -rf qt-everywhere-opensource-src-4.8.7 && \
@@ -13,7 +13,7 @@ RUN wget --no-check-certificate https://download.qt.io/official_releases/qt/4.8/
1313ENV QTDIR /opt/Qt4.8.7
1414ENV PATH "$QTDIR/bin:$PATH"
1515
16- RUN wget --no-check-certificate https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \
16+ RUN curl -O -L https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \
1717 tar -zxf cmake-3.9.0.tar.gz && \
1818 cd cmake-3.9.0 && \
1919 yum -y install curl-devel zlib-devel && \
Original file line number Diff line number Diff line change 11FROM quay.io/pypa/manylinux1_x86_64:latest
22
3- RUN wget --no-check-certificate https://download.qt.io/official_releases /qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz && \
3+ RUN curl -O -L https://download.qt.io/archive /qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz && \
44 tar -xf qt-everywhere-opensource-src-4.8.7.tar.gz && \
55 cd qt-everywhere* && \
6- ./configure -prefix /opt/Qt4.8.7 -release -opensource -confirm-license -qtnamespace Qt4 && \
7- gmake && \
6+ ./configure -prefix /opt/Qt4.8.7 -release -opensource -confirm-license && \
7+ gmake -j5 && \
88 gmake install && \
99 cd .. && \
1010 rm -rf qt-everywhere-opensource-src-4.8.7 && \
@@ -13,7 +13,7 @@ RUN wget --no-check-certificate https://download.qt.io/official_releases/qt/4.8/
1313ENV QTDIR /opt/Qt4.8.7
1414ENV PATH "$QTDIR/bin:$PATH"
1515
16- RUN wget --no-check-certificate https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \
16+ RUN curl -O -L https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \
1717 tar -zxf cmake-3.9.0.tar.gz && \
1818 cd cmake-3.9.0 && \
1919 yum -y install curl-devel zlib-devel && \
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -109,9 +109,6 @@ def main():
109109 # OS-specific components
110110 if (sys .platform == 'darwin' or sys .platform .startswith ('linux' )) and not build_headless :
111111 cmake_args .append ("-DWITH_QT=4" )
112- # Apply Qt namespace patches to OpenCV GUI code
113- subprocess .check_call ("patch -p0 < patches/patch1.patch" , shell = True )
114- subprocess .check_call ("patch -p0 < patches/patch2.patch" , shell = True )
115112
116113 if build_headless :
117114 # it seems that cocoa cannot be disabled so on macOS the package is not truly headless
You can’t perform that action at this time.
0 commit comments