wxRuby3 icon indicating copy to clipboard operation
wxRuby3 copied to clipboard

Enhancement: Native Executable Packaging on Mac / Windows / Linux

Open AndyObtiva opened this issue 1 year ago • 1 comments

I am curious if there will be future support for packaging Ruby apps built with wxruby3 as native executables on Mac, Windows, and Linux.

For example, Glimmer DSL for SWT has supported native executable/installer packaging for a number of years now, enabling packaging Ruby apps as APP/DMG/PKG on Mac, EXE/MSI on Windows, and DEB/RPM on Linux. That way, a developer can give people an installer and they are able to install an app without needing to install JRuby or JRuby dependencies like the JVM explicitly.

It would be great if CRuby would support something like that in wxWidgets in the future.

Currently, Glimmer DSL for LibUI supports CRuby native executable packaging on Windows via OCRAN: https://github.com/Largo/ocran

That might work for wxruby3 too.

Here are packaging ideas for Glimmer DSL for LibUI at the moment: https://github.com/AndyObtiva/glimmer-dsl-libui#packaging

It would be awesome of wxruby3 could eventually support native executable packaging on Mac, Windows, and Linux in the future.

AndyObtiva avatar Dec 13 '24 21:12 AndyObtiva

I would definitely like it if that kind of support became available at some point but it is something that is not on my short (or even medium) term action list.That is partly because until now I have not found any tools to do this that filled me with any confidence (so I did already take a look). Especially with regard to doing this in a platform independent manner (I will have a look at the tools you mentioned).I am prepared to support anybody that has some ideas as to contributing this however.On 14 Dec 2024 10:18, Andy Maleh @.***> wrote: I am curious if there will be future support for packaging Ruby apps built with wxruby3 as native executables on Mac, Windows, and Linux. For example, Glimmer DSL for SWT has supported native executable/installer packaging for a number of years now, enabling packaging Ruby apps as APP/DMG/PKG on Mac, EXE/MSI on Windows, and DEB/RPM on Linux. That way, a developer can give people an installer and they are able to install an app without needing to install JRuby or JRuby dependencies like the JVM explicitly. It would be great if CRuby would support something like that in wxWidgets in the future. Currently, Glimmer DSL for LibUI supports CRuby native executable packaging on Windows via OCRAN: https://github.com/Largo/ocran That might work for wxruby3 too. Here are packaging ideas for Glimmer DSL for LibUI at the moment: https://github.com/AndyObtiva/glimmer-dsl-libui#packaging It would be awesome of wxruby3 could eventually support native executable packaging on Mac, Windows, and Linux in the future.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

mcorino avatar Dec 14 '24 07:12 mcorino