<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Tony et al<br>
</p>
<p>I have a some experience with pyinstaller and linuxdeploy to
release multi-platform tools in other projects (Win + Lin + Mac)
as an quasi standalone app; with some tweaks you can make it work
flawlessly, the trick is to use the lowest version kernel
available, being the "standard" the latest LTS version of the OS,
in Ubuntu ecosystem that's 16.04</p>
<p>The trick is the libc version and the full backwards
compatibility of new version with older ones, with time and
testing maybe using 14.04 as base will fill all the gaps<br>
</p>
<p>I can try to play with it locally and then with travis-ci for the
automation process</p>
<p>I'm eager to see/test the flatpack script, can anyone point me to
it?</p>
<p>IMHO the appimage format is better than flatpack/snap in this
scenario, as it's 100% portable, aka: no need to install anything
or tied to a particular distro/version if created wisely</p>
<p>I will be testing the two variants, pyinstaller & appimage,
as usual, little free time, but I will keep the list posted on any
advance and will be grateful of feedback on tests.</p>
<p>Cheers, Pavel<br>
</p>
<div class="moz-cite-prefix">El 3/7/20 a las 14:38, Tony Fuller
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:DM6PR10MB309894BF87F349628E43F4B4ED6A0@DM6PR10MB3098.namprd10.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Hi Pavel, <br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Don't forget Ubuntu Focal is only one of many distributions
affected by the python2 support drop.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Things may have changed but when I played with pyinstaller
before I found the resulting executable was not compatible
across Ubuntu versions (i.e. a executable created on 18.04
wasn't compatible with 16.04 etc.) Some variations may work but
I think the dynamic link to glibc was one root cause. What this
implies is the build system needing to run the script on
multiple OS roots (in a docker/chroot/VM) which would then
output a number of executable files. Linux users would have no
issue downloading the correct version but the build system
doesn't scale when you include other distributions
(suse/fedora/Debian/etc). Maybe there's an advanced option I
missed in pyinstaller to resolve those issues.
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
I still think using flatpak or snap is a better way to unify the
currently fragmented Linux support. There already exists a
working flatpak script, I have not see any Snap build scripts
yet.
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
I'm happy to chat more about unifying Linux support for CHIRP
too. Let me know if you find the same results.<span
id="ms-outlook-android-cursor"></span>
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
Tony <br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:chirp_devel-bounces@intrepid.danplanet.com">chirp_devel-bounces@intrepid.danplanet.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:chirp_devel-bounces@intrepid.danplanet.com"><chirp_devel-bounces@intrepid.danplanet.com></a> on behalf
of Pavel Milanes Costa (CO7WT) via chirp_devel
<a class="moz-txt-link-rfc2396E" href="mailto:chirp_devel@intrepid.danplanet.com"><chirp_devel@intrepid.danplanet.com></a><br>
<b>Sent:</b> Friday, July 3, 2020 1:23:00 PM<br>
<b>To:</b> chirp_devel
<a class="moz-txt-link-rfc2396E" href="mailto:chirp_devel@intrepid.danplanet.com"><chirp_devel@intrepid.danplanet.com></a><br>
<b>Subject:</b> [chirp_devel] "Success" to port Chirp as a
stand alone app for Ubuntu Bionic...</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Hi, playing here with pyinstaller and
at first glance I managed to run
<br>
latest chirp from the hg repository.<br>
<br>
See here <a href="https://pasteboard.co/JfYqbrL.png"
moz-do-not-send="true">https://pasteboard.co/JfYqbrL.png</a>
for a pic of it.<br>
<br>
There are warnings in the import with some modules, but
that must be a <br>
few hours of work to make it happy.<br>
<br>
That's build on a Ubuntu 18.04 lxc image and crafted with
pyinstaller <br>
(there are other options) packed as a really standalone
app (just give <br>
exec permissions and fire it, no dependencies or other
installs)<br>
<br>
Is there a solution like this already?<br>
<br>
It worth to work on this pro provide a way for the Focal
users?<br>
<br>
I can at the end provide a script or a recipe to build it
on any of the <br>
free platforms out there (travis, etc)<br>
<br>
Cheers, Pavel.<br>
<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br>
<a
href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel"
moz-do-not-send="true">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a
href="http://chirp.danplanet.com/projects/chirp/wiki/Developers"
moz-do-not-send="true">
http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</div>
</span></font></div>
</blockquote>
</body>
</html>