FS#68249 - [libpulse] Dependency on libxtst

Attached to Project: Arch Linux
Opened by Josef Mutzenbacher (Joe2020) - Wednesday, 14 October 2020, 14:08 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 23 February 2022, 15:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

[libpulse] has a dependency on [libxtst], which itself pulls in some X11 stuff.

On non-GUI-systems this appears to be unnecessary.

IMHO it is preferrable to avoid this dependency if possible. I don't know if that is the case.
Debian has this dependency, too, so probably it is a topic for upstream.
On the other hand, libXtst is described as "X11 Testing -- Resource extension library",
which sounds quite unrelated to an audio system...

Thanks in advance for throwing a glance at this topic!


This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 23 February 2022, 15:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  pulseaudio 14.0-1
Comment by Josef Mutzenbacher (Joe2020) - Wednesday, 14 October 2020, 14:10 GMT
Shame on me, I forgot to edit the summary... there seems to be no possibility to correct this on my side... sorry for this!
Comment by freswa (frederik) - Wednesday, 14 October 2020, 14:44 GMT
Seems like we could replace libxtst with libxcb
Comment by Doug Newgard (Scimmia) - Wednesday, 14 October 2020, 14:51 GMT
I really don't know what people have against pulling in certain libs.
Comment by Josef Mutzenbacher (Joe2020) - Wednesday, 14 October 2020, 15:34 GMT
[libxcb] would be a significant improvement.

Doug, I don't think this is the right place to discuss this topic in general. Actually, I have a valid use case for this and if the dependencies burden might get lessen without hurting functionality for other people I don't see a reason to pull unneccessary stuff in. If there is an impact on functionality other people enjoy I am totally for keeping it. So why shouldn't I request politely if someone throws a glance at this topic?
Comment by Jan Alexander Steffens (heftig) - Wednesday, 14 October 2020, 15:58 GMT
AFAICT libxtst is indeed unneeded and we can get by with libxcb, so this is a bug.
Comment by Marcell Meszaros (MarsSeed) - Wednesday, 23 February 2022, 15:31 GMT
Requested change has been implemented as of package v13.99.2+22+ga9c6d43b7-1 (committed 2020-10-29):

https://github.com/archlinux/svntogit-packages/commit/eb802438e32a58a39df149fdb2906eccf5ffc07e?diff=split#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422L132

package_libpulse(): dependency libxtst removed, replaced with libxcb.
package_pulseaudio(): dependency libxtst added.

Loading...