* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2016-07-05 15:27 Jeroen Roovers
0 siblings, 0 replies; 19+ messages in thread
From: Jeroen Roovers @ 2016-07-05 15:27 UTC (permalink / raw
To: gentoo-commits
commit: 8ee53aa4d280f2de366628ef9600e9455345d7fb
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 5 15:26:33 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jul 5 15:27:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee53aa4
www-client/firefox: Drop unused patch.
Package-Manager: portage-2.3.0
www-client/firefox/files/jit-none-branch64.patch | 29 ------------------------
1 file changed, 29 deletions(-)
diff --git a/www-client/firefox/files/jit-none-branch64.patch b/www-client/firefox/files/jit-none-branch64.patch
deleted file mode 100644
index 590f745..0000000
--- a/www-client/firefox/files/jit-none-branch64.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-# HG changeset patch
-# User Nicolas B. Pierron <nicolas.b.pierron@mozilla.com>
-
-Bug 1266366 - Add branch64 functions to the none-backend MacroAssembler. r=
-
-diff --git a/js/src/jit/none/MacroAssembler-none.h b/js/src/jit/none/MacroAssembler-none.h
-index 512ae81..4441d8d 100644
---- a/js/src/jit/none/MacroAssembler-none.h
-+++ b/js/src/jit/none/MacroAssembler-none.h
-@@ -254,16 +254,18 @@ class MacroAssemblerNone : public Assembler
- template <typename T, typename S> void branchSub32(Condition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchPtr(Condition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchTestPtr(Condition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchDouble(DoubleCondition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchFloat(DoubleCondition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchPrivatePtr(Condition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void decBranchPtr(Condition, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void branchTest64(Condition, T, T, S, Label*) { MOZ_CRASH(); }
-+ template <typename T, typename S> void branch64(Condition, T, S, Label*) { MOZ_CRASH(); }
-+ template <typename T, typename S> void branch64(Condition, T, T, S, Label*) { MOZ_CRASH(); }
- template <typename T, typename S> void mov(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void movq(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void movePtr(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void move32(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void moveFloat32(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void moveDouble(T, S) { MOZ_CRASH(); }
- template <typename T, typename S> void move64(T, S) { MOZ_CRASH(); }
- template <typename T> CodeOffset movWithPatch(T, Register) { MOZ_CRASH(); }
-
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2017-02-21 0:08 Jory Pratt
0 siblings, 0 replies; 19+ messages in thread
From: Jory Pratt @ 2017-02-21 0:08 UTC (permalink / raw
To: gentoo-commits
commit: c2f73ad62e69c52a74c1125cbad4c088e5841740
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Feb 15 16:49:12 2017 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 00:02:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f73ad6
www-client/firefox: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3978
www-client/firefox/files/firefox-48.0-pgo.patch | 12 ------------
.../firefox/files/mozilla_configure_regexp.patch | 22 ----------------------
2 files changed, 34 deletions(-)
diff --git a/www-client/firefox/files/firefox-48.0-pgo.patch b/www-client/firefox/files/firefox-48.0-pgo.patch
deleted file mode 100644
index 645c0085e2..0000000000
--- a/www-client/firefox/files/firefox-48.0-pgo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- firefox-47.0.1/Makefile.in.orig 2016-06-01 07:11:37.000000000 +0300
-+++ firefox-47.0.1/Makefile.in 2016-08-06 16:45:14.442699244 +0300
-@@ -55,6 +55,9 @@
- endif
- endif
-
-+pgo-profile-run:
-+ $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
-+
- ifdef JS_STANDALONE
- .PHONY: CLOBBER
- CLOBBER:
diff --git a/www-client/firefox/files/mozilla_configure_regexp.patch b/www-client/firefox/files/mozilla_configure_regexp.patch
deleted file mode 100644
index f35e445fd2..0000000000
--- a/www-client/firefox/files/mozilla_configure_regexp.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Jory A. Pratt <anarchy@gentoo.org>
-
-Note: the first occurrence of :space: is [:space:] (with a single pair
-of []), where it should be [[:space:]] (with two pairs of []).
-
-This causes the sed command to fail (with the error message quoted in
-my original report), driving to failure the whole configure step.
-
-https://bugzilla.mozilla.org/show_bug.cgi?id=1329252
-
-diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
---- a/build/autoconf/icu.m4
-+++ b/build/autoconf/icu.m4
-@@ -70,7 +70,7 @@
- fi
- fi
-
-- version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
-+ version=`sed -n 's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
- if test x"$version" = x; then
- AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno])
- fi
\ No newline at end of file
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2018-01-30 3:57 Ian Stakenvicius
0 siblings, 0 replies; 19+ messages in thread
From: Ian Stakenvicius @ 2018-01-30 3:57 UTC (permalink / raw
To: gentoo-commits
commit: 2aa1b5e71f5433e18b1b0066337f6898813e1ed6
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 03:57:02 2018 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 03:57:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa1b5e7
www-client/firefox: drop unused patch from FILESDIR
Package-Manager: Portage-2.3.13, Repoman-2.3.3
.../files/firefox-57.0-pkcs11-backport.patch | 529 ---------------------
1 file changed, 529 deletions(-)
diff --git a/www-client/firefox/files/firefox-57.0-pkcs11-backport.patch b/www-client/firefox/files/firefox-57.0-pkcs11-backport.patch
deleted file mode 100644
index c07d185f915..00000000000
--- a/www-client/firefox/files/firefox-57.0-pkcs11-backport.patch
+++ /dev/null
@@ -1,529 +0,0 @@
-
-# HG changeset patch
-# User Wouter Verhelst <wouter.verhelst@fedict.be>
-# Date 1503417578 -7200
-# Node ID 22374473d24f4b4877e50f0b49da3174a70f79ab
-# Parent fcb1865dca35554b6d8e9afe017bc7b74c413c72
-Bug 1357391 - Implement a PKCS#11 management API r=kmag,zombie
-
-This WebExtensions API allows to install, remove, and query installed
-PKCS#11 modules as well as to query the the status of available PKCS#11
-"slots" for a given module.
-
-Reuses the native application manifests from the "Native Messaging" API,
-but using the "pkcs11" type rather than the "stdio" type.
-
-All calls expect an application name, which is not the PKCS#11 friendly
-name (the "description" field in the manifest file is used for that) but
-instead the application name in the manifest file.
-
-MozReview-Commit-ID: 8dHr5QfEaXv
-
-diff --git a/browser/components/extensions/ext-browser.json b/browser/components/extensions/ext-browser.json
---- a/browser/components/extensions/ext-browser.json
-+++ b/browser/components/extensions/ext-browser.json
-@@ -117,16 +117,24 @@
- "url": "chrome://browser/content/ext-pageAction.js",
- "schema": "chrome://browser/content/schemas/page_action.json",
- "scopes": ["addon_parent"],
- "manifest": ["page_action"],
- "paths": [
- ["pageAction"]
- ]
- },
-+ "pkcs11": {
-+ "url": "chrome://browser/content/ext-pkcs11.js",
-+ "schema": "chrome://browser/content/schemas/pkcs11.json",
-+ "scopes": ["addon_parent"],
-+ "paths": [
-+ ["pkcs11"]
-+ ]
-+ },
- "geckoProfiler": {
- "url": "chrome://browser/content/ext-geckoProfiler.js",
- "schema": "chrome://browser/content/schemas/geckoProfiler.json",
- "scopes": ["addon_parent"],
- "paths": [
- ["geckoProfiler"]
- ]
- },
-diff --git a/browser/components/extensions/ext-pkcs11.js b/browser/components/extensions/ext-pkcs11.js
-new file mode 100644
---- /dev/null
-+++ b/browser/components/extensions/ext-pkcs11.js
-@@ -0,0 +1,145 @@
-+"use strict";
-+
-+XPCOMUtils.defineLazyModuleGetters(this, {
-+ ctypes: "resource://gre/modules/ctypes.jsm",
-+ NativeManifests: "resource://gre/modules/NativeManifests.jsm",
-+ OS: "resource://gre/modules/osfile.jsm",
-+});
-+
-+XPCOMUtils.defineLazyServiceGetter(this,
-+ "pkcs11db",
-+ "@mozilla.org/security/pkcs11moduledb;1",
-+ "nsIPKCS11ModuleDB");
-+
-+var {DefaultMap} = ExtensionUtils;
-+
-+const findModuleByPath = function(path) {
-+ let modules = pkcs11db.listModules();
-+ for (let module of XPCOMUtils.IterSimpleEnumerator(modules, Ci.nsIPKCS11Module)) {
-+ if (module && module.libName === path) {
-+ return module;
-+ }
-+ }
-+ return null;
-+};
-+
-+this.pkcs11 = class extends ExtensionAPI {
-+ getAPI(context) {
-+ let manifestCache = new DefaultMap(async name => {
-+ let hostInfo = await NativeManifests.lookupManifest("pkcs11", name, context);
-+ if (hostInfo) {
-+ if (AppConstants.platform === "win") {
-+ hostInfo.manifest.path = OS.Path.join(OS.Path.dirname(hostInfo.path), hostInfo.manifest.path);
-+ }
-+ let manifestLib = OS.Path.basename(hostInfo.manifest.path);
-+ if (AppConstants.platform !== "linux") {
-+ manifestLib = manifestLib.toLowerCase(manifestLib);
-+ }
-+ if (manifestLib !== ctypes.libraryName("nssckbi")) {
-+ return hostInfo.manifest;
-+ }
-+ }
-+ return Promise.reject({message: `No such PKCS#11 module ${name}`});
-+ });
-+ return {
-+ pkcs11: {
-+ /**
-+ * Verify whether a given PKCS#11 module is installed.
-+ *
-+ * @param {string} name The name of the module, as specified in
-+ * the manifest file.
-+ * @returns {Promise} A Promise that resolves to true if the package
-+ * is installed, or false if it is not. May be
-+ * rejected if the module could not be found.
-+ */
-+ async isModuleInstalled(name) {
-+ let manifest = await manifestCache.get(name);
-+ return findModuleByPath(manifest.path) !== null;
-+ },
-+ /**
-+ * Install a PKCS#11 module
-+ *
-+ * @param {string} name The name of the module, as specified in
-+ * the manifest file.
-+ * @param {integer} [flags = 0] Any flags to be passed on to the
-+ * nsIPKCS11ModuleDB.addModule method
-+ * @returns {Promise} When the Promise resolves, the module will have
-+ * been installed. When it is rejected, the module
-+ * either is already installed or could not be
-+ * installed for some reason.
-+ */
-+ async installModule(name, flags = 0) {
-+ let manifest = await manifestCache.get(name);
-+ if (!manifest.description) {
-+ return Promise.reject({message: `The description field in the manifest for PKCS#11 module ${name} must have a value`});
-+ }
-+ pkcs11db.addModule(manifest.description, manifest.path, flags, 0);
-+ },
-+ /**
-+ * Uninstall a PKCS#11 module
-+ *
-+ * @param {string} name The name of the module, as specified in
-+ * the manifest file.
-+ * @returns {Promise}. When the Promise resolves, the module will have
-+ * been uninstalled. When it is rejected, the
-+ * module either was not installed or could not be
-+ * uninstalled for some reason.
-+ */
-+ async uninstallModule(name) {
-+ let manifest = await manifestCache.get(name);
-+ let module = findModuleByPath(manifest.path);
-+ if (!module) {
-+ return Promise.reject({message: `The PKCS#11 module ${name} is not loaded`});
-+ }
-+ pkcs11db.deleteModule(module.name);
-+ },
-+ /**
-+ * Get a list of slots for a given PKCS#11 module, with
-+ * information on the token (if any) in the slot.
-+ *
-+ * The PKCS#11 standard defines slots as an abstract concept
-+ * that may or may not have at most one token. In practice, when
-+ * using PKCS#11 for smartcards (the most likely use case of
-+ * PKCS#11 for Firefox), a slot corresponds to a cardreader, and
-+ * a token corresponds to a card.
-+ *
-+ * @param {string} name The name of the PKCS#11 module, as
-+ * specified in the manifest file.
-+ * @returns {Promise} A promise that resolves to an array of objects
-+ * with two properties. The `name` object contains
-+ * the name of the slot; the `token` object is null
-+ * if there is no token in the slot, or is an object
-+ * describing various properties of the token if
-+ * there is.
-+ */
-+ async getModuleSlots(name) {
-+ let manifest = await manifestCache.get(name);
-+ let module = findModuleByPath(manifest.path);
-+ if (!module) {
-+ return Promise.reject({message: `The module ${name} is not installed`});
-+ }
-+ let rv = [];
-+ for (let slot of XPCOMUtils.IterSimpleEnumerator(module.listSlots(), Ci.nsIPKCS11Slot)) {
-+ let token = slot.getToken();
-+ let slotobj = {
-+ name: slot.name,
-+ token: null,
-+ };
-+ if (slot.status != 1 /* SLOT_NOT_PRESENT */) {
-+ slotobj.token = {
-+ name: token.tokenName,
-+ manufacturer: token.tokenManID,
-+ HWVersion: token.tokenHWVersion,
-+ FWVersion: token.tokenFWVersion,
-+ serial: token.tokenSerialNumber,
-+ isLoggedIn: token.isLoggedIn(),
-+ };
-+ }
-+ rv.push(slotobj);
-+ }
-+ return rv;
-+ },
-+ },
-+ };
-+ }
-+};
-diff --git a/browser/components/extensions/jar.mn b/browser/components/extensions/jar.mn
---- a/browser/components/extensions/jar.mn
-+++ b/browser/components/extensions/jar.mn
-@@ -24,16 +24,17 @@ browser.jar:
- content/browser/ext-devtools-network.js
- content/browser/ext-devtools-panels.js
- content/browser/ext-find.js
- content/browser/ext-geckoProfiler.js
- content/browser/ext-history.js
- content/browser/ext-menus.js
- content/browser/ext-omnibox.js
- content/browser/ext-pageAction.js
-+ content/browser/ext-pkcs11.js
- content/browser/ext-sessions.js
- content/browser/ext-sidebarAction.js
- content/browser/ext-tabs.js
- content/browser/ext-url-overrides.js
- content/browser/ext-windows.js
- content/browser/ext-c-browser.js
- content/browser/ext-c-devtools-inspectedWindow.js
- content/browser/ext-c-devtools-panels.js
-diff --git a/browser/components/extensions/schemas/jar.mn b/browser/components/extensions/schemas/jar.mn
---- a/browser/components/extensions/schemas/jar.mn
-+++ b/browser/components/extensions/schemas/jar.mn
-@@ -14,13 +14,14 @@ browser.jar:
- content/browser/schemas/devtools_panels.json
- content/browser/schemas/find.json
- content/browser/schemas/geckoProfiler.json
- content/browser/schemas/history.json
- content/browser/schemas/menus.json
- content/browser/schemas/menus_internal.json
- content/browser/schemas/omnibox.json
- content/browser/schemas/page_action.json
-+ content/browser/schemas/pkcs11.json
- content/browser/schemas/sessions.json
- content/browser/schemas/sidebar_action.json
- content/browser/schemas/tabs.json
- content/browser/schemas/url_overrides.json
- content/browser/schemas/windows.json
-diff --git a/browser/components/extensions/schemas/pkcs11.json b/browser/components/extensions/schemas/pkcs11.json
-new file mode 100644
---- /dev/null
-+++ b/browser/components/extensions/schemas/pkcs11.json
-@@ -0,0 +1,76 @@
-+[
-+ {
-+ "namespace": "manifest",
-+ "types": [
-+ {
-+ "$extend": "Permission",
-+ "choices": [{
-+ "type": "string",
-+ "enum": [
-+ "pkcs11"
-+ ]
-+ }]
-+ }
-+ ]
-+ },
-+ {
-+ "namespace": "pkcs11",
-+ "description": "PKCS#11 module management API",
-+ "permissions": ["pkcs11"],
-+ "functions": [
-+ {
-+ "name": "isModuleInstalled",
-+ "type": "function",
-+ "description": "checks whether a PKCS#11 module, given by name, is installed",
-+ "async": true,
-+ "parameters": [
-+ {
-+ "name": "name",
-+ "type": "string"
-+ }
-+ ]
-+ },
-+ {
-+ "name": "installModule",
-+ "type": "function",
-+ "description": "Install a PKCS#11 module with a given name",
-+ "async": true,
-+ "parameters": [
-+ {
-+ "name": "name",
-+ "type": "string"
-+ },
-+ {
-+ "name": "flags",
-+ "type": "integer",
-+ "optional": true
-+ }
-+ ]
-+ },
-+ {
-+ "name": "uninstallModule",
-+ "type": "function",
-+ "description": "Remove an installed PKCS#11 module from firefox",
-+ "async": true,
-+ "parameters": [
-+ {
-+ "name": "name",
-+ "type": "string"
-+ }
-+ ]
-+ },
-+ {
-+ "name": "getModuleSlots",
-+ "type": "function",
-+ "description": "Enumerate a module's slots, each with their name and whether a token is present",
-+ "async": true,
-+ "parameters": [
-+ {
-+ "name": "name",
-+ "type": "string"
-+ }
-+ ]
-+ }
-+ ]
-+ }
-+]
-diff --git a/browser/components/extensions/test/xpcshell/test_ext_pkcs11_management.js b/browser/components/extensions/test/xpcshell/test_ext_pkcs11_management.js
-new file mode 100644
---- /dev/null
-+++ b/browser/components/extensions/test/xpcshell/test_ext_pkcs11_management.js
-@@ -0,0 +1,168 @@
-+"use strict";
-+
-+XPCOMUtils.defineLazyModuleGetters(this, {
-+ ctypes: "resource://gre/modules/ctypes.jsm",
-+ MockRegistry: "resource://testing-common/MockRegistry.jsm",
-+ OS: "resource://gre/modules/osfile.jsm",
-+});
-+
-+do_get_profile();
-+let tmpDir = FileUtils.getDir("TmpD", ["PKCS11"]);
-+let slug = AppConstants.platform === "linux" ? "pkcs11-modules" : "PKCS11Modules";
-+tmpDir.createUnique(Ci.nsIFile.DIRECTORY_TYPE, FileUtils.PERMS_DIRECTORY);
-+let baseDir = OS.Path.join(tmpDir.path, slug);
-+OS.File.makeDir(baseDir);
-+
-+do_register_cleanup(() => {
-+ tmpDir.remove(true);
-+});
-+
-+function getPath(filename) {
-+ return OS.Path.join(baseDir, filename);
-+}
-+
-+const testmodule = "../../../../../security/manager/ssl/tests/unit/pkcs11testmodule/" + ctypes.libraryName("pkcs11testmodule");
-+
-+// This function was inspired by the native messaging test under
-+// toolkit/components/extensions
-+
-+async function setupManifests(modules) {
-+ async function writeManifest(module) {
-+ let manifest = {
-+ name: module.name,
-+ description: module.description,
-+ path: module.path,
-+ type: "pkcs11",
-+ allowed_extensions: [module.id],
-+ };
-+
-+ let manifestPath = getPath(`${module.name}.json`);
-+ await OS.File.writeAtomic(manifestPath, JSON.stringify(manifest));
-+
-+ return manifestPath;
-+ }
-+
-+ switch (AppConstants.platform) {
-+ case "macosx":
-+ case "linux":
-+ let dirProvider = {
-+ getFile(property) {
-+ if (property == "XREUserNativeManifests") {
-+ return tmpDir.clone();
-+ } else if (property == "XRESysNativeManifests") {
-+ return tmpDir.clone();
-+ }
-+ return null;
-+ },
-+ };
-+
-+ Services.dirsvc.registerProvider(dirProvider);
-+ do_register_cleanup(() => {
-+ Services.dirsvc.unregisterProvider(dirProvider);
-+ });
-+
-+ for (let module of modules) {
-+ await writeManifest(module);
-+ }
-+ break;
-+
-+ case "win":
-+ const REGKEY = String.raw`Software\Mozilla\PKCS11Modules`;
-+
-+ let registry = new MockRegistry();
-+ do_register_cleanup(() => {
-+ registry.shutdown();
-+ });
-+
-+ for (let module of modules) {
-+ if (!OS.Path.winIsAbsolute(module.path)) {
-+ let cwd = await OS.File.getCurrentDirectory();
-+ module.path = OS.Path.join(cwd, module.path);
-+ }
-+ let manifestPath = await writeManifest(module);
-+ registry.setValue(Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER,
-+ `${REGKEY}\\${module.name}`, "", manifestPath);
-+ }
-+ break;
-+
-+ default:
-+ ok(false, `Loading of PKCS#11 modules is not supported on ${AppConstants.platform}`);
-+ }
-+}
-+
-+add_task(async function test_pkcs11() {
-+ async function background() {
-+ try {
-+ let isInstalled = await browser.pkcs11.isModuleInstalled("testmodule");
-+ browser.test.assertFalse(isInstalled, "PKCS#11 module is not installed before we install it");
-+ await browser.pkcs11.installModule("testmodule", 0);
-+ isInstalled = browser.pkcs11.isModuleInstalled("testmodule");
-+ browser.test.assertTrue(isInstalled, "PKCS#11 module is installed after we install it");
-+ let slots = await browser.pkcs11.getModuleSlots("testmodule");
-+ browser.test.assertEq("Test PKCS11 Slot", slots[0].name, "The first slot name matches the expected name");
-+ browser.test.assertEq("Test PKCS11 Slot 二", slots[1].name, "The second slot name matches the expected name");
-+ browser.test.assertTrue(slots[1].token, "The second slot has a token");
-+ browser.test.assertEq("Test PKCS11 Tokeñ 2 Label", slots[1].token.name, "The token name matches the expected name");
-+ browser.test.assertEq("Test PKCS11 Manufacturer ID", slots[1].token.manufacturer, "The token manufacturer matches the expected manufacturer");
-+ browser.test.assertEq("0.0", slots[1].token.HWVersion, "The token hardware version matches the expected version");
-+ browser.test.assertEq("0.0", slots[1].token.FWVersion, "The token firmware version matches the expected version");
-+ browser.test.assertEq("", slots[1].token.serial, "The token has no serial number");
-+ browser.test.assertFalse(slots[1].token.isLoggedIn, "The token is not logged in");
-+ await browser.pkcs11.uninstallModule("testmodule");
-+ isInstalled = await browser.pkcs11.isModuleInstalled("testmodule");
-+ browser.test.assertFalse(isInstalled, "PKCS#11 module is no longer installed after we uninstall it");
-+ await browser.pkcs11.installModule("testmodule");
-+ isInstalled = await browser.pkcs11.isModuleInstalled("testmodule");
-+ browser.test.assertTrue(isInstalled, "Installing the PKCS#11 module without flags parameter succeeds");
-+ await browser.pkcs11.uninstallModule("testmodule");
-+ await browser.test.assertRejects(
-+ browser.pkcs11.isModuleInstalled("nonexistingmodule"),
-+ /No such PKCS#11 module nonexistingmodule/,
-+ "We cannot access modules if no JSON file exists");
-+ await browser.test.assertRejects(
-+ browser.pkcs11.isModuleInstalled("othermodule"),
-+ /No such PKCS#11 module othermodule/,
-+ "We cannot access modules if we're not listed in the module's manifest file's allowed_extensions key");
-+ await browser.test.assertRejects(
-+ browser.pkcs11.uninstallModule("internalmodule"),
-+ /No such PKCS#11 module internalmodule/,
-+ "We cannot uninstall the NSS Builtin Roots Module");
-+ browser.test.notifyPass("pkcs11");
-+ } catch (e) {
-+ browser.test.fail(`Error: ${String(e)} :: ${e.stack}`);
-+ browser.test.notifyFail("pkcs11 failed");
-+ }
-+ }
-+
-+ await setupManifests([
-+ {
-+ name: "testmodule",
-+ description: "PKCS#11 Test Module",
-+ path: testmodule,
-+ id: "pkcs11@tests.mozilla.org",
-+ },
-+ {
-+ name: "othermodule",
-+ description: "PKCS#11 Test Module",
-+ path: testmodule,
-+ id: "other@tests.mozilla.org",
-+ },
-+ {
-+ name: "internalmodule",
-+ description: "Builtin Roots Module",
-+ path: ctypes.libraryName("nssckbi"),
-+ id: "pkcs11@tests.mozilla.org",
-+ },
-+ ]);
-+
-+ let extension = ExtensionTestUtils.loadExtension({
-+ manifest: {
-+ permissions: ["pkcs11"],
-+ applications: {"gecko": {id: "pkcs11@tests.mozilla.org"}},
-+ },
-+ background: background,
-+ });
-+ await extension.startup();
-+ await extension.awaitFinish("pkcs11");
-+ await extension.unload();
-+});
-diff --git a/browser/components/extensions/test/xpcshell/xpcshell.ini b/browser/components/extensions/test/xpcshell/xpcshell.ini
---- a/browser/components/extensions/test/xpcshell/xpcshell.ini
-+++ b/browser/components/extensions/test/xpcshell/xpcshell.ini
-@@ -15,10 +15,11 @@ dupe-manifest =
- # For tests which should run in all configurations.
- # - xpcshell-remote.ini
- # For tests which should only run with both remote extensions and remote content.
-
- [test_ext_manifest_commands.js]
- [test_ext_manifest_omnibox.js]
- [test_ext_manifest_permissions.js]
- [test_ext_geckoProfiler_schema.js]
-+[test_ext_pkcs11_management.js]
-
- [include:xpcshell-common.ini]
-diff --git a/browser/locales/en-US/chrome/browser/browser.properties b/browser/locales/en-US/chrome/browser/browser.properties
---- a/browser/locales/en-US/chrome/browser/browser.properties
-+++ b/browser/locales/en-US/chrome/browser/browser.properties
-@@ -106,16 +106,17 @@ webextPerms.description.downloads.open=O
- webextPerms.description.find=Read the text of all open tabs
- webextPerms.description.geolocation=Access your location
- webextPerms.description.history=Access browsing history
- webextPerms.description.management=Monitor extension usage and manage themes
- # LOCALIZATION NOTE (webextPerms.description.nativeMessaging)
- # %S will be replaced with the name of the application
- webextPerms.description.nativeMessaging=Exchange messages with programs other than %S
- webextPerms.description.notifications=Display notifications to you
-+webextPerms.description.pkcs11=Provide cryptographic authentication services
- webextPerms.description.privacy=Read and modify privacy settings
- webextPerms.description.proxy=Control browser proxy settings
- webextPerms.description.sessions=Access recently closed tabs
- webextPerms.description.tabs=Access browser tabs
- webextPerms.description.topSites=Access browsing history
- webextPerms.description.unlimitedStorage=Store unlimited amount of client-side data
- webextPerms.description.webNavigation=Access browser activity during navigation
-
-
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2018-09-09 2:43 Thomas Deutschmann
0 siblings, 0 replies; 19+ messages in thread
From: Thomas Deutschmann @ 2018-09-09 2:43 UTC (permalink / raw
To: gentoo-commits
commit: 61f2b686d018838df528cb143f6fe3458331de5d
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 9 02:25:40 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 9 02:43:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f2b686
www-client/firefox: update blessings patch to force TERM value
Closes: https://bugs.gentoo.org/654316
Package-Manager: Portage-2.3.49, Repoman-2.3.10
www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch | 2 +-
www-client/firefox/files/firefox-60.0-blessings-TERM.patch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch b/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch
index 568651e04fe..271a62a1a1f 100644
--- a/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch
+++ b/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch
@@ -22,7 +22,7 @@ index 98b75c3..3872b5f 100644
- setupterm(kind or environ.get('TERM', 'unknown'),
- self._init_descriptor)
+ try:
-+ setupterm(kind or environ.get('TERM', 'dumb'),
++ setupterm(kind or environ.get('TERM', 'dumb') or 'dumb',
+ self._init_descriptor)
+ except:
+ # There was an error setting up the terminal, either curses is
diff --git a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
index cac03d55643..3d024a47b99 100644
--- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
+++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
@@ -22,7 +22,7 @@ index 98b75c3..3872b5f 100644
- setupterm(kind or environ.get('TERM', 'unknown'),
- self._init_descriptor)
+ try:
-+ setupterm(kind or environ.get('TERM', 'dumb'),
++ setupterm(kind or environ.get('TERM', 'dumb') or 'dumb',
+ self._init_descriptor)
+ except:
+ # There was an error setting up the terminal, either curses is
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2018-09-24 0:55 Thomas Deutschmann
0 siblings, 0 replies; 19+ messages in thread
From: Thomas Deutschmann @ 2018-09-24 0:55 UTC (permalink / raw
To: gentoo-commits
commit: bd7f60f003cb9e5c3c8198df92a88ced4a43877c
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 24 00:24:51 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Sep 24 00:55:29 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7f60f0
www-client/firefox: fix improper usage of blessings.tigetstr
Closes: https://bugs.gentoo.org/666840
Package-Manager: Portage-2.3.49, Repoman-2.3.10
www-client/firefox/files/firefox-60.0-blessings-TERM.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
index 3d024a47b99..975e0cf6fe7 100644
--- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
+++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
@@ -54,3 +54,17 @@ index 3872b5f..fdceb09 100644
# There was an error setting up the terminal, either curses is
# not supported or TERM is incorrectly set. Fall back to dumb.
self._does_styling = False
+
+
+--- a/python/mach/mach/logging.py
++++ b/python/mach/mach/logging.py
+@@ -93,7 +93,7 @@
+
+ def set_terminal(self, terminal):
+ self.terminal = terminal
+- self._sgr0 = blessings.tigetstr('sgr0') or '' if terminal and blessings else ''
++ self._sgr0 = terminal.normal if terminal and blessings else ''
+
+ def format(self, record):
+ f = record.msg.format(**record.params)
+
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2019-11-13 21:27 Jory Pratt
0 siblings, 0 replies; 19+ messages in thread
From: Jory Pratt @ 2019-11-13 21:27 UTC (permalink / raw
To: gentoo-commits
commit: b996a8973c3e255519deccfcb5523ac14dd143d6
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Nov 13 17:14:28 2019 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 21:26:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b996a897
www-client/firefox: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/13634
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
.../files/firefox-60.9.0-rust-1.38-compat.patch | 58 ----------------------
1 file changed, 58 deletions(-)
diff --git a/www-client/firefox/files/firefox-60.9.0-rust-1.38-compat.patch b/www-client/firefox/files/firefox-60.9.0-rust-1.38-compat.patch
deleted file mode 100644
index a9183f24e0f..00000000000
--- a/www-client/firefox/files/firefox-60.9.0-rust-1.38-compat.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- firefox-60.9.0/third_party/rust/cssparser/.cargo-checksum.json
-+++ firefox-60.9.0_b/third_party/rust/cssparser/.cargo-checksum.json
-@@ -1 +1 @@
--{"files":{".travis.yml":"f1fb4b65964c81bc1240544267ea334f554ca38ae7a74d57066f4d47d2b5d568","Cargo.toml":"7807f16d417eb1a6ede56cd4ba2da6c5c63e4530289b3f0848f4b154e18eba02","LICENSE":"fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85","README.md":"c5781e673335f37ed3d7acb119f8ed33efdf6eb75a7094b7da2abe0c3230adb8","build.rs":"b29fc57747f79914d1c2fb541e2bb15a003028bb62751dcb901081ccc174b119","build/match_byte.rs":"2c84b8ca5884347d2007f49aecbd85b4c7582085526e2704399817249996e19b","docs/.nojekyll":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","docs/404.html":"025861f76f8d1f6d67c20ab624c6e418f4f824385e2dd8ad8732c4ea563c6a2e","docs/index.html":"025861f76f8d1f6d67c20ab624c6e418f4f824385e2dd8ad8732c4ea563c6a2e","src/color.rs":"c60f1b0ab7a2a6213e434604ee33f78e7ef74347f325d86d0b9192d8225ae1cc","src/cow_rc_str.rs":"541216f8ef74ee3cc5cbbc1347e5f32ed66588c401851c9a7d68b867aede1de0","src/from_bytes.rs":"331fe63af2123ae3675b61928a69461b5ac77799fff3ce9978c55cf2c558
f4ff","src/lib.rs":"46c377e0c9a75780d5cb0bcf4dfb960f0fb2a996a13e7349bb111b9082252233","src/macros.rs":"adb9773c157890381556ea83d7942dcc676f99eea71abbb6afeffee1e3f28960","src/nth.rs":"5c70fb542d1376cddab69922eeb4c05e4fcf8f413f27563a2af50f72a47c8f8c","src/parser.rs":"9ed4aec998221eb2d2ba99db2f9f82a02399fb0c3b8500627f68f5aab872adde","src/rules_and_declarations.rs":"be2c4f3f3bb673d866575b6cb6084f1879dff07356d583ca9a3595f63b7f916f","src/serializer.rs":"4ccfc9b4fe994aab3803662bbf31cc25052a6a39531073a867b14b224afe42dd","src/size_of_tests.rs":"e5f63c8c18721cc3ff7a5407e84f9889ffa10e66da96e8510a696c3e00ad72d5","src/tests.rs":"80b02c80ab0fd580dad9206615c918e0db7dff63dfed0feeedb66f317d24b24b","src/tokenizer.rs":"429b2cba419cf8b923fbcc32d3bd34c0b39284ebfcb9fc29b8eb8643d8d5f312","src/unicode_range.rs":"c1c4ed2493e09d248c526ce1ef8575a5f8258da3962b64ffc814ef3bdf9780d0"},"package":"8a807ac3ab7a217829c2a3b65732b926b2befe6a35f33b4bf8b503692430f223"}
-\ No newline at end of file
-+{"files":{".travis.yml":"f1fb4b65964c81bc1240544267ea334f554ca38ae7a74d57066f4d47d2b5d568","Cargo.toml":"7807f16d417eb1a6ede56cd4ba2da6c5c63e4530289b3f0848f4b154e18eba02","LICENSE":"fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85","README.md":"c5781e673335f37ed3d7acb119f8ed33efdf6eb75a7094b7da2abe0c3230adb8","build.rs":"b29fc57747f79914d1c2fb541e2bb15a003028bb62751dcb901081ccc174b119","build/match_byte.rs":"2c84b8ca5884347d2007f49aecbd85b4c7582085526e2704399817249996e19b","docs/.nojekyll":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","docs/404.html":"025861f76f8d1f6d67c20ab624c6e418f4f824385e2dd8ad8732c4ea563c6a2e","docs/index.html":"025861f76f8d1f6d67c20ab624c6e418f4f824385e2dd8ad8732c4ea563c6a2e","src/color.rs":"c60f1b0ab7a2a6213e434604ee33f78e7ef74347f325d86d0b9192d8225ae1cc","src/cow_rc_str.rs":"541216f8ef74ee3cc5cbbc1347e5f32ed66588c401851c9a7d68b867aede1de0","src/from_bytes.rs":"331fe63af2123ae3675b61928a69461b5ac77799fff3ce9978c55cf2c558
f4ff","src/lib.rs":"46c377e0c9a75780d5cb0bcf4dfb960f0fb2a996a13e7349bb111b9082252233","src/macros.rs":"adb9773c157890381556ea83d7942dcc676f99eea71abbb6afeffee1e3f28960","src/nth.rs":"5c70fb542d1376cddab69922eeb4c05e4fcf8f413f27563a2af50f72a47c8f8c","src/parser.rs":"5f36cd1b18562e427222147ca7c971a1a65c32fbbc8bdd00c57c4dd2f5823fa0","src/rules_and_declarations.rs":"be2c4f3f3bb673d866575b6cb6084f1879dff07356d583ca9a3595f63b7f916f","src/serializer.rs":"4ccfc9b4fe994aab3803662bbf31cc25052a6a39531073a867b14b224afe42dd","src/size_of_tests.rs":"e5f63c8c18721cc3ff7a5407e84f9889ffa10e66da96e8510a696c3e00ad72d5","src/tests.rs":"80b02c80ab0fd580dad9206615c918e0db7dff63dfed0feeedb66f317d24b24b","src/tokenizer.rs":"429b2cba419cf8b923fbcc32d3bd34c0b39284ebfcb9fc29b8eb8643d8d5f312","src/unicode_range.rs":"c1c4ed2493e09d248c526ce1ef8575a5f8258da3962b64ffc814ef3bdf9780d0"},"package":"8a807ac3ab7a217829c2a3b65732b926b2befe6a35f33b4bf8b503692430f223"}
---- firefox-60.9.0/third_party/rust/cssparser/src/parser.rs
-+++ firefox-60.9.0_b/third_party/rust/cssparser/src/parser.rs
-@@ -555,28 +555,34 @@
- }
-
- let token_start_position = self.input.tokenizer.position();
-- let token;
-- match self.input.cached_token {
-- Some(ref cached_token)
-- if cached_token.start_position == token_start_position => {
-- self.input.tokenizer.reset(&cached_token.end_state);
-- match cached_token.token {
-- Token::Function(ref name) => self.input.tokenizer.see_function(name),
-- _ => {}
-- }
-- token = &cached_token.token
-+ let using_cached_token = self
-+ .input
-+ .cached_token
-+ .as_ref()
-+ .map_or(false, |cached_token| {
-+ cached_token.start_position == token_start_position
-+ });
-+ let token = if using_cached_token {
-+ let cached_token = self.input.cached_token.as_ref().unwrap();
-+ self.input.tokenizer.reset(&cached_token.end_state);
-+ match cached_token.token {
-+ Token::Function(ref name) => self.input.tokenizer.see_function(name),
-+ _ => {}
- }
-- _ => {
-- let new_token = self.input.tokenizer.next()
-+ &cached_token.token
-+ } else {
-+ let new_token = self
-+ .input
-+ .tokenizer
-+ .next()
- .map_err(|()| self.new_basic_error(BasicParseErrorKind::EndOfInput))?;
- self.input.cached_token = Some(CachedToken {
- token: new_token,
- start_position: token_start_position,
- end_state: self.input.tokenizer.state(),
- });
-- token = self.input.cached_token_ref()
-- }
-- }
-+ self.input.cached_token_ref()
-+ };
-
- if let Some(block_type) = BlockType::opening(token) {
- self.at_start_of = Some(block_type);
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2020-01-29 11:13 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2020-01-29 11:13 UTC (permalink / raw
To: gentoo-commits
commit: 9fbe2fa9868c92176f2ef4bf47dcd07c6ca4d5ab
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jan 10 08:47:35 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 11:13:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbe2fa9
www-client/firefox: remove unused patch
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14296
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../firefox/files/firefox-70.0.1-rust-1.39+.patch | 163 ---------------------
1 file changed, 163 deletions(-)
diff --git a/www-client/firefox/files/firefox-70.0.1-rust-1.39+.patch b/www-client/firefox/files/firefox-70.0.1-rust-1.39+.patch
deleted file mode 100644
index eb44c03daca..00000000000
--- a/www-client/firefox/files/firefox-70.0.1-rust-1.39+.patch
+++ /dev/null
@@ -1,163 +0,0 @@
-Based on https://github.com/rust-lang/rust/issues/64710
-
---- a/third_party/rust/bindgen/.cargo-checksum.json.orig
-+++ b/third_party/rust/bindgen/.cargo-checksum.json
-@@ -1 +1 @@
--{"files":{"Cargo.toml":"a970d1a9e47f029fe3e3ce43ae4292054ad60c4490e035b86b669fcf32015624","LICENSE":"c23953d9deb0a3312dbeaf6c128a657f3591acee45067612fa68405eaa4525db","README.md":"5a1f556c6a57c0a6ccc65e19c27718e0f4b32381a8efcc80f6601b33c58c5d59","build.rs":"a9f6915c54d75f357ce32f96327bf4df53dc81a505b70831978f9dac6f43841d","csmith-fuzzing/README.md":"7107b70fedb0c0a0cadb3c439a49c1bd0119a6d38dc63b1aecc74d1942256ef2","src/callbacks.rs":"b24d7982332c6a35928f134184ddf4072fe4545a45546b97b9b0e0c1fbb77c08","src/clang.rs":"0009b8b6e3f6c33ec2776ec4cb8de2625ae8be22c9f0433c39b06bdd9fc7db4d","src/codegen/bitfield_unit.rs":"87be2d7f7774327a1608c2c4d64df869e17fb34b7efdacb4030b6794d98e40f3","src/codegen/bitfield_unit_tests.rs":"2073ac6a36e0bc9afaef5b1207966817c8fb7a1a9f6368c3b1b8f79822efbfba","src/codegen/error.rs":"2613af1d833377fd4a70719f4a09951d9d45dc9227827b9a2a938a1bcaaea2dd","src/codegen/helpers.rs":"aa0daff2061c6de31acfbd113190889e0f7ca2d2b8d4f46740bfd5832c33e4d2","src/codegen/impl_debug.rs
":"f82969461d522fb758eca552ceaf189122a404cbb47fcc16008bfe52fc62aefa","src/codegen/impl_partialeq.rs":"d40d9ee2849c4d3d557b033c4d3af5e6de4a44347f67c0f016198086338811af","src/codegen/mod.rs":"ad116e2af755219bd556e8ee00ca48562f64a161d0b2c94846ae01297446ea0d","src/codegen/struct_layout.rs":"3fa5524aff82365ce292b0cc85080514c85a6dbd31bce90f001773b995dda28e","src/extra_assertions.rs":"494534bd4f18b80d89b180c8a93733e6617edcf7deac413e9a73fd6e7bc9ced7","src/features.rs":"82511f1bb8cbd04d98f57b000903b0264237962af93a72a58220437213eba1ef","src/ir/analysis/derive.rs":"325d4c1c1e6194e743f42a2316f1501b0ef852fe309f2e9cac3434825ad235f0","src/ir/analysis/has_destructor.rs":"63644f479738df35e531d3324ff892614083c3656e0747aa34d9f20dada878ec","src/ir/analysis/has_float.rs":"76162a309e4285a806755a08c687a3e7bc894a100a63da4e88584035e215b11d","src/ir/analysis/has_type_param_in_array.rs":"fdbc0af28a144c88ea2de83e6e6da5e1ffb40e3dd63fd7a708095d085bb06f94","src/ir/analysis/has_vtable.rs":"5788372d27bdbaaf0454bc17
be31a5480918bc41a8a1c4832e8c61185c07f9cd","src/ir/analysis/mod.rs":"1f218e15c19f6666512908abc853fa7ff9ca5d0fafd94f026d9e4b0ce287ec3c","src/ir/analysis/sizedness.rs":"b73865b6689d4f3546edd91909a47c329c4ae630ea97715d29bc683ae1dc17ad","src/ir/analysis/template_params.rs":"6312c008bbc80f50e72a766756c8daddea0b6eeb31ec924b83a231df931e170e","src/ir/annotations.rs":"39a5ab19f4d5dfa617577e4a0d0d2b67b5369d480c7cca4b14d172458c9843f0","src/ir/comment.rs":"c48abe01c5af0f09f583a89f1394bc6c161b40f6c8f0f600bbfe3c907b47969b","src/ir/comp.rs":"78e245835efcd22b5cc878a8a7031171116c708408bdb48b0c9284a067041e56","src/ir/context.rs":"8fd64654343295e0e4a43efe5db6f64315dcd50a5015c3d86e90aae992e2fa9f","src/ir/derive.rs":"34f9aa76b6c9c05136bb69dcd6455397faef571a567254d2c541d50a962994db","src/ir/dot.rs":"95ed2968fc3239d87892e9f1edf1ed6dd18630d949564961765967ea1d16960c","src/ir/enum_ty.rs":"7658cf68c00b1732dfa599c2d6b6a93a82de8401142591c3afe5fcb27d901a66","src/ir/function.rs":"c2feb2e26d47aa96a74af9912ada26be07
7e2b0c36d46fa10167da7109590500","src/ir/int.rs":"5b8d5bcedb04f39dc2d7e571bc04114b1f1e09cf294afe944c2e7879451c4378","src/ir/item.rs":"3bcdb69b793350e5744aec3577cdbb1e5068ece5220c38763cecd82dfb5e8f03","src/ir/item_kind.rs":"dbeae8c4fd0e5c9485d325aea040e056a1f2cd6d43fc927dee8fe1c0c59a7197","src/ir/layout.rs":"d49582081f5f86f7595afbe4845f38fb3b969a840b568f4a49b265e7d790bb5b","src/ir/mod.rs":"2eae90f207fad2e45957ec9287064992a419e3fc916aba84faff2ea25cbeb5ee","src/ir/module.rs":"c4d90bf38fe3672e01923734ccbdb7951ea929949d5f413a9c2aee12395a5094","src/ir/objc.rs":"758aa955a0c5d6ad82606c88a1f4cd1d93e666b71e82d43b18b1aaae96cf888a","src/ir/template.rs":"c0f8570b927dfd6a421fc4ce3094ec837a3ed936445225dbfac961e8e0842ae5","src/ir/traversal.rs":"ea751379a5aec02f93f8d2c61e18232776b1f000dbeae64b9a7195ba21a19dd6","src/ir/ty.rs":"e6771c8102b9f01b0c4b664bf1151b4773b599634a83895376ce122ca9f74f8b","src/ir/var.rs":"8bdafb6d02f2c55ae11c28d88b19fb7a65ba8466da12ff039ae4c16c790b291e","src/lib.rs":"a07ef7a3d09949
3555ae5a58b7b4bf9106a978e38a23b5ff445a83b92727ab62","src/log_stubs.rs":"6dfdd908b7c6453da416cf232893768f9480e551ca4add0858ef88bf71ee6ceb","src/main.rs":"8c96cd2a051e3f09b1b87b75cd9ed77e82e889c8309ebd3e4bc782960cf63e58","src/options.rs":"5b309b225cc51e665bd42ed3e7965a7cd73d984e4455a2d76987fc42ab271ff8","src/parse.rs":"be7d13cc84fae79ec7b3aa9e77063fa475a48d74a854423e2c72d75006a25202","src/regex_set.rs":"5cb72fc3714c0d79e9e942d003349c0775fafd7cd0c9603c65f5261883bbf9cf","src/time.rs":"3b763e6fee51d0eb01228dfe28bc28a9f692aff73b2a7b90a030902e0238fca6"},"package":"18270cdd7065ec045a6bb4bdcd5144d14a78b3aedb3bc5111e688773ac8b9ad0"}
-\ No newline at end of file
-+{"files":{},"package":"18270cdd7065ec045a6bb4bdcd5144d14a78b3aedb3bc5111e688773ac8b9ad0"}
---- a/third_party/rust/bindgen/src/ir/analysis/has_vtable.rs.orig
-+++ b/third_party/rust/bindgen/src/ir/analysis/has_vtable.rs
-@@ -9,37 +9,22 @@ use std::ops;
- use {HashMap, Entry};
-
- /// The result of the `HasVtableAnalysis` for an individual item.
--#[derive(Copy, Clone, Debug, PartialEq, Eq, Ord)]
-+#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
- pub enum HasVtableResult {
-- /// The item has a vtable, but the actual vtable pointer is in a base
-- /// member.
-- BaseHasVtable,
-+ /// The item does not have a vtable pointer.
-+ No,
-
- /// The item has a vtable and the actual vtable pointer is within this item.
- SelfHasVtable,
-
-- /// The item does not have a vtable pointer.
-- No
-+ /// The item has a vtable, but the actual vtable pointer is in a base
-+ /// member.
-+ BaseHasVtable,
- }
-
- impl Default for HasVtableResult {
- fn default() -> Self {
- HasVtableResult::No
-- }
--}
--
--impl cmp::PartialOrd for HasVtableResult {
-- fn partial_cmp(&self, rhs: &Self) -> Option<cmp::Ordering> {
-- use self::HasVtableResult::*;
--
-- match (*self, *rhs) {
-- (x, y) if x == y => Some(cmp::Ordering::Equal),
-- (BaseHasVtable, _) => Some(cmp::Ordering::Greater),
-- (_, BaseHasVtable) => Some(cmp::Ordering::Less),
-- (SelfHasVtable, _) => Some(cmp::Ordering::Greater),
-- (_, SelfHasVtable) => Some(cmp::Ordering::Less),
-- _ => unreachable!(),
-- }
- }
- }
-
---- a/third_party/rust/bindgen/src/ir/analysis/sizedness.rs.orig
-+++ b/third_party/rust/bindgen/src/ir/analysis/sizedness.rs
-@@ -22,13 +22,14 @@ use {HashMap, Entry};
- ///
- /// We initially assume that all types are `ZeroSized` and then update our
- /// understanding as we learn more about each type.
--#[derive(Copy, Clone, Debug, PartialEq, Eq, Ord)]
-+#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
- pub enum SizednessResult {
-- /// Has some size that is known to be greater than zero. That doesn't mean
-- /// it has a static size, but it is not zero sized for sure. In other words,
-- /// it might contain an incomplete array or some other dynamically sized
-- /// type.
-- NonZeroSized,
-+ /// The type is zero-sized.
-+ ///
-+ /// This means that if it is a C++ type, and is not being used as a base
-+ /// member, then we must add an `_address` byte to enforce the
-+ /// unique-address-per-distinct-object-instance rule.
-+ ZeroSized,
-
- /// Whether this type is zero-sized or not depends on whether a type
- /// parameter is zero-sized or not.
-@@ -52,32 +53,16 @@ pub enum SizednessResult {
- /// https://github.com/rust-lang/rust-bindgen/issues/586
- DependsOnTypeParam,
-
-- /// The type is zero-sized.
-- ///
-- /// This means that if it is a C++ type, and is not being used as a base
-- /// member, then we must add an `_address` byte to enforce the
-- /// unique-address-per-distinct-object-instance rule.
-- ZeroSized,
-+ /// Has some size that is known to be greater than zero. That doesn't mean
-+ /// it has a static size, but it is not zero sized for sure. In other words,
-+ /// it might contain an incomplete array or some other dynamically sized
-+ /// type.
-+ NonZeroSized,
- }
-
- impl Default for SizednessResult {
- fn default() -> Self {
- SizednessResult::ZeroSized
-- }
--}
--
--impl cmp::PartialOrd for SizednessResult {
-- fn partial_cmp(&self, rhs: &Self) -> Option<cmp::Ordering> {
-- use self::SizednessResult::*;
--
-- match (*self, *rhs) {
-- (x, y) if x == y => Some(cmp::Ordering::Equal),
-- (NonZeroSized, _) => Some(cmp::Ordering::Greater),
-- (_, NonZeroSized) => Some(cmp::Ordering::Less),
-- (DependsOnTypeParam, _) => Some(cmp::Ordering::Greater),
-- (_, DependsOnTypeParam) => Some(cmp::Ordering::Less),
-- _ => unreachable!(),
-- }
- }
- }
-
---- a/third_party/rust/bindgen/src/ir/derive.rs.orig
-+++ b/third_party/rust/bindgen/src/ir/derive.rs
-@@ -92,10 +92,10 @@ pub trait CanDeriveOrd {
- ///
- /// Initially we assume that we can derive trait for all types and then
- /// update our understanding as we learn more about each type.
--#[derive(Debug, Copy, Clone, PartialEq, Eq, Ord)]
-+#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
- pub enum CanDerive {
-- /// No, we cannot.
-- No,
-+ /// Yes, we can derive automatically.
-+ Yes,
-
- /// The only thing that stops us from automatically deriving is that
- /// array with more than maximum number of elements is used.
-@@ -103,29 +103,13 @@ pub enum CanDerive {
- /// This means we probably can "manually" implement such trait.
- Manually,
-
-- /// Yes, we can derive automatically.
-- Yes,
-+ /// No, we cannot.
-+ No,
- }
-
- impl Default for CanDerive {
- fn default() -> CanDerive {
- CanDerive::Yes
-- }
--}
--
--impl cmp::PartialOrd for CanDerive {
-- fn partial_cmp(&self, rhs: &Self) -> Option<cmp::Ordering> {
-- use self::CanDerive::*;
--
-- let ordering = match (*self, *rhs) {
-- (x, y) if x == y => cmp::Ordering::Equal,
-- (No, _) => cmp::Ordering::Greater,
-- (_, No) => cmp::Ordering::Less,
-- (Manually, _) => cmp::Ordering::Greater,
-- (_, Manually) => cmp::Ordering::Less,
-- _ => unreachable!()
-- };
-- Some(ordering)
- }
- }
-
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2020-03-30 11:46 Thomas Deutschmann
0 siblings, 0 replies; 19+ messages in thread
From: Thomas Deutschmann @ 2020-03-30 11:46 UTC (permalink / raw
To: gentoo-commits
commit: 68279af6b5e48cb6ddfcae07a645d9dce1bf8a4b
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 23:40:56 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 30 11:45:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68279af6
www-client/firefox: enable MOZ_USE_XINPUT2
Closes: https://bugs.gentoo.org/617344
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/files/firefox.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/www-client/firefox/files/firefox.sh b/www-client/firefox/files/firefox.sh
index d942087ffa8..e3412b3b47c 100644
--- a/www-client/firefox/files/firefox.sh
+++ b/www-client/firefox/files/firefox.sh
@@ -90,6 +90,11 @@ if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then
export GNOME_DISABLE_CRASH_DIALOG
fi
+##
+## Enable Xinput2 (#617344)
+##
+export MOZ_USE_XINPUT2=1
+
# Don't throw "old profile" dialog box.
export MOZ_ALLOW_DOWNGRADE=1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2020-03-31 16:27 Thomas Deutschmann
0 siblings, 0 replies; 19+ messages in thread
From: Thomas Deutschmann @ 2020-03-31 16:27 UTC (permalink / raw
To: gentoo-commits
commit: 4108503ab5d6c56c546ba9aa6fb538972d6a9096
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 31 16:13:04 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Mar 31 16:26:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4108503a
www-client/firefox: fix quoting
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/files/firefox.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-client/firefox/files/firefox.sh b/www-client/firefox/files/firefox.sh
index e3412b3b47c..dcb2a8d606d 100644
--- a/www-client/firefox/files/firefox.sh
+++ b/www-client/firefox/files/firefox.sh
@@ -103,8 +103,8 @@ export MOZ_ALLOW_DOWNGRADE=1
## names and contect menus
##
if [[ $@ != *"--name "* ]]; then
- set -- "--name ${DESKTOP_FILE}" "$@"
+ set -- --name "${DESKTOP_FILE}" "$@"
fi
# Run the browser
-exec ${MOZ_PROGRAM} $@
+exec ${MOZ_PROGRAM} "$@"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2020-04-01 21:14 Thomas Deutschmann
0 siblings, 0 replies; 19+ messages in thread
From: Thomas Deutschmann @ 2020-04-01 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 5b633e7bcb3f576627cd4b202e783a133817b422
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 1 21:14:11 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Apr 1 21:14:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b633e7b
www-client/firefox: fix typo
Closes: https://bugs.gentoo.org/715654
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/files/firefox.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-client/firefox/files/firefox.sh b/www-client/firefox/files/firefox.sh
index dcb2a8d606d..f1fde8fdfce 100644
--- a/www-client/firefox/files/firefox.sh
+++ b/www-client/firefox/files/firefox.sh
@@ -100,7 +100,7 @@ export MOZ_ALLOW_DOWNGRADE=1
##
## Route to the correct .desktop file to get proper
-## names and contect menus
+## name and actions
##
if [[ $@ != *"--name "* ]]; then
set -- --name "${DESKTOP_FILE}" "$@"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2020-07-09 4:14 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2020-07-09 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 0a9c628be80edfbf165d1541c0d9b2f2ada28e8a
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Jul 8 18:19:13 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 9 04:12:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9c628b
www-client/firefox: remove unused file
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16638
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/files/gentoo-default-prefs.js-1 | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/www-client/firefox/files/gentoo-default-prefs.js-1 b/www-client/firefox/files/gentoo-default-prefs.js-1
deleted file mode 100644
index 22a51ff7de4..00000000000
--- a/www-client/firefox/files/gentoo-default-prefs.js-1
+++ /dev/null
@@ -1,17 +0,0 @@
-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);
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2022-01-11 5:53 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2022-01-11 5:53 UTC (permalink / raw
To: gentoo-commits
commit: 7d646ece6d261aa9ddad1e9f8092ec8e00a72f1c
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Dec 22 07:16:17 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 05:53:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d646ece
www-client/firefox: remove unused files
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23469
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/files/firefox-wayland.sh | 7 --
www-client/firefox/files/firefox-x11.sh | 7 --
www-client/firefox/files/firefox.sh | 128 ----------------------------
3 files changed, 142 deletions(-)
diff --git a/www-client/firefox/files/firefox-wayland.sh b/www-client/firefox/files/firefox-wayland.sh
deleted file mode 100644
index 44280250fb9d..000000000000
--- a/www-client/firefox/files/firefox-wayland.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-#
-# Run Mozilla Firefox under Wayland
-#
-export MOZ_ENABLE_WAYLAND=1
-exec @PREFIX@/bin/firefox "$@"
diff --git a/www-client/firefox/files/firefox-x11.sh b/www-client/firefox/files/firefox-x11.sh
deleted file mode 100644
index 756556690cf3..000000000000
--- a/www-client/firefox/files/firefox-x11.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-#
-# Run Mozilla Firefox on X11
-#
-export MOZ_DISABLE_WAYLAND=1
-exec @PREFIX@/bin/firefox "$@"
diff --git a/www-client/firefox/files/firefox.sh b/www-client/firefox/files/firefox.sh
deleted file mode 100644
index c08d555196d6..000000000000
--- a/www-client/firefox/files/firefox.sh
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/bash
-
-##
-## Usage:
-##
-## $ firefox
-##
-## This script is meant to run Mozilla Firefox in Gentoo.
-
-cmdname=$(basename "$0")
-
-##
-## Variables
-##
-MOZ_ARCH=$(uname -m)
-case ${MOZ_ARCH} in
- x86_64|s390x|sparc64)
- MOZ_LIB_DIR="@PREFIX@/lib64"
- SECONDARY_LIB_DIR="@PREFIX@/lib"
- ;;
- *)
- MOZ_LIB_DIR="@PREFIX@/lib"
- SECONDARY_LIB_DIR="@PREFIX@/lib64"
- ;;
-esac
-
-MOZ_FIREFOX_FILE="firefox"
-
-if [[ ! -r ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then
- if [[ ! -r ${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then
- echo "Error: ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not found" >&2
- if [[ -d $SECONDARY_LIB_DIR ]]; then
- echo " ${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not found" >&2
- fi
- exit 1
- fi
- MOZ_LIB_DIR="$SECONDARY_LIB_DIR"
-fi
-MOZILLA_FIVE_HOME="${MOZ_LIB_DIR}/firefox"
-MOZ_EXTENSIONS_PROFILE_DIR="${HOME}/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
-MOZ_PROGRAM="${MOZILLA_FIVE_HOME}/${MOZ_FIREFOX_FILE}"
-DESKTOP_FILE="firefox"
-
-##
-## Enable Wayland backend?
-##
-if @DEFAULT_WAYLAND@ && [[ -z ${MOZ_DISABLE_WAYLAND} ]]; then
- if [[ -n "$WAYLAND_DISPLAY" ]]; then
- DESKTOP_FILE="firefox-wayland"
- export MOZ_ENABLE_WAYLAND=1
- fi
-elif [[ -n ${MOZ_DISABLE_WAYLAND} ]]; then
- DESKTOP_FILE="firefox-x11"
-fi
-
-##
-## Use D-Bus remote exclusively when there's Wayland display.
-##
-if [[ -n "${WAYLAND_DISPLAY}" ]]; then
- export MOZ_DBUS_REMOTE=1
-fi
-
-##
-## Make sure that we set the plugin path
-##
-MOZ_PLUGIN_DIR="plugins"
-
-if [[ -n "${MOZ_PLUGIN_PATH}" ]]; then
- MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
-else
- MOZ_PLUGIN_PATH=${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
-fi
-
-if [[ -d "${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}" ]]; then
- MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
-fi
-
-export MOZ_PLUGIN_PATH
-
-##
-## Set MOZ_APP_LAUNCHER for gnome-session
-##
-export MOZ_APP_LAUNCHER="@PREFIX@/bin/${cmdname}"
-
-##
-## Disable the GNOME crash dialog, Moz has it's own
-##
-if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then
- GNOME_DISABLE_CRASH_DIALOG=1
- export GNOME_DISABLE_CRASH_DIALOG
-fi
-
-##
-## Enable Xinput2 (#617344)
-##
-
-# respect user settings
-MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2:-auto}
-
-if [[ ${MOZ_USE_XINPUT2} == auto && -n ${WAYLAND_DISPLAY} ]]; then
- # enabling XINPUT2 should be safe for all wayland users
- MOZ_USE_XINPUT2=1
-elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == KDE ]]; then
- # XINPUT2 is known to cause problems for KWin users
- MOZ_USE_XINPUT2=0
-elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == LXQT ]]; then
- # LXQt uses KWin
- MOZ_USE_XINPUT2=0
-elif [[ ${MOZ_USE_XINPUT2} == auto ]]; then
- # should work on Mate, Xfce, FluxBox, OpenBox and all the others ...
- MOZ_USE_XINPUT2=1
-fi
-
-[[ ${MOZ_USE_XINPUT2} != 0 ]] && export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2}
-
-# Don't throw "old profile" dialog box.
-export MOZ_ALLOW_DOWNGRADE=1
-
-##
-## Route to the correct .desktop file to get proper
-## name and actions
-##
-if [[ $@ != *"--name "* ]]; then
- set -- --name "${DESKTOP_FILE}" "$@"
-fi
-
-# Run the browser
-exec ${MOZ_PROGRAM} "$@"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2022-02-07 6:43 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2022-02-07 6:43 UTC (permalink / raw
To: gentoo-commits
commit: 7f920292d3ef9c1605554229d801229cbc36296e
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Feb 7 06:26:54 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Feb 7 06:42:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f920292
www-client/firefox: remove unused patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24105
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../firefox/files/firefox-95-fix-fatal-pip-invocation.patch | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/www-client/firefox/files/firefox-95-fix-fatal-pip-invocation.patch b/www-client/firefox/files/firefox-95-fix-fatal-pip-invocation.patch
deleted file mode 100644
index d39a6e1f72bc..000000000000
--- a/www-client/firefox/files/firefox-95-fix-fatal-pip-invocation.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/build/mach_initialize.py b/build/mach_initialize.py
-index 32f3011..5e6e2b4 100644
---- a/build/mach_initialize.py
-+++ b/build/mach_initialize.py
-@@ -207,7 +207,7 @@ def _activate_python_environment(topsrcdir):
- else "MACH_USE_SYSTEM_PYTHON"
- )
-
-- has_pip = (
-+ has_pip = False and (
- subprocess.run(
- [sys.executable, "-c", "import pip"], stderr=subprocess.DEVNULL
- ).returncode
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2022-06-15 11:30 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2022-06-15 11:30 UTC (permalink / raw
To: gentoo-commits
commit: c28a3fe42a1ec27764ff040e9d8cdff59431b1d0
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 11:30:13 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 11:30:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28a3fe4
www-client/firefox: remove unused files
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/files/gentoo-hwaccel-prefs.js-r1 | 5 -----
1 file changed, 5 deletions(-)
diff --git a/www-client/firefox/files/gentoo-hwaccel-prefs.js-r1 b/www-client/firefox/files/gentoo-hwaccel-prefs.js-r1
deleted file mode 100644
index ae0eb5c67e80..000000000000
--- a/www-client/firefox/files/gentoo-hwaccel-prefs.js-r1
+++ /dev/null
@@ -1,5 +0,0 @@
-/* Force hardware accelerated rendering due to USE=hwaccel */
-pref("layers.acceleration.force-enabled", true);
-pref("webgl.force-enabled", true);
-pref("gfx.webrender.all", true);
-pref("gfx.x11-egl.force-enabled", true);
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2023-01-24 10:02 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2023-01-24 10:02 UTC (permalink / raw
To: gentoo-commits
commit: 423a450ed82cbb6aa04fa1682e2960cba0e6ad7e
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 10:02:13 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 10:02:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423a450e
www-client/firefox: drop unneeded patches
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
...bmo-1775202-ppc64-webrtc-missing-conditions-109.patch | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch b/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch
deleted file mode 100644
index 1203476cf3b4..000000000000
--- a/www-client/firefox/files/0030-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build
-index 8579f8bb3622..d9ca79d4fcb8 100644
---- a/third_party/libwebrtc/moz.build
-+++ b/third_party/libwebrtc/moz.build
-@@ -520,7 +520,9 @@ if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
- "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn",
- "/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn",
- "/third_party/libwebrtc/modules/audio_coding/isac_c_gn",
-- "/third_party/libwebrtc/modules/audio_coding/isac_gn"
-+ "/third_party/libwebrtc/modules/audio_coding/isac_gn",
-+ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
-+ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
- ]
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2023-07-21 10:40 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2023-07-21 10:40 UTC (permalink / raw
To: gentoo-commits
commit: 9ae5b2ce437363878cc3546d94e6bba20df906a4
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Jul 20 18:13:04 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 10:40:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae5b2ce
www-client/firefox: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31973
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../firefox/files/firefox-114-ppc64-profiler.patch | 29 ------------------
.../firefox/files/firefox-114-ppc64-webrtc.patch | 35 ----------------------
2 files changed, 64 deletions(-)
diff --git a/www-client/firefox/files/firefox-114-ppc64-profiler.patch b/www-client/firefox/files/firefox-114-ppc64-profiler.patch
deleted file mode 100644
index 5a2bfa4e3bd5..000000000000
--- a/www-client/firefox/files/firefox-114-ppc64-profiler.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-#from: https://phabricator.services.mozilla.com/D181042
-
-diff --git a/tools/profiler/gecko/ProfilerParent.cpp b/tools/profiler/gecko/ProfilerParent.cpp
---- a/tools/profiler/gecko/ProfilerParent.cpp
-+++ b/tools/profiler/gecko/ProfilerParent.cpp
-@@ -722,18 +722,22 @@
- }
- }
-
- Unused << SendStop();
- }
-+#endif // MOZ_GECKO_PROFILER
-
- ProfilerParent::~ProfilerParent() {
- MOZ_COUNT_DTOR(ProfilerParent);
-
- MOZ_RELEASE_ASSERT(NS_IsMainThread());
-+#ifdef MOZ_GECKO_PROFILER
- ProfilerParentTracker::StopTracking(this);
-+#endif
- }
-
-+#ifdef MOZ_GECKO_PROFILER
- /* static */
- nsTArray<ProfilerParent::SingleProcessProfilePromiseAndChildPid>
- ProfilerParent::GatherProfiles() {
- nsTArray<SingleProcessProfilePromiseAndChildPid> results;
- if (!NS_IsMainThread()) {
-
diff --git a/www-client/firefox/files/firefox-114-ppc64-webrtc.patch b/www-client/firefox/files/firefox-114-ppc64-webrtc.patch
deleted file mode 100644
index 14e8c4a6baaa..000000000000
--- a/www-client/firefox/files/firefox-114-ppc64-webrtc.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-#https://www.talospace.com/2023/06/firefox-114-on-power.html
-#https://gist.github.com/classilla/95b5dd53627528448f8512a82205672c
-
-diff -r 954df08c7f0b third_party/libwebrtc/moz.build
---- a/third_party/libwebrtc/moz.build Tue Jun 06 08:55:21 2023 +0000
-+++ b/third_party/libwebrtc/moz.build Mon Jun 19 09:33:12 2023 -0700
-@@ -595,16 +595,28 @@
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
- "/third_party/libwebrtc/modules/portal/portal_gn",
- "/third_party/libwebrtc/third_party/drm/drm_gn",
- "/third_party/libwebrtc/third_party/gbm/gbm_gn",
- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
- "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
- ]
-
-+if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
-+
-+ DIRS += [
-+ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
-+ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
-+ "/third_party/libwebrtc/modules/portal/portal_gn",
-+ "/third_party/libwebrtc/third_party/drm/drm_gn",
-+ "/third_party/libwebrtc/third_party/gbm/gbm_gn",
-+ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
-+ "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
-+ ]
-+
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "OpenBSD":
-
- DIRS += [
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn",
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn"
- ]
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2023-09-26 12:07 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2023-09-26 12:07 UTC (permalink / raw
To: gentoo-commits
commit: 014a608f524a43d3c95eea95435237aa19d8f2b9
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 12:06:54 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 12:06:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014a608f
www-client/firefox: git add the README.gentoo file for 118.0...
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/files/README.gentoo | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/www-client/firefox/files/README.gentoo b/www-client/firefox/files/README.gentoo
new file mode 100644
index 000000000000..a9d724c458b4
--- /dev/null
+++ b/www-client/firefox/files/README.gentoo
@@ -0,0 +1,28 @@
+
+## DoH
+Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):
+Due to privacy concerns (encrypting DNS might be a good thing, sending all DNS
+traffic to Cloudflare by default is not a good idea and applications should
+respect OS configured settings), "network.trr.mode" was set to 5 ("Off by
+choice") by default.
+You can enable DNS-over-HTTPS in Firefox's preferences.
+
+
+## Normandy
+Upstream operates a service named Normandy which allows Mozilla to push changes
+for default settings or even install new add-ons remotely. While this can be
+useful to address problems like 'Armagadd-on 2.0' or revert previous decisions
+to disable TLS 1.0/1.1, privacy and security concerns prevail, which is why we
+have switched off the use of this service by default.
+
+To re-enable this service set the following in "about:config":
+ app.normandy.enabled=true
+
+
+## Firefox >100 compatibility
+Unfortunately Firefox-100.0 breaks compatibility with some sites using
+useragent checks. To temporarily fix this, enter about:config and modify
+network.http.useragent.forceVersion preference to "99" Or install an addon to
+change your useragent.
+See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100
+
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2024-01-13 18:51 Michał Górny
0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2024-01-13 18:51 UTC (permalink / raw
To: gentoo-commits
commit: cc5c0db4b6fcc8e228655ce42bac7949ac2b39ac
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jan 13 14:48:46 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 18:50:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5c0db4
www-client/firefox: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../firefox/files/firefox-115.4.0-icu-74.patch | 41 ----------------------
1 file changed, 41 deletions(-)
diff --git a/www-client/firefox/files/firefox-115.4.0-icu-74.patch b/www-client/firefox/files/firefox-115.4.0-icu-74.patch
deleted file mode 100644
index 617dd76a9a7e..000000000000
--- a/www-client/firefox/files/firefox-115.4.0-icu-74.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-https://bugs.gentoo.org/917599
-https://bugzilla.mozilla.org/show_bug.cgi?id=1862601
-https://hg.mozilla.org/try/rev/d5f3b0c4f08a426ce00a153c04e177eecb6820e2
-
-# HG changeset patch
-# User André Bargull <andre.bargull@gmail.com>
-# Date 1697435923 -7200
-# Node ID d5f3b0c4f08a426ce00a153c04e177eecb6820e2
-# Parent c63994f8259efdf6e745c960aa9e1409d5477049
-Bug xxx - Part 12: Add new line break classes. r?
-
-diff --git a/intl/lwbrk/LineBreaker.cpp b/intl/lwbrk/LineBreaker.cpp
---- a/intl/lwbrk/LineBreaker.cpp
-+++ b/intl/lwbrk/LineBreaker.cpp
-@@ -443,17 +443,23 @@ static int8_t GetClass(uint32_t u, LineB
- /* JT = 34, [JT] */ CLASS_CHARACTER,
- /* JV = 35, [JV] */ CLASS_CHARACTER,
- /* CLOSE_PARENTHESIS = 36, [CP] */ CLASS_CLOSE_LIKE_CHARACTER,
- /* CONDITIONAL_JAPANESE_STARTER = 37, [CJ] */ CLASS_CLOSE,
- /* HEBREW_LETTER = 38, [HL] */ CLASS_CHARACTER,
- /* REGIONAL_INDICATOR = 39, [RI] */ CLASS_CHARACTER,
- /* E_BASE = 40, [EB] */ CLASS_BREAKABLE,
- /* E_MODIFIER = 41, [EM] */ CLASS_CHARACTER,
-- /* ZWJ = 42, [ZWJ]*/ CLASS_CHARACTER};
-+ /* ZWJ = 42, [ZWJ]*/ CLASS_CHARACTER,
-+ /* AKSARA = 43, [AK] */ CLASS_CHARACTER,
-+ /* AKSARA_PREBASE = 44, [AP] */ CLASS_CHARACTER,
-+ /* AKSARA_START = 45, [AS] */ CLASS_CHARACTER,
-+ /* VIRAMA_FINAL = 46, [VF] */ CLASS_CHARACTER,
-+ /* VIRAMA = 47, [VI] */ CLASS_CHARACTER,
-+ };
-
- static_assert(U_LB_COUNT == mozilla::ArrayLength(sUnicodeLineBreakToClass),
- "Gecko vs ICU LineBreak class mismatch");
-
- auto cls = GetLineBreakClass(u);
- MOZ_ASSERT(cls < mozilla::ArrayLength(sUnicodeLineBreakToClass));
-
- // Overrides based on rules for the different line-break values given in
-
-
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
@ 2024-02-21 8:18 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2024-02-21 8:18 UTC (permalink / raw
To: gentoo-commits
commit: 7ea33d4448abb34961cad3fc4a6cf63fb8dff82b
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 07:54:25 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 21 08:18:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea33d44
www-client/firefox: add layers.gpu-process.enabled=true to rapid pref
- +hwaccel pref.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/files/gentoo-hwaccel-prefs.js-r2 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/www-client/firefox/files/gentoo-hwaccel-prefs.js-r2 b/www-client/firefox/files/gentoo-hwaccel-prefs.js-r2
index 48025caac341..fc561d05e697 100644
--- a/www-client/firefox/files/gentoo-hwaccel-prefs.js-r2
+++ b/www-client/firefox/files/gentoo-hwaccel-prefs.js-r2
@@ -1,5 +1,6 @@
/* Force hardware accelerated rendering due to USE=hwaccel */
-pref("gfx.webrender.all", true);
-pref("layers.acceleration.force-enabled", true);
+pref("gfx.webrender.all", true);
+pref("layers.acceleration.force-enabled", true);
+pref("layers.gpu-process.enabled", true);
pref("media.hardware-video-decoding.enabled", true);
-pref("webgl.force-enabled", true);
+pref("webgl.force-enabled", true);
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-02-21 8:18 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 11:13 [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-02-21 8:18 Joonas Niilola
2024-01-13 18:51 Michał Górny
2023-09-26 12:07 Joonas Niilola
2023-07-21 10:40 Joonas Niilola
2023-01-24 10:02 Joonas Niilola
2022-06-15 11:30 Joonas Niilola
2022-02-07 6:43 Joonas Niilola
2022-01-11 5:53 Joonas Niilola
2020-07-09 4:14 Joonas Niilola
2020-04-01 21:14 Thomas Deutschmann
2020-03-31 16:27 Thomas Deutschmann
2020-03-30 11:46 Thomas Deutschmann
2019-11-13 21:27 Jory Pratt
2018-09-24 0:55 Thomas Deutschmann
2018-09-09 2:43 Thomas Deutschmann
2018-01-30 3:57 Ian Stakenvicius
2017-02-21 0:08 Jory Pratt
2016-07-05 15:27 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox