Bug 4208 - redshift-gtk has missing dependency on python-pyxdg
Summary: redshift-gtk has missing dependency on python-pyxdg
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: validated_update
Depends on: 2317
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-20 18:31 CET by Neil Darlow
Modified: 2012-01-25 14:00 CET (History)
4 users (show)

See Also:
Source RPM: redshift-1.6-3.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Neil Darlow 2012-01-20 18:31:31 CET
Description of problem:
On a KDE system, when attempting to run redshift-gtk (in a konsole terminal), a traceback results from an attempt to import module xdg.

Installing python-pyxdg-0.19-3.mga1 prevents this error and redshift-gtk starts and installs itself in the system tray correctly.

Version-Release number of selected component (if applicable):
redshift-gtk-1.6-3.mga1

How reproducible:
Every time when python-pyxdg is not installed


Steps to Reproduce:
1. On a KDE-based system, install redshift-gtk (and redshift as a dependency)
2. In a konsole execute gtk-redshift -l 52.13:-0.29 -t 5500:2700
3. A traceback results due to a missing module xdg
4. Install python-pyxdg
5. Repeat step 2 and observe that gtk-redshift starts correctly

This might not be an issue on a GNOME-based system if some other package installs python-pyxdg as a dependency.
Neil Darlow 2012-01-20 18:32:04 CET

CC: (none) => neil

Comment 1 Neil Darlow 2012-01-20 18:35:08 CET
Excuse the various incarnations of redshift-gtk and gtk-redshift.

The package is named redshift-gtk while the included executable is named gtk-redshift. The sequence to reproduce the bug correctly references the executable.
Jani Välimaa 2012-01-22 17:14:48 CET

Status: NEW => ASSIGNED
CC: (none) => jani.valimaa
Assignee: bugsquad => jani.valimaa

Comment 2 Jani Välimaa 2012-01-22 18:14:37 CET
Fixed in redshift-1.6-3.1.mga1. Updated pkg is in core/updates_testing.

Status: ASSIGNED => NEW
Assignee: jani.valimaa => qa-bugs

Comment 3 claire robinson 2012-01-24 17:28:23 CET
Testing x86_64

Before
------

$ gtk-redshift -l 52.450164:2.050935
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Trying next method...
Using method `vidmode'.

# urpme python-pyxdg
To satisfy dependencies, the following 4 packages will be removed (21MB):
  orca-2.32.1-2.mga1.x86_64
   (due to missing pyxdg)
  python-pyxdg-0.19-3.mga1.noarch
  totem-2.32.0-4.mga1.x86_64
   (due to missing pyxdg)
  totem-mozilla-2.32.0-4.mga1.x86_64
   (due to unsatisfied totem == 2.32.0-4.mga1)
Remove 4 packages? (y/N) n


After
-----

# urpmi redshift-gtk
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch
(medium "Core Updates Testing")
  redshift                       1.6          3.1.mga1      x86_64
  redshift-gtk                   1.6          3.1.mga1      x86_64
45B of additional disk space will be used.
63KB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y

# urpme python-pyxdg
To satisfy dependencies, the following 5 packages will be removed (22MB):
  orca-2.32.1-2.mga1.x86_64
   (due to missing pyxdg)
  python-pyxdg-0.19-3.mga1.noarch
  redshift-gtk-1.6-3.1.mga1.x86_64
   (due to missing python-pyxdg)
  totem-2.32.0-4.mga1.x86_64
   (due to missing pyxdg)
  totem-mozilla-2.32.0-4.mga1.x86_64
   (due to unsatisfied totem == 2.32.0-4.mga1)
Remove 5 packages? (y/N) n

Showing require has been added.


$ gtk-redshift -l 52.450164:2.050935
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Trying next method...
Using method `vidmode'.


Appears to work as it should

Testing complete x86_64
Comment 4 claire robinson 2012-01-24 17:44:41 CET
Also tested i586

Update validated.

Advisory
----------------
This update adds a missing require of python-pyxdg to redshift-gtk.
----------------

SRPM: redshift-1.6-3.1.mga1.src.rpm

This is affected by bug 2317 so adding as a 'depends on' to keep track of the links.

The following packages will require linking:

python-pyxdg-0.19-3.mga1 (Core Release)

Could sysadmin please push from core/updates_testing to core/updates and do the required linking to updates.

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Hardware: i586 => All
Depends on: (none) => 2317

Comment 5 Thomas Backlund 2012-01-25 14:00:42 CET
update pushed

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.