[arch-commits] Commit in firefox/repos (11 files)
Date: Saturday, February 3, 2018 @ 14:36:23 Author: heftig Revision: 315805 archrelease: copy trunk to staging-x86_64 Added: firefox/repos/staging-x86_64/ firefox/repos/staging-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 315804, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) firefox/repos/staging-x86_64/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch (from rev 315804, firefox/trunk/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch) firefox/repos/staging-x86_64/PKGBUILD (from rev 315804, firefox/trunk/PKGBUILD) firefox/repos/staging-x86_64/firefox-install-dir.patch (from rev 315804, firefox/trunk/firefox-install-dir.patch) firefox/repos/staging-x86_64/firefox-symbolic.svg (from rev 315804, firefox/trunk/firefox-symbolic.svg) firefox/repos/staging-x86_64/firefox.desktop (from rev 315804, firefox/trunk/firefox.desktop) firefox/repos/staging-x86_64/no-crmf.diff (from rev 315804, firefox/trunk/no-crmf.diff) firefox/repos/staging-x86_64/upload-symbol-archive (from rev 315804, firefox/trunk/upload-symbol-archive) firefox/repos/staging-x86_64/wifi-disentangle.patch (from rev 315804, firefox/trunk/wifi-disentangle.patch) firefox/repos/staging-x86_64/wifi-fix-interface.patch (from rev 315804, firefox/trunk/wifi-fix-interface.patch) -+ 0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch | 203 ++ 0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch | 254 PKGBUILD| 184 + firefox-install-dir.patch | 13 firefox-symbolic.svg| 64 ++ firefox.desktop | 311 ++ no-crmf.diff| 15 upload-symbol-archive | 24 wifi-disentangle.patch | 245 +++ wifi-fix-interface.patch| 26 10 files changed, 1339 insertions(+) Copied: firefox/repos/staging-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 315804, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) === --- staging-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (rev 0) +++ staging-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch 2018-02-03 14:36:23 UTC (rev 315805) @@ -0,0 +1,203 @@ +From 05ec1aa0d5e8806dd0c5c6d08c82846a1389b599 Mon Sep 17 00:00:00 2001 +Message-Id: <05ec1aa0d5e8806dd0c5c6d08c82846a1389b599.1512038840.git.jan.steff...@gmail.com> +From: Robin Grenet+Date: Thu, 16 Nov 2017 13:35:58 +0100 +Subject: [PATCH 1/2] Bug 1360278 - Add preference to trigger context menu on + mouse up for GTK+ and macOS, r=mstange,smaug + +MozReview-Commit-ID: Bg60bD8jIg6 + +--HG-- +extra : rebase_source : cc8bd5796096f49ad4fdab81885a426afd6117e4 +--- + modules/libpref/init/all.js | 4 + widget/cocoa/nsChildView.mm | 23 +-- + widget/gtk/nsWindow.cpp | 27 --- + widget/gtk/nsWindow.h | 2 ++ + widget/nsBaseWidget.cpp | 16 + widget/nsBaseWidget.h | 6 ++ + 6 files changed, 69 insertions(+), 9 deletions(-) + +diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js +index 9febead1d363d792..7a6e6a20f3cc3fd6 100644 +--- a/modules/libpref/init/all.js b/modules/libpref/init/all.js +@@ -231,6 +231,10 @@ pref("browser.sessionhistory.max_total_viewers", -1); + + pref("ui.use_native_colors", true); + pref("ui.click_hold_context_menus", false); ++ ++// Pop up context menu on mouseup instead of mousedown, if that's the OS default. ++// Note: ignored on Windows (context menus always use mouseup) ++pref("ui.context_menus.after_mouseup", false); + // Duration of timeout of incremental search in menus (ms). 0 means infinite. + pref("ui.menu.incremental_search.timeout", 1000); + // If true, all popups won't hide automatically on blur +diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +index 25b4c1ba7a2d1207..2affd1ef386cbfd0 100644 +--- a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +@@ -4719,30 +4719,49 @@ NSEvent* gLastDragMouseDownEvent = nil; + if (!mGeckoChild) + return; + +- // Let the superclass do the context menu stuff. +- [super rightMouseDown:theEvent]; ++ if (!nsBaseWidget::ShowContextMenuAfterMouseUp()) { ++// Let the superclass do the context menu stuff. ++[super rightMouseDown:theEvent]; ++ } + + NS_OBJC_END_TRY_ABORT_BLOCK; + } +
[arch-commits] Commit in firefox/repos (11 files)
Date: Tuesday, January 23, 2018 @ 18:52:12 Author: heftig Revision: 315320 archrelease: copy trunk to testing-x86_64 Added: firefox/repos/testing-x86_64/ firefox/repos/testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 315319, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) firefox/repos/testing-x86_64/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch (from rev 315319, firefox/trunk/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch) firefox/repos/testing-x86_64/PKGBUILD (from rev 315319, firefox/trunk/PKGBUILD) firefox/repos/testing-x86_64/firefox-install-dir.patch (from rev 315319, firefox/trunk/firefox-install-dir.patch) firefox/repos/testing-x86_64/firefox-symbolic.svg (from rev 315319, firefox/trunk/firefox-symbolic.svg) firefox/repos/testing-x86_64/firefox.desktop (from rev 315319, firefox/trunk/firefox.desktop) firefox/repos/testing-x86_64/no-crmf.diff (from rev 315319, firefox/trunk/no-crmf.diff) firefox/repos/testing-x86_64/upload-symbol-archive (from rev 315319, firefox/trunk/upload-symbol-archive) firefox/repos/testing-x86_64/wifi-disentangle.patch (from rev 315319, firefox/trunk/wifi-disentangle.patch) firefox/repos/testing-x86_64/wifi-fix-interface.patch (from rev 315319, firefox/trunk/wifi-fix-interface.patch) -+ 0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch | 203 ++ 0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch | 254 PKGBUILD| 184 + firefox-install-dir.patch | 13 firefox-symbolic.svg| 30 firefox.desktop | 311 ++ no-crmf.diff| 15 upload-symbol-archive | 24 wifi-disentangle.patch | 245 +++ wifi-fix-interface.patch| 26 10 files changed, 1305 insertions(+) Copied: firefox/repos/testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 315319, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) === --- testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (rev 0) +++ testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch 2018-01-23 18:52:12 UTC (rev 315320) @@ -0,0 +1,203 @@ +From 05ec1aa0d5e8806dd0c5c6d08c82846a1389b599 Mon Sep 17 00:00:00 2001 +Message-Id: <05ec1aa0d5e8806dd0c5c6d08c82846a1389b599.1512038840.git.jan.steff...@gmail.com> +From: Robin Grenet+Date: Thu, 16 Nov 2017 13:35:58 +0100 +Subject: [PATCH 1/2] Bug 1360278 - Add preference to trigger context menu on + mouse up for GTK+ and macOS, r=mstange,smaug + +MozReview-Commit-ID: Bg60bD8jIg6 + +--HG-- +extra : rebase_source : cc8bd5796096f49ad4fdab81885a426afd6117e4 +--- + modules/libpref/init/all.js | 4 + widget/cocoa/nsChildView.mm | 23 +-- + widget/gtk/nsWindow.cpp | 27 --- + widget/gtk/nsWindow.h | 2 ++ + widget/nsBaseWidget.cpp | 16 + widget/nsBaseWidget.h | 6 ++ + 6 files changed, 69 insertions(+), 9 deletions(-) + +diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js +index 9febead1d363d792..7a6e6a20f3cc3fd6 100644 +--- a/modules/libpref/init/all.js b/modules/libpref/init/all.js +@@ -231,6 +231,10 @@ pref("browser.sessionhistory.max_total_viewers", -1); + + pref("ui.use_native_colors", true); + pref("ui.click_hold_context_menus", false); ++ ++// Pop up context menu on mouseup instead of mousedown, if that's the OS default. ++// Note: ignored on Windows (context menus always use mouseup) ++pref("ui.context_menus.after_mouseup", false); + // Duration of timeout of incremental search in menus (ms). 0 means infinite. + pref("ui.menu.incremental_search.timeout", 1000); + // If true, all popups won't hide automatically on blur +diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +index 25b4c1ba7a2d1207..2affd1ef386cbfd0 100644 +--- a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +@@ -4719,30 +4719,49 @@ NSEvent* gLastDragMouseDownEvent = nil; + if (!mGeckoChild) + return; + +- // Let the superclass do the context menu stuff. +- [super rightMouseDown:theEvent]; ++ if (!nsBaseWidget::ShowContextMenuAfterMouseUp()) { ++// Let the superclass do the context menu stuff. ++[super rightMouseDown:theEvent]; ++ } + + NS_OBJC_END_TRY_ABORT_BLOCK; + } + +
[arch-commits] Commit in firefox/repos (11 files)
Date: Friday, January 5, 2018 @ 08:38:15 Author: eworm Revision: 314079 archrelease: copy trunk to testing-x86_64 Added: firefox/repos/testing-x86_64/ firefox/repos/testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 314078, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) firefox/repos/testing-x86_64/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch (from rev 314078, firefox/trunk/0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch) firefox/repos/testing-x86_64/PKGBUILD (from rev 314078, firefox/trunk/PKGBUILD) firefox/repos/testing-x86_64/firefox-install-dir.patch (from rev 314078, firefox/trunk/firefox-install-dir.patch) firefox/repos/testing-x86_64/firefox-symbolic.svg (from rev 314078, firefox/trunk/firefox-symbolic.svg) firefox/repos/testing-x86_64/firefox.desktop (from rev 314078, firefox/trunk/firefox.desktop) firefox/repos/testing-x86_64/no-plt.diff (from rev 314078, firefox/trunk/no-plt.diff) firefox/repos/testing-x86_64/upload-symbol-archive (from rev 314078, firefox/trunk/upload-symbol-archive) firefox/repos/testing-x86_64/wifi-disentangle.patch (from rev 314078, firefox/trunk/wifi-disentangle.patch) firefox/repos/testing-x86_64/wifi-fix-interface.patch (from rev 314078, firefox/trunk/wifi-fix-interface.patch) -+ 0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch | 203 ++ 0002-Bug-1419426-Implement-browserSettings.contextMenuSho.patch | 254 PKGBUILD| 200 ++ firefox-install-dir.patch | 13 firefox-symbolic.svg| 30 firefox.desktop | 311 ++ no-plt.diff | 48 + upload-symbol-archive | 24 wifi-disentangle.patch | 245 +++ wifi-fix-interface.patch| 26 10 files changed, 1354 insertions(+) Copied: firefox/repos/testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (from rev 314078, firefox/trunk/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch) === --- testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch (rev 0) +++ testing-x86_64/0001-Bug-1360278-Add-preference-to-trigger-context-menu-o.patch 2018-01-05 08:38:15 UTC (rev 314079) @@ -0,0 +1,203 @@ +From 05ec1aa0d5e8806dd0c5c6d08c82846a1389b599 Mon Sep 17 00:00:00 2001 +Message-Id: <05ec1aa0d5e8806dd0c5c6d08c82846a1389b599.1512038840.git.jan.steff...@gmail.com> +From: Robin Grenet+Date: Thu, 16 Nov 2017 13:35:58 +0100 +Subject: [PATCH 1/2] Bug 1360278 - Add preference to trigger context menu on + mouse up for GTK+ and macOS, r=mstange,smaug + +MozReview-Commit-ID: Bg60bD8jIg6 + +--HG-- +extra : rebase_source : cc8bd5796096f49ad4fdab81885a426afd6117e4 +--- + modules/libpref/init/all.js | 4 + widget/cocoa/nsChildView.mm | 23 +-- + widget/gtk/nsWindow.cpp | 27 --- + widget/gtk/nsWindow.h | 2 ++ + widget/nsBaseWidget.cpp | 16 + widget/nsBaseWidget.h | 6 ++ + 6 files changed, 69 insertions(+), 9 deletions(-) + +diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js +index 9febead1d363d792..7a6e6a20f3cc3fd6 100644 +--- a/modules/libpref/init/all.js b/modules/libpref/init/all.js +@@ -231,6 +231,10 @@ pref("browser.sessionhistory.max_total_viewers", -1); + + pref("ui.use_native_colors", true); + pref("ui.click_hold_context_menus", false); ++ ++// Pop up context menu on mouseup instead of mousedown, if that's the OS default. ++// Note: ignored on Windows (context menus always use mouseup) ++pref("ui.context_menus.after_mouseup", false); + // Duration of timeout of incremental search in menus (ms). 0 means infinite. + pref("ui.menu.incremental_search.timeout", 1000); + // If true, all popups won't hide automatically on blur +diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +index 25b4c1ba7a2d1207..2affd1ef386cbfd0 100644 +--- a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm +@@ -4719,30 +4719,49 @@ NSEvent* gLastDragMouseDownEvent = nil; + if (!mGeckoChild) + return; + +- // Let the superclass do the context menu stuff. +- [super rightMouseDown:theEvent]; ++ if (!nsBaseWidget::ShowContextMenuAfterMouseUp()) { ++// Let the superclass do the context menu stuff. ++[super rightMouseDown:theEvent]; ++ } + + NS_OBJC_END_TRY_ABORT_BLOCK; + } + + -
[arch-commits] Commit in firefox/repos (11 files)
Date: Tuesday, August 16, 2011 @ 11:40:35 Author: ibiru Revision: 135605 db-move: moved firefox from [testing] to [extra] (i686) Added: firefox/repos/extra-i686/PKGBUILD (from rev 135604, firefox/repos/testing-i686/PKGBUILD) firefox/repos/extra-i686/firefox.desktop (from rev 135604, firefox/repos/testing-i686/firefox.desktop) firefox/repos/extra-i686/firefox.install (from rev 135604, firefox/repos/testing-i686/firefox.install) firefox/repos/extra-i686/mozconfig (from rev 135604, firefox/repos/testing-i686/mozconfig) firefox/repos/extra-i686/mozilla-firefox-1.0-lang.patch (from rev 135604, firefox/repos/testing-i686/mozilla-firefox-1.0-lang.patch) Deleted: firefox/repos/extra-i686/PKGBUILD firefox/repos/extra-i686/firefox.desktop firefox/repos/extra-i686/firefox.install firefox/repos/extra-i686/mozconfig firefox/repos/extra-i686/mozilla-firefox-1.0-lang.patch firefox/repos/testing-i686/ + PKGBUILD | 146 +-- firefox.desktop| 162 +++ firefox.install| 26 +++--- mozconfig | 128 +++--- mozilla-firefox-1.0-lang.patch | 24 ++--- 5 files changed, 241 insertions(+), 245 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2011-08-16 15:06:56 UTC (rev 135604) +++ extra-i686/PKGBUILD 2011-08-16 15:40:35 UTC (rev 135605) @@ -1,75 +0,0 @@ -# $Id$ -# Contributor: Jakub Schmidtke sja...@gmail.com - -pkgname=firefox -pkgver=5.0 -pkgrel=1 -pkgdesc=Standalone web browser from mozilla.org -arch=('i686' 'x86_64') -license=('MPL' 'GPL' 'LGPL') -depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss=3.12.10' 'libxt' - 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' - 'alsa-lib' 'libevent' 'sqlite3=3.7.4' 'libnotify' 'desktop-file-utils' - 'libvpx' 'lcms' 'nspr=4.8.8' 'libevent' 'libpng' 'cairo') -makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' - 'yasm' 'mesa' 'autoconf2.13' 'gconf' 'xorg-server-xvfb') -url=http://www.mozilla.org/projects/firefox; -install=firefox.install -source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2 -mozconfig firefox.desktop mozilla-firefox-1.0-lang.patch) -md5sums=('9f64a01e86a5d424e12a8e3305c5debe' - '5eb9abbd2591ee337981024008d93988' - 'bdeb0380c7fae30dd0ead6d2d3bc5873' - 'bd5db57c23c72a02a489592644f18995') - -build() { - cd $srcdir/mozilla-release - - cp $srcdir/mozconfig .mozconfig - patch -Np1 -i $srcdir/mozilla-firefox-1.0-lang.patch - - # Kill @PRE_RELEASE_SUFFIX@ from browser.xul because it - # gets set to \177 for an unknown reason - sed -i 's/@PRE_RELEASE_SUFFIX@//g' \ -browser/base/content/browser.xul - - ## Don't generate startup cache. Unbreaks make install - sed -i 's/^GENERATE_CACHE .*/GENERATE_CACHE = true/' \ -toolkit/mozapps/installer/packager.mk - - export LDFLAGS=-Wl,-rpath,/usr/lib/firefox-$pkgver -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed - export PYTHON=/usr/bin/python2 - - # PGO - sed -i '/^NO_PROFILE_GUIDED_OPTIMIZE = 1$/d' \ -memory/jemalloc/Makefile.in - echo 'LDFLAGS += -lX11 -lXrender' \ - layout/build/Makefile.in - - make -j1 -f client.mk build MOZ_MAKE_FLAGS=$MAKEFLAGS - LD_PRELOAD= /usr/bin/Xvfb -nolisten tcp -extension GLX :99 - LD_PRELOAD= DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS=$MAKEFLAGS - kill $! || true -} - -package() { - cd $srcdir/mozilla-release - make -j1 -f client.mk DESTDIR=$pkgdir install - - for i in 16x16 22x22 24x24 32x32 48x48 256x256; do - install -Dm644 other-licenses/branding/firefox/default${i/x*/}.png \ -$pkgdir/usr/share/icons/hicolor/$i/apps/firefox.png - done - - install -Dm644 $srcdir/firefox.desktop \ -$pkgdir/usr/share/applications/firefox.desktop - - # Remove included dictionaries, add symlink to system myspell path - # Note: this will cause file conflicts when users have installed dictionaries in the old location - rm -rf ${pkgdir}/usr/lib/firefox-$pkgver/dictionaries - ln -sf /usr/share/myspell/dicts \ -${pkgdir}/usr/lib/firefox-$pkgver/dictionaries - - # We don't want the development stuff - rm -r $pkgdir/usr/{include,lib/firefox-devel-$pkgver,share/idl} -} Copied: firefox/repos/extra-i686/PKGBUILD (from rev 135604, firefox/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2011-08-16 15:40:35 UTC (rev 135605) @@ -0,0 +1,71 @@ +# $Id$ +# Contributor: Jakub Schmidtke sja...@gmail.com + +pkgname=firefox +pkgver=6.0 +pkgrel=1 +pkgdesc=Standalone web browser from mozilla.org +arch=('i686'
[arch-commits] Commit in firefox/repos (11 files)
Date: Tuesday, August 16, 2011 @ 11:40:36 Author: ibiru Revision: 135606 db-move: moved firefox from [testing] to [extra] (x86_64) Added: firefox/repos/extra-x86_64/PKGBUILD (from rev 135604, firefox/repos/testing-x86_64/PKGBUILD) firefox/repos/extra-x86_64/firefox.desktop (from rev 135604, firefox/repos/testing-x86_64/firefox.desktop) firefox/repos/extra-x86_64/firefox.install (from rev 135604, firefox/repos/testing-x86_64/firefox.install) firefox/repos/extra-x86_64/mozconfig (from rev 135604, firefox/repos/testing-x86_64/mozconfig) firefox/repos/extra-x86_64/mozilla-firefox-1.0-lang.patch (from rev 135604, firefox/repos/testing-x86_64/mozilla-firefox-1.0-lang.patch) Deleted: firefox/repos/extra-x86_64/PKGBUILD firefox/repos/extra-x86_64/firefox.desktop firefox/repos/extra-x86_64/firefox.install firefox/repos/extra-x86_64/mozconfig firefox/repos/extra-x86_64/mozilla-firefox-1.0-lang.patch firefox/repos/testing-x86_64/ + PKGBUILD | 146 +-- firefox.desktop| 162 +++ firefox.install| 26 +++--- mozconfig | 128 +++--- mozilla-firefox-1.0-lang.patch | 24 ++--- 5 files changed, 241 insertions(+), 245 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2011-08-16 15:40:35 UTC (rev 135605) +++ extra-x86_64/PKGBUILD 2011-08-16 15:40:36 UTC (rev 135606) @@ -1,75 +0,0 @@ -# $Id$ -# Contributor: Jakub Schmidtke sja...@gmail.com - -pkgname=firefox -pkgver=5.0 -pkgrel=1 -pkgdesc=Standalone web browser from mozilla.org -arch=('i686' 'x86_64') -license=('MPL' 'GPL' 'LGPL') -depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss=3.12.10' 'libxt' - 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' - 'alsa-lib' 'libevent' 'sqlite3=3.7.4' 'libnotify' 'desktop-file-utils' - 'libvpx' 'lcms' 'nspr=4.8.8' 'libevent' 'libpng' 'cairo') -makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' - 'yasm' 'mesa' 'autoconf2.13' 'gconf' 'xorg-server-xvfb') -url=http://www.mozilla.org/projects/firefox; -install=firefox.install -source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2 -mozconfig firefox.desktop mozilla-firefox-1.0-lang.patch) -md5sums=('9f64a01e86a5d424e12a8e3305c5debe' - '5eb9abbd2591ee337981024008d93988' - 'bdeb0380c7fae30dd0ead6d2d3bc5873' - 'bd5db57c23c72a02a489592644f18995') - -build() { - cd $srcdir/mozilla-release - - cp $srcdir/mozconfig .mozconfig - patch -Np1 -i $srcdir/mozilla-firefox-1.0-lang.patch - - # Kill @PRE_RELEASE_SUFFIX@ from browser.xul because it - # gets set to \177 for an unknown reason - sed -i 's/@PRE_RELEASE_SUFFIX@//g' \ -browser/base/content/browser.xul - - ## Don't generate startup cache. Unbreaks make install - sed -i 's/^GENERATE_CACHE .*/GENERATE_CACHE = true/' \ -toolkit/mozapps/installer/packager.mk - - export LDFLAGS=-Wl,-rpath,/usr/lib/firefox-$pkgver -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed - export PYTHON=/usr/bin/python2 - - # PGO - sed -i '/^NO_PROFILE_GUIDED_OPTIMIZE = 1$/d' \ -memory/jemalloc/Makefile.in - echo 'LDFLAGS += -lX11 -lXrender' \ - layout/build/Makefile.in - - make -j1 -f client.mk build MOZ_MAKE_FLAGS=$MAKEFLAGS - LD_PRELOAD= /usr/bin/Xvfb -nolisten tcp -extension GLX :99 - LD_PRELOAD= DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS=$MAKEFLAGS - kill $! || true -} - -package() { - cd $srcdir/mozilla-release - make -j1 -f client.mk DESTDIR=$pkgdir install - - for i in 16x16 22x22 24x24 32x32 48x48 256x256; do - install -Dm644 other-licenses/branding/firefox/default${i/x*/}.png \ -$pkgdir/usr/share/icons/hicolor/$i/apps/firefox.png - done - - install -Dm644 $srcdir/firefox.desktop \ -$pkgdir/usr/share/applications/firefox.desktop - - # Remove included dictionaries, add symlink to system myspell path - # Note: this will cause file conflicts when users have installed dictionaries in the old location - rm -rf ${pkgdir}/usr/lib/firefox-$pkgver/dictionaries - ln -sf /usr/share/myspell/dicts \ -${pkgdir}/usr/lib/firefox-$pkgver/dictionaries - - # We don't want the development stuff - rm -r $pkgdir/usr/{include,lib/firefox-devel-$pkgver,share/idl} -} Copied: firefox/repos/extra-x86_64/PKGBUILD (from rev 135604, firefox/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2011-08-16 15:40:36 UTC (rev 135606) @@ -0,0 +1,71 @@ +# $Id$ +# Contributor: Jakub Schmidtke sja...@gmail.com + +pkgname=firefox +pkgver=6.0