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

Add Flatpak and desktop and metainfo.xml file #536

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kevinsmia1939
Copy link

These files are instructions to build TeleSculptor as Flatpak.
#425

Copy link
Member

@mleotta mleotta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me, but I don't know much about Flatpak. Please respond to the inline comments. They are mostly suggestions.

can be colored from the source imagery.
</p>
</description>
<url type="homepage">https://github.com/Kitware/TeleSculptor</url>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be better for this to be https://telesculptor.org/, which is the new homepage we've launched recently. It links back to the Github page.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change it.

Terminal=false
Type=Application
Icon=org.telesculptor.TeleSculptor
Categories=Qt;Science;DataVisualization;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might consider adding ImageProcessing, Geoscience, and 3DGraphics, maybe also AudioVideo;Video. There are other categories that might fit too.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does TeleSculptor also have audio, so it can be include in AudioVideo category?
Nevermind, AudioVideo have to follow Video anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, no audio, but it sounds like to include Video you also need AudioVideo as a super category.

@@ -0,0 +1,88 @@
app-id: org.telesculptor.TeleSculptor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is okay. Another option might be com.kitware.TeleSculptor, but I'm not sure what rules are used to determine what this name should be.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the new homepage is telesculptor.org, would not the org.telesculptor.TeleSculptor be better?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably. I'm not suggesting that this needs to be changed, I'm just trying to figure out how these ids are chosen and what the conventions are. You said you've done this for other Kitware open source tools right? Do those follow the same conventions?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming follow "reverse DNS"
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming

Usually, it would be the main website of the software, like org.paraview.ParaView.
Now, the name must have 2 dots. So the name usually repeats. if it is too short.
But of course, it think it is better for you to pick the name you prefer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.telesculptor.TeleSculptor seems correct then, especially if ParaView is org.paraview.ParaView since that is a highly analogous example.

@barthalion
Copy link

@mleotta Sorry for hijacking this PR, but would you or anyone else from Kitware have write access to the TeleSculptor repo on Flathub? Kevin is doing a fantastic job maintaining apps, and so I imagine you wouldn't need to do anything specific, but one of Flathub principles is upstream involvement.

@mleotta
Copy link
Member

mleotta commented Sep 27, 2021

@barthalion I'm happy to be involved, but have not worked with Flathub yet myself. @kevinsmia1939 has been pushing for Flatpak support and I'm happy to let him continue to do so, but if you need me to have access somewhere, just let me know what I need to do.

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

Successfully merging this pull request may close these issues.

None yet

3 participants