mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
gnomeExtensions.gsconnect: 39 -> 41
Update patch so it'll apply on v41.
This commit is contained in:
parent
eaf667bbf0
commit
3f1a356b81
@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-gsconnect";
|
||||
version = "39";
|
||||
version = "41";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andyholmes";
|
||||
repo = "gnome-shell-extension-gsconnect";
|
||||
rev = "v${version}";
|
||||
sha256 = "0d2wypf36p95v756arf06gfilpb48gp55i1xbqnqvcd10n3q4zc2";
|
||||
sha256 = "0lcj7k16jki54bsyh01j4ss4hhfddnahcw02zlmlkl637qdv1b5j";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,5 +1,7 @@
|
||||
--- a/data/org.gnome.Shell.Extensions.GSConnect.desktop
|
||||
+++ b/data/org.gnome.Shell.Extensions.GSConnect.desktop
|
||||
diff --git i/data/org.gnome.Shell.Extensions.GSConnect.desktop.in w/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
||||
index ffb23342..b405c73b 100644
|
||||
--- i/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
||||
+++ w/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
@ -9,18 +11,22 @@
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
Icon=org.gnome.Shell.Extensions.GSConnect
|
||||
--- a/src/extension.js
|
||||
+++ b/src/extension.js
|
||||
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path));
|
||||
+
|
||||
const Gio = imports.gi.Gio;
|
||||
const GLib = imports.gi.GLib;
|
||||
const Gtk = imports.gi.Gtk;
|
||||
--- a/src/prefs.js
|
||||
+++ b/src/prefs.js
|
||||
diff --git i/src/extension.js w/src/extension.js
|
||||
index 5f32aa68..872c0c61 100644
|
||||
--- i/src/extension.js
|
||||
+++ w/src/extension.js
|
||||
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path));
|
||||
+
|
||||
const Gio = imports.gi.Gio;
|
||||
const GObject = imports.gi.GObject;
|
||||
const Gtk = imports.gi.Gtk;
|
||||
diff --git i/src/prefs.js w/src/prefs.js
|
||||
index 07e93099..1c166710 100644
|
||||
--- i/src/prefs.js
|
||||
+++ w/src/prefs.js
|
||||
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user