[SCM] python-pyo/master: Depends on python-wxgtk3.0 instead of python-wxgtk2.8 to have the graphical IDE (E-Pyo) working.
tiago at users.alioth.debian.org
tiago at users.alioth.debian.org
Sun Aug 31 00:15:11 UTC 2014
The following commit has been merged in the master branch:
commit 06e4ad74cb0ca8f97ef318cce4c4812af234b953
Author: Tiago Bortoletto Vaz <tiago at debian.org>
Date: Sat Aug 30 20:14:44 2014 -0400
Depends on python-wxgtk3.0 instead of python-wxgtk2.8 to have the graphical IDE (E-Pyo) working.
diff --git a/debian/changelog b/debian/changelog
index 91075d7..180375f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-pyo (0.7-2) unstable; urgency=low
+
+ * Depends on python-wxgtk3.0 instead of python-wxgtk2.8 to have the
+ graphical IDE (E-Pyo) working.
+
+ -- Tiago Bortoletto Vaz <tiago at debian.org> Sat, 30 Aug 2014 20:13:47 -0400
+
python-pyo (0.7-1) unstable; urgency=medium
* New upstream version.
diff --git a/debian/control b/debian/control
index c4cf069..18d6a30 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Homepage: http://code.google.com/p/pyo/
Package: python-pyo
Architecture: any
Depends: python (>= 2.6), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Recommends: python-tk, python-imaging-tk, python-wxgtk2.8
+Recommends: python-tk, python-imaging-tk, python-wxgtk3.0
Description: Python module written in C to help digital signal processing script creation
pyo is a Python module containing classes for a wide variety of audio signal
processing types. With pyo, user will be able to include signal processing
diff --git a/utils/E-Pyo.py b/utils/E-Pyo.py
index 3f85ba9..31f0b5f 100755
--- a/utils/E-Pyo.py
+++ b/utils/E-Pyo.py
@@ -223,7 +223,7 @@ if OSX_APP_BUNDLED:
elif WIN_APP_BUNDLED:
EXAMPLE_PATH = os.path.join(os.getcwd(), "Resources", "examples")
else:
- EXAMPLE_PATH = "/usr/share/doc/python-pyo/examples"
+ EXAMPLE_PATH = os.path.join(os.getcwd(), "../examples")
EXAMPLE_FOLDERS = [folder.capitalize() for folder in os.listdir(EXAMPLE_PATH) if folder[0] != "." and folder not in ["snds", "fft"]]
EXAMPLE_FOLDERS.append("FFT")
EXAMPLE_FOLDERS.sort()
@@ -240,9 +240,9 @@ if not os.path.isdir(SNIPPETS_PATH):
for file in files:
shutil.copy(os.path.join(os.getcwd(), "Resources", "snippets", rep, file), os.path.join(SNIPPETS_PATH, rep))
else:
- files = [f for f in os.listdir(os.path.join("/usr/lib/python-pyo", "snippets", rep)) if f[0] != "."]
+ files = [f for f in os.listdir(os.path.join(os.getcwd(), "snippets", rep)) if f[0] != "."]
for file in files:
- shutil.copy(os.path.join("/usr/lib/python-pyo", "snippets", rep, file), os.path.join(SNIPPETS_PATH, rep))
+ shutil.copy(os.path.join(os.getcwd(), "snippets", rep, file), os.path.join(SNIPPETS_PATH, rep))
SNIPPETS_CATEGORIES = [rep for rep in os.listdir(SNIPPETS_PATH) if os.path.isdir(os.path.join(SNIPPETS_PATH, rep))]
SNIPPET_DEL_FILE_ID = 30
SNIPPET_ADD_FOLDER_ID = 31
@@ -271,12 +271,12 @@ if not os.path.isdir(STYLES_PATH):
for file in files:
shutil.copy(os.path.join(os.getcwd(), "Resources", "styles", file), os.path.join(STYLES_PATH, file))
else:
- files = [f for f in os.listdir(os.path.join("/usr/lib/python-pyo", "styles")) if f[0] != "."]
+ files = [f for f in os.listdir(os.path.join(os.getcwd(), "styles")) if f[0] != "."]
for file in files:
- shutil.copy(os.path.join("/usr/lib/python-pyo", "styles", file), os.path.join(STYLES_PATH, file))
+ shutil.copy(os.path.join(os.getcwd(), "styles", file), os.path.join(STYLES_PATH, file))
DEFAULT_STYLE = os.path.join(STYLES_PATH, "Default")
if not os.path.isfile(os.path.join(STYLES_PATH, "Default")):
- shutil.copy(os.path.join("/usr/lib/python-pyo", "styles", "Default"), DEFAULT_STYLE)
+ shutil.copy(os.path.join(os.getcwd(), "styles", "Default"), DEFAULT_STYLE)
if PREFERENCES.has_key("pref_style"):
PREF_STYLE = os.path.join(ensureNFD(STYLES_PATH), PREFERENCES["pref_style"])
else:
@@ -290,7 +290,7 @@ if not os.path.isfile(MARKERS_FILE):
with open(MARKERS_FILE, "w") as f:
f.write("=\n")
-BACKGROUND_SERVER_DEFAULT_ARGS = 'sr=44100, nchnls=2, buffersize=256, duplex=1, audio="jack", jackname="pyo"'
+BACKGROUND_SERVER_DEFAULT_ARGS = 'sr=44100, nchnls=2, buffersize=256, duplex=1, audio="portaudio", jackname="pyo"'
BACKGROUND_SERVER_ARGS = PREFERENCES.get("background_server_args", BACKGROUND_SERVER_DEFAULT_ARGS)
################## TEMPLATES ##################
--
python-pyo packaging
More information about the pkg-multimedia-commits
mailing list