Open JakobDev opened 1 year ago
Interesting, thanks! Not sure if I'll add these files in the repo itself.
FLTK made that XDG_CONFIG_HOME
change in https://github.com/fltk/fltk/commit/7308bcdb74e34626c6459699cb57371afd7b343b. They're "planning to release 1.3.9 (soon, maybe parallel to 1.4.0)", so maybe that will have it.
It's a good idea to maintain the metainfo.xml upstream (and install it in /usr/share/metainfo/ as appropriate), as it's not flatpak-specific, and will get shown in any software store/package repository the program is distributed in. https://wiki.debian.org/AppStream/Guidelines#Component_naming https://www.freedesktop.org/software/appstream/docs/
Also, that patch kind of stinks. XDG_CONFIG_HOME
is not guaranteed to be set, and needs to fall back to HOME/.config
, and changing it like this results in a configuration root of ~/.config/.fltk/
. It's awkward to have hidden files in .config.
Tilemap Studio is now on Flathub
Interesting, thanks! Not sure if I'll add these files in the repo itself.
You should do (except the Patch). These are normal Linux Metadata.
FLTK made that XDG_CONFIG_HOME change in https://github.com/fltk/fltk/commit/7308bcdb74e34626c6459699cb57371afd7b343b. They're "planning to release 1.3.9 (soon, maybe parallel to 1.4.0)", so maybe that will have it.
Nice to hear!
Also, that patch kind of stinks.
XDG_CONFIG_HOME
is not guaranteed to be set, and needs to fall back toHOME/.config
, and changing it like this results in a configuration root of~/.config/.fltk/
. It's awkward to have hidden files in .config.
It does not. The only thing this Patch should do, is to make FLTK put it's files in the correct directory (Flatpak uses ~/.var/<appid>
). Nothing more. XDG_CONFIG_HOME
is guaranteed to be set inside a Flatpak.
I guess it works if it's only going to be used in flatpak, though it'll be awkward when fltk 1.4.0 eventually releases and uses $XDG_CONFIG_HOME/fltk
rather than $XDG_CONFIG_HOME/.fltk
. Just don't submit or apply this patch anywhere else.
I'm going to upload Tilemap Studio to Flathub. These files are needed to build the Flatpak:
io.github.Rangi42.tilemap-studio.yaml
io.github.Rangi42.tilemap-studio.metainfo.xml
xdg-dir.patch
io.github.Rangi42.tilemap-studio.png![io github Rangi42 tilemap-studio](https://user-images.githubusercontent.com/15185051/223722124-16189d74-4be8-42a2-864c-d11806f89a57.png)