Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486790

Summary: x11-misc/arandr-0.1.7.1 stable request
Product: Gentoo Linux Reporter: Nico Suhl <nico>
Component: [OLD] Keywording and StabilizationAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 475480    

Description Nico Suhl 2013-10-02 13:06:48 UTC
arandr depends on xrandr in version 1.2 or 1.3, but RDEPEND in ebuild allows all versions.
So using the latest stable xrandr 1.4.1 will cause arandr to fail.

Reproducible: Always




diff --git a/arandr-0.1.6.ebuild b/arandr-0.1.6.ebuild
index 1d84f4a..7389387 100644
--- a/arandr-0.1.6.ebuild
+++ b/arandr-0.1.6.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="amd64 x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pygtk-2
-       x11-apps/xrandr"
+       <x11-apps/xrandr-1.4.0"
 DEPEND=">=dev-python/docutils-0.6"
 
 PYTHON_MODNAME=screenlayout
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-03 14:54:38 UTC
Downgrading is not a solution. What is the problem with the current arandr and the new xrandr?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-03 17:21:39 UTC
Oh this?

> arandr
Traceback (most recent call last):
  File "/usr/bin/arandr-2.7", line 42, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/screenlayout/gui.py", line 318, in main
    force_version=options.force_version
  File "/usr/lib64/python2.7/site-packages/screenlayout/gui.py", line 157, in __init__
    self.widget = widget.ARandRWidget(display=randr_display, force_version=force_version)
  File "/usr/lib64/python2.7/site-packages/screenlayout/widget.py", line 48, in __init__
    self._xrandr = XRandR(display=display, force_version=force_version)
  File "/usr/lib64/python2.7/site-packages/screenlayout/xrandr.py", line 42, in __init__
    raise Exception("XRandR 1.2/1.3 required.")
Exception: XRandR 1.2/1.3 required.

Note that `arandr --force-version' still works fine.

Let's stabilise 0.1.7.1 instead.

Arch teams, please test and mark stable:
=x11-misc/arandr-0.1.7.1
Targeted stable KEYWORDS : amd64 x86
Comment 3 Agostino Sarubbo gentoo-dev 2013-10-05 06:19:33 UTC
amd64 stable
Comment 4 Agostino Sarubbo gentoo-dev 2013-10-08 05:10:37 UTC
x86 stable. Last arch, closing