diff -r 142a0c92607c -r f645c886d36b mozilla-kde.patch --- a/mozilla-kde.patch Sun Apr 01 23:51:44 2018 +0200 +++ b/mozilla-kde.patch Mon Apr 02 11:26:04 2018 +0200 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent 97234138e3aafe66fc7f17c8f530e7c534af2fc2 +# Parent 9cc0c990890e64f69ed068cf1a4534535bcc50a7 Description: Add KDE integration to Firefox (toolkit parts) Author: Wolfgang Rosenauer Author: Lubos Lunak @@ -27,7 +27,7 @@ using namespace mozilla; #ifdef DEBUG -@@ -4235,25 +4236,37 @@ Preferences::InitInitialObjects() +@@ -3868,25 +3869,37 @@ Preferences::InitInitialObjects() // application pref files for backwards compatibility. static const char* specialFiles[] = { #if defined(XP_MACOSX) @@ -65,7 +65,7 @@ // Load jar:$app/omni.jar!/defaults/preferences/*.js // or jar:$gre/omni.jar!/defaults/preferences/*.js. -@@ -4302,17 +4315,17 @@ Preferences::InitInitialObjects() +@@ -3935,17 +3948,17 @@ Preferences::InitInitialObjects() } nsCOMPtr path = do_QueryInterface(elem); @@ -153,12 +153,12 @@ diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloads/moz.build --- a/toolkit/components/downloads/moz.build +++ b/toolkit/components/downloads/moz.build -@@ -17,9 +17,13 @@ XPIDL_SOURCES += [ - XPIDL_MODULE = 'downloads' +@@ -41,10 +41,14 @@ EXTRA_JS_MODULES += [ - UNIFIED_SOURCES += [ - 'nsDownloadManager.cpp' - ] + if CONFIG['MOZ_PLACES']: + EXTRA_JS_MODULES += [ + 'DownloadHistory.jsm', + ] FINAL_LIBRARY = 'xul' @@ -166,11 +166,12 @@ + '/toolkit/xre' +] + - CXXFLAGS += CONFIG['TK_CFLAGS'] + with Files('**'): + BUG_COMPONENT = ('Toolkit', 'Download Manager') diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn --- a/toolkit/content/jar.mn +++ b/toolkit/content/jar.mn -@@ -67,16 +67,18 @@ toolkit.jar: +@@ -69,16 +69,18 @@ toolkit.jar: content/global/bindings/checkbox.xml (widgets/checkbox.xml) content/global/bindings/colorpicker.xml (widgets/colorpicker.xml) content/global/bindings/datekeeper.js (widgets/datekeeper.js) @@ -193,7 +194,7 @@ new file mode 100644 --- /dev/null +++ b/toolkit/content/widgets/dialog-kde.xml -@@ -0,0 +1,477 @@ +@@ -0,0 +1,478 @@ + +