Skip to content

Commit

Permalink
Make dbus-next optional - docs + config
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo authored and tych0 committed Feb 22, 2021
1 parent e5aa2f5 commit a7001d0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 0 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ def __dir__(self):
'cffi',
'dateutil',
'dateutil.parser',
'dbus_next',
'dbus_next.aio',
'dbus_next.constants',
'dbus_next.service',
'iwlib',
'keyring',
'mpd',
Expand Down
4 changes: 4 additions & 0 deletions docs/manual/install/funtoo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Customize

You can customize your installation with the following useflags:

- dbus
- widget-khal-calendar
- widget-imap
- widget-keyboardkbdd
Expand All @@ -28,6 +29,9 @@ You can customize your installation with the following useflags:
- widget-mpris
- widget-wlan

The dbus useflag is enabled by default. Disable it only if you know what it is
and know you don't use/need it.

All widget-* useflags are disabled by default because these widgets require
additional dependencies while not everyone will use them. Enable only widgets
you need to avoid extra dependencies thanks to these useflags.
Expand Down
12 changes: 12 additions & 0 deletions docs/manual/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ You'll also need ``libpangocairo``, which on Ubuntu can be installed via ``sudo
apt-get install libpangocairo-1.0-0``. Qtile uses this to provide text
rendering (and binds directly to it via cffi with a small in-tree binding).

dbus-next
---------

Qtile uses ``dbus-next`` to interact with dbus. Qtile will run without this
packagee but certain functionality will be lost (e.g. notifications).

You can install dbus-next from PyPi:

.. code-block:: bash
pip install dbus-next
Qtile
-----

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
cairocffi >= 0.9.0
cffi >= 1.1.0
xcffib >= 0.10.1
dbus_next >= 0.2.2
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ setup_requires =
install_requires =
cffi >= 1.1.0
cairocffi[xcb] >= 0.9.0
dbus_next >= 0.2.2
xcffib >= 0.8.1
tests_require =
flake8
Expand Down

0 comments on commit a7001d0

Please sign in to comment.