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

Install desktop files of applications #40

Open
ethanc8 opened this issue Feb 7, 2024 · 3 comments
Open

Install desktop files of applications #40

ethanc8 opened this issue Feb 7, 2024 · 3 comments

Comments

@ethanc8
Copy link

ethanc8 commented Feb 7, 2024

Hello, is it possible for GNUstep make to install the desktop files of applications that include a .desktop file in ${appname}.app/Resources/${appname}.desktop? Therefore, the user wouldn't have to manually copy it to /usr/local/share/applications or ~/.local/share/applications.

@rfm
Copy link
Contributor

rfm commented Feb 7, 2024

Yes gnustep-make supports installing app resources.
For instance if your app is called MyApp
MyApp_RESOURCE_FILES = MyApp.desktop
would install your desktop file as you suggest.

@ethanc8
Copy link
Author

ethanc8 commented Feb 7, 2024

The issue is that desktop files must be installed to a global location to be discovered by the desktop environment. This is a consequence on the non-Mac way of doing things where all files are grouped by purpose rather than by application.

@rfm
Copy link
Contributor

rfm commented Feb 7, 2024

Well obviously, it's make, so adding a rule to your makefile to install particular files to a fixed location is documented, with an example template GNUmakefile.postamble, but I guess that's not what you mean.
Perhaps you are wanting to grab information from other people's apps, but that's really not the role of gnustep-make, so it seems unlikely too.
Maybe someone else will better understand what you are asking for and be more able to help.

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

No branches or pull requests

2 participants