nixpkgs/nixos/modules
github-actions[bot] e882bcae43
[Backport release-21.05] teamviewer: fix #96633, #44307 and #97148 + 15.15.5 -> 15.18.5 -> 15.22.3 (#141439)
* teamviewer: fix issue #96633

Fix teamviewer's breakage post 15.5.3 -> 15.15.5.

Teamviewer client was no longer able to connect to its backing
server as it now uses dbus to do so. Following changes were
required:

 -  add missing dbus and polkit service/policy files to package.
 -  add missing dbus lib to `LD_LIBRARY_PATH`.

Changes to the nixos module as a separate changeset.

(cherry picked from commit 506966d15658d8a411f364f47bbc0f3f9366dba3)

* nixos/teamviewer: fix issue #96633

Add teamviewer package as a dbus package now that the
client / server communication depends on dbus.

(cherry picked from commit 200e959995fa8088b5722bc8255109c03f2a4f78)

* nixos/teamviewer: fix issue #44307

Move to a forefront launch of the daemon. Doing so allowed us
to move the service from forking to simple to avoid the
missing pid  error log.

Also:

 -  Make the dbus dependency explicit.

(cherry picked from commit 953bbc0d7373102cf89625dc3bb7ab8e91134069)

* teamviewer: 15.15.5 -> 15.18.5

Upgrading to the last version still using qt5.14. Later version
will be using qt5.15 which is not in 21.05 stable branch.

This fixes us the crash observed in 15.15.5 when stopping
the service.

(cherry picked from commit db889eb9137a859eedfc5b402de84271c0659662)

* teamviewer: refactor executable wrapping

This centralizes `PATH` and `LD_LIBRARY_PATH`, avoid multiple
layers of wrappers.

Refactor as suggested by @Artturin in PR provided patch:
<https://github.com/NixOS/nixpkgs/pull/140076#issuecomment-934770391>.

(cherry picked from commit c55bc5bfd3377d54f5b6153d09c033cceadfcc05)

* teamviewer: fix 97148 (busybox installed issue)

Simply add `coreutils` as a runtime dependency which will
prevent teamviewer from using incomplete busybox implementation
of expected gnu binaries.

As suggested by @Artturin in PR comment:
<https://github.com/NixOS/nixpkgs/pull/140076#issuecomment-934770391>.

(cherry picked from commit 4fb188e1d190f2e08053dba3e2e95fff1e29183a)

* teamviewer: 15.18.5 -> 15.22.3

Required move from libsForQt514 -> libsForQt515.

Note that this changset won't be backportable to 21.05.

(cherry picked from commit 975ab7f3a02ac0232afe7920a8f7d78fc22d5ccb)

Co-authored-by: Raymond Gauthier <jraygauthier@gmail.com>
2021-10-13 05:17:24 +03:00
..
config nixos/fontdir: always link the font directory 2021-10-11 17:45:58 +00:00
hardware config.hardware.onlykey: update the udev rules for onlykey 2021-08-19 03:25:13 +00:00
i18n/input-method input methods: add kime 2021-04-19 03:05:07 +09:00
installer Merge pull request #131876 from NixOS/backport-131760-to-release-21.05 2021-08-01 23:06:37 +02:00
misc nixos-icons: fix icons not installed when documentation disabled 2021-08-04 19:39:21 +00:00
profiles Merge pull request #85073 from hyperfekt/systemd-pstore 2021-05-17 00:00:52 +02:00
programs captive-browser: fix empty string in interface args 2021-08-22 17:44:31 +00:00
security Merge pull request #129436 from NixOS/backport-121750-to-release-21.05 2021-08-09 16:15:37 +02:00
services [Backport release-21.05] teamviewer: fix #96633, #44307 and #97148 + 15.15.5 -> 15.18.5 -> 15.22.3 (#141439) 2021-10-13 05:17:24 +03:00
system nixos/binfmt: run binfmt activation script after mounting /run 2021-08-03 11:24:05 +00:00
tasks services.zfs.expandOnBoot: support expanding pools on boot 2021-09-13 17:42:07 +00:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation NixOS/amazonImageZfs: init 2021-09-13 16:20:46 +00:00
module-list.nix config.hardware.onlykey: move the module into its own folder 2021-08-19 03:25:13 +00:00
rename.nix quagga: remove 2021-04-22 12:48:48 +02:00