Checks before submitting an app

I have created an app which can be built and runs properly as a Flatpak (the manifest was created for me by “exalm” quite a while ago). I have followed the guidelines on https://github.com/flathub/flathub/wiki/App-Submission, but I am a newbie to Flatpak-ing and to Git/Github.

I am concerned to avoid either wasting the time of the Flathub administrators or be stuck with a repository location or application name that I don’t want. Before I submit it could I check that my assumptions are correct?

Capitals - my desktop file contains Name=Myapp which I think is correct, and it is called Myapp.desktop, but is lower case more standard for the filename – myapp.desktop?

I want to avoid the clumsy repetition of the name, for example org.gimp.GIMP, so I must use different names for my repository and the application. The name of my Github repository where I will have the manifest should be the same as the name I want the app to have, is that correct? Is it more standard for the names to be all lower case, or should the initial letters be capitalised?

Github account: com.github.{myaccountname}.{myapp}

Manifest:

app-id: com.github.{myaccountname}.{myapp}
...
...

- name: {myapp}
  buildsystem: meson
  sources:
   - type: git
     url: https://github.com/{myaccountname}/{myapp}

Meson – The meson.build file works apart from losing an icon. I have found https://mesonbuild.com but can’t find anything about copying files, is there a language reference or a forum?

Manifest - A major dependency is align_image_stack which is part of Hugin. This is all built in to the manifest and works correctly. Having read https://docs.flatpak.org/en/latest/index.html I am wondering whether Building>Dependencies>Base Apps shows a way to include another application which has already been built as a Flatpak to save work and time specifying and building modules for the new Flatpak? If that is the case it might be possible to simplify the manifest as Hugin is already available as a Flatpak. That would also be desirable, because as it stands it can only be built with an out-of-date runtime.

Don’t worry about the dependency. Base Application won’t really solve anything, not even time. The time saver is usually copying fragments of the manifest as “someone already figured that out”.

The app name can be capitalised the way you want.

For meson, to copy the icon with meson, check https://mesonbuild.com/Reference-manual.html#install_data
But fundamentally this is not a flatpak issue.

1 Like

Ta! Not being familiar with the Meson language I’d probably been searching for a word that was a variable name rather than a command, which would explain why I couldn’t find it.