pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Autodetect www/firefox UI language, bump PKGREVISI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da52a2e84b63
branches:  trunk
changeset: 378727:da52a2e84b63
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Apr 14 07:05:14 2018 +0000

description:
Autodetect www/firefox UI language, bump PKGREVISION of www/firefox

diffstat:

 www/firefox-l10n/MESSAGE                                 |   8 ++++++--
 www/firefox/Makefile                                     |   4 ++--
 www/firefox/distinfo                                     |   3 ++-
 www/firefox/patches/patch-browser_app_profile_firefox.js |  13 +++++++++++++
 4 files changed, 23 insertions(+), 5 deletions(-)

diffs (66 lines):

diff -r 25fae8b6eaaa -r da52a2e84b63 www/firefox-l10n/MESSAGE
--- a/www/firefox-l10n/MESSAGE  Sat Apr 14 07:05:08 2018 +0000
+++ b/www/firefox-l10n/MESSAGE  Sat Apr 14 07:05:14 2018 +0000
@@ -1,7 +1,11 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.4 2018/04/13 13:13:01 ryoon Exp $
+$NetBSD: MESSAGE,v 1.5 2018/04/14 07:05:14 ryoon Exp $
 
-To change the language in Firefox
+To change the language in Firefox automatically
+1) Enable language packs in Tools->Add-ons->Languages
+2) Your Firefox UI reflects your LANG/LC_MESAGE environmental variables.
+
+To specify the language
 1) Enable language packs in Tools->Add-ons->Languages
 2) Navigate to about:config
 3) Add and/or edit intl.locale.requested string property.
diff -r 25fae8b6eaaa -r da52a2e84b63 www/firefox/Makefile
--- a/www/firefox/Makefile      Sat Apr 14 07:05:08 2018 +0000
+++ b/www/firefox/Makefile      Sat Apr 14 07:05:14 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.326 2018/04/03 03:10:51 ryoon Exp $
+# $NetBSD: Makefile,v 1.327 2018/04/14 07:05:14 ryoon Exp $
 
 FIREFOX_HGREV=         239e434d6d2b8e1e2b697c3416d1e96d48fe98e5
 FIREFOX_VER=           59.0.2
 
 DISTNAME=      firefox-${FIREFOX_VER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES+= -https://hg.mozilla.org/releases/mozilla-release/archive/${FIREFOX_HGREV}${EXTRACT_SUFX}
 EXTRACT_SUFX=  .tar.bz2
diff -r 25fae8b6eaaa -r da52a2e84b63 www/firefox/distinfo
--- a/www/firefox/distinfo      Sat Apr 14 07:05:08 2018 +0000
+++ b/www/firefox/distinfo      Sat Apr 14 07:05:14 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.311 2018/04/03 03:10:51 ryoon Exp $
+$NetBSD: distinfo,v 1.312 2018/04/14 07:05:14 ryoon Exp $
 
 SHA1 (firefox-59.0.2.tar.bz2) = 8fcf726b4d23716c7ff2b7ebc6527782b5bafe9c
 RMD160 (firefox-59.0.2.tar.bz2) = ff7ab2f9da93eda98de8aecb4563cfd176b896d9
 SHA512 (firefox-59.0.2.tar.bz2) = db8f55954df3af554e7a614eaece4aed995794dac6e2d828b2f9c175d8a6b89e109c26ced41a43df9ad24e01d079cadf13d16c6a9bdd1887bc9898d34408e8e6
 Size (firefox-59.0.2.tar.bz2) = 304965099 bytes
 SHA1 (patch-aa) = aca3d55271df926da793d7a0543f522d42e67f9d
+SHA1 (patch-browser_app_profile_firefox.js) = 1f9b9959aeffb41465c437a0fd747f265cdea6b4
 SHA1 (patch-build_gyp.mozbuild) = 77e0954a796337b24572674cd1d14d4a5cab8e6e
 SHA1 (patch-build_moz.configure_init.configure) = 5ec8da6b5aad7682a88b010a99e19f5d4403e6db
 SHA1 (patch-build_moz.configure_keyfiles.configure) = 5aeb43299430a7289f114945095ff7bdb723f726
diff -r 25fae8b6eaaa -r da52a2e84b63 www/firefox/patches/patch-browser_app_profile_firefox.js
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-browser_app_profile_firefox.js  Sat Apr 14 07:05:14 2018 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-browser_app_profile_firefox.js,v 1.5 2018/04/14 07:05:14 ryoon Exp $
+
+* Automatically set your UI language from LANG/LC_MESSAGE
+
+--- browser/app/profile/firefox.js.orig        2018-03-22 20:46:41.000000000 +0000
++++ browser/app/profile/firefox.js
+@@ -1757,3 +1757,6 @@ pref("browser.onboarding.updatetour", "p
+ 
+ // Preference that allows individual users to disable Screenshots.
+ pref("extensions.screenshots.disabled", false);
++
++// Select UI locale from LANG/LC_MESSAGE environmental variables
++pref("intl.locale.requested", "");



Home | Main Index | Thread Index | Old Index