60 Commits

Author SHA1 Message Date
alfrix
0570706bbe installer: fixup polkit permissions 2024-02-29 14:59:15 -03:00
alfrix
a0d009e126 installer: provide a fix for fbturbo
some GPIO/SPI screen installer put the config but not the driver, this causes a failure to start, remove said config to allow the more standarized fbdev to work
2024-01-13 12:29:36 -03:00
alfrix
2af58ef8ea network: refactors and fixes 2024-01-11 20:54:10 -03:00
alfrix
d9aaddb462 installer: ask when installing the service 2024-01-11 20:54:10 -03:00
Alfredo Monclus
be972d50d1
Polkit rules to fix #1201 and improve network permissions avoiding the nm workaround (#1205)
* installer: use polkit for permissions

* update dependencies

* docs update
2023-12-23 12:20:58 -03:00
alfrix
d06231a6b6 installer: call python3 2023-09-28 15:19:58 -03:00
alfrix
a3345f78dd installer: call python3 close #1131
i have no taken into account old distros that have python 2 as default since python 2 has not been supported since 2020

keep in mind that python 3.7 is out of support
and i will push KS requeriments to 3.9 when buster enters EOL mid-next year (bullseye has 3.9)
3.8 will be out of support close to buster, it will be skipped

so anyone on legacy distros will not be able to update KS past july 2024
2023-09-28 14:48:06 -03:00
alfrix
0fada32c4b check requirements in the installer 2023-09-27 23:03:43 -03:00
alfrix
37e71e17f9 moonraker compat: create system-dependencies 2023-08-18 11:48:37 -03:00
alfrix
2d8419ca13 fix desktop icon not appearing 2023-03-17 07:50:50 -06:00
Thijs Triemstra
fc7b8c5304
fix typos (#897) 2023-02-13 21:05:48 -06:00
alfrix
eeffdd26dd mask modemmanager close #857 2023-01-29 15:49:41 -06:00
Alex Hornung
f6afb4d4ab
install: Fix Xwrapper.config existence test (#846) 2022-12-13 20:04:08 -03:00
alfrix
9fa047eb8b camera: fix libmpv-dev not installing fixes #842 2022-12-12 08:00:38 -03:00
alfrix
d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00
alfrix
701ff35652 installer: if pip fails upgrade and retry once 2022-12-11 09:17:18 -03:00
alfrix
69a7d3defb installer: remove fbturbo always use fbdev most platforms today have issues with fbturbo 2022-11-30 11:00:10 -03:00
alfrix
d6161539a6 Update translation add japanese thanks to yhira1023 2022-11-28 11:57:12 -03:00
alfrix
fe06b38128 installer: add the new packages needed to build python-networkmanager to moonraker
not every platform has prebuilt bins, so it's necessary for those platforms to have this packages
2022-11-27 14:30:00 -03:00
alfrix
abb1f0d2d2 installer: add packages needed to build python-networkmanager
pass the req file to pip (secuential install was needed for Vext)
fixes #812

some systems don't have wheels and need compilation, the packages are needed for those cases
2022-11-26 15:57:50 -03:00
alfrix
a695c68a25 screen: simplify cursor changes 2022-11-12 09:30:43 -03:00
alfrix
73e4645df0 installer: add input drivers by default close #772 2022-11-02 11:13:16 -03:00
alfrix
1332045128 installer: the workaround for pip 22 should not be needed by now 2022-10-15 18:56:05 -03:00
Nick Douma
1b758b85c6
Add Desktop file to easily start KlipperScreen on a normal Linux desktop (#713)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-21 20:18:22 -03:00
alfrix
ce8762da19 installer: drop matchbox requirement and add an updater note 2022-09-02 19:58:35 -03:00
Franklyn Tackitt
4e701c88ad Make installation configurable
```sh
KLIPPERSCREEN_VENV=$HOME/.venvs/klipperscreen ./scripts/KlipperScreen-install.sh
```
2022-08-01 12:24:18 -03:00
alfrix
92254942ef installer: restart KS if it's running 2022-07-03 12:03:50 -03:00
alfrix
3ed8142ab9 installer: overwrite the service unit 2022-07-03 12:03:50 -03:00
alfrix
312d131db5 use images for the sort order, drop freefont dependency 2022-07-03 12:03:50 -03:00
alfrix
9e800dd008 installer: add librsvg2-common as dependency fix #629 2022-06-03 13:38:22 -03:00
alfrix
f98ac0bfe4 Move korean fonts to the optional category 2022-05-31 11:13:56 -03:00
NStevenU
a29da7e76c
Add Korean language support (#625)
* Add Korean language support

* Add Korean Language Support Font Installation
2022-05-31 11:12:20 -03:00
Alfredo Monclus
7420f38b15
installer improvements (#601)
The installer now catchs apt errors
FBturbo is now optional and FBdev is used as fallback
install xserver-xorg-legacy but do not force it, it's usually required for a lot of screens, but not 100%
hide pip update warnings, the new version broke stuff.
more granularity and steps to what's being installed, should make it easier to debug if something goes wrong
2022-04-29 12:12:00 -03:00
alfrix
f2d642b94d Installer: Workaround pip 22.0 issues 2022-01-30 18:28:27 -03:00
alfrix
588869aa57 Don't upgrade pip in the installer (pip 22.0 is being an issue) 2022-01-30 16:05:14 -03:00
alfrix
c8a8f020af Installer: always unmask the service and enable 2022-01-26 09:07:26 -03:00
alfrix
86cdcfafe4 Installer prevent the script from being run as root 2022-01-26 07:20:26 -03:00
alfrix
7bb99ecc7d Installer: clean deprecated command 2022-01-24 08:59:16 -03:00
Alfredo Monclus
5ff249cb20
Switch from vext.gi to PyGObject (#348) 2021-12-04 12:29:35 -05:00
Alfredo Monclus
0a6ac42069
Installer: improvements (#335)
* Fix vext.gi error
The problem occurs because vext and vext.gi are installed at the same time
we need to install the requirements in order

* Simplify path (the env was activated)

* Colorize output

* Abort if pip exit is not clean
2021-11-21 15:42:11 -05:00
Jordan
2b2e096955 install script: Integrate vext.gi into requirements file 2021-11-16 22:48:32 -05:00
Jordan
cdf4d60b21 install script: Add fonts package. Addresses #254 2021-09-21 18:21:18 -04:00
Jordan
145d9c1d84 install-script: Change to account for fixing broken packages in apt 2021-06-27 10:27:04 -04:00
Jordan
ca2855b80b install script: Fix #142 2021-06-18 12:09:42 -04:00
Jordan Ruthe
e7b3b963c3 install: Check for existing service file
Don't overwrite service file for KlipperScreen on running install 
script.
2021-04-18 23:45:54 -04:00
Jordan Ruthe
0e1c30879b install: Change install command to PKGLIST
This enables moonraker update compatability for installing system 
packages
2021-04-18 23:42:04 -04:00
Jordan Ruthe
bac2d9f23e install: Add missing dependency for libatlas 2021-04-08 07:18:09 -04:00
Jordan Ruthe
78fd11c4f1 install: fix no-binary 2021-03-04 20:44:02 -05:00
Jordan Ruthe
c8fe6de747 screen: Fix cosmetic issue with mouse hover at startup 2021-02-21 11:58:14 -05:00
gdachs
41e2008249
wireless-tools is a required package (#86)
Missing wireless-tools lead to a very high CPU usage
2021-02-19 00:49:48 -05:00