Bug 886800 - gtk-redshift needs to depend on pyxdg package
Summary: gtk-redshift needs to depend on pyxdg package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: redshift
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miloš Komarčević
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-13 08:40 UTC by mertensb.mazda
Modified: 2013-03-29 21:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-29 21:29:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description mertensb.mazda 2012-12-13 08:40:54 UTC
Description of problem:
The package gtk-redshift should depend on the pyxdg package.

Without the xdg library the tool cannot start.


Version-Release number of selected component (if applicable):
1.5-1.el6 of redshift and gtk-redshift

How reproducible:
always

Steps to Reproduce:
on a minimal system install gtk-redshift and redshift.
make sure pyxdg is not installed.
start gtk-redshift the following error is shown:

Actual results:
$ gtk-redshift
Traceback (most recent call last):
  File "/usr/bin/gtk-redshift", line 22, in <module>
    from gtk_redshift.statusicon import run
  File "/usr/lib/python2.6/site-packages/gtk_redshift/statusicon.py", line 40,
in <module>
    import utils
  File "/usr/lib/python2.6/site-packages/gtk_redshift/utils.py", line 20, in
<module>
    from xdg import BaseDirectory as base
ImportError: No module named xdg



Expected results:
gtk-redshift starts without error

Additional info:
Install pyxdg
now gtk-redshift can be started without error.

Comment 1 Miloš Komarčević 2012-12-17 17:22:27 UTC
This was fixed in Fedora some time ago, see bug #675804

I never updated the EL6 package - IIRC I wasn't sure the version bump won't break configuration files back then, but it should be safe from 1.5 to 1.6.

Will request a 1.6 build for EL6 soon.

Comment 2 Fedora Update System 2013-03-13 21:33:22 UTC
redshift-1.6-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/redshift-1.6-3.el6

Comment 3 Fedora Update System 2013-03-14 19:08:43 UTC
Package redshift-1.6-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing redshift-1.6-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0662/redshift-1.6-3.el6
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-29 21:29:40 UTC
redshift-1.6-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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