e2c46b
diff -up firefox-60.1.0/toolkit/components/remote/moz.build.disable-dbus-remote firefox-60.1.0/toolkit/components/remote/moz.build
e2c46b
--- firefox-60.1.0/toolkit/components/remote/moz.build.disable-dbus-remote	2018-06-21 09:29:35.975729500 +0200
e2c46b
+++ firefox-60.1.0/toolkit/components/remote/moz.build	2018-06-21 09:29:53.863631963 +0200
e2c46b
@@ -22,11 +22,6 @@ if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']
e2c46b
         'nsGTKRemoteService.cpp',
e2c46b
         'nsRemoteService.cpp',
e2c46b
     ]
e2c46b
-    if CONFIG['MOZ_ENABLE_DBUS']:
e2c46b
-        SOURCES += [
e2c46b
-            'nsDBusRemoteService.cpp',
e2c46b
-        ]
e2c46b
-        CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
e2c46b
 
e2c46b
 FINAL_LIBRARY = 'xul'
e2c46b
 
e2c46b
diff -up firefox-60.1.0/toolkit/components/remote/nsRemoteService.cpp.disable-dbus-remote firefox-60.1.0/toolkit/components/remote/nsRemoteService.cpp
e2c46b
--- firefox-60.1.0/toolkit/components/remote/nsRemoteService.cpp.disable-dbus-remote	2018-06-19 22:35:27.000000000 +0200
e2c46b
+++ firefox-60.1.0/toolkit/components/remote/nsRemoteService.cpp	2018-06-21 09:30:24.949462465 +0200
e2c46b
@@ -6,7 +6,7 @@
e2c46b
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
e2c46b
 
e2c46b
 #include "nsGTKRemoteService.h"
e2c46b
-#ifdef MOZ_ENABLE_DBUS
e2c46b
+#if 0 // Disable DBus remote
e2c46b
 #include "nsDBusRemoteService.h"
e2c46b
 #endif
e2c46b
 #include "nsRemoteService.h"
e2c46b
@@ -34,7 +34,7 @@ NS_IMPL_ISUPPORTS(nsRemoteService,
e2c46b
 NS_IMETHODIMP
e2c46b
 nsRemoteService::Startup(const char* aAppName, const char* aProfileName)
e2c46b
 {
e2c46b
-#if defined(MOZ_ENABLE_DBUS)
e2c46b
+#if 0 // Disable DBus remote
e2c46b
     nsresult rv;
e2c46b
     mDBusRemoteService = new nsDBusRemoteService();
e2c46b
     rv = mDBusRemoteService->Startup(aAppName, aProfileName);