diff options
author | Steve Arnold <stephen.arnold42@gmail.com> | 2015-05-27 10:00:31 -0700 |
---|---|---|
committer | Steve Arnold <stephen.arnold42@gmail.com> | 2015-05-27 10:00:31 -0700 |
commit | cd0113145718248e30f30a7fe947055e351a38d2 (patch) | |
tree | 6b20b3a11bd3b9c174fe25d37b819aa7a02cf404 /www-client | |
parent | added optional layman config file for primary arm support repo (diff) | |
download | arm-cd0113145718248e30f30a7fe947055e351a38d2.tar.gz arm-cd0113145718248e30f30a7fe947055e351a38d2.tar.bz2 arm-cd0113145718248e30f30a7fe947055e351a38d2.zip |
firefox fixups
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/files/gentoo-default-prefs.js-1 | 17 | ||||
-rw-r--r-- | www-client/firefox/files/icon/firefox.desktop | 9 | ||||
-rw-r--r-- | www-client/firefox/firefox-37.0.2.ebuild | 10 |
3 files changed, 32 insertions, 4 deletions
diff --git a/www-client/firefox/files/gentoo-default-prefs.js-1 b/www-client/firefox/files/gentoo-default-prefs.js-1 new file mode 100644 index 0000000..22a51ff --- /dev/null +++ b/www-client/firefox/files/gentoo-default-prefs.js-1 @@ -0,0 +1,17 @@ +pref("app.update.enabled", false); +pref("app.update.autoInstallEnabled", false); +pref("browser.display.use_system_colors", true); +pref("browser.link.open_external", 3); +pref("general.smoothScroll", true); +pref("general.autoScroll", false); +pref("browser.tabs.tabMinWidth", 15); +pref("browser.backspace_action", 0); +pref("browser.urlbar.hideGoButton", true); +pref("accessibility.typeaheadfind", true); +pref("browser.shell.checkDefaultBrowser", false); +pref("browser.EULA.override", true); +pref("general.useragent.vendor", "Gentoo"); +pref("intl.locale.matchOS", true); +pref("general.useragent.locale", "chrome://global/locale/intl.properties"); +pref("extensions.autoDisableScopes", 0); +pref("layout.css.dpi", 0); diff --git a/www-client/firefox/files/icon/firefox.desktop b/www-client/firefox/files/icon/firefox.desktop new file mode 100644 index 0000000..d772c2f --- /dev/null +++ b/www-client/firefox/files/icon/firefox.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=@NAME@ +Comment=Web Browser +Exec=firefox %u +Icon=@ICON@ +Terminal=false +Type=Application +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; +Categories=Network;WebBrowser; diff --git a/www-client/firefox/firefox-37.0.2.ebuild b/www-client/firefox/firefox-37.0.2.ebuild index 8242da1..f218266 100644 --- a/www-client/firefox/firefox-37.0.2.ebuild +++ b/www-client/firefox/firefox-37.0.2.ebuild @@ -220,11 +220,13 @@ src_configure() { mozconfig_annotate '' --with-thumb-interwork=no fi - mozconfig_annotate '' --with-float-abi=hard + if [[ ${CHOST} == armv* ]] ; then + mozconfig_annotate '' --with-float-abi=hard - if ! use system-libvpx ; then - sed -i -e "s|softfp|hard|" \ - "${S}"/media/libvpx/moz.build + if ! use system-libvpx ; then + sed -i -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build + fi fi use gtk3 && mozconfig_annotate 'Enable Cairo Gtk+3 support' --enable-default-toolkit=cairo-gtk3 |