Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-2359

x11-wm/qtile optional dependencies

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None

      Current x11-wm/qtile ebuilds do not provide any USE flag.

      On my machine, running qtile will log the following warnings:

      ~/.qtile.log
      WARNING safe_import:49 Can't Import Widget: '.launchbar.LaunchBar', No module named xdg.IconTheme
      WARNING safe_import:49 Can't Import Widget: '.mpdwidget.Mpd', No module named mpd
      WARNING safe_import:49 Can't Import Widget: '.wlan.Wlan', No module named pythonwifi.iwlibs
      WARNING safe_import:49 Can't Import Widget: '.google_calendar.GoogleCalendar', No module named httplib2
      WARNING safe_import:49 Can't Import Widget: '.imapwidget.ImapWidget', No module named keyring
      WARNING setup_python_dbus:261 importing dbus/gobject failed, dbus will not work.
      

      I fixed the setup_python_dbus thing by emerging dev-python/python-dbus and dev-python/pygobject:3

      I think it could be good to add ad dbus use flag, if present, add python-dbus and pygobject:3 dependencies. If not present, remove setup_python_dbus() call from qtile source in order to avoid warning (as this is expected behavior).

      I also think one should either add xdg, mpd, wifi, httplib2 and maybe other USE flags to toggle required dependencies.

      Or either (I think better) add widget-launcher, widget-mpd, widget-google-calendar, ... that would allow to include or no the given widgets (and related dependencies). I think this version is much clearer for the user.

      If you are OK, I'd like to fork this package and take the responsibility of its maintainance.

            Unassigned Unassigned
            pytony pytony
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: