From 03c0cd635b92221f4b94dfc6b4e7d77dc7183f91 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Wed, 29 Jun 2022 11:01:21 +0200 Subject: [PATCH] update pref-pane, kde and unity patches for 102 --- patches/1550_1549.diff | 33 +++++++++++++++++ patches/librewolf-pref-pane.patch | 10 +++--- patches/mozilla-kde.patch | 43 +++++++--------------- patches/mozilla-kde_after_unity.patch | 51 +++++++++++---------------- patches/unity-menubar.patch | 46 ++++++++++++------------ 5 files changed, 94 insertions(+), 89 deletions(-) create mode 100644 patches/1550_1549.diff diff --git a/patches/1550_1549.diff b/patches/1550_1549.diff new file mode 100644 index 0000000..2827e67 --- /dev/null +++ b/patches/1550_1549.diff @@ -0,0 +1,33 @@ +=== modified file 'debian/patches/unity-menubar.patch' +--- debian/patches/unity-menubar.patch 2022-04-21 08:09:23 +0000 ++++ debian/patches/unity-menubar.patch 2022-05-18 06:18:20 +0000 +@@ -1068,7 +1068,7 @@ + + + + OnOpen(); + + +-+ mOpenDelayTimer = do_CreateInstance(NS_TIMER_CONTRACTID); +++ mOpenDelayTimer = NS_NewTimer(); + + if (!mOpenDelayTimer) { + + return; + + } +@@ -5118,8 +5118,8 @@ + --- a/widget/gtk/components.conf + +++ b/widget/gtk/components.conf + @@ -76,6 +76,14 @@ Classes = [ +- 'headers': ['/widget/gtk/nsApplicationChooser.h'], +- 'processes': ProcessSelector.MAIN_PROCESS_ONLY, ++ 'headers': ['/widget/gtk/nsUserIdleServiceGTK.h'], ++ 'constructor': 'nsUserIdleServiceGTK::GetInstance', + }, + + { + + 'cid': '{0b3fe5aa-bc72-4303-85ae-76365df1251d}', +@@ -5131,7 +5131,7 @@ + + }, + ] + +- if defined('MOZ_X11'): ++ if defined('NS_PRINTING'): + --- a/xpfe/appshell/AppWindow.cpp + +++ b/xpfe/appshell/AppWindow.cpp + @@ -80,7 +80,7 @@ + diff --git a/patches/librewolf-pref-pane.patch b/patches/librewolf-pref-pane.patch index 338415c..71d46df 100644 --- a/patches/librewolf-pref-pane.patch +++ b/patches/librewolf-pref-pane.patch @@ -1,4 +1,4 @@ -From babb9dc13626b8d7096b3e9debd36a2404c34a80 Mon Sep 17 00:00:00 2001 +From cd0ec42d56fe5d4689ed19c84ad5ca5a27a005fd Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Tue, 12 Apr 2022 11:57:53 +0200 Subject: [PATCH] port pref-pane patch changes to gecko-dev @@ -589,7 +589,7 @@ index 000000000000..c8cbb075d59b + }); +}); diff --git a/browser/components/preferences/preferences.js b/browser/components/preferences/preferences.js -index 0a2a7895ae44..430f70cf06a2 100644 +index 0b97e8c3cb59..637090adaa5e 100644 --- a/browser/components/preferences/preferences.js +++ b/browser/components/preferences/preferences.js @@ -8,6 +8,7 @@ @@ -609,7 +609,7 @@ index 0a2a7895ae44..430f70cf06a2 100644 if (Services.prefs.getBoolPref("browser.preferences.experimental")) { // Set hidden based on previous load's hidden value. diff --git a/browser/components/preferences/preferences.xhtml b/browser/components/preferences/preferences.xhtml -index 81059f3d2e01..d815682d68bc 100644 +index 6ee14eec9b2e..a0d768dce307 100644 --- a/browser/components/preferences/preferences.xhtml +++ b/browser/components/preferences/preferences.xhtml @@ -13,6 +13,7 @@ @@ -638,7 +638,7 @@ index 81059f3d2e01..d815682d68bc 100644