FS#73536 - [dunst] systemd and wayland are makedepends

Attached to Project: Community Packages
Opened by tleydxdy (tleydxdy) - Friday, 28 January 2022, 05:02 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I think systemd and wayland should be added as makedepends instead of depends.

For systemd it only generates the unit files, the operation of dunst doesn't really require systemd; same for wayland, dunst only need it at build time to support wayland compositors, it doesn't require wayland
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 23 August 2022, 17:56 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 28 January 2022, 05:07 GMT
systemd maybe, but dunst is linked to the wayland libs so that can't be a makedepends only.
Comment by tleydxdy (tleydxdy) - Friday, 28 January 2022, 05:59 GMT
i see, just systemd ig. it's also already covered by base
Comment by Friso Smit (fwsmit) - Sunday, 13 February 2022, 20:25 GMT
Dunst should be able to run without wayland. It auto detects if it should use wayland or X11 by looking at the WAYLAND_DISPLAY env variable.
- fwsmit, dunst maintainer
Comment by Doug Newgard (Scimmia) - Sunday, 13 February 2022, 20:28 GMT
That's not how library linking works. If it's linked to libwayland-client.so.0, which it is, that library must be installed.
Comment by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:56 GMT
`systemd` is used because upstream checks with pkg-config if it should prepare the service files.

https://github.com/dunst-project/dunst/blob/master/Makefile#L11

`wayland` is included because `dunst` explicitly link towards these libraries.

$ ldd /usr/bin/dunst | grep wayland
libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fbab99a1000)
libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007fbab9997000)

Not a bug and not actionable, closing.

Loading...