[gimp] build: compile GTK with new Windows Pointer Input Stack support.



commit 74f67c180e78f580a4855bc16e1619d00c74634d
Author: Jehan <jehan girinstud io>
Date:   Tue Jul 6 19:00:48 2021 +0200

    build: compile GTK with new Windows Pointer Input Stack support.
    
    We don't know when the next GTK3 release will be and this is cool enough
    that we want to test it soonish, even more with MR !458 coming soon with
    a Preferences option.

 build/windows/gitlab-ci/build-deps-msys2.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/build/windows/gitlab-ci/build-deps-msys2.sh b/build/windows/gitlab-ci/build-deps-msys2.sh
index 747e19fa9e..6955f84298 100644
--- a/build/windows/gitlab-ci/build-deps-msys2.sh
+++ b/build/windows/gitlab-ci/build-deps-msys2.sh
@@ -120,11 +120,14 @@ cd _gtk/
 wget 
"https://github.com/msys2/MINGW-packages/raw/master/mingw-w64-gtk3/0002-Revert-Quartz-Set-the-popup-menu-type-hint-before-re.patch";
 wget 
"https://github.com/msys2/MINGW-packages/raw/master/mingw-w64-gtk3/0003-gtkwindow-Don-t-force-enable-CSD-under-Windows.patch";
 wget 
"https://github.com/msys2/MINGW-packages/raw/master/mingw-w64-gtk3/0004-Disable-low-level-keyboard-hook.patch";
+wget "https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1563.patch";
 patch -p1 < 0002-Revert-Quartz-Set-the-popup-menu-type-hint-before-re.patch
 patch -p1 < 0003-gtkwindow-Don-t-force-enable-CSD-under-Windows.patch
 patch -p1 < 0004-Disable-low-level-keyboard-hook.patch
 # Patches not in MSYS2 build.
 patch -p1 < ../build/windows/patches/gtk3-24-mr3275-gimp-issue-5475.patch
+# The --binary option is necessary to accomodate such errors: Hunk #1 FAILED at 15 (different line endings)
+patch -p1 --ignore-whitespace --binary < 1563.patch
 
 mkdir _build
 cd _build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]