[SCM] stk/master: Use debian RAWWAVE_PATH in stk-demo.

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Wed Mar 29 13:55:08 UTC 2017


The following commit has been merged in the master branch:
commit fdabc11ca909580adf74fece6b244eb5491b7797
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Mar 29 10:32:05 2017 -0300

    Use debian RAWWAVE_PATH in stk-demo.
    
    Closes: #858895

diff --git a/debian/patches/demo-use-RAWWAVE_PATH-instead-of-hardcoded-string.patch b/debian/patches/demo-use-RAWWAVE_PATH-instead-of-hardcoded-string.patch
new file mode 100644
index 0000000..1e78dea
--- /dev/null
+++ b/debian/patches/demo-use-RAWWAVE_PATH-instead-of-hardcoded-string.patch
@@ -0,0 +1,21 @@
+From: Felipe Sateler <fsateler at debian.org>
+Date: Wed, 29 Mar 2017 10:28:40 -0300
+Subject: demo: use RAWWAVE_PATH instead of hardcoded string
+
+---
+ projects/demo/demo.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/projects/demo/demo.cpp b/projects/demo/demo.cpp
+index c877b4a..3e74769 100644
+--- a/projects/demo/demo.cpp
++++ b/projects/demo/demo.cpp
+@@ -213,7 +213,7 @@ int main( int argc, char *argv[] )
+ 
+   // Depending on how you compile STK, you may need to explicitly set
+   // the path to the rawwave directory.
+-  Stk::setRawwavePath( "../../rawwaves/" );
++  Stk::setRawwavePath( RAWWAVE_PATH );
+ 
+   // By default, warning messages are not printed.  If we want to see
+   // them, we need to specify that here.
diff --git a/debian/patches/series b/debian/patches/series
index 88e670b..c274f3a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ Finish-renaming-SKINI.patch
 demo-needs-rt.patch
 Sort-o-files
 Do-not-override-user-supplied-CXXFLAGS.patch
+demo-use-RAWWAVE_PATH-instead-of-hardcoded-string.patch

-- 
stk packaging



More information about the pkg-multimedia-commits mailing list