Skip to content

Commit 02ac820

Browse files
Update dependencies and recommendations in control file and README (slgobinath#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
1 parent cf7d3d7 commit 02ac820

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,16 @@ flatpak install flathub io.github.slgobinath.SafeEyes
117117

118118
Ensure to meet the following dependencies:
119119

120-
- gir1.2-notify-0.7
121-
- gir1.2-gtk-4.0
122-
- python3-babel
123-
- python3-croniter
124-
- python3-gi
125-
- python3-packaging
126-
- python3-xlib
127-
- python3-pywayland (optional for KDE/other wayland)
128-
- xprintidle (optional for X11)
129-
- wlrctl (optional for wayland/wlroots)
130-
- Python 3.10+
120+
- `gir1.2-notify-0.7`
121+
- `gir1.2-gtk-4.0`
122+
- `ffmpeg` or `pipewire` (any of them works)
123+
- `python3` (>= 3.10.0)
124+
- `python3-gi`
125+
- `python3-xlib`
126+
- `python3-babel`
127+
- `python3-croniter`
128+
- `python3-packaging`
129+
- **Optional**: Either `python3-pywayland` (provides smartpause in Wayland) or `xprintidle` (provides smartpause in x11).
131130

132131
**To install Safe Eyes from PyPI:**
133132

@@ -152,7 +151,7 @@ Note that on Wayland, this may still not be enough to get window icons working p
152151

153152
### Install in a virtual environment
154153

155-
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.
154+
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.
156155

157156
1. Install the necessary dependencies for CentOS 7
158157

debian/control

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ Package: safeeyes
1111
Architecture: all
1212
Depends: ${misc:Depends}, ${python3:Depends},
1313
python3 (>= 3.10.0),
14+
python3-gi,
1415
python3-xlib,
1516
python3-babel,
16-
x11-utils,
17-
xprintidle,
18-
alsa-utils,
1917
python3-croniter,
2018
python3-packaging,
2119
gir1.2-notify-0.7,
22-
gir1.2-gtk-4.0
20+
gir1.2-gtk-4.0,
21+
ffmpeg | pipewire
22+
Recommends:
23+
python3-pywayland
24+
Suggests:
25+
xprintidle
2326
Description: Prevent eye strain with Safe Eyes – an essential screen break reminder.
2427
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.
2528
.

0 commit comments

Comments
 (0)