diff options
author | nikatar | 2019-10-26 17:00:12 +0300 |
---|---|---|
committer | nikatar | 2019-10-26 17:00:12 +0300 |
commit | 017b7ebc08055c692865a244b28e107e2b74b51e (patch) | |
tree | 24fe426bdeaa4092903a189479d56beeb30ce9b9 | |
parent | e1e5dec7ffde731aedc453424f49d919c9936476 (diff) | |
download | aur-017b7ebc08055c692865a244b28e107e2b74b51e.tar.gz |
fix 70.0-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 46 | ||||
-rw-r--r-- | firefox-symbolic.svg | 64 | ||||
-rw-r--r-- | unity-menubar.patch | 31 |
4 files changed, 47 insertions, 109 deletions
@@ -1,6 +1,6 @@ pkgbase = firefox-appmenu pkgdesc = Firefox from extra with appmenu patch - pkgver = 69.0.3 + pkgver = 70.0 pkgrel = 1 url = https://www.mozilla.org/firefox/ arch = x86_64 @@ -28,7 +28,6 @@ pkgbase = firefox-appmenu makedepends = cbindgen makedepends = nasm depends = gtk3 - depends = mozilla-common depends = libxt depends = startup-notification depends = mime-types @@ -42,25 +41,23 @@ pkgbase = firefox-appmenu optdepends = pulseaudio: Audio support optdepends = speech-dispatcher: Text-to-Speech optdepends = hunspell-en_US: Spell checking, American English - provides = firefox=69.0.3 + provides = firefox=70.0 options = !emptydirs options = !makeflags options = !strip - source = https://archive.mozilla.org/pub/firefox/releases/69.0.3/source/firefox-69.0.3.source.tar.xz - source = https://archive.mozilla.org/pub/firefox/releases/69.0.3/source/firefox-69.0.3.source.tar.xz.asc + source = https://archive.mozilla.org/pub/firefox/releases/70.0/source/firefox-70.0.source.tar.xz + source = https://archive.mozilla.org/pub/firefox/releases/70.0/source/firefox-70.0.source.tar.xz.asc source = no-relinking.patch source = 0001-Use-remoting-name-for-GDK-application-names.patch source = firefox.desktop - source = firefox-symbolic.svg source = unity-menubar.patch validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353 - sha256sums = 7527947a876c1734b8b2339f19b8ff8da6f4e4d06351b44940cb48d3509bb891 + sha256sums = cd9f2902753831c07c4b2ee64f7826f33ca1123add6440dc34abe3ff173a0cc6 sha256sums = SKIP sha256sums = 2dc9d1aa5eb7798c89f46478f254ae61e4122b4d1956d6044426288627d8a014 sha256sums = ab07ab26617ff76fce68e07c66b8aa9b96c2d3e5b5517e51a3c3eac2edd88894 sha256sums = e466789015e15be9409b7a7044353674ca6aa0f392e882217f90c79821fe2630 - sha256sums = 9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797 - sha256sums = 2fd7261853ee2ed95ca6a68838de1e7cc18e01c7a56db9abcad4ac93867cedf7 + sha256sums = 73b9804393381f2c278eff63fecbd05035264dbb2aa68dd263a14db9f981a668 pkgname = firefox-appmenu @@ -5,14 +5,14 @@ pkgname=firefox-appmenu _pkgname=firefox -pkgver=69.0.3 +pkgver=70.0 pkgrel=1 pkgdesc="Firefox from extra with appmenu patch" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/firefox/" -depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib - ffmpeg nss ttf-font libpulse) +depends=(gtk3 libxt startup-notification mime-types dbus-glib ffmpeg nss + ttf-font libpulse) makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2 python nodejs python2-psutil cbindgen nasm) @@ -27,15 +27,14 @@ options=(!emptydirs !makeflags !strip) source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc} no-relinking.patch 0001-Use-remoting-name-for-GDK-application-names.patch - $_pkgname.desktop firefox-symbolic.svg + $_pkgname.desktop unity-menubar.patch) -sha256sums=('7527947a876c1734b8b2339f19b8ff8da6f4e4d06351b44940cb48d3509bb891' +sha256sums=('cd9f2902753831c07c4b2ee64f7826f33ca1123add6440dc34abe3ff173a0cc6' 'SKIP' '2dc9d1aa5eb7798c89f46478f254ae61e4122b4d1956d6044426288627d8a014' 'ab07ab26617ff76fce68e07c66b8aa9b96c2d3e5b5517e51a3c3eac2edd88894' 'e466789015e15be9409b7a7044353674ca6aa0f392e882217f90c79821fe2630' - '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' - '2fd7261853ee2ed95ca6a68838de1e7cc18e01c7a56db9abcad4ac93867cedf7') + '73b9804393381f2c278eff63fecbd05035264dbb2aa68dd263a14db9f981a668') validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com> # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) @@ -127,7 +126,7 @@ build() { # Do 3-tier PGO msg2 "Building instrumented browser..." cat >.mozconfig ../mozconfig - <<END -ac_add_options --enable-profile-generate +ac_add_options --enable-profile-generate=cross END ./mach build @@ -154,7 +153,7 @@ END msg2 "Building optimized browser..." cat >.mozconfig ../mozconfig - <<END ac_add_options --enable-lto=cross -ac_add_options --enable-profile-use +ac_add_options --enable-profile-use=cross ac_add_options --with-pgo-profile-path=${PWD@Q} ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog END @@ -169,8 +168,8 @@ package() { cd firefox-$pkgver DESTDIR="$pkgdir" ./mach install - _vendorjs="$pkgdir/usr/lib/$_pkgname/browser/defaults/preferences/vendor.js" - install -Dm644 /dev/stdin "$_vendorjs" <<END + local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js" + install -Dvm644 /dev/stdin "$vendorjs" <<END // Use LANG environment variable to choose locale pref("intl.locale.requested", ""); @@ -185,8 +184,8 @@ pref("extensions.autoDisableScopes", 11); pref("extensions.shownSelectionUI", true); END - _distini="$pkgdir/usr/lib/$_pkgname/distribution/distribution.ini" - install -Dm644 /dev/stdin "$_distini" <<END + local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini" + install -Dvm644 /dev/stdin "$distini" <<END [Global] id=archlinux version=1.0 @@ -198,31 +197,36 @@ app.distributor.channel=$_pkgname app.partner.archlinux=archlinux END + local i for i in 16 22 24 32 48 64 128 256; do - install -Dm644 browser/branding/official/default$i.png \ + install -Dvm644 browser/branding/official/default$i.png \ "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$_pkgname.png" done - install -Dm644 browser/branding/official/content/about-logo.png \ + install -Dvm644 browser/branding/official/content/about-logo.png \ "$pkgdir/usr/share/icons/hicolor/192x192/apps/$_pkgname.png" - install -Dm644 browser/branding/official/content/about-logo@2x.png \ + install -Dvm644 browser/branding/official/content/about-logo@2x.png \ "$pkgdir/usr/share/icons/hicolor/384x384/apps/$_pkgname.png" - install -Dm644 ../firefox-symbolic.svg \ + install -Dvm644 ../firefox-symbolic.svg \ "$pkgdir/usr/share/icons/hicolor/symbolic/apps/$_pkgname-symbolic.svg" - install -Dm644 ../$_pkgname.desktop \ + install -Dvm644 ../$_pkgname.desktop \ "$pkgdir/usr/share/applications/$_pkgname.desktop" # Install a wrapper to avoid confusion about binary path - install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<END + install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<END #!/bin/sh exec /usr/lib/$_pkgname/firefox "\$@" END # Replace duplicate binary with wrapper # https://bugzilla.mozilla.org/show_bug.cgi?id=658850 - ln -srf "$pkgdir/usr/bin/$_pkgname" \ - "$pkgdir/usr/lib/$_pkgname/firefox-bin" + ln -srfv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/firefox-bin" + # Use system certificates + local nssckbi="$pkgdir/usr/lib/$pkgname/libnssckbi.so" + if [[ -e $nssckbi ]]; then + ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi" + fi if [[ -f "$startdir/.crash-stats-api.token" ]]; then find . -name '*crashreporter-symbols-full.zip' -exec \ diff --git a/firefox-symbolic.svg b/firefox-symbolic.svg deleted file mode 100644 index 2078eea40b69..000000000000 --- a/firefox-symbolic.svg +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="16" - height="16" - viewBox="0 0 16 16" - version="1.1" - id="svg3758" - sodipodi:docname="firefox-symbolic-quantum.svg" - inkscape:version="0.92.2 5c3e80d, 2017-08-06"> - <metadata - id="metadata3764"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title>Gnome Symbolic Icon Theme</dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <defs - id="defs3762" /> - <sodipodi:namedview - pagecolor="#555753" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="1" - inkscape:pageshadow="2" - inkscape:window-width="1591" - inkscape:window-height="909" - id="namedview3760" - showgrid="false" - showborder="false" - inkscape:snap-global="false" - inkscape:zoom="1" - inkscape:cx="3.8851213" - inkscape:cy="12.517918" - inkscape:window-x="143" - inkscape:window-y="60" - inkscape:window-maximized="0" - inkscape:current-layer="svg3758"> - <inkscape:grid - type="xygrid" - id="grid3768" /> - </sodipodi:namedview> - <title - id="title3754">Gnome Symbolic Icon Theme</title> - <path - d="m 15.054715,6.9884649 v 0 c -0.02034,-0.133652 -0.04071,-0.2122775 -0.04071,-0.2122775 0,0 -0.05225,0.060583 -0.138743,0.1748124 A 4.9808937,4.9808937 0 0 0 14.703694,6.0103229 6.4034781,6.4034781 0 0 0 14.270352,4.895288 4.6469845,4.6469845 0 0 0 13.87447,4.2163686 Q 13.793063,4.0947376 13.708437,3.9805045 C 13.444828,3.5499376 13.142365,3.2867867 12.792269,2.7891599 A 3.6101075,3.6101075 0 0 1 12.333953,1.5474054 5.0151173,5.0151173 0 0 0 12.113814,2.3599798 C 11.754468,1.997397 11.441832,1.7397963 11.253142,1.5640539 10.322171,0.69459485 10.430396,0.24367816 10.430396,0.24367816 v 0 c 0,0 -1.7389294,1.94102274 -0.9855522,3.96297904 a 3.8848199,3.8848199 0 0 0 1.2949452,1.726432 c 0.728868,0.6012222 1.513693,1.0743371 1.927612,2.2832561 A 3.8741829,3.8741829 0 0 0 11.21337,6.6823034 3.5023502,3.5023502 0 0 1 11.490854,8.0697401 3.2946971,3.2946971 0 0 1 7.4621982,11.27934 3.0343219,3.0343219 0 0 1 6.6459244,11.001852 3.3219834,3.3219834 0 0 1 5.667782,10.09771 l -0.00463,-0.0078 0.058274,0.02125 a 3.0061106,3.0061106 0 0 0 0.4162344,0.111409 2.6028293,2.6028293 0 0 0 1.6570605,-0.195631 C 8.3154732,9.7379218 8.6308831,9.5237932 8.8866339,9.6084266 h 0.0046 c 0.24974,0.079514 0.446755,-0.1628244 0.2682391,-0.4162632 A 1.3596868,1.3596868 0 0 0 7.8423564,8.6778985 C 7.3211426,8.7537416 6.8434027,9.1241907 6.1603222,8.7653097 a 1.4470953,1.4470953 0 0 1 -0.128107,-0.075371 c -0.04625,-0.026369 0.146605,0.040234 0.1017455,0.010233 A 3.3899676,3.3899676 0 0 1 5.7047808,8.4439577 c -0.010172,-0.00822 0.103133,0.032367 0.092497,0.024039 A 1.6561356,1.6561356 0 0 1 5.3495968,8.015168 0.80517516,0.80517516 0 0 1 5.3190728,7.2964766 0.63405807,0.63405807 0 0 1 5.5965603,7.0356384 c 0.088333,0.043485 0.1429059,0.076305 0.1429059,0.076305 0,0 -0.040235,-0.073997 -0.061972,-0.1128365 0.00786,-0.0027 0.014794,0 0.022662,-0.00513 0.077233,0.033293 0.248351,0.1202544 0.3385341,0.1734358 A 0.46987818,0.46987818 0 0 1 6.19362,7.3061637 c 0,0 0.030994,-0.015351 0.0079,-0.079998 A 0.41623066,0.41623066 0 0 0 6.0414753,7.0300927 h 0.0074 a 1.3596868,1.3596868 0 0 1 0.1970213,0.1225561 0.96149289,0.96149289 0 0 0 0.078625,-0.416232 0.54479973,0.54479973 0 0 0 -0.031914,-0.2312396 c -0.024511,-0.046254 0.013876,-0.064746 0.056885,-0.016135 A 0.45137905,0.45137905 0 0 0 6.3129456,6.378979 v -0.00372 0 c 0,0 0.024511,-0.031916 0.035615,-0.043486 A 0.66134433,0.66134433 0 0 1 6.4484481,6.2503678 4.6122987,4.6122987 0 0 1 7.1259793,5.9048971 C 7.3174429,5.8211545 7.4760733,5.7573477 7.5084475,5.7388339 a 1.0637007,1.0637007 0 0 0 0.1355052,-0.1040612 0.91015778,0.91015778 0 0 0 0.3052354,-0.5272274 0.73996569,0.73996569 0 0 0 0.0079,-0.082324 v -0.023118 -0.013967 0 -0.00552 0 -0.00611 0 C 7.9293085,4.872475 7.749868,4.7943251 6.8119611,4.7064478 A 0.81997449,0.81997449 0 0 1 6.1413599,4.0776254 v 0.0042 c -0.013416,0.034225 -0.025431,0.068909 -0.037456,0.1040572 0.012025,-0.034685 0.024051,-0.069373 0.037456,-0.1040572 v -0.00742 A 2.3762148,2.3762148 0 0 1 7.0598423,2.9339361 c 0.024051,-0.019416 -0.096192,0.00512 -0.072152,-0.014798 A 2.3845397,2.3845397 0 0 1 7.2328039,2.8155414 C 7.2748921,2.7979724 7.0524371,2.7128704 6.8558842,2.7336774 a 1.0174527,1.0174527 0 0 0 -0.3496338,0.082324 c 0.046253,-0.039773 0.1849968,-0.092498 0.1521605,-0.092498 a 2.2499581,2.2499581 0 0 0 -0.713142,0.2696255 0.14521828,0.14521828 0 0 1 0.01387,-0.064747 1.1099484,1.1099484 0 0 0 -0.4458297,0.3440843 0.58966016,0.58966016 0 0 0 0.00462,-0.080469 1.3300881,1.3300881 0 0 0 -0.2187525,0.2053404 l -0.00417,0.00321 A 2.9066776,2.9066776 0 0 0 3.6684873,3.2618132 l -0.00463,-0.0042 h 0.00554 A 1.3610743,1.3610743 0 0 1 3.3803631,2.9339159 l -0.0074,0.0018 -0.00877,-0.010174 C 3.3285694,2.8728322 3.2920343,2.813172 3.2545731,2.7465739 3.2277502,2.7003291 3.2004619,2.646216 3.1731756,2.5902563 c 0,-0.00372 -0.00416,-0.00513 -0.006,-0.00552 -0.0111,0 -0.01896,0.05133 -0.028212,0.037927 v -0.0028 A 1.9923577,1.9923577 0 0 1 3.0080744,1.8396896 l -0.0074,0.00372 A 0.87130958,0.87130958 0 0 0 2.6704677,2.2753541 c -0.028212,0.063362 -0.046248,0.098047 -0.064746,0.1327329 0,0.0028 0,-0.00461 0,-0.016194 0.00416,-0.031916 0.018037,-0.097585 0.014799,-0.092497 -0.00323,0.00513 -0.00553,0.00882 -0.00877,0.013415 A 0.80147532,0.80147532 0 0 0 2.4956586,2.4848515 1.0891367,1.0891367 0 0 0 2.4262868,2.661518 c -0.00276,0.00973 0,-0.00832 0,-0.029599 0,-0.02127 0.00416,-0.059199 0,-0.051331 L 2.4161148,2.600475 A 4.3935464,4.3935464 0 0 0 2.0461275,4.0040946 1.3976101,1.3976101 0 0 0 2.031791,4.252909 v 0.00742 A 3.0653076,3.0653076 0 0 0 1.6539417,4.7690529 7.2174403,7.2174403 0 0 0 0.85524217,6.725337 4.7871157,4.7871157 0 0 1 1.2830334,5.9756593 6.9371784,6.9371784 0 0 0 0.79974461,8.5192901 6.582457,6.582457 0 0 1 1.0078598,7.7659142 6.3854411,6.3854411 0 0 0 1.585032,10.755373 6.9542899,6.9542899 0 0 0 4.3372422,13.87618 v 0 a 6.0196208,6.0196208 0 0 0 1.6038754,0.768639 c 0.07492,0.02728 0.1507676,0.0541 0.2284646,0.08 -0.024511,-0.0096 -0.04625,-0.02034 -0.070761,-0.03098 A 7.2609132,7.2609132 0 0 0 8.179966,15 c 2.494615,0 3.318287,-0.949928 3.394136,-1.044738 v 0 A 1.2625664,1.2625664 0 0 0 11.8687,13.559386 v 0 q 0.07216,-0.02958 0.145679,-0.06335 l 0.03097,-0.01397 0.05597,-0.02635 a 5.2315572,5.2315572 0 0 0 1.053064,-0.659489 2.5436321,2.5436321 0 0 0 0.98184,-1.433687 v 0 a 0.89628343,0.89628343 0 0 0 0.01343,-0.660421 q 0.03838,-0.0606 0.0791,-0.129501 A 5.8762526,5.8762526 0 0 0 15.1107,7.7140393 v -0.0027 c 0,-0.027291 0,-0.054583 0,-0.081863 A 3.5754215,3.5754215 0 0 0 15.05473,6.9884887 Z" - id="path3756" - inkscape:connector-curvature="0" - style="fill:#bebebe;fill-opacity:1;stroke-width:0.46247858" /> -</svg> diff --git a/unity-menubar.patch b/unity-menubar.patch index 1d2c9d1cc0ed..e43298b7e5d4 100644 --- a/unity-menubar.patch +++ b/unity-menubar.patch @@ -11,10 +11,10 @@ +#endif this.setAttribute('openedwithkey', event.target.parentNode.openedWithKey);"> - <menu id="file-menu" label="&fileMenu.label;" + <menu id="file-menu" data-l10n-id="menu-file"> --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js -@@ -6809,11 +6809,17 @@ function onViewToolbarsPopupShowing(aEve +@@ -6801,11 +6801,17 @@ function onViewToolbarsPopupShowing(aEve let toolbarNodes = gNavToolbox.querySelectorAll("toolbar"); @@ -74,7 +74,7 @@ include('/ipc/chromium/chromium-config.mozbuild') -+if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: ++if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk': + LOCAL_INCLUDES += [ + '/widget/gtk', + ] @@ -88,7 +88,7 @@ '/dom/system', '/dom/system/android', ] -+elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: ++elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk': + LOCAL_INCLUDES += [ + '/widget/gtk', + ] @@ -97,10 +97,10 @@ 'components.conf', --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js -@@ -196,6 +196,9 @@ pref("dom.script_loader.binast_encoding. +@@ -327,6 +327,9 @@ pref("dom.inputevent.datatransfer.enable + // of content viewers to cache based on the amount of available memory. pref("browser.sessionhistory.max_total_viewers", -1); - pref("ui.use_native_colors", true); +#ifdef MOZ_WIDGET_GTK +pref("ui.use_unity_menubar", true); +#endif @@ -3061,7 +3061,7 @@ +#endif /* __nsMenuItem_h__ */ --- /dev/null +++ b/widget/gtk/nsMenuObject.cpp -@@ -0,0 +1,663 @@ +@@ -0,0 +1,664 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* vim:expandtab:shiftwidth=4:tabstop=4: + */ @@ -3261,7 +3261,8 @@ + imageRequest = list->GetListStyleImage(); + if (imageRequest) { + imageRequest->GetURI(getter_AddRefs(uri)); -+ imageRect = list->mImageRegion.ToNearestPixels( ++ auto& rect = list->mImageRegion.AsRect(); ++ imageRect = rect.ToLayoutRect().ToNearestPixels( + pc->AppUnitsPerDevPixel()); + } + } @@ -3304,7 +3305,7 @@ + return; + } + -+ loader->LoadImage(uri, nullptr, nullptr, mozilla::net::RP_Unset, ++ loader->LoadImage(uri, nullptr, nullptr, + nullptr, 0, loadGroup, this, nullptr, nullptr, + nsIRequest::LOAD_NORMAL, nullptr, + nsIContentPolicy::TYPE_IMAGE, EmptyString(), @@ -5134,7 +5135,7 @@ +#endif /* __nsNativeMenuService_h__ */ --- a/widget/gtk/nsWindow.cpp +++ b/widget/gtk/nsWindow.cpp -@@ -71,6 +71,7 @@ +@@ -73,6 +73,7 @@ #include "mozilla/Assertions.h" #include "mozilla/Likely.h" @@ -5142,7 +5143,7 @@ #include "mozilla/Preferences.h" #include "nsIPrefService.h" #include "nsIServiceManager.h" -@@ -5123,6 +5124,10 @@ void nsWindow::HideWindowChrome(bool aSh +@@ -5192,6 +5193,10 @@ void nsWindow::HideWindowChrome(bool aSh SetWindowDecoration(aShouldHide ? eBorderStyle_none : mBorderStyle); } @@ -5173,7 +5174,7 @@ /** * GetLastUserInputTime returns a timestamp for the most recent user input * event. This is intended for pointer grab requests (including drags). -@@ -635,6 +639,8 @@ class nsWindow final : public nsBaseWidg +@@ -638,6 +642,8 @@ class nsWindow final : public nsBaseWidg mozilla::UniquePtr<mozilla::CurrentX11TimeGetter> mCurrentTimeGetter; static CSDSupportLevel sCSDSupportLevel; @@ -5192,7 +5193,7 @@ - 'nsINativeMenuService.h', - ] + -+if toolkit in ('cocoa', 'gtk3'): ++if toolkit in ('cocoa', 'gtk'): + EXPORTS += ['nsINativeMenuService.h'] TEST_DIRS += ['tests'] @@ -5230,7 +5231,7 @@ import sys # Static atom definitions, used to generate nsGkAtomList.h. -@@ -2478,7 +2479,7 @@ STATIC_ATOMS = [ +@@ -2481,7 +2482,7 @@ STATIC_ATOMS = [ InheritingAnonBoxAtom("AnonBox_mozSVGForeignContent", ":-moz-svg-foreign-content"), InheritingAnonBoxAtom("AnonBox_mozSVGText", ":-moz-svg-text"), # END ATOMS @@ -5241,7 +5242,7 @@ def verify(): --- a/widget/gtk/components.conf +++ b/widget/gtk/components.conf -@@ -75,6 +75,14 @@ Classes = [ +@@ -82,6 +82,14 @@ Classes = [ 'headers': ['/widget/gtk/nsApplicationChooser.h'], 'processes': ProcessSelector.MAIN_PROCESS_ONLY, }, |