pkgsrc-Bugs archive

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

pkg/55215: firefox-l10n-74.0 and later langpacks are no longer loaded



>Number:         55215
>Category:       pkg
>Synopsis:       firefox-l10n-74.0 and later langpacks are no longer loaded
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 27 21:10:00 +0000 2020
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.0 + pkgsrc-2020Q1 (and firefox-75.0 from HEAD)
>Organization:
>Environment:
System: NetBSD mirage 9.0 NetBSD 9.0 (GENERIC)
Architecture: i386
Machine: i386
>Description:
After firefox is updated to 74.0, language packs provided by
firefox-l10n package are no longer loaded by default and default
en-US is always used even LANG is set as ja_JP.UTF-8 etc.
[Tools] -> [Add-ons] menu does not show "language packs" either.

>How-To-Repeat:
See above.

>Fix:
Maybe this upstream's "extension sideloading" change on
firefox 74 affects this:
 https://blog.mozilla.org/addons/2019/10/31/firefox-to-discontinue-sideloaded-extensions/

It looks working to move all langpack xpi files
from current ${PREFIX}/lib/firefox/browser/extensions
to ${PREFIX}/lib/firefox/distributions/extensions
as upstream scripts do:
 https://searchfox.org/mozilla-central/source/taskcluster/docker/firefox-flatpak/runme.sh#120
 https://searchfox.org/mozilla-central/source/taskcluster/docker/firefox-snap/runme.sh#56 

---

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox-l10n/Makefile,v
retrieving revision 1.173
diff -u -p -d -r1.173 Makefile
--- Makefile	9 Apr 2020 14:02:15 -0000	1.173
+++ Makefile	27 Apr 2020 20:55:55 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.173 2020/04/09 14:02:15 ryoon Exp $
 
 FIREFOX_VER=	75.0
+PKGREVISION=	1
 PKGNAME=	firefox-l10n-${FIREFOX_VER:S/esr//}
 DISTNAME=	# empty
 CATEGORIES=	www
@@ -19,7 +20,7 @@ DISTFILES=	${FIREFOX_LOCALES:=.xpi}
 
 NO_BUILD=	yes
 
-INSTALLATION_DIRS=	lib/firefox/browser/extensions
+INSTALLATION_DIRS=	lib/firefox/distribution/extensions
 
 FIREFOX_LOCALES= \
 	ach af an ar ast az be bg bn br bs ca cak cs cy da de dsb	\


---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index