Skip to content

SPECS: firefox: Add firefox.#448

Merged
Jingwiw merged 1 commit into
openRuyi-Project:mainfrom
misaka00251:add-firefox
May 23, 2026
Merged

SPECS: firefox: Add firefox.#448
Jingwiw merged 1 commit into
openRuyi-Project:mainfrom
misaka00251:add-firefox

Conversation

@misaka00251
Copy link
Copy Markdown
Member

@misaka00251 misaka00251 commented May 20, 2026

Close #53.

image

This Pull Request still needs some refinement. I hope we can ultimately enable the PGO feature on RISC-V.

@misaka00251 misaka00251 added this to the 2026.05 milestone May 20, 2026
@openruyi-bot openruyi-bot Bot added BuildSystem: misc Issue/PR not related to any BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: In Dev Issues that are actively being worked on by a developer. labels May 20, 2026
@misaka00251 misaka00251 force-pushed the add-firefox branch 2 times, most recently from b808e0d to f286f54 Compare May 20, 2026 14:39
@RevySR
Copy link
Copy Markdown
Contributor

RevySR commented May 20, 2026

Description: allow-riscv64-usegles
Author: Han Gao <rabenda.cn@gmail.com>

Last-Update: 2024-06-20

Index: firefox-140.0.4/toolkit/xre/glxtest/glxtest.cpp
===================================================================
--- firefox-140.0.4.orig/toolkit/xre/glxtest/glxtest.cpp
+++ firefox-140.0.4/toolkit/xre/glxtest/glxtest.cpp
@@ -438,7 +438,7 @@ static bool get_egl_gl_status(EGLDisplay
   PFNGLGETSTRING glGetString =
       cast<PFNGLGETSTRING>(eglGetProcAddress("glGetString"));

-#if defined(__arm__) || defined(__aarch64__)
+#if defined(__arm__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64)
   bool useGles = true;
 #else
   bool useGles = false;

This patch allows for consistent ARM behavior and enables GLES rendering.

https://bugzilla.mozilla.org/show_bug.cgi?id=1865601

@misaka00251 misaka00251 force-pushed the add-firefox branch 4 times, most recently from 7c66bae to 6c029d2 Compare May 21, 2026 16:56
@misaka00251 misaka00251 marked this pull request as ready for review May 21, 2026 16:58
@openruyi-bot openruyi-bot Bot added Workflow: Ready For Review Ready for review by anyone with domain expertise. and removed Workflow: In Dev Issues that are actively being worked on by a developer. labels May 21, 2026
@misaka00251
Copy link
Copy Markdown
Member Author

misaka00251 commented May 22, 2026

GitHub Action can't handle our Firefox build request... Here's my success build log:

_log_rva23.txt

Also, you can test it on your own.

@openruyi-bot openruyi-bot Bot added Workflow: In Review Issues that are undergoing code review and/or undergoing design review. and removed Workflow: Ready For Review Ready for review by anyone with domain expertise. labels May 22, 2026
Comment thread SPECS/firefox/firefox.xml Outdated
Comment thread SPECS/firefox/firefox.spec Outdated
Comment thread SPECS/firefox/firefox.js
Comment thread SPECS/firefox/firefox.spec
@misaka00251 misaka00251 marked this pull request as draft May 22, 2026 08:35
@openruyi-bot openruyi-bot Bot added the Workflow: In Dev Issues that are actively being worked on by a developer. label May 22, 2026
@misaka00251 misaka00251 marked this pull request as ready for review May 23, 2026 06:14
@openruyi-bot openruyi-bot Bot removed the Workflow: In Dev Issues that are actively being worked on by a developer. label May 23, 2026
@misaka00251 misaka00251 requested a review from Jingwiw May 23, 2026 06:22
Signed-off-by: misaka00251 <liuxin@iscas.ac.cn>
@Jingwiw Jingwiw merged commit ba78526 into openRuyi-Project:main May 23, 2026
2 checks passed
@openruyi-bot openruyi-bot Bot added Workflow: Complete Applied after all MRs have merged and the issue has been verified if necessary. and removed Workflow: In Review Issues that are undergoing code review and/or undergoing design review. labels May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BuildSystem: misc Issue/PR not related to any BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Complete Applied after all MRs have merged and the issue has been verified if necessary.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

firefox: Package request

3 participants