Skip to content
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

Linux build target #4

Open
7 tasks
YoavCodes opened this issue Mar 15, 2024 · 9 comments
Open
7 tasks

Linux build target #4

YoavCodes opened this issue Mar 15, 2024 · 9 comments

Comments

@YoavCodes
Copy link
Member

YoavCodes commented Mar 15, 2024

oven-sh/bun#790 (reply in thread)

linux builds (if/when people ask)

I am hereby doing so. :)

Thanks !

Enable building for and distributing to linux targets.

Probably requires more than this, but off the top of my head

  • zig bindings for webview for https://docs.gtk.org/gtk3/ / https://webkitgtk.org/
  • compile zig bindings binary for linux targets
  • electrobun cli should build some kind of linux application bundle
  • update logic to decouple bun runtime, and app code
  • (consider breaking out) compile cef for linux
  • (consider breaking out) compile electrobun cli for linux to enable development on linux
  • testing on ubuntu (what other distros?)
@Lunarequest
Copy link

testing on ubuntu (what other distros?)

Fedora, Opensuse Tumbleweed and Arch Linux would be my suggestions. All are very popular and would cover majority of distros

@AllNamesRTaken
Copy link

testing on ubuntu (what other distros?)

Fedora, Opensuse Tumbleweed and Arch Linux would be my suggestions. All are very popular and would cover majority of distros

That sounds like personal preference.
image

@MulverineX
Copy link

  • Debian; same as ubuntu
  • CentOS through Alpine Linux; same as fedora
  • Mint; same as ubuntu

@MulverineX
Copy link

As for beyond testing you need targets for:

  • .deb w/ PPA/RPM publishing
  • .AppImage w/ easy to follow system requirements
  • Publish to AUR
  • Publish to Flatpak
  • Publish to Snap

@spirobel
Copy link

raspberry pi might be a good idea for kiosk like applications

@san1t1
Copy link

san1t1 commented Nov 21, 2024

I'd love this to work on a Busybox armv7 router I deploy to lots of places. No package manager needed, just binaries with checksums for me.

# uname -a
Linux HOST 5.10.52 #1 SMP PREEMPT Mon Apr 29 09:36:40 BST 2019 armv7l GNU/Linux

@firtoz
Copy link

firtoz commented Nov 21, 2024

Regarding "distros etc to go with" I personally would recommend whatever "people are asking for first" so they can try and bugs can be fixed, before considering "market percentages etc", but yeah that's just my personal opinion as someone who worked on a lot of projects including open source

PS: I would love to be an alpha tester for Arch Linux ;)

@ArikRahman
Copy link

That sounds like personal preference.

The infographic and comment is obnoxious and significantly misunderstands how package repositories works. Most distros are downstream from AUR (Arch). Nix repositories are also significant for stable development purposes. I would argue that these are targeted first because of their bleeding-edge nature.

@20after4
Copy link

Arguing about which distros to support is just a distraction from getting anything useful accomplished.

If someone can make it work on one Linux distro, then it shouldn't be very hard to port that to any other relatively normal Linux distro. All of the distros mentioned here so far are pretty similar and don't really have major incompatibilities between them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants