[SCM] qm-dsp/master: Use system_wide libatlas.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Dec 8 06:53:39 UTC 2016


The following commit has been merged in the master branch:
commit d326b78363f87e4eee47491aecf01fcb6d8472ad
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Dec 8 07:53:14 2016 +0100

    Use system_wide libatlas.

diff --git a/debian/patches/01-Makefile.patch b/debian/patches/01-Makefile.patch
index b90b9bf..932fde3 100644
--- a/debian/patches/01-Makefile.patch
+++ b/debian/patches/01-Makefile.patch
@@ -13,7 +13,7 @@ Index: qm-dsp/Makefile
 +MAJVERS = 0
 +MINVERS = 0.0
 +
-+CFLAGS += -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS -Ibuild/linux/amd64
++CFLAGS += -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS
 +CXXFLAGS += -fPIC -Wall
 +CXXFLAGS += $(CFLAGS)
 +LDLFAGS +=
diff --git a/debian/patches/02-fix_include.patch b/debian/patches/02-fix_include.patch
new file mode 100644
index 0000000..26a4357
--- /dev/null
+++ b/debian/patches/02-fix_include.patch
@@ -0,0 +1,26 @@
+Description: Fix inlude path.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: qm-dsp/hmm/hmm.c
+===================================================================
+--- qm-dsp.orig/hmm/hmm.c
++++ qm-dsp/hmm/hmm.c
+@@ -18,7 +18,7 @@
+ #include <float.h>
+ #include <time.h>				/* to seed random number generator */
+ 
+-#include <clapack.h>		/* LAPACK for matrix inversion */
++#include <atlas/clapack.h>		/* LAPACK for matrix inversion */
+ 
+ #include "maths/nan-inf.h"
+ 
+@@ -37,7 +37,7 @@
+ #ifdef _MAC_OS_X
+ #include <vecLib/cblas.h>
+ #else
+-#include <cblas.h>		/* BLAS for matrix multiplication */
++#include <atlas/cblas.h>		/* BLAS for matrix multiplication */
+ #endif
+ 
+ #include "hmm.h"
diff --git a/debian/patches/series b/debian/patches/series
index 3997568..0073058 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-Makefile.patch
+02-fix_include.patch

-- 
qm-dsp packaging



More information about the pkg-multimedia-commits mailing list