jdonald / firefox-armhf Goto Github PK
View Code? Open in Web Editor NEWbecause we don't need to leave this broken for another year
Home Page: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1711337
because we don't need to leave this broken for another year
Home Page: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1711337
Hi, jdonald. Is it possible to build an ESR quantum which is compatible which Jessie (or Ubuntu 14.04.x)?
I am asking it for two specific reasons: oder jessie GLES3.1 compatible runtimes and the increase security brought of new ESR Quantum releases as well the increased compatible render achieved with Blink, but more secure as well Firefox browsers.
Thank you in advance for your Quantum ports specific to Raspberry Pi 2 (and above)
hey there, I needed this patch for my system to reenable cross-compile for firefox-67.0; you're free to use it if you're interested
diff --git a/build/moz.configure/bindgen.configure b/build/moz.configure/bindgen.configure
index 1658c8f..24b39d8 100644
--- a/build/moz.configure/bindgen.configure
+++ b/build/moz.configure/bindgen.configure
@@ -258,40 +262,97 @@ def basic_bindgen_cflags(target, is_unix, compiler_info, android_cflags, clang_p
if target.os == 'Android':
args += android_cflags
- args += {
- 'Android': ['-DOS_ANDROID=1'],
- 'DragonFly': ['-DOS_BSD=1', '-DOS_DRAGONFLY=1'],
- 'FreeBSD': ['-DOS_BSD=1', '-DOS_FREEBSD=1'],
- 'GNU': ['-DOS_LINUX=1'],
- 'NetBSD': ['-DOS_BSD=1', '-DOS_NETBSD=1'],
- 'OpenBSD': ['-DOS_BSD=1', '-DOS_OPENBSD=1'],
- 'OSX': ['-DOS_MACOSX=1', '-stdlib=libc++'],
- 'SunOS': ['-DOS_SOLARIS=1'],
- 'WINNT': [
- '-DOS_WIN=1',
- '-DWIN32=1',
- ],
- }.get(target.os, [])
-
- if compiler_info.type == 'clang-cl':
- args += [
- # To enable the builtin __builtin_offsetof so that CRT wouldn't
- # use reinterpret_cast in offsetof() which is not allowed inside
- # static_assert().
- '-D_CRT_USE_BUILTIN_OFFSETOF',
- # Enable hidden attribute (which is not supported by MSVC and
- # thus not enabled by default with a MSVC-compatibile build)
- # to exclude hidden symbols from the generated file.
- '-DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1',
- ]
-
- # We want to pass the same base flags as we'd pass clang.
- # check_compiler from toolchain.configure gives us that.
- # XXX: We should actually use the compiler from toolchain.configure.
- # See bug 1526857.
- info = check_compiler([clang_path], 'C++', target)
-
- args += info.flags
+ def handle_cpu(obj):
+ if 'cpu' in obj and target.cpu in obj['cpu']:
+ return obj['cpu'][target.cpu]
+ return []
+
+ if target.os == 'WINNT' and host.raw_os.startswith('gnu'):
+ args += handle_cpu({
+ 'cpu': {
+ 'x86': ['--target=i686-pc-mingw32'],
+ 'x86_64': ['--target=x86_64-w64-mingw32'],
+ },
+ })
+
+ os_dict = {
+ 'Android': {
+ 'default': ['-DOS_ANDROID=1'],
+ 'cpu': {
+ 'aarch64': ['--target=aarch64-linux-android'],
+ 'arm': ['--target=armv7-linux-androideabi'],
+ 'x86': ['--target=i686-linux-android'],
+ 'x86_64': ['--target=x86_64-linux-android'],
+ },
+ },
+ 'DragonFly': {
+ 'default': ['-DOS_BSD=1', '-DOS_DRAGONFLY=1'],
+ },
+ 'FreeBSD': {
+ 'default': ['-DOS_BSD=1', '-DOS_FREEBSD=1'],
+ },
+ 'GNU': {
+ 'default': ['-DOS_LINUX=1'],
+ 'cpu': {
+ 'x86': ['-m32'],
+ 'x86_64': ['-m64'],
+ },
+ },
+ 'NetBSD': {
+ 'default': ['-DOS_BSD=1', '-DOS_NETBSD=1'],
+ },
+ 'OpenBSD': {
+ 'default': ['-DOS_BSD=1', '-DOS_OPENBSD=1'],
+ },
+ 'OSX': {
+ 'default': [
+ '-DOS_MACOSX=1',
+ '-stdlib=libc++',
+ # To disable the fixup bindgen applies which adds search
+ # paths from clang command line in order to avoid potential
+ # conflict with -stdlib=libc++.
+ '--target=x86_64-apple-darwin',
+ ],
+ },
+ 'SunOS': {
+ 'default': ['-DOS_SOLARIS=1'],
+ },
+ 'WINNT': {
+ 'default': [
+ '-DOS_WIN=1',
+ '-DWIN32=1',
+ ],
+ 'compiler': {
+ 'msvc': {
+ 'default': [
+ # To enable the builtin __builtin_offsetof so that CRT wouldn't
+ # use reinterpret_cast in offsetof() which is not allowed inside
+ # static_assert().
+ '-D_CRT_USE_BUILTIN_OFFSETOF',
+ # Enable hidden attribute (which is not supported by MSVC and
+ # thus not enabled by default with a MSVC-compatibile build)
+ # to exclude hidden symbols from the generated file.
+ '-DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1',
+ ],
+ 'cpu': {
+ 'x86': ['--target=i686-pc-win32'],
+ 'x86_64': ['--target=x86_64-pc-win32'],
+ 'aarch64': ['--target=aarch64-pc-windows-msvc'],
+ },
+ },
+ },
+ },
+ }.get(target.os, {})
+
+ if 'default' in os_dict:
+ args += os_dict['default']
+
+ args += handle_cpu(os_dict)
+ if 'compiler' in os_dict and compiler_info and compiler_info in os_dict['compiler']:
+ compiler_dict = os_dict['compiler'].get(compiler_info)
+ if 'default' in compiler_dict:
+ args += compiler_dict['default']
+ args += handle_cpu(compiler_dict)
return args
I adopted your patch for my cross compile attempts, so here's the same patch, but rebased for 66.0
have fun :)
diff --git a/servo/components/style/build_gecko.rs b/servo/components/style/build_gecko.rs
index 734d095..d4ead97 100644
--- a/servo/components/style/build_gecko.rs
+++ b/servo/components/style/build_gecko.rs
@@ -141,7 +141,10 @@ mod bindings {
// them.
let mut builder = Builder::default()
.rust_target(RustTarget::Stable_1_25)
- .disable_untagged_union();
+ .disable_untagged_union()
+ .clang_arg("-target")
+ .clang_arg("armv7a-unknown-linux-gnueabihf");
+
let rustfmt_path = env::var_os("RUSTFMT")
// This can be replaced with
I still need Firefox 68 on RPI to be able to debug my Firefox for Android 68.11.0 (last version to support add-ons).
But apt
oldest Firefox version is now 78 or so.
Do you think it could be possible to have an armhf.deb
file for firefox 68?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.