-
Notifications
You must be signed in to change notification settings - Fork 99
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 Freedesktop files #358
Conversation
Good stuff! @monocasual please include this |
@hfiguiere thanks! Sorry for the delay, we were super busy with the CMake port. Two issues:
Do you think it can be safely merged into the one you proposed? |
I have no clue on how to do that in CMake.
I couldn't find the .desktop file but I have merged most of the one below into the one I am submitting. |
Perfect.
The problem is that we are about to get rid of Autotools very soon (#396). What do variables such as |
This is standard automake syntax. "something
They are used by automake that will generate the proper install targets. And this is in my patch, protected by an |
And the files are listed in |
I see, thanks @hfiguiere for the explanation. So I guess this should be covered by CMake installation rules and CPack for packaging (the |
@monocasual As the cmake setup is not yet complete, it would have been nice to include this into the currently working setup. |
@dvzrv the problem here is that we still have to figure out how to translate that automake syntax into cmake commands. Any hint would be appreciated. |
I am not a CMake expert, so I can’t help with that part unless I have some time to dive through the documentation. I just wanted to note that I am updating the giada package in Fedora Linux, and I am using the files from this PR in the package. |
Having them in the upstream repository even without install would help a lot. Maybe I'll just update the PR with these files alone. (I use them for the Flatpak) |
Using these in a GNOME/Wayland session, a generic icon and name (“ See spyder-ide/spyder#13786 for a detailed writeup of the same issue in a different application. Unfortunately the fix there was Qt-specific. Similarly for LyX and frescobaldi. See also https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/950, which is related. This is not a deal-breaker for using these files, as having the correct launcher is much better than nothing. However, I’m hoping someone can figure out the right source code patch to allow gnome-shell to match the window with the desktop file. |
c7b5f9c
to
cf4845d
Compare
Now with this update of the patch, the files get installed with CMake, including the icons |
@hfiguiere thanks a lot for the update, I've just added a couple of comments. |
Merged to |
The change of app-id is unfortunate, and even I don't see it being necassary since you have the domain as well. This will translate to have to keep patches for the flathub package. |
@hfiguiere changes reverted. Green light? |
looks ok to me |
Merged manually. Thanks! |
Add and install the freedesktop files.
I use them for the flatpak flathub/flathub#1626