New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FreeBSD support to electron #3797
Comments
As mentioned in #2452, currently we don't have any plan to add support for FreeBSD, but if anyone is interested in sending a pull request, we will be very happy to accept it. |
Hi @zcbenz, Could you please keep this open? I opened the request and added a bounty to encourage someone to send in a PR adding in FreeBSD support. Thank you, |
Okay. |
I'm getting close to compiling electron on FreeBSD 10.3. I have two errors standing in my way: https://gist.github.com/yonas/06d08aa591e4a452b16c1e9a9ac5e0f3 but I'm not sure how to fix them. Any C/C++ gurus here? :) |
I see that $200 USD has been added to the bounty? Is this going to happen? I think it will rock if it does. |
Sorry, I'll try to spend more time on this. If anyone knows C/C++ very well, there are Linux specific parts that need to be re-implemented for FreeBSD. Yes, Electron is becoming more popular and being used in more apps than just the Atom editor. I'd love to have the Black Screen terminal running on my FreeBSD machine. |
Was able to build electron and VSCode in freebsd11RC1. the build instruction is posted in |
@prash-wghats Great work!!! I'm curious, why did you compile with VSCode? Is there anything that GCC or CLANG is missing? |
This is awesome. Can't wait to try it out, and would love to see those changes moved forward. |
@yonas @prash-wghats didn't build using VSCode, he built Electron & VSCode. |
@yonas Thanks. Built electron using clang, then used it to run VSCode. |
This comment has been minimized.
This comment has been minimized.
Hello electron team, my compliments!!!! First I would like to congratulate you on the project and also leave here my desire as well as many others to see the electron running in the FresBSD, your application is very impressive and it would be great if you could add support to FreeBSD I very much enjoyed the platform and it would enable the BSDS systems to leverage enabling the creation of incredible apps. |
Any chances of the patches referenced by prash-wghats commented on Oct 12, 2016 will be incorporated upstream? Are their blockers preventing this from happening, or anything the FreeBSD community can do to usher this along? |
https://github.com/prash-wghats/VSCode-For-FreeBSD/releases. |
I upped the bounty on this a bit.. not sure if it will help spark some more interest in this... |
Are anyone working on this issue yet? This one looks like interesting to me, especially with the bounty. So is the requirement to have FreeBSD as a target aviliable? @zcbenz Can you tell us if this issue (also the bounty) is still open or has been already resolved? |
I think this issue should be closed, as electron12 has arrived in the Ports tree: https://www.freshports.org/devel/electron12/ I'm personally running electron v.12.0.7 on FreeBSD 13.0 amd64, and vscode v.1.45.0 at least builds and runs just fine on this system. I can't speak to other architectures, but on amd64 at least Electron on FreeBSD is a reality. |
I believe this should be closed then, maybe the author of the freebsd patch himself should go and collect his well deserved bounty |
There are currently 996 patch files in the FreeBSD devel/electron12 port; it would be very beneficial for long-term maintenance to get as much of this upstreamed as possible. |
I personally do not think it should be closed because you cannot build on one of the other OSs targeting BSD, which I believe was the original intent of this, and the reason why I contributed to the bounty. |
What would be needed to start getting some patches brought upstream? |
Would be great to get official support from the project for 4th biggest open-source system… |
The lack of official FreeBSD support in Electron seems to be holding back an official Session client from FreeBSD. |
Remember the point of this issue is not to be able to build Electron on BSD, rather the ability to build a BSD version of your app on a different platform. On MacOS you can build a Windows version and a Linux version of your app. I donated to this so that ANY OS can build a BSD version of their app. |
Could anyone put it into the issue desc, then (i can't due to lack of permissions) |
@electron-triage | @electron ▲ merci |
Greetings! There is already a port of Electron for FreeBSD (https://github.com/tagattie/FreeBSD-Electron) by @tagattie |
Electron is in FreeBSD Ports now: But FreeBSD is not supported by Electron in electron-builder etc. if I understand it correctly. Or how does one build an Electron app targeting FreeBSD? |
How quaint. I don't use electron or FreeBSD, but my understanding was that electron app are just local websites run on an (statically linked?) (chromium?) browser, so the objective here would be to "simply" bundle the html, js and css files and make sure that freebsd opens those with the browser? Seems more than doable. |
Electron is much more than a lightweight browser. It has many JS APIs which allows native integration (file access, systray icon, custom API of the integrator, window chrome aka no address bar and more) which must not be available (on purpose) with any random, untrusted website. |
That is the point of this issue. Have BSD as a target so that while on any of the other OSs, you can build a BSD version of your app. |
I found several people were successfully able to build electron on FreeBSD but pretty much in hacky way, and several third-party build I was able to find, but most of them are quite outdated. Seems there are no hope at all #36325 (comment), until FreeBSD gets a wide range of users, well macOS contains a lot of FreeBSD code, yet Electron just never give native support for FreeBSD and to be honest, this time probably porting GNU/Linux version of Electron for FreeBSD would be *best* choice so far. |
Visual Studio Code - Open Source ("Code - OSS") is a thing. And it works nicely on FreeBSD. It uses https://www.freshports.org/devel/electron18/. |
Here, I'm not talking about ports, I know electron port exist for FreeBSD, however, my main intention is officially support thing. |
Related: #2452
The text was updated successfully, but these errors were encountered: