FS#49971 - [redshift] Missing optional dependency: gtk3
Attached to Project:
Community Packages
Opened by Luca Weiss (z3ntu) - Wednesday, 06 July 2016, 12:12 GMT
Last edited by Balló György (City-busz) - Friday, 26 January 2018, 20:19 GMT
Opened by Luca Weiss (z3ntu) - Wednesday, 06 July 2016, 12:12 GMT
Last edited by Balló György (City-busz) - Friday, 26 January 2018, 20:19 GMT
|
Details
Description:
redshift-gtk requires the package "gtk3" to be installed which is not listed as (optional) dependency and isn't a dependency for any package redshift depends on. Steps to reproduce: Uninstall "gtk3" or have a fresh installation without "gtk3". Traceback (most recent call last): File "/usr/bin/redshift-gtk", line 26, in <module> from redshift_gtk.statusicon import run File "/usr/lib/python3.5/site-packages/redshift_gtk/statusicon.py", line 33, in <module> gi.require_version('Gtk', '3.0') File "/usr/lib/python3.5/site-packages/gi/__init__.py", line 106, in require_version (namespace, version)) ValueError: Namespace Gtk not available for version 3.0 |
This task depends upon
Closed by Balló György (City-busz)
Friday, 26 January 2018, 20:19 GMT
Reason for closing: Fixed
Additional comments about closing: redshift 1.11-5
Friday, 26 January 2018, 20:19 GMT
Reason for closing: Fixed
Additional comments about closing: redshift 1.11-5
$ redshift-gtk
Traceback (most recent call last):
File "/usr/bin/redshift-gtk", line 26, in <module>
from redshift_gtk.statusicon import run
File "/usr/lib/python3.5/site-packages/redshift_gtk/statusicon.py", line 33, in <module>
gi.require_version('Gtk', '3.0')
AttributeError: module 'gi' has no attribute 'require_version'
https://wiki.archlinux.org/index.php/Redshift#Troubleshooting
I think we could:
a) split redshift apart from redshift-gtk
b) make python-gobject hard dependency for redshift package
c) at least make a post-installation info about optional dependencies (but it's not optional when it breaks binary execution)