Bug 2542059 - Review Request: mango - Lightweight tiling Wayland compositor based on dwl and scenefx
Summary: Review Request: mango - Lightweight tiling Wayland compositor based on dwl an...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-27 11:01 UTC by Damian Daniel
Modified: 2026-09-29 20:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
michel: fedora-review?


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.