[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mozilla-importer and mozilla-build-system
From: |
swedebugia |
Subject: |
Mozilla-importer and mozilla-build-system |
Date: |
Wed, 16 Jan 2019 04:30:27 -0800 |
Hi
We currently have neither langpacks, dictionaries nor add-ons for Icecat
packaged.
This forces the users to install them iperatively through Icecat which
for the case of dictionaries entails getting an error when following the
"add dictionaries" menu-link in Icecat to an old mozilla-page.
Installing via the new mozilla dictionary UI page here does work though
(swedish):
https://addons.mozilla.org/en-US/firefox/addon/g%C3%B6rans-hemmasnickrade-ordli/
Clicking install downloads and loads this file:
https://addons.mozilla.org/firefox/downloads/file/1163981/swedish_dictionary-1.18.1webext.xpi
The langpacks are provided by upstream here:
ftp://ftp.gnu.org/gnu/gnuzilla/60.3.0/langpacks/
Add-ons installation support is buggy as has been reported here:
https://lists.gnu.org/archive/html/bug-gnuzilla/2018-12/msg00004.html
We can do better than this!
I beleive all these problems could be solved easily if we would package
these in guix and make sure our Icecat looks for them in the right
place.
Perhaps a new mozilla-importer and mozilla-build-system is a worthwhile
project? It should unpack and install the .xpi-files. There is an API
available for the add-ons repository:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/AMO/Add-ons_manager_API
An example output is this:
https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/1865
If we package the langpacks and dictionaries from the upstream links I
hope we can update them with "guix refresh".
--
Cheers
Swedebugia
- Mozilla-importer and mozilla-build-system,
swedebugia <=