Flatpak writes files for installed applications with the full Flatpak (store) path. This patch makes it write just "flatpak", using Flatpak from PATH. This is similar to the NixOS [0] patch, updated for Flatpak 1.12.1 [0] https://github.com/NixOS/nixpkgs/blob/bf4167861d0f864b0fc457778d54feb4a2675ea2/pkgs/development/libraries/flatpak/use-flatpak-from-path.patch diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 80ff5e5f..0c111c31 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -7134,8 +7134,7 @@ export_desktop_file (const char *app, flatpak = FLATPAK_BINDIR "/flatpak"; g_string_append_printf (new_exec, - "%s run --branch=%s --arch=%s", - flatpak, + "flatpak run --branch=%s --arch=%s", escaped_branch, escaped_arch); @@ -8467,8 +8466,8 @@ flatpak_dir_deploy (FlatpakDir *self, if ((flatpak = g_getenv ("FLATPAK_BINARY")) == NULL) flatpak = FLATPAK_BINDIR "/flatpak"; - bin_data = g_strdup_printf ("#!/bin/sh\nexec %s run --branch=%s --arch=%s %s \"$@\"\n", - flatpak, escaped_branch, escaped_arch, escaped_app); + bin_data = g_strdup_printf ("#!/bin/sh\nexec flatpak run --branch=%s --arch=%s %s \"$@\"\n", + escaped_branch, escaped_arch, escaped_app); if (!g_file_replace_contents (wrapper, bin_data, strlen (bin_data), NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, cancellable, error)) return FALSE; dbeb200c2ab1dc33547'/>
path: root/gnu/packages/ibus.scm
AgeCommit message (Expand)Author
2018-09-25gnu: ibus: Update to 1.5.19....Ricardo Wurmus
2018-05-30gnu: ibus-libpinyin: Update to 1.10.0....Ricardo Wurmus
2018-05-30gnu: libpinyin: Update to 2.2.0....Ricardo Wurmus
2018-01-29gnu: libpinyin: Update to 2.1.91....Tobias Geerinckx-Rice
2018-01-29gnu: ibus: Don't capitalise pinyin....Tobias Geerinckx-Rice
2017-11-13gnu: ibus: Update to 1.5.17....Efraim Flashner
2017-11-13gnu: ibus: Enable wayland support....Efraim Flashner
2017-09-24gnu: ibus-libpinyin: Update to 1.9.2....Ricardo Wurmus
2017-09-24gnu: libpinyin: Update to 2.1.0....Ricardo Wurmus
2017-09-04gnu: Put autoconf-related phases immediately after the 'unpack phase....Kei Kebreau
2017-07-04gnu: ibus: Update to 1.5.16....Tobias Geerinckx-Rice