From 41ab083ccc5ffbd32d7453d77cbaa323e896c537 Mon Sep 17 00:00:00 2001 From: ratijas Date: Tue, 9 Feb 2021 20:51:55 +0300 Subject: [PATCH] Unset executable bits & remove !#shebang (#306) * Unset executable bit from XML and images I'm not an expert, but those XMLs do not look like any kind of normally executable scripts. And even if they were -- XML syntax does not allow shebangs, as far as standard[1] is concerned. [1]: https://www.w3.org/TR/2008/REC-xml-20081126/#NT-document * Drop unused global var WINEASIO_PREFIX It was mis-formatted anyway. Looks like a copy-paste from wineasio which is broken in the exact same way[1]. [1] https://github.com/wineasio/wineasio/blob/638ce56a7f872e8556b45949f7dfa734f4bd366c/gui/settings.py#L41 * Unset executable bit Unset executable bit from all python sources upon installation --- Makefile | 2 +- data/icons/claudia-hicolor/16x16/apps/radium.png | Bin data/icons/claudia-hicolor/48x48/apps/radium.png | Bin data/templates/Carla.carxp | 0 data/templates/LMMS.mmp | 0 resources/scalable/orig/cadence-suite_small.svg | 0 src/cadence.py | 2 -- 7 files changed, 1 insertion(+), 3 deletions(-) mode change 100755 => 100644 data/icons/claudia-hicolor/16x16/apps/radium.png mode change 100755 => 100644 data/icons/claudia-hicolor/48x48/apps/radium.png mode change 100755 => 100644 data/templates/Carla.carxp mode change 100755 => 100644 data/templates/LMMS.mmp mode change 100755 => 100644 resources/scalable/orig/cadence-suite_small.svg diff --git a/Makefile b/Makefile index e5032a2..fc24d1d 100644 --- a/Makefile +++ b/Makefile @@ -159,7 +159,7 @@ install: install -m 644 resources/scalable/claudia-launcher.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/ # Install main code - install -m 755 src/*.py $(DESTDIR)$(PREFIX)/share/cadence/src/ + install -m 644 src/*.py $(DESTDIR)$(PREFIX)/share/cadence/src/ # Install addtional stuff for Cadence install -m 644 data/pulse2jack/* $(DESTDIR)$(PREFIX)/share/cadence/pulse2jack/ diff --git a/data/icons/claudia-hicolor/16x16/apps/radium.png b/data/icons/claudia-hicolor/16x16/apps/radium.png old mode 100755 new mode 100644 diff --git a/data/icons/claudia-hicolor/48x48/apps/radium.png b/data/icons/claudia-hicolor/48x48/apps/radium.png old mode 100755 new mode 100644 diff --git a/data/templates/Carla.carxp b/data/templates/Carla.carxp old mode 100755 new mode 100644 diff --git a/data/templates/LMMS.mmp b/data/templates/LMMS.mmp old mode 100755 new mode 100644 diff --git a/resources/scalable/orig/cadence-suite_small.svg b/resources/scalable/orig/cadence-suite_small.svg old mode 100755 new mode 100644 diff --git a/src/cadence.py b/src/cadence.py index 8b5192f..67d7a77 100755 --- a/src/cadence.py +++ b/src/cadence.py @@ -113,8 +113,6 @@ XDG_APPLICATIONS_PATH = [ "/usr/local/share/applications" ] -WINEASIO_PREFIX = "HKEY_CURRENT_USER\Software\Wine\WineASIO" - # --------------------------------------------------------------------- global jackClientIdALSA, jackClientIdPulse