Skip to content

Commit

Permalink
www/eolie: removes gnome-setting-daemon dep
Browse files Browse the repository at this point in the history
  • Loading branch information
rozhuk-im committed Dec 28, 2020
1 parent 757bb95 commit 1d4f345
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions www/eolie/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ LICENSE= GPLv3+
BUILD_DEPENDS= appstream-util:devel/appstream-glib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
${LOCALBASE}/share/gir-1.0/GtkSpell-3.0.gir:textproc/gtkspell3 \
${LOCALBASE}/share/gir-1.0/WebKit2-4.0.gir:www/webkit2-gtk3 \
${LOCALBASE}/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml:sysutils/gnome-settings-daemon
${LOCALBASE}/share/gir-1.0/WebKit2-4.0.gir:www/webkit2-gtk3

USES= desktop-file-utils gettext gnome meson pkgconfig python \
shebangfix tar:xz
Expand Down
12 changes: 12 additions & 0 deletions www/eolie/files/patch-eolie_application__night.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- eolie/application_night.py.orig 2020-10-25 00:27:38.091392000 +0300
+++ eolie/application_night.py 2020-12-01 06:06:35.982844000 +0300
@@ -30,8 +30,7 @@
self.__on_night_mode_changed)
Gio.bus_get(Gio.BusType.SESSION, None, self.__on_get_bus)
self.__wanted_temperature = None
- settings = Gio.Settings.new(
- "org.gnome.settings-daemon.plugins.color")
+ settings = None
self.__wanted_temperature = settings.get_value(
"night-light-temperature").get_uint32()
except Exception as e:

0 comments on commit 1d4f345

Please sign in to comment.