https://bugzilla.redhat.com/show_bug.cgi?id=2542059



--- Comment #3 from Damian Daniel <[email protected]> ---
(In reply to Michel Lind from comment #2)
> Issues:
> =======
> - Package installs a %{name}.desktop using desktop-file-install or desktop-
>   file-validate if there is such a file.
> 
>   see
> https://docs.fedoraproject.org/en-US/packaging-guidelines/
> #_desktop_file_creation
> 
> - systemd_user_post is invoked in %post and systemd_user_preun in %preun
>   for Systemd user units service files.
>   Note: Systemd user unit service file(s) in mango
> 
>   See: https://docs.fedoraproject.org/en-US/packaging-
>   guidelines/Scriptlets/#_user_units

Thanks for the feedback. I pushed all changes to the repo
(https://fedorapeople.org/cgit/damiand/public_git/mango.git). I have also
rescratched it on Koji for good measure.

Links for spec and SRPM stay the same. 
Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=150768423

One note on the desktop-file-validate call: it flags an error on the
DesktopNames key ("keys extending the format should start with X-"). That key
isn't a mistake though, it's required by the freedesktop.org desktop entry spec
for wayland-session files specifically, to set XDG_CURRENT_DESKTOP so
xdg-desktop-portal works at login (screen sharing, screenshots, etc). Upstream
Sway added this same key to their own sway.desktop for that exact reason
(swaywm/sway#7952), and Debian even carries a patch to add it back when
missing. desktop-file-validate just predates that spec addition, so I kept the
check for real errors but appended `|| :` so this known false positive doesn't
fail the build. Happy to adjust if youd rather handle it differently.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2542059

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202542059%23c3

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to