mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
gnome-flashback: 3.54.0 → 3.56.0
https://gitlab.gnome.org/GNOME/gnome-flashback/-/compare/3.54.0...3.56.0 Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
d32b75170e
commit
86d8748ace
2 changed files with 23 additions and 2 deletions
13
pkgs/by-name/gn/gnome-flashback/fix-paths.patch
Normal file
13
pkgs/by-name/gn/gnome-flashback/fix-paths.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/system-indicators/si-input-sources.c b/system-indicators/si-input-sources.c
|
||||
index f13b262..2186b76 100644
|
||||
--- a/system-indicators/si-input-sources.c
|
||||
+++ b/system-indicators/si-input-sources.c
|
||||
@@ -807,7 +807,7 @@ spawn_keyboard_display (const char *description)
|
||||
flags = G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD;
|
||||
error = NULL;
|
||||
|
||||
- argv[0] = g_strdup ("tecla");
|
||||
+ argv[0] = g_strdup ("@tecla@");
|
||||
argv[1] = g_strdup (description);
|
||||
argv[2] = NULL;
|
||||
|
|
@ -20,7 +20,9 @@
|
|||
pkg-config,
|
||||
polkit,
|
||||
gdm,
|
||||
replaceVars,
|
||||
systemd,
|
||||
tecla,
|
||||
upower,
|
||||
pam,
|
||||
wrapGAppsHook3,
|
||||
|
@ -64,13 +66,19 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-flashback";
|
||||
version = "3.54.0";
|
||||
version = "3.56.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-flashback/${lib.versions.majorMinor finalAttrs.version}/gnome-flashback-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-gkNa4wLNZK6xG25M0YTaj/+qzSSFFf+gIidZXDzPne4=";
|
||||
hash = "sha256-LQ+iLzc9sIDq7w5Wk7lijN6ETyVjPVqQMTsEndlSkmA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(replaceVars ./fix-paths.patch {
|
||||
tecla = lib.getExe tecla;
|
||||
})
|
||||
];
|
||||
|
||||
# make .desktop Execs absolute
|
||||
postPatch = ''
|
||||
patch -p0 <<END_PATCH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue