mirror of
https://github.com/slgobinath/SafeEyes.git
synced 2025-01-19 02:49:51 +01:00
Add build for Arch
This commit is contained in:
parent
8056a865e1
commit
b91c9c47ad
65
README.md
65
README.md
@ -12,15 +12,74 @@ Protect your eyes from eye strain using this continuous breaks reminder. A Free
|
||||
|
||||
4: Start Safe Eyes from start menu.
|
||||
|
||||
### Arch:
|
||||
1: Download the [safeeyes.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.0.6/safeeyes.tar.gz)
|
||||
|
||||
2: Install Safe Eyes: `sudo pacman -R safeeyes.tar.gz`
|
||||
|
||||
If you have any issues in installing Safe Eyes, please report them [here](https://github.com/slgobinath/SafeEyes/issues)
|
||||
|
||||
### Other Linux:
|
||||
|
||||
Manual installation is not tested in any systems. I will update this page as soon as I have tested in any other Linux distributions.
|
||||
|
||||
1: Download and extract [safeeyes.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.0.6/hicolor.tar.gz) into `/opt`
|
||||
1: Install the dependencies: `gir1.2-appindicator3-0.1` (`libappindicator3` in Arch), `python-xlib` (`python2-xlib` in Arch), `python-gobject` (`python2-gobject` in Arch), `xorg-xprop` in Arch
|
||||
|
||||
2: Download and extract [hicolor.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.0.6/hicolor.tar.gz) into `~/.icons` or `/usr/share/icons`
|
||||
2: Download and extract [safeeyes.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.0.6/safeeyes.tar.gz) into `/`: `sudo tar -xzvf safeeyes.tar.gz -C /`
|
||||
|
||||
3: Install the dependencies: `gir1.2-appindicator3-0.1`, `python-xlib`, `python-apscheduler`, `python-gobject`
|
||||
The following files are deployed by SafeEyes
|
||||
```
|
||||
/usr/share/icons/hicolor/128x128/apps/
|
||||
/usr/share/icons/hicolor/16x16/status/safeeyes_enabled.png
|
||||
/usr/share/applications/safeeyes.desktop
|
||||
/usr/share/icons/hicolor/32x32/
|
||||
/usr/share/icons/hicolor/64x64/apps/safeeyes.png
|
||||
/usr/share/icons/hicolor/24x24/status/
|
||||
/usr/share/applications/
|
||||
/usr/share/icons/hicolor/64x64/
|
||||
/usr/share/icons/hicolor/
|
||||
/usr/share/icons/hicolor/128x128/
|
||||
/opt/
|
||||
/usr/share/icons/hicolor/16x16/
|
||||
/opt/safeeyes/safeeyes/glade/break_screen.glade
|
||||
/usr/share/icons/hicolor/24x24/status/safeeyes_disabled.png
|
||||
/opt/safeeyes/safeeyes/BreakScreen.py
|
||||
/opt/safeeyes/safeeyes/safeeyes
|
||||
/usr/share/icons/hicolor/48x48/
|
||||
/usr/share/icons/hicolor/32x32/status/
|
||||
/usr/share/icons/hicolor/48x48/status/safeeyes_disabled.png
|
||||
/usr/share/icons/hicolor/48x48/status/
|
||||
/usr/share/icons/hicolor/128x128/apps/safeeyes.png
|
||||
/opt/safeeyes/safeeyes/SafeEyesCore.py
|
||||
/usr/share/icons/hicolor/24x24/status/safeeyes_enabled.png
|
||||
/usr/
|
||||
/opt/safeeyes/safeeyes/config/
|
||||
/opt/safeeyes/safeeyes/Notification.py
|
||||
/usr/share/icons/hicolor/16x16/status/safeeyes_disabled.png
|
||||
/usr/share/icons/hicolor/48x48/apps/
|
||||
/opt/safeeyes/safeeyes/SettingsDialog.py
|
||||
/opt/safeeyes/safeeyes/glade/
|
||||
/usr/share/icons/hicolor/24x24/
|
||||
/usr/share/icons/
|
||||
/usr/share/icons/hicolor/32x32/apps/
|
||||
/opt/safeeyes/safeeyes/glade/settings_dialog.glade
|
||||
/opt/safeeyes/safeeyes/config/style/
|
||||
/opt/safeeyes/safeeyes/TrayIcon.py
|
||||
/usr/share/icons/hicolor/48x48/apps/safeeyes.png
|
||||
/opt/safeeyes/
|
||||
/opt/safeeyes/safeeyes.desktop
|
||||
/opt/safeeyes/safeeyes/
|
||||
/usr/share/icons/hicolor/64x64/apps/
|
||||
/usr/share/icons/hicolor/16x16/status/
|
||||
/usr/share/icons/hicolor/32x32/status/safeeyes_enabled.png
|
||||
/opt/safeeyes/safeeyes/config/safeeyes.json
|
||||
/usr/share/
|
||||
/opt/safeeyes/safeeyes/config/style/safeeyes_style.css
|
||||
/usr/share/icons/hicolor/48x48/status/safeeyes_enabled.png
|
||||
/usr/share/icons/hicolor/32x32/status/safeeyes_disabled.png
|
||||
/usr/share/icons/hicolor/32x32/apps/safeeyes.png
|
||||
```
|
||||
If you have any issues in installing Safe Eyes, please report them [here](https://github.com/slgobinath/SafeEyes/issues)
|
||||
|
||||
4: Start Safe Eyes using this command: `/opt/safeeyes/safeeyes/safeeyes`
|
||||
|
||||
|
19
build/arch/build.sh
Normal file
19
build/arch/build.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
cd ./pkg
|
||||
|
||||
# Create parent directories
|
||||
mkdir -p opt/safeeyes
|
||||
mkdir usr
|
||||
|
||||
# Copy source files
|
||||
cp -r ../../../safeeyes/share ./usr/
|
||||
cp -r ../../../safeeyes/safeeyes ./opt/safeeyes/
|
||||
cp -r ../../../safeeyes/share/applications/safeeyes.desktop ./opt/safeeyes/
|
||||
|
||||
# # Create the package
|
||||
# tar -cf - .PKGINFO * | xz -c -z - > ../safeeyes.pkg.tar.xz
|
||||
|
||||
# # Remove the copied files
|
||||
# rm -r ./opt
|
||||
# rm -r ./usr
|
8
build/arch/pkg/.PKGINFO
Normal file
8
build/arch/pkg/.PKGINFO
Normal file
@ -0,0 +1,8 @@
|
||||
pkgname = safeeyes
|
||||
pkgver = 1.0.6-1
|
||||
pkgdesc = Safe Eyes
|
||||
url = https://github.com/slgobinath/SafeEyes
|
||||
depends=('python2-gobject', 'python2-xlib', 'xorg-xprop', 'libappindicator3')
|
||||
license=('gplv3')
|
||||
packager = manual
|
||||
arch = any
|
Loading…
Reference in New Issue
Block a user