PupNet-Deploy - something to share! #1258
Replies: 10 comments 28 replies
-
Wow @kuiperzone, this will be very useful indeed. Thanks for sharing. Personally I think the world needs more cross-platform solutions. Is there any chance you could add the various packages including the AppImage to https://github.com/kuiperzone/PupNet-HelloWorld/releases? I'd like to test the AppImage of a GUI application packaged with your tools. Thank you very much for all the hard work you've been putting in. |
Beta Was this translation helpful? Give feedback.
-
Updated so you shouldn't see the error: https://github.com/kuiperzone/PupNet-HelloWorld/releases/tag/v1.0.1 However, there shouldn't have been a problem anyway, although it wasn't down to any bug in the code. I'm not sure what FreeBSD means in terms of compatibility with Linux apps? I know that you use it as a test bed for the AppImage catalogue and I've previously had a .NET app accepted into it. |
Beta Was this translation helpful? Give feedback.
-
Now I see when running on the command line:
Is this how it should be? Do you have a GUI app for testing?
FreeBSD has a Linux compatibility layer called the "Linuxulator", and I am using it together with a small Debian runtime to run AppImages. At this point, this is more my personal experimentation than anything.
Actually, appimage.github.io (currently) tests AppImages on the latest still-supported LTS release of Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
It's not an error. Rather it is a feature test. The app is merely detecting a flag that may (or not in this case) be passed from the command line during the build process. It allows apps to be released with polymorphic behaviour which is defined at "package build time". The AppImage demo was built with: pupnet -k appimage To pass a "CUSTOM_FLAG" (the C# equivalent of a #define):
I'll release a GUI demo shortly. |
Beta Was this translation helpful? Give feedback.
-
Q. Is there much call for arm64 AppImages? If I provide a GUI demo built for Arm, can you test it and ensure that it runs for me? |
Beta Was this translation helpful? Give feedback.
-
Sure @kuiperzone. An AppImage consists of two parts: a compressed filesystem image ("disk image"), and a small application that mounts that image when the AppImage is executed ("the runtime"). If you would like to make an AppImage that can run on aarch64 machines, then both the contents of the image and the runtime must both be aarch64. What AppImageKit's It appears that setting For that, one needs to tell This way, an The same is also true the other way around (e.g., an ARM user trying to make an AppImage for Intel). Hope this makes sense. |
Beta Was this translation helpful? Give feedback.
-
Hi @probonopd , Just a little interim follow up. I'm in the process of updating PupNet, and think it would be good to have a record on the web for this. You wrote previously (above) that I should set: ARCH=aarch64. This is incorrect, or at least it doesn't work. Rather, the last poster seems to be correct here: https://discourse.appimage.org/t/how-to-package-for-aarch64/2088 Must set: ARCH=arm_aarch64 (for arm64*) and ARCH=arm (not armhf for arm (32)) (*) Why the developer felt the need to invent yet another convention for arm64/aarch64, I've no idea? Was it you? :) Moreover, given that I am now explicitly specifying the runtime and the output filename, not sure why I need to supply the arch? But it doesn't work unless I do so, as above. |
Beta Was this translation helpful? Give feedback.
-
I've built a new HelloWorld.aarch64.AppImage file, plus a 32-bit armhf file. You can get them here: https://github.com/kuiperzone/PupNet-HelloWorld/releases/tag/v1.0.1 This time, I've explicitly set the runtime, like so:
It would be great to know if these work? Cheers |
Beta Was this translation helpful? Give feedback.
-
Q. What if I added the ability to PupNet to convert RPM,deb, flatpacks to AppImage? Would this be useful? Has it been thought about? Is it even possible? Is there an existing converter? I know about Alien, but this only converts between deb and RPM, if I am correct. I'm not saying I have the time to do this, but I might if I am at a loose end some time. |
Beta Was this translation helpful? Give feedback.
-
Dooh! TheAssassin is going to tell me I should have done a search first! :) |
Beta Was this translation helpful? Give feedback.
-
I've been asking a lot questions recently because I've been working on a project of my own. Thank you for all the help!
If I may, I'd like to share:
https://github.com/kuiperzone/PupNet-Deploy
It's cross-platform deployment utility that targets dotnet applications. PupNet makes it easy, for example, to package dotnet apps as AppImage, and AppImage is my preferred format.
Beta Was this translation helpful? Give feedback.
All reactions