From 02ac820f3b914fe940ca13b8095446f8f8cfd816 Mon Sep 17 00:00:00 2001 From: Archisman Panigrahi Date: Tue, 26 Aug 2025 01:26:54 -0400 Subject: [PATCH] Update dependencies and recommendations in control file and README (#762) * Update dependencies and recommendations in control file * Add python3-pywayland to package recommendations Added python3-pywayland to Recommends section. * Fix dependencies and recommendations in control file * Revise dependencies section in README.md * Update README to clarify optional dependencies * Update README with clarification for CentOS installation * add python3-gi * Update README for optional dependencies clarification --- README.md | 23 +++++++++++------------ debian/control | 11 +++++++---- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 22517bae..18ef772f 100644 --- a/README.md +++ b/README.md @@ -117,17 +117,16 @@ flatpak install flathub io.github.slgobinath.SafeEyes Ensure to meet the following dependencies: -- gir1.2-notify-0.7 -- gir1.2-gtk-4.0 -- python3-babel -- python3-croniter -- python3-gi -- python3-packaging -- python3-xlib -- python3-pywayland (optional for KDE/other wayland) -- xprintidle (optional for X11) -- wlrctl (optional for wayland/wlroots) -- Python 3.10+ +- `gir1.2-notify-0.7` +- `gir1.2-gtk-4.0` +- `ffmpeg` or `pipewire` (any of them works) +- `python3` (>= 3.10.0) +- `python3-gi` +- `python3-xlib` +- `python3-babel` +- `python3-croniter` +- `python3-packaging` +- **Optional**: Either `python3-pywayland` (provides smartpause in Wayland) or `xprintidle` (provides smartpause in x11). **To install Safe Eyes from PyPI:** @@ -152,7 +151,7 @@ Note that on Wayland, this may still not be enough to get window icons working p ### Install in a virtual environment -Some Linux systems like CentOS do not have matching dependencies available in their repository. In such systems, you can install and use Safe Eyes in a Python virtual environment. +Some Linux systems like CentOS do not have matching dependencies available in their repository (of course you can use the flatpak there). In such systems, you can install and use Safe Eyes in a Python virtual environment. 1. Install the necessary dependencies for CentOS 7 diff --git a/debian/control b/debian/control index e81d1d82..c318cdab 100644 --- a/debian/control +++ b/debian/control @@ -11,15 +11,18 @@ Package: safeeyes Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3 (>= 3.10.0), + python3-gi, python3-xlib, python3-babel, - x11-utils, - xprintidle, - alsa-utils, python3-croniter, python3-packaging, gir1.2-notify-0.7, - gir1.2-gtk-4.0 + gir1.2-gtk-4.0, + ffmpeg | pipewire +Recommends: + python3-pywayland +Suggests: + xprintidle Description: Prevent eye strain with Safe Eyes – an essential screen break reminder. Safe Eyes is a simple tool to remind you to take periodic breaks for your eyes. This is essential for anyone spending more time on the computer to avoid eye strain and other physical problems. .