Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487152 - app-emulation/wine depends on sys-auth/rtkit for pulseaudio even without using realtime USE flag
Summary: app-emulation/wine depends on sys-auth/rtkit for pulseaudio even without usin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-06 20:17 UTC by Stefan Reimer
Modified: 2013-10-09 04:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Reimer 2013-10-06 20:17:49 UTC
Wine depends on sys-auth/rtkit if pulseaudio is enabled.
Pulseaudio only depends on sys-auth/rtkit if [realtime] is USEd.

Either remove dependency completely ( pulseaudio will pull it in ), or only depend if pulseaudio uses realtime.
Comment 1 Stefan Reimer 2013-10-07 02:25:06 UTC
This prevents the final removal of all systemd, (console|pol|rt)kit, depsite using wine incl. pulseaudio.

Thx for considering


--- /mnt/portage/portage/app-emulation/wine/wine-1.7.0.ebuild	2013-09-01 09:01:04.000000000 -0700
+++ app-emulation/wine/wine-1.7.0-r1.ebuild	2013-10-06 18:38:41.757091988 -0700
@@ -125,8 +125,6 @@ RDEPEND="${COMMON_DEPEND}
 	samba? ( >=net-fs/samba-3.0.25 )
 	selinux? ( sec-policy/selinux-wine )
 	udisks? ( sys-fs/udisks:2 )"
-[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
-	pulseaudio? ( sys-auth/rtkit )"
 
 DEPEND="${COMMON_DEPEND}
 	X? (
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-07 17:16:43 UTC
Almost seems like a copy paste error, because earlier this construct is used for pulseaudio? ( pulseaudio ) instead of pulseaudio? ( rtkit ); is this intentional?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-07 17:28:53 UTC
We apply Maarten Lankhorst's winepulse patches to wine to enable pulseaudio support that doesn't skip and drop sound or introduce terrible latency. These patches natively rely on rtkit, whether or not pulseaudio was built with + or - realtime.
Comment 4 Stefan Reimer 2013-10-07 18:17:46 UTC
- I built pulseaudio without the realtime flag.
- Removed rtkit completely from my system

Running wine using pulseaudio just fine,
so clearly the hard,unconditional requirement for rtkit is NOT necessary.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-09 04:32:36 UTC
Well, if winepulse does work without rtkit, I suppose we can make it optional (but enabled by default per upstream intentions).

+*wine-1.7.3 (09 Oct 2013)
+
+  09 Oct 2013; Alexandre Rostovtsev <tetromino@gentoo.org> wine-1.6.ebuild,
+  +wine-1.7.3.ebuild, wine-9999.ebuild, metadata.xml:
+  Belated version bump (bug #483276); see http://www.winehq.org/announce/1.7.3
+  (and .../1.7.2 and .../1.7.1) for release notes. Respect AR and RANLIB (bug
+  #483342 and #483344, thanks to Agostino Sarubbo). Make rtkit dependency
+  optional since apparently winepulse can work without it (bug #487152, thanks
+  to Stefan Reimer).