Bug 2542059

Summary: Review Request: mango - Lightweight tiling Wayland compositor based on dwl and scenefx
Product: [Fedora] Fedora Reporter: Damian Daniel <damian>
Component: Package ReviewAssignee: Michel Lind <michel>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: michel, package-review
Target Milestone: ---Flags: michel: fedora-review?
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Daniel 2026-09-27 11:01:48 UTC
Spec URL: https://fedorapeople.org/cgit/damiand/public_git/mango.git/plain/mango.spec
SRPM URL: https://fedorapeople.org/cgit/damiand/public_git/mango.git/plain/mango-0.17.3-1.fc44.src.rpm
Description: mango is a Wayland compositor based on dwl, using scenefx for rendering.
It aims to be lightweight and fast while offering a rich feature set:
animations for window open/close/move and tag switching, HDR support,
window grouping, per-application window rules, and both Sway-style and
named scratchpads.
Fedora Account System Username: damiand

Comment 1 Damian Daniel 2026-09-27 11:12:15 UTC
Koji scratch build (all architectures passed): https://koji.fedoraproject.org/koji/taskinfo?taskID=150669345

Comment 2 Michel Lind 2026-09-29 19:01:29 UTC
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

Comment 3 Damian Daniel 2026-09-29 20:16:55 UTC
(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.