Closed tijder closed 1 year ago
Oh nice. I'll review this further when I get home. I'm no designer but I may try my hand at making some kind of logo. If you know somebody who's better suited for that task I'd appreciate it.
Let me known what you think of it. You can get it building if you installed flatpak.
With this command you can build and install it:
flatpak-builder --user --install .flatpak-build-dir flatpak/com.github.tralph3.Steam-Metadata-Editor.yml
With this command you can build it and get a Flatpak file to share:
flatpak-builder .flatpak-build-dir flatpak/com.github.tralph3.Steam-Metadata-Editor.yml --force-clean --repo=.flatpak-repo
flatpak build-bundle .flatpak-repo Steam-Metadata-Editor.flatpak com.github.tralph3.Steam-Metadata-Editor
I´m also not a designer. That´s why I took just a screenshot.
Ok what about this for a logo? Not great but I can't design to save my life, and it's better than a screenshot.
Looks good. Is much better then a screenshot.
Could you replace the flatpak logo with it? Once you're done I'll test it out on a fresh VM to see how it works.
I changed it. If you get errors from a runtime not found you need to add the flathub repo:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Btw, I made a fresh arch install on a separate disk to test. I couldn't manage to make it work. But I guess the problem is me not knowing how to use flatpaks rather than the packaging being wrong.
Weird, what was your log output?
No really, I don't know how to use flatpaks because I don't like them (but for python program distribution they are neat, since they bundle everything needed). I see that the commands ask for a "flatpak-build-dir", a " flatpak-repo" and so on. What do I need to replace all these with?
If you installed flatpak and flatpak-builder my command should work, when you in the root dir of this project.
Simply run:
flatpak-builder .flatpak-build-dir flatpak/com.github.tralph3.Steam-Metadata-Editor.yml --force-clean --repo=.flatpak-repo
flatpak build-bundle .flatpak-repo Steam-Metadata-Editor.flatpak com.github.tralph3.Steam-Metadata-Editor
it creates al need dirs. If everything was succesfull you can install the flatpak with:
flatpak install Steam-Metadata-Editor.flatpak
Anyway we could get this added to the Discover store for Steam Deck users?
@tijder Any additional steps you took to get the build-bundle command working? It seems like .flatpak-repo
is considered "an invalid directory". I could not get the flatpak exported in any way because of said error. Building it in an Ubuntu environment however does install it on the system. I've tried following your exact commands to follow along.
Another couple notes I made during me attempting to compile it (for exporting it into a bundle for the Steam Deck). I have not attempted any modifications as I'm new to Flatpak development:
Would love to get this repository a Flatpak version for Steam Deck users in the Flathub repo whenever possible. I've been wanting a Linux-based Steam metadata editor for the Deck for a while since I've had it.
I have packaged this application as a Flatpak. The nice thing about Flatpak is that it runs on most Linux distributions. The Flatpak comes with all the needed libraries. I also included a desktop file/icon so it can be started from the start menu.![afbeelding](https://user-images.githubusercontent.com/8418247/114192732-1f815300-994e-11eb-9d22-fa2a13a39df3.png)