diff --git a/files/0001-Use-AyatanaAppIndicator.patch b/files/0001-Use-AyatanaAppIndicator.patch new file mode 100644 --- /dev/null +++ b/files/0001-Use-AyatanaAppIndicator.patch @@ -0,0 +1,27 @@ +From 970c02329c7b322dfff878a41ab9e830ebb67427 Mon Sep 17 00:00:00 2001 +From: Fabio Forni +Date: Fri, 20 Aug 2021 22:59:01 +0200 +Subject: [PATCH] Use AyatanaAppIndicator + +--- + safeeyes/plugins/trayicon/plugin.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/safeeyes/plugins/trayicon/plugin.py b/safeeyes/plugins/trayicon/plugin.py +index 1461133..64b9191 100644 +--- a/safeeyes/plugins/trayicon/plugin.py ++++ b/safeeyes/plugins/trayicon/plugin.py +@@ -19,8 +19,8 @@ + import datetime + import gi + gi.require_version('Gtk', '3.0') +-gi.require_version('AppIndicator3', '0.1') +-from gi.repository import AppIndicator3 as appindicator ++gi.require_version('AyatanaAppIndicator3', '0.1') ++from gi.repository import AyatanaAppIndicator3 as appindicator + from gi.repository import Gtk + import logging + from safeeyes import utility +-- +2.32.0 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,6 +1,6 @@ name : safeeyes version : 2.1.3 -release : 7 +release : 8 source : - https://github.com/slgobinath/SafeEyes/archive/v2.1.3.tar.gz : 4406830c28607f6ca8c27c665c0a5c2541e13d6e751b4aa39a789db015eccfe2 homepage : http://slgobinath.github.io/SafeEyes/ @@ -10,7 +10,7 @@ description: | Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder. rundeps : - - libappindicator + - libayatana-appindicator - python-babel - python-croniter - python-gobject @@ -19,6 +19,7 @@ - xprintidle - xprop build : | + %patch -p1 < $pkgfiles/0001-Use-AyatanaAppIndicator.patch %python3_setup install : | %python3_install diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -3,8 +3,8 @@ safeeyes http://slgobinath.github.io/SafeEyes/ - Joey Riches - josephriches@gmail.com + Fabio Forni + livingsilver94.solus@redaril.me GPL-3.0-or-later desktop @@ -211,12 +211,12 @@ - - 2021-07-29 + + 2021-08-20 2.1.3 Packaging update - Joey Riches - josephriches@gmail.com + Fabio Forni + livingsilver94.solus@redaril.me \ No newline at end of file