mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
gnomeExtensions.sound-output-device-chooser: 28 → 32
https://github.com/kgshank/gse-sound-output-device-chooser/compare/28...32
This commit is contained in:
parent
4a99872c97
commit
86f2d455cb
2 changed files with 14 additions and 10 deletions
|
@ -7,13 +7,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-sound-output-device-chooser";
|
||||
version = "28";
|
||||
version = "32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kgshank";
|
||||
repo = "gse-sound-output-device-chooser";
|
||||
rev = version;
|
||||
sha256 = "1vmf8mgb52x7my3sidaw8kh26d5niadn18bgrl6bjcakmj5x8q16";
|
||||
sha256 = "1s83scr80qv5xmlfsy6dnsj96lwg2rr4pbsw9inld3ylblgvi35l";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
diff --git a/sound-output-device-chooser@kgshank.net/convenience.js b/sound-output-device-chooser@kgshank.net/convenience.js
|
||||
index 54ad06f..0860531 100644
|
||||
--- a/sound-output-device-chooser@kgshank.net/convenience.js
|
||||
+++ b/sound-output-device-chooser@kgshank.net/convenience.js
|
||||
@@ -111,7 +111,7 @@ function refreshCards() {
|
||||
log("New logic");
|
||||
@@ -129,7 +129,7 @@ function refreshCards() {
|
||||
if(_settings.get_boolean(Prefs.NEW_PROFILE_ID)) {
|
||||
_log("New logic");
|
||||
let pyLocation = Me.dir.get_child('utils/pa_helper.py').get_path();
|
||||
try {
|
||||
- let [result, out, err, exit_code] = GLib.spawn_command_line_sync('python ' + pyLocation);
|
||||
+ let [result, out, err, exit_code] = GLib.spawn_command_line_sync('@python@ ' + pyLocation);
|
||||
// log("result" + result +" out"+out + " exit_code" + exit_code + "
|
||||
// err" +err);
|
||||
if(result && !exit_code) {
|
||||
- let pythonExec = 'python';
|
||||
+ let pythonExec = '@python@';
|
||||
let pyVer = 3;
|
||||
while(!isCmdFound(pythonExec) && pyVer >=2){
|
||||
_log(pythonExec + " is not found. Try next");
|
||||
diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
||||
index c4d2484..262608d 100644
|
||||
--- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
||||
+++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
||||
@@ -86,7 +86,7 @@ else:
|
||||
|
|
Loading…
Reference in a new issue