[GH-ISSUE #37] Invalid .desktop file #28

Closed
opened 2026-05-05 04:48:17 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @AdrianKoshka on GitHub (May 14, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/37

Build OS: SilverBlue (previously known as Fedora Atomic Workstation)
Build tool: flatpak run org.flatpak.Builder (the flatpak of flatpak-builder)

error:

/app/share/applications/barrier.desktop: error: value "2.1" for key "Version" in group "Desktop Entry" is not a known version
Error on file "/app/share/applications/barrier.desktop": Failed to validate the created desktop file
Error: module barrier: Child process exited with code 1
make: *** [Makefile:8: build] Error 1

.desktop file:

[Desktop Entry]
Type=Application
Version=2.1
Name=Barrier
Comment=Keyboard and mouse sharing solution
Exec=barrier
Icon=barrier
Terminal=false
Categories=Utility;
Keywords=keyboard;mouse;sharing;network;share;

X-Desktop-File-Install-Version=0.23
Originally created by @AdrianKoshka on GitHub (May 14, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/37 Build OS: SilverBlue (previously known as Fedora Atomic Workstation) Build tool: `flatpak run org.flatpak.Builder` (the flatpak of flatpak-builder) error: ``` /app/share/applications/barrier.desktop: error: value "2.1" for key "Version" in group "Desktop Entry" is not a known version Error on file "/app/share/applications/barrier.desktop": Failed to validate the created desktop file Error: module barrier: Child process exited with code 1 make: *** [Makefile:8: build] Error 1 ``` `.desktop` file: ```.desktop [Desktop Entry] Type=Application Version=2.1 Name=Barrier Comment=Keyboard and mouse sharing solution Exec=barrier Icon=barrier Terminal=false Categories=Utility; Keywords=keyboard;mouse;sharing;network;share; X-Desktop-File-Install-Version=0.23 ```
Author
Owner

@walker0643 commented on GitHub (May 15, 2018):

Oops that's my mistake. I set it to the product version, not the .desktop spec version. I think we can just take that line out, no?

<!-- gh-comment-id:389200485 --> @walker0643 commented on GitHub (May 15, 2018): Oops that's my mistake. I set it to the product version, not the .desktop spec version. I think we can just take that line out, no?
Author
Owner

@AdrianKoshka commented on GitHub (May 15, 2018):

I'd assume so? I don't edit .desktop files often.

<!-- gh-comment-id:389313124 --> @AdrianKoshka commented on GitHub (May 15, 2018): I'd assume so? I don't edit `.desktop` files often.
Author
Owner

@walker0643 commented on GitHub (May 16, 2018):

fixed in 773a0081e3

<!-- gh-comment-id:389378000 --> @walker0643 commented on GitHub (May 16, 2018): fixed in 773a0081e3069f3aadf726830332879f02d84a3b
Author
Owner

@AdrianKoshka commented on GitHub (May 16, 2018):

Will there be a 2.1.1 so I can test this ASAP?

<!-- gh-comment-id:389378244 --> @AdrianKoshka commented on GitHub (May 16, 2018): Will there be a `2.1.1` so I can test this ASAP?
Author
Owner

@walker0643 commented on GitHub (May 16, 2018):

Done

<!-- gh-comment-id:389603226 --> @walker0643 commented on GitHub (May 16, 2018): Done
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#28
No description provided.