summaryrefslogtreecommitdiff
path: root/freefilesync/04_revert_zenju_aggressive_upstreamisms.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-08-03 09:50:50 -0400
committerB. Stack <bgstack15@gmail.com>2022-08-03 09:50:50 -0400
commit87a845567fb9d7035d1ce1e7afdad1c1d6557bd0 (patch)
tree20aaeeeccff0dc5e87bb6c7bab9a1bb348ca5bf5 /freefilesync/04_revert_zenju_aggressive_upstreamisms.patch
parentMerge branch 'xdgmenumaker-bump' into 'master' (diff)
downloadstackrpms-87a845567fb9d7035d1ce1e7afdad1c1d6557bd0.tar.gz
stackrpms-87a845567fb9d7035d1ce1e7afdad1c1d6557bd0.tar.bz2
stackrpms-87a845567fb9d7035d1ce1e7afdad1c1d6557bd0.zip
ffs 11.23 dpkg rc1
Diffstat (limited to 'freefilesync/04_revert_zenju_aggressive_upstreamisms.patch')
-rw-r--r--freefilesync/04_revert_zenju_aggressive_upstreamisms.patch19
1 files changed, 7 insertions, 12 deletions
diff --git a/freefilesync/04_revert_zenju_aggressive_upstreamisms.patch b/freefilesync/04_revert_zenju_aggressive_upstreamisms.patch
index 4758004..8231585 100644
--- a/freefilesync/04_revert_zenju_aggressive_upstreamisms.patch
+++ b/freefilesync/04_revert_zenju_aggressive_upstreamisms.patch
@@ -1,6 +1,6 @@
Message: Some of these can be traced back to version 10.23 which was the last to not use <unordered_map>
-Date: 2022-06-26
-Version: 11.22
+Date: 2022-08-03
+Version: 11.23
Author: bgstack15
diff -x '*.rej' -x '*.orig' -x '*.git*' -Naur 10.24-0/wx+/choice_enum.h 10.24-1/wx+/choice_enum.h
--- 10.24-0/wx+/choice_enum.h 2020-05-17 18:30:59.441499418 -0400
@@ -171,8 +171,8 @@ diff -x '*.orig' -x '*.rej' -aur 11.1-1/wx+/bitmap_button.h 11.1-2/wx+/bitmap_bu
//draw rectangle border with gradient
const wxColor colFrom = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE);
diff -aur -x '*.git*' -x '.*.swp' -x '*.orig' -x '*.rej' 11.6-0/wx+/dc.h 11.6-1/wx+/dc.h
---- 11.21-0/wx+/dc.h 2022-05-22 17:09:32.250809701 -0400
-+++ 11.21-1/wx+/dc.h 2022-05-22 20:28:53.788193992 -0400
+--- 11.23-0/wx+/dc.h 2022-08-03 08:55:32.140102989 -0400
++++ 11.23-1/wx+/dc.h 2022-08-03 09:27:55.367666939 -0400
@@ -12,7 +12,7 @@
#include <zen/basic_math.h>
#include <wx/dcbuffer.h> //for macro: wxALWAYS_NATIVE_DOUBLE_BUFFER
@@ -192,17 +192,12 @@ diff -aur -x '*.git*' -x '.*.swp' -x '*.orig' -x '*.rej' 11.6-0/wx+/dc.h 11.6-1/
//GTK2 doesn't properly support high DPI: https://freefilesync.org/forum/viewtopic.php?t=6114
//=> requires general fix at wxWidgets-level
-@@ -126,11 +123,10 @@
-
-
- inline
--wxBitmapBundle toBitmapBundle(const wxImage& img /*expected to be DPI-scaled!*/)
-+wxBitmap toBitmapBundle(const wxImage& img /*expected to be DPI-scaled!*/)
+@@ -130,7 +127,6 @@
{
- //return wxBitmap(img, -1 /*depth*/, static_cast<double>(getDPI()) / defaultDpi); implementation just ignores scale parameter! WTF!
+ //wxBitmap(const wxImage& image, int depth = -1, double WXUNUSED(scale) = 1.0) => wxWidgets just ignores scale parameter! WTF!
wxBitmap bmpScaled(img);
- bmpScaled.SetScaleFactor(getDisplayScaleFactor());
- return bmpScaled;
+ return bmpScaled; //when testing use 175% scaling: wxWidgets' scaling logic doesn't kick in for 150% only
}
diff -x '*.orig' -x '*.rej' -aur 11.1-1/wx+/graph.h 11.1-2/wx+/graph.h
bgstack15