meshtastic / Meshtastic-gui-installer

Cross platform, easy to use GUI for installing Meshtastic firmware.
https://meshtastic.org
GNU General Public License v3.0
63 stars 22 forks source link

Add Flatpak support #246

Open Sabering1 opened 1 year ago

Sabering1 commented 1 year ago

Publishing this app in a flatpak format would be very beneficial to the whole Linux userbase as a flatpak can be run on any distro.

https://www.flatpak.org/

Sabering1 commented 1 year ago

So i was trying to build a manifest file, and for dealing with the dependencies and to make it easier i followed the instructions from https://docs.flatpak.org/en/latest/python.html

Im using the flatpak-pip-generator to get the dependencies from requrements.txt file and make it a .JSON file

However the script fails at getting shiboken source?

Example of the error

Traceback (most recent call last): File "/home/sabering/git/test/Meshtastic-gui-installer/flatpak-pip-generator", line 259, in url = get_tar_package_url_pypi(name, version) File "/home/sabering/git/test/Meshtastic-gui-installer/flatpak-pip-generator", line 79, in get_tar_package_url_pypi raise Exception(err) Exception: Failed to get shiboken6-6.4.0 source from https://pypi.org/pypi/shiboken6/6.4.0/json

Any ideas? I can do it the hard way but thats kinda stupid.

Sabering1 commented 1 year ago

Running the script for individual deps, confirms that this is a pyside6 specific

https://download.qt.io/official_releases/QtForPython/shiboken6/PySide6-6.4.0-src/pyside-setup-opensource-src-6.4.0.zip