Separate patches

This commit is contained in:
Ilya Fedin 2020-06-02 14:14:51 +04:00 committed by John Preston
parent c776f81dc7
commit f1e75d809a
6 changed files with 12 additions and 16 deletions

View File

@ -415,7 +415,7 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ env.LibrariesPath }}/qt-cache path: ${{ env.LibrariesPath }}/qt-cache
key: ${{ runner.OS }}-qt-${{ env.CACHE_KEY }}-${{ hashFiles('**/qt*_5_12_8.diff') }} key: ${{ runner.OS }}-qt-${{ env.CACHE_KEY }}-${{ hashFiles('**/qt*_5_12_8/*') }}
- name: Qt 5.12.8 build. - name: Qt 5.12.8 build.
if: steps.cache-qt.outputs.cache-hit != 'true' if: steps.cache-qt.outputs.cache-hit != 'true'
run: | run: |
@ -426,12 +426,10 @@ jobs:
perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg,qtx11extras perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg,qtx11extras
git submodule update qtbase qtwayland qtimageformats qtsvg qtx11extras git submodule update qtbase qtwayland qtimageformats qtsvg qtx11extras
cd qtbase cd qtbase
git apply ../../patches/qtbase_${QT}.diff find ../../patches/qtbase_${QT} -type f -print0 | sort -z | xargs -r0 git apply
git apply ../../patches/qtbase_xkbfix_${QT}.diff
cd .. cd ..
cd qtwayland cd qtwayland
git apply ../../patches/qtwayland_${QT}.diff find ../../patches/qtwayland_${QT} -type f -print0 | sort -z | xargs -r0 git apply
git apply ../../patches/qtwayland_xkbfix_${QT}.diff
cd .. cd ..
./configure -prefix "$QT_PREFIX" \ ./configure -prefix "$QT_PREFIX" \

View File

@ -424,7 +424,7 @@ jobs:
git submodule update qtbase git submodule update qtbase
git submodule update qtimageformats git submodule update qtimageformats
cd qtbase cd qtbase
git apply ../../patches/qtbase_$QT.diff find ../../patches/qtbase_$QT -type f -print0 | sort -z | xargs -0 git apply
cd .. cd ..
./configure \ ./configure \

View File

@ -308,7 +308,7 @@ jobs:
git submodule update qtbase git submodule update qtbase
git submodule update qtimageformats git submodule update qtimageformats
cd qtbase cd qtbase
git apply ../../patches/qtbase_%QT%.diff for /r %%i in (..\..\patches\qtbase_%QT%\*) do git apply %%i
cd .. cd ..
SET SSL=%LibrariesPath%\openssl_1_1_1 SET SSL=%LibrariesPath%\openssl_1_1_1

View File

@ -54,7 +54,7 @@ Go to ***BuildPath*** and run
git clone https://github.com/desktop-app/patches.git git clone https://github.com/desktop-app/patches.git
cd patches cd patches
git checkout fd42dc2 git checkout 2b9afa7
cd ../ cd ../
git clone https://github.com/xiph/opus git clone https://github.com/xiph/opus
@ -240,12 +240,10 @@ Go to ***BuildPath*** and run
git checkout v5.12.8 git checkout v5.12.8
git submodule update qtbase qtwayland qtimageformats qtsvg qtx11extras git submodule update qtbase qtwayland qtimageformats qtsvg qtx11extras
cd qtbase cd qtbase
git apply ../../patches/qtbase_5_12_8.diff find ../../patches/qtbase_5_12_8 -type f -print0 | sort -z | xargs -r0 git apply
git apply ../../patches/qtbase_xkbfix_5_12_8.diff
cd .. cd ..
cd qtwayland cd qtwayland
git apply ../../patches/qtwayland_5_12_8.diff find ../../patches/qtwayland_5_12_8 -type f -print0 | sort -z | xargs -r0 git apply
git apply ../../patches/qtwayland_xkbfix_5_12_8.diff
cd .. cd ..
OPENSSL_DIR=/usr/local/desktop-app/openssl-1.1.1 OPENSSL_DIR=/usr/local/desktop-app/openssl-1.1.1

View File

@ -64,7 +64,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
git clone https://github.com/desktop-app/patches.git git clone https://github.com/desktop-app/patches.git
cd patches cd patches
git checkout b08b497 git checkout 2b9afa7
cd .. cd ..
git clone https://github.com/desktop-app/lzma.git git clone https://github.com/desktop-app/lzma.git
@ -153,7 +153,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
git checkout v5.12.8 git checkout v5.12.8
git submodule update qtbase qtimageformats git submodule update qtbase qtimageformats
cd qtbase cd qtbase
git apply ../../patches/qtbase_5_12_8.diff for /r %i in (..\..\patches\qtbase_5_12_8\*) do git apply %i
cd .. cd ..
configure -prefix "%LibrariesPath%\Qt-5.12.8" -debug-and-release -force-debug-info -opensource -confirm-license -static -static-runtime -I "%LibrariesPath%\openssl_1_1_1\include" -no-opengl -openssl-linked OPENSSL_LIBS_DEBUG="%LibrariesPath%\openssl_1_1_1\out32.dbg\libssl.lib %LibrariesPath%\openssl_1_1_1\out32.dbg\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" OPENSSL_LIBS_RELEASE="%LibrariesPath%\openssl_1_1_1\out32\libssl.lib %LibrariesPath%\openssl_1_1_1\out32\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" -mp -nomake examples -nomake tests -platform win32-msvc configure -prefix "%LibrariesPath%\Qt-5.12.8" -debug-and-release -force-debug-info -opensource -confirm-license -static -static-runtime -I "%LibrariesPath%\openssl_1_1_1\include" -no-opengl -openssl-linked OPENSSL_LIBS_DEBUG="%LibrariesPath%\openssl_1_1_1\out32.dbg\libssl.lib %LibrariesPath%\openssl_1_1_1\out32.dbg\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" OPENSSL_LIBS_RELEASE="%LibrariesPath%\openssl_1_1_1\out32\libssl.lib %LibrariesPath%\openssl_1_1_1\out32\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" -mp -nomake examples -nomake tests -platform win32-msvc

View File

@ -29,7 +29,7 @@ Go to ***BuildPath*** and run
git clone https://github.com/desktop-app/patches.git git clone https://github.com/desktop-app/patches.git
cd patches cd patches
git checkout b08b497 git checkout 2b9afa7
cd ../ cd ../
git clone https://chromium.googlesource.com/external/gyp git clone https://chromium.googlesource.com/external/gyp
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
@ -240,7 +240,7 @@ Go to ***BuildPath*** and run
git checkout v5.12.8 git checkout v5.12.8
git submodule update qtbase qtimageformats git submodule update qtbase qtimageformats
cd qtbase cd qtbase
git apply ../../patches/qtbase_5_12_8.diff find ../../patches/qtbase_5_12_8 -type f -print0 | sort -z | xargs -0 git apply
cd .. cd ..
./configure -prefix "/usr/local/desktop-app/Qt-5.12.8" \ ./configure -prefix "/usr/local/desktop-app/Qt-5.12.8" \