Commit graph

20 commits

Author SHA1 Message Date
Eberhard Beilharz
cb1de97ae7
feat(linux): implement diagnostic report
This change allows to collect data for a diagnostic report. This can be
done either from the command line through the new `km-diag-report` tool,
or in `km-config` from the new `Support` tab that allows to generate the
report and then copy it to the clipboard or save as a file.

The diagnostic report contains installed browsers and their versions and
installation methods as well as the default browser. It checks for
browsers installed through apt (Ubuntu/Debian), snap, and flatpak.

The change also has an implementation for pacman (Arch Linux) and
dnf/yum (Fedora), although these have not been tested.

Fixes: #7784
2026-02-13 17:29:22 +01:00
Eberhard Beilharz
b4755c20ac
feat(linux): Add pyxdg as binary pkg dependency and to setup.py 2024-03-22 18:10:30 +01:00
Eberhard Beilharz
f899627129
fix(linux): Add packaging Python dependency
It isn't enough to have the package as build dependency, we also have to
list is in the binary package or in the `install_requires` list in
`setup.py`. This change also adds other missing python modules to
`install_requires` so that things work correctly if building/installing
from source.
2024-02-29 18:50:30 +01:00
Eberhard Beilharz
8873ab5bcb
chore(linux): Fix make install
Another attempt to fix #7400.
2022-12-09 12:40:40 +01:00
Eberhard Beilharz
c891f870b6
fix(linux): Fix make install
Several fixes for building and installing locally.

Fixes #7397. Closes #7398. Closes #7400.
2022-10-12 12:28:46 +02:00
Eberhard Beilharz
3e586bc58e
fix(linux): Fix packaging
Tell the Python build that we have a new module in a subdirectory.
Part of the improvements for #3399.
2021-02-05 18:55:17 +01:00
Eberhard Beilharz
6181479f2b
fix(linux): Add Sentry dependency to setup.py 2020-08-24 19:49:00 +02:00
Eberhard Beilharz
1a714b5b8b
Update linux/keyman-config/setup.py
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-07-21 09:12:54 +02:00
Eberhard Beilharz
9b5656c974
refactor(linux): Improve setup.py 2020-07-20 18:23:59 +02:00
Darcy
c53585f176 fix(linux): Cleanup qrcode package during uninstall 2020-01-13 12:55:44 +07:00
Darcy
5ee61dfba2 fix(linux): Conditionally generate QR code
Update so QR code is generated if `qrcode.png` doesn't exist.

Also add python3-qrcode as a dependency
2020-01-13 09:56:30 +07:00
glasseyes
34c290d545 [linux] keyman-config setup.py dep on Pillow not PIL 2018-09-12 09:44:17 +07:00
glasseyes
b87e2da501 linux: rename scripts to km-* from PR 893
remove generated man pages, regenerate in 'make deb'
2018-09-10 14:29:10 +07:00
glasseyes
22b6c585ae remove kmpmetadata, make man target to build manpages
kmpmetadata isn't a program for users
developers can still run it from keyman_config/kmpmetadata.py
2018-09-01 15:45:49 +07:00
glasseyes
85b49d957c manpages for keyman-config
also improve help output
and set the version in the module
2018-09-01 15:23:35 +07:00
glasseyes
3c591b60d5 more dependencies
python-magic and gir1.2-webkit-3.0
also create /usr/local/share/keyman etc
2018-08-31 13:48:06 +07:00
glasseyes
94398b2f32 Debian packaging
now builds 2 packages keyman-config with the scripts to run
and python3-keyman-config with the keymanconfig module
2018-08-30 17:15:22 +07:00
glasseyes
0d3b2539b2 initial Debian packaging and basic Makefile
Makefile only has 'make deb'
2018-08-30 15:28:38 +07:00
glasseyes
4eff488d04 move images to icons dir
and be able to locate them it local non-installed dir
2018-08-30 14:18:16 +07:00
glasseyes
54689a3643 refactor keyman-config into scripts and module
initial setup.py
2018-08-30 11:41:43 +07:00