Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Luke (masteryod) - Monday, 14 November 2016, 20:17 GMT
Umm same error. Installing "python-gobject" package fixed it.

$ 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'
Comment by Luke (masteryod) - Monday, 14 November 2016, 20:22 GMT
Haha, ok it's in the Wiki!

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)
Comment by Luca Weiss (z3ntu) - Monday, 21 November 2016, 17:51 GMT
Another dependency that's missing (at least for KDE): libappindicator-gtk3 ; see https://github.com/jonls/redshift/issues/363

Loading...