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

Make Linux distribution #10

Open
Moosems opened this issue May 6, 2023 · 17 comments
Open

Make Linux distribution #10

Moosems opened this issue May 6, 2023 · 17 comments
Labels
enhancement New feature or request

Comments

@Moosems
Copy link
Member

Moosems commented May 6, 2023

Snaps or FlatPaks workflows need to be added

@Moosems Moosems added the enhancement New feature or request label May 6, 2023
@im-coder-lg
Copy link
Member

As @rdbende said, I hate snaps too. They are slow as heck. But for a start, we could add both Snaps and Flatpaks till we figure out proper packaging for DEBs and RPMs. I'll try researching today, busy with a lot of work yesterday.

Also, where is the Gitpod Configuration? I needed that!

@im-coder-lg
Copy link
Member

Phew found it!

@im-coder-lg
Copy link
Member

Let's start with snaps for now. Then we will progress to flatpaks

@im-coder-lg
Copy link
Member

im-coder-lg commented May 10, 2023

The latest builds for Linux have a glibc version lock. It needs version 2.35 of glibc, so it is NOT backwards-compatible with previous versions of Ubuntu before 22.04, i.e. 20.04, which is what Zorin OS uses(I'm back to this). We need to figure out a way to make the executable work with older Ubuntu versions, by perhaps building it in an older version.

@Moosems
Copy link
Member Author

Moosems commented May 10, 2023

You can probably do it with an env variable. Check the PyInstaller docs.

@im-coder-lg
Copy link
Member

This reply just proves my point. It is better to use an older Linux distro, like the last LTS version(Ubuntu 20.04 than 22.04) than change GLIBC versions since that can really damage your system. If I am not wrong, that is how I wrecked my previous Zorin install, but I installed two versions of Python.

@Moosems
Copy link
Member Author

Moosems commented May 10, 2023

Ok, pretty much what they said is to use an old docker version and build with that. I would make that only happen on Linux though. They gave a repo as an example but again, only do this on Linux. MacOS bundles work just fine by giving an env var and honestly Windows works fine as they are.

@im-coder-lg
Copy link
Member

That's what I did.

@im-coder-lg
Copy link
Member

Yeah #13 is primed for review, so can we merge that?

@im-coder-lg
Copy link
Member

I tried making a snap package locally. It failed horribly plus I got a headache. Will try packaging again. Can anyone test the app in Fedora and Arch Linux?

@HuyHung1408
Copy link

Screenshot from 2023-05-12 06-56-01
Fedora here

@im-coder-lg
Copy link
Member

Phew! Thanks!

@im-coder-lg
Copy link
Member

I'm testing flatpaks so I'll tell results later.

@rdbende
Copy link

rdbende commented May 12, 2023

Packaging tkinter apps into Flatpak is really a breeze :)

@Moosems
Copy link
Member Author

Moosems commented May 12, 2023

Would you teach that we may fish?

@im-coder-lg
Copy link
Member

im-coder-lg commented Aug 9, 2023

FLATPAKS FREAKIN' WORK! I tested it with the latest build from #14.

I know what to do.

Edit: Oh wait, the requests aren't being sent through.. This is a test build, so could be an issue due to that.

@im-coder-lg
Copy link
Member

I'll work on it - mostly it is PyOWM that has got to be missing.

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

No branches or pull requests

4 participants