diff -Nru sineshaper-0.4.2/debian/changelog sineshaper-0.4.2/debian/changelog --- sineshaper-0.4.2/debian/changelog 2017-05-11 15:20:47.000000000 +0000 +++ sineshaper-0.4.2/debian/changelog 2017-05-11 15:47:54.000000000 +0000 @@ -1,4 +1,4 @@ -sineshaper (0.4.2-8kxstudio1) trusty; urgency=medium +sineshaper (0.4.2-8kxstudio3) trusty; urgency=medium * Rebuild diff -Nru sineshaper-0.4.2/debian/patches/kxstudio-changes.patch sineshaper-0.4.2/debian/patches/kxstudio-changes.patch --- sineshaper-0.4.2/debian/patches/kxstudio-changes.patch 1970-01-01 00:00:00.000000000 +0000 +++ sineshaper-0.4.2/debian/patches/kxstudio-changes.patch 2017-05-11 15:47:39.000000000 +0000 @@ -0,0 +1,18 @@ +--- sineshaper-0.4.2.orig/configure.ac ++++ sineshaper-0.4.2/configure.ac +@@ -41,7 +41,7 @@ AC_SUBST(dssidir) + + # Checking whether to build with optimisation flags or debug flags + debug_cflags="-g -O2 -Wall -Werror -ansi -pedantic" +-opt_cflags="-O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -DNDEBUG -Wall -ansi -pedantic" ++opt_cflags="-O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -DNDEBUG -Wall -ansi -pedantic -std=gnu++11" + AC_MSG_CHECKING([whether to build with debugging info]) + AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [build with debugging information (may slow down execution)])) + if test x$enable_debug == xyes; then +--- sineshaper-0.4.2.orig/src/sineshaper/sineshaper.sh ++++ sineshaper-0.4.2/src/sineshaper/sineshaper.sh +@@ -1,3 +1,3 @@ + #!/bin/bash + +-exec -a sineshaper jack-dssi-host ++exec /usr/bin/jack-dssi-host /usr/lib/dssi/sineshaper.so diff -Nru sineshaper-0.4.2/debian/patches/series sineshaper-0.4.2/debian/patches/series --- sineshaper-0.4.2/debian/patches/series 2014-08-10 13:15:02.000000000 +0000 +++ sineshaper-0.4.2/debian/patches/series 2017-05-11 15:47:32.000000000 +0000 @@ -1,2 +1,3 @@ 0001-ftbfs.patch 0002-ld_as_needed.patch +kxstudio-changes.patch diff -Nru sineshaper-0.4.2/debian/rules sineshaper-0.4.2/debian/rules --- sineshaper-0.4.2/debian/rules 2017-05-11 14:58:05.000000000 +0000 +++ sineshaper-0.4.2/debian/rules 2017-05-11 15:45:26.000000000 +0000 @@ -8,10 +8,13 @@ %: dh $@ --parallel --with=autoreconf +override_dh_auto_configure: + dh_auto_configure -- --libdir=/usr/lib + override_dh_auto_install: dh_auto_install # Remove rpath - chrpath -d $(CURDIR)/debian/sineshaper/usr/lib/*/dssi/sineshaper/sineshaper_gtk + chrpath -d $(CURDIR)/debian/sineshaper/usr/lib/dssi/sineshaper/sineshaper_gtk # Install desktop file and icon mkdir -p $(CURDIR)/debian/sineshaper/usr/share/applications mkdir -p $(CURDIR)/debian/sineshaper/usr/share/pixmaps