chore(repo): baseline du fork input-remapper (upstream v2.2.1)
Le dépôt ne contenait que README.md ; ajout de l'intégralité du code fonctionnel du fork comme socle stable de la branche de release. L'état runtime d'orchestration (.ideai/) est exclu du suivi. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
8
DEBIAN/control
Normal file
8
DEBIAN/control
Normal file
@ -0,0 +1,8 @@
|
||||
Package: input-remapper
|
||||
Version: 2.2.1
|
||||
Architecture: all
|
||||
Maintainer: Sezanzeb <b8x45ygc9@mozmail.com>
|
||||
Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-evdev, python3-dasbus, python3-gi, gettext, python3-cairo, libgtk-3-0, libgtksourceview-4-dev, python3-pydantic, python3-packaging, python3-psutil
|
||||
Description: A tool to change the mapping of your input device buttons
|
||||
Replaces: python3-key-mapper, key-mapper, input-remapper-gtk, input-remapper-daemon, python3-inputremapper
|
||||
Conflicts: python3-key-mapper, key-mapper, input-remapper-gtk, input-remapper-daemon, python3-inputremapper
|
||||
3
DEBIAN/copyright
Normal file
3
DEBIAN/copyright
Normal file
@ -0,0 +1,3 @@
|
||||
Files: *
|
||||
Copyright: 2025 Sezanzeb
|
||||
License: GPL-3+
|
||||
17
DEBIAN/postinst
Executable file
17
DEBIAN/postinst
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
if [ -d "/run/systemd/system/" ]; then
|
||||
# old name, those lines should at some point be removed from postinst
|
||||
pkill -f key-mapper-service
|
||||
systemctl disable key-mapper 2> /dev/null || true
|
||||
systemctl stop key-mapper 2> /dev/null || true
|
||||
|
||||
# The ubuntu package creates those two symlinks that break when installing the .deb
|
||||
# built from source. Either ubuntus packages need to be uninstalled with --purge first,
|
||||
# or those files need to be unlinked manually.
|
||||
unlink /etc/systemd/system/input-remapper.service || true
|
||||
unlink /etc/systemd/system/default.target.wants/input-remapper-daemon.service || true
|
||||
|
||||
pkill -f input-remapper-service # might have been started by the gui previously
|
||||
systemctl enable input-remapper
|
||||
systemctl start input-remapper
|
||||
fi
|
||||
Reference in New Issue
Block a user