From a56bca14812073b53f41770021e1b8d7c6d6f71b Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 24 Jan 2019 09:43:44 +0100 Subject: [PATCH 1/5] Update install.sh --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9a7a7931..1d58c26a 100755 --- a/install.sh +++ b/install.sh @@ -52,8 +52,11 @@ install path:/opt/fenrirscreenreader settings path:/etc/fenrirscreenreader To test Fenrir -sudo systemctl start fenrir +sudofenrir To have Fenrir start on system boot: +using systemd: +download service file: https://raw.githubusercontent.com/chrys87/fenrir/master/autostart/systemd/Arch/fenrir.service +move the service file to: /etc/systemd/system/fenrir.service sudo systemctl enable fenrir Pulseaudio users may want to run From 68eab1daf6230f7f8845737253bac595fdf60050 Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 24 Jan 2019 09:44:29 +0100 Subject: [PATCH 2/5] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 1d58c26a..78b46170 100755 --- a/install.sh +++ b/install.sh @@ -51,10 +51,10 @@ Installation complete. install path:/opt/fenrirscreenreader settings path:/etc/fenrirscreenreader -To test Fenrir -sudofenrir -To have Fenrir start on system boot: -using systemd: +To test Fenrir: +sudo fenrir + +To have Fenrir start on system boot using systemd: download service file: https://raw.githubusercontent.com/chrys87/fenrir/master/autostart/systemd/Arch/fenrir.service move the service file to: /etc/systemd/system/fenrir.service sudo systemctl enable fenrir From c448d24ebe99c18d64ed3f6cb71fb6a035de2efa Mon Sep 17 00:00:00 2001 From: Chrys Date: Sat, 26 Jan 2019 10:46:05 +0100 Subject: [PATCH 3/5] improve setup process --- README.md | 5 ++++- setup.py | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 871fcb24..30d46d6f 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,10 @@ This software is licensed under the LGPL v3. # installation - Archlinux: PKGBUILD in AUR - PIP: sudo pip install fenrir-screenreader -- Manual: run install.sh and uninstall.sh as root +- Manual: + - install "espeak" and "sox" with your package manager + - sudo pip install -r requirements.txt + - run install.sh and uninstall.sh as root - you also can just run it from Git without installing: You can just run the following as root: if you are in Fenrir Git rootfolder: diff --git a/setup.py b/setup.py index ea1bb2e9..70b7e5b3 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import find_packages from setuptools import setup fenrirVersion = '1.9.3' -packageVersion = 'post1' +packageVersion = 'post2' # handle flags for package manager like yaourt and pacaur. forceSettings = False @@ -86,14 +86,14 @@ setup( # Dependent packages (distributions) install_requires=[ - "evdev", - "daemonize", - "dbus-python", - "pyudev", + "evdev>=1.1.2", + "daemonize>=2.5.0", + "dbus-python>=1.2.8", + "pyudev>=0.21.0", "setuptools", "pexpect", "pyttsx3", - "pyte", + "pyte>=0.7.0", ], ) From a4d4bcb63b0a301dc4fb4538a09a5396f60cda14 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 28 Jan 2019 13:58:59 +0100 Subject: [PATCH 4/5] Create requirements.txt --- requirements.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..d877ee8b --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +"evdev>=1.1.2", +"daemonize>=2.5.0", +"dbus-python>=1.2.8", +"pyudev>=0.21.0", +"pexpect", +"pyttsx3", +"pyte>=0.7.0", From abf92cda6bb5b3ac3d1766ad68f72ecad058022e Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 28 Jan 2019 14:51:11 +0100 Subject: [PATCH 5/5] Update requirements.txt --- requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index d877ee8b..518049ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -"evdev>=1.1.2", -"daemonize>=2.5.0", -"dbus-python>=1.2.8", -"pyudev>=0.21.0", -"pexpect", -"pyttsx3", -"pyte>=0.7.0", +evdev>=1.1.2 +daemonize>=2.5.0 +dbus-python>=1.2.8 +pyudev>=0.21.0 +pexpect +pyttsx3 +pyte>=0.7.0