Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489018 - x11-misc/xautolock should optionally depend on >=x11-misc/slim-1.3.6
Summary: x11-misc/xautolock should optionally depend on >=x11-misc/slim-1.3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL: https://developer.berlios.de/project/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 14:29 UTC by eroen
Modified: 2014-10-20 18:27 UTC (History)
1 user (show)

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


Attachments
patched ebuild (xautolock-2.2-r01.ebuild,997 bytes, text/plain)
2014-10-20 17:11 UTC, ChaosEngine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2013-10-22 14:29:28 UTC
x11-misc/slimlock was merged into x11-misc/slim-1.3.6 which now installs the /usr/bin/slimlock executable. Please update the dependencies for x11-misc/xautolock to take this into account.

Suggested change:
--- a/x11-misc/xautolock/xautolock-2.2.ebuild
+++ b/x11-misc/xautolock/xautolock-2.2.ebuild
@@ -17,6 +17,7 @@ RDEPEND="
                x11-misc/alock
                x11-misc/i3lock
                x11-misc/slimlock
+               >=x11-misc/slim-1.3.6
                x11-misc/slock
                x11-misc/xlockmore
                x11-misc/xtrlock
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-22 23:42:44 UTC
As you can't install them simultaneously like that, it is more like this:

    || ( x11-misc/slimlock >=x11-misc/slim-1.3.6 )
Comment 2 fcrvincent 2014-02-12 14:17:26 UTC
Slim hanging issue reappeared even after downgrading lxsession. 
Lightdm is fine so far
Comment 3 ChaosEngine 2014-10-20 17:11:44 UTC
Created attachment 387074 [details]
patched ebuild

corrected ebuild, with x11-misc/slim dependency
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-20 17:27:49 UTC
Comment on attachment 387074 [details]
patched ebuild

That's silly. The outer || ( ) already suggest you require only one of them. Who suggested this?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-20 17:34:48 UTC
+  20 Oct 2014; Jeroen Roovers <jer@gentoo.org> xautolock-2.2.ebuild:
+  Add alternative dependency on x11-misc/slim (remove x11-misc/slimlock) by
+  eroen (bug #489018). EAPI bump.
+
Comment 6 ChaosEngine 2014-10-20 18:27:31 UTC
(In reply to Jeroen Roovers from comment #4)
> Comment on attachment 387074 [details]
> patched ebuild
> 
> That's silly. The outer || ( ) already suggest you require only one of them.
> Who suggested this?

as suggested by TomWij.
Works for me locally, so I attached it.