Skip to content
Snippets Groups Projects
Commit c260e8db authored by Alexandre Savard's avatar Alexandre Savard
Browse files
parents 3a5e2583 aa173c39
Branches
Tags
No related merge requests found
#!/bin/bash #!/bin/sh -e
function autocmd() # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
{ [ ! -e m4 ] && mkdir m4
echo "Running ${1}..."
$* || {
echo "Error running ${1}"
exit 1
}
}
gnome-doc-prepare --force gnome-doc-prepare --force
autoreconf --force --install --verbose -Wall -I m4
autocmd libtoolize --force --copy
autocmd aclocal
autocmd autoheader
autocmd autoconf -f
autocmd automake --add-missing --force-missing --copy -Wall
...@@ -468,7 +468,7 @@ GtkTreeModel* createModel() ...@@ -468,7 +468,7 @@ GtkTreeModel* createModel()
gdk_pixbuf_unref (pixbuf); gdk_pixbuf_unref (pixbuf);
} else { } else {
DEBUG ("Couldn't load icon: %s", error->message); DEBUG ("Couldn't load icon: %s", error->message);
g_error_free (error); g_clear_error (&error);
} }
} }
......
#!/bin/bash #!/bin/sh -e
function autocmd() # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
{ [ ! -e m4 ] && mkdir m4
echo "Running ${1}..."
$* || {
echo "Error running ${1}"
exit 1
}
}
autocmd libtoolize --force --copy
autocmd aclocal
autocmd autoheader
autocmd autoconf -f
autocmd automake --add-missing --force-missing --copy -Wall
autoreconf --force --install --verbose -Wall -I m4
...@@ -74,5 +74,5 @@ AM_CPPFLAGS = \ ...@@ -74,5 +74,5 @@ AM_CPPFLAGS = \
indent: indent:
@echo "Indenting code:" @echo "Indenting code:"
if [ -f $(ASTYLERC) ] ; then \ if [ -f $(ASTYLERC) ] ; then \
find $(top_srcdir)/src/ -regex ".*\.\(h\|cpp\)" -exec $(indent) --options=$(ASTYLERC) {} \; ; \ find $(top_srcdir)/src/ -name \*.cpp -o -name \*.h | xargs $(indent) --options=$(ASTYLERC) ; \
fi fi
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "echocancel.h" #include "echocancel.h"
// #include <fstream> #include <cmath>
EchoCancel::EchoCancel (int smplRate, int frameLength) : _samplingRate (smplRate), EchoCancel::EchoCancel (int smplRate, int frameLength) : _samplingRate (smplRate),
_frameLength (frameLength), _frameLength (frameLength),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment