diff --git a/README.md b/README.md index 50d6ad5..8df2624 100644 --- a/README.md +++ b/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` diff --git a/build/arch/build.sh b/build/arch/build.sh new file mode 100644 index 0000000..aaab872 --- /dev/null +++ b/build/arch/build.sh @@ -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 \ No newline at end of file diff --git a/build/arch/pkg/.PKGINFO b/build/arch/pkg/.PKGINFO new file mode 100644 index 0000000..ed581f1 --- /dev/null +++ b/build/arch/pkg/.PKGINFO @@ -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 \ No newline at end of file