firefox-kde: patch for global menu

This commit is contained in:
Chaoting Liu 2018-07-23 19:05:56 +02:00
parent 7e51032d2f
commit 8b33f78d67
2 changed files with 9 additions and 33 deletions

View File

@ -1,6 +1,6 @@
pkgname=firefox-kde pkgname=firefox-kde
pkgver=61.0.1 pkgver=61.0.1
pkgrel=3 pkgrel=4
pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE" pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE"
arch=('x86_64') arch=('x86_64')
license=('MPL' 'GPL' 'LGPL') license=('MPL' 'GPL' 'LGPL')
@ -90,7 +90,7 @@ sha256sums=('708f4dc39fdf105fe9d3ee6b52412a1c7548fd7d34e14c29f840064de3fe8a28'
'6d9a7d3059d9017c1d3c28b38f257fe99b48ebcb1d829d427db59f80826fdc89' '6d9a7d3059d9017c1d3c28b38f257fe99b48ebcb1d829d427db59f80826fdc89'
'c39d22c4223c99181e1e828c1d6ba3bde035f497744ad423c60da91425ac4942' 'c39d22c4223c99181e1e828c1d6ba3bde035f497744ad423c60da91425ac4942'
'd199e00089a407f1a08e1d547c822279afd1abbffa361fb471990413eeeb2862' 'd199e00089a407f1a08e1d547c822279afd1abbffa361fb471990413eeeb2862'
'4465aa66734452597d4d797847de0c34c15bc08f21e9e8b6bf9f6ff270908f6f') '47b9c634e511ec384e6984575428d50f2b6c31100f0f09b896d2602f7bd7d370')
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
@ -206,8 +206,8 @@ END
patch -Np1 -i $srcdir/2003_nICER_implicit_decls.patch patch -Np1 -i $srcdir/2003_nICER_implicit_decls.patch
patch -Np1 -i $srcdir/2004_fix_lto_builds.patch patch -Np1 -i $srcdir/2004_fix_lto_builds.patch
# msg "Ubuntu Patchset" msg "Ubuntu Patchset"
# patch -Np1 -i $srcdir/unity-menubar.patch patch -Np1 -i $srcdir/unity-menubar.patch
} }
build() { build() {

View File

@ -289,12 +289,7 @@ diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css
diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build
--- a/widget/gtk/moz.build --- a/widget/gtk/moz.build
+++ b/widget/gtk/moz.build +++ b/widget/gtk/moz.build
@@ -34,32 +34,42 @@ EXPORTS.mozilla += [ @@ -39,10 +39,18 @@
UNIFIED_SOURCES += [
'IMContextWrapper.cpp',
'mozcontainer.cpp',
'NativeKeyBindings.cpp',
'nsAppShell.cpp', 'nsAppShell.cpp',
'nsBidiKeyboard.cpp', 'nsBidiKeyboard.cpp',
'nsColorPicker.cpp', 'nsColorPicker.cpp',
@ -313,12 +308,7 @@ diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build
'nsNativeThemeGTK.cpp', 'nsNativeThemeGTK.cpp',
'nsSound.cpp', 'nsSound.cpp',
'nsToolkit.cpp', 'nsToolkit.cpp',
'nsWidgetFactory.cpp', @@ -55,6 +63,8 @@
'ScreenHelperGTK.cpp',
'TaskbarProgress.cpp',
'WakeLockListener.cpp',
'WidgetTraceEvent.cpp',
'WidgetUtilsGtk.cpp',
] ]
SOURCES += [ SOURCES += [
@ -327,29 +317,15 @@ diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build
'nsWindow.cpp', # conflicts with X11 headers 'nsWindow.cpp', # conflicts with X11 headers
] ]
if CONFIG['MOZ_X11']: @@ -125,6 +135,7 @@
UNIFIED_SOURCES += [
'CompositorWidgetChild.cpp',
'CompositorWidgetParent.cpp',
'GtkCompositorWidget.cpp',
@@ -120,16 +130,17 @@ else:
]
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [ LOCAL_INCLUDES += [
'/layout/generic', '/layout/generic',
+ '/layout/style', + '/layout/style',
'/layout/xul', '/layout/xul',
'/other-licenses/atk-1.0', '/other-licenses/atk-1.0',
'/widget', '/toolkit/xre',
'/widget/headless',
]
if CONFIG['MOZ_X11']:
LOCAL_INCLUDES += [
diff --git a/widget/gtk/nsDbusmenu.cpp b/widget/gtk/nsDbusmenu.cpp diff --git a/widget/gtk/nsDbusmenu.cpp b/widget/gtk/nsDbusmenu.cpp
new file mode 100644 new file mode 100644
--- /dev/null --- /dev/null