Git Product home page Git Product logo

Comments (4)

Rangi42 avatar Rangi42 commented on May 23, 2024

Interesting, thanks! Not sure if I'll add these files in the repo itself.

FLTK made that XDG_CONFIG_HOME change in fltk/fltk@7308bcd. They're "planning to release 1.3.9 (soon, maybe parallel to 1.4.0)", so maybe that will have it.

from tilemap-studio.

mid-kid avatar mid-kid commented on May 23, 2024

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.

from tilemap-studio.

JakobDev avatar JakobDev commented on May 23, 2024

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 fltk/fltk@7308bcd. 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 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.

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.

from tilemap-studio.

mid-kid avatar mid-kid commented on May 23, 2024

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.

from tilemap-studio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.