From af20f87a1298153e765b840a2164ba63b9ef937a Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Sat, 19 Mar 2022 09:34:57 +0100 Subject: [PATCH] 1.4.2 --- DEBIAN/control | 2 +- README.md | 10 ++++++---- readme/development.md | 2 +- scripts/build.sh | 4 ++-- setup.py | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/DEBIAN/control b/DEBIAN/control index e660523b3..5d0192bc3 100644 --- a/DEBIAN/control +++ b/DEBIAN/control @@ -1,5 +1,5 @@ Package: input-remapper -Version: 1.4.1 +Version: 1.4.2 Architecture: all Maintainer: Sezanzeb Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi, gettext, python3-cairo, libgtk-3-0, libgtksourceview-4-dev, python3-pydantic diff --git a/README.md b/README.md index c23749ae2..37b3c2453 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ or install the latest changes via: sudo apt install git python3-setuptools gettext git clone https://github.com/sezanzeb/input-remapper.git cd input-remapper && ./scripts/build.sh -sudo apt install ./dist/input-remapper-1.4.1.deb +sudo apt install ./dist/input-remapper-1.4.2.deb ``` input-remapper is now part of [Debian Unstable](https://packages.debian.org/sid/input-remapper) @@ -40,10 +40,12 @@ input-remapper is now part of [Debian Unstable](https://packages.debian.org/sid/ Dependencies: `python3-evdev` ≥1.3.0, `gtksourceview4`, `python3-devel`, `python3-pydantic` +Python packages need to be installed globally for the service to be able to import them. Don't use `--user` + ```bash -sudo pip install evdev -U # If newest version not in distros repo -sudo pip uninstall key-mapper -sudo pip install --no-binary :all: git+https://github.com/sezanzeb/input-remapper.git # no --user +sudo pip install evdev -U # If newest version not in distros repo +sudo pip uninstall key-mapper # In case the old package is still installed +sudo pip install --no-binary :all: git+https://github.com/sezanzeb/input-remapper.git sudo systemctl enable input-remapper sudo systemctl restart input-remapper ``` diff --git a/readme/development.md b/readme/development.md index 5ad7ce5eb..16ced91fc 100644 --- a/readme/development.md +++ b/readme/development.md @@ -88,7 +88,7 @@ ssh/login into a debian/ubuntu environment ./scripts/build.sh ``` -This will generate `input-remapper/deb/input-remapper-1.4.1.deb` +This will generate `input-remapper/deb/input-remapper-1.4.2.deb` ## Badges diff --git a/scripts/build.sh b/scripts/build.sh index b5f7aafe8..2ade8cf54 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,8 +9,8 @@ build_deb() { mv build/deb/usr/local/lib/python3.*/ build/deb/usr/lib/python3/ cp ./DEBIAN build/deb/ -r mkdir dist -p - rm dist/input-remapper-1.4.1.deb || true - dpkg -b build/deb dist/input-remapper-1.4.1.deb + rm dist/input-remapper-1.4.2.deb || true + dpkg -b build/deb dist/input-remapper-1.4.2.deb } build_deb & diff --git a/setup.py b/setup.py index 2979833f8..8f4cba7b9 100644 --- a/setup.py +++ b/setup.py @@ -102,7 +102,7 @@ def make_lang(): setup( name="input-remapper", - version="1.4.1", + version="1.4.2", description="A tool to change the mapping of your input device buttons", author="Sezanzeb", author_email="proxima@sezanzeb.de",