+++ /dev/null
-Description: support for sigc++>=2.5.2
- since sigc++-2.5.2, the sigc++/object.h has been removed
- (and replaced by sigc++/trackable.h>
-Author: IOhannes m zmölnig
-Last-Update: 2015-10-21
-Forwarded: Jesse Chappell <jesse@essej.net>
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- sooperlooper.orig/configure.ac
-+++ sooperlooper/configure.ac
-@@ -220,7 +220,15 @@
- AC_SUBST(NCURSES_LIBS)
-
- dnl sigc++
-- PKG_CHECK_MODULES(SIGCPP, sigc++-2.0 >= 2.2.10)
-+ have_sigcpp=no
-+ PKG_CHECK_MODULES(SIGCPP, [sigc++-2.0 >= 2.2.10],[have_sigcpp=yes])
-+ if test "x${have_sigcpp}" = "xyes"
-+ then
-+ presigcpp_CFLAGS=$CFLAGS
-+ CFLAGS=$CFLAGS $SIGCPP_CFLAGS
-+ AC_CHECK_HEADER([sigc++/object.h], [SIGCPP_CFLAGS="$SIGCPP_CFLAGS -DUSE_SIGCPP_OBJECT_H"])
-+ CFLAGS=$presigcpp_CFLAGS
-+ fi
-
- AC_SUBST(SIGCPP_LIBS)
- AC_SUBST(SIGCPP_CFLAGS)
---- sooperlooper.orig/libs/pbd/configure.ac
-+++ sooperlooper/libs/pbd/configure.ac
-@@ -193,7 +193,15 @@
- PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.5)
-
- dnl sigc++
--PKG_CHECK_MODULES(SIGCPP, sigc++-2.0 >= 2.2.10)
-+have_sigcpp=no
-+PKG_CHECK_MODULES(SIGCPP, [sigc++-2.0 >= 2.2.10],[have_sigcpp=yes])
-+if test "x${have_sigcpp}" = "xyes"
-+then
-+ presigcpp_CFLAGS=$CFLAGS
-+ CFLAGS=$CFLAGS $SIGCPP_CFLAGS
-+ AC_CHECK_HEADER([sigc++/object.h], [SIGCPP_CFLAGS="$SIGCPP_CFLAGS -DUSE_SIGCPP_OBJECT_H"])
-+ CFLAGS=$presigcpp_CFLAGS
-+fi
-
-
- AM_BUILD_ENVIRONMENT
---- sooperlooper.orig/src/control_osc.hpp
-+++ sooperlooper/src/control_osc.hpp
-@@ -27,7 +27,11 @@
- #include <list>
- #include <utility>
-
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
-
- #include "event.hpp"
- #include "event_nonrt.hpp"
---- sooperlooper.orig/src/gui/app_frame.hpp
-+++ sooperlooper/src/gui/app_frame.hpp
-@@ -26,7 +26,11 @@
- #include <string>
- #include <vector>
-
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
- #include <sigc++/signal.h>
- #include <sigc++/connection.h>
-
---- sooperlooper.orig/src/gui/config_panel.hpp
-+++ sooperlooper/src/gui/config_panel.hpp
-@@ -26,7 +26,11 @@
-
- #include <string>
- #include <vector>
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
-
- class wxListCtrl;
- class wxSpinCtrl;
---- sooperlooper.orig/src/gui/keys_panel.hpp
-+++ sooperlooper/src/gui/keys_panel.hpp
-@@ -26,7 +26,11 @@
-
- #include <string>
- #include <vector>
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
-
- class wxListCtrl;
-
---- sooperlooper.orig/src/gui/latency_panel.hpp
-+++ sooperlooper/src/gui/latency_panel.hpp
-@@ -26,7 +26,11 @@
-
- #include <string>
- #include <vector>
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
-
- class wxListCtrl;
-
---- sooperlooper.orig/src/gui/main_panel.hpp
-+++ sooperlooper/src/gui/main_panel.hpp
-@@ -26,7 +26,11 @@
- #include <string>
- #include <vector>
-
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
- #include <sigc++/signal.h>
- #include <sigc++/connection.h>
-
---- sooperlooper.orig/src/gui/midi_bind_panel.hpp
-+++ sooperlooper/src/gui/midi_bind_panel.hpp
-@@ -26,7 +26,11 @@
-
- #include <string>
- #include <vector>
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
- #include <list>
-
- #include <midi_bind.hpp>
---- sooperlooper.orig/src/gui/prefs_dialog.hpp
-+++ sooperlooper/src/gui/prefs_dialog.hpp
-@@ -26,7 +26,11 @@
-
- #include <string>
- #include <vector>
--#include <sigc++/object.h>
-+#ifdef USE_SIGCPP_OBJECT_H
-+# include <sigc++/object.h>
-+#else
-+# include <sigc++/trackable.h>
-+#endif
-
- class wxListCtrl;
- class wxSpinCtrl;
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit autotools eutils wxwidgets toolchain-funcs
-
-DESCRIPTION="Live looping sampler with immediate loop recording"
-HOMEPAGE="http://essej.net/sooperlooper/index.html"
-SRC_URI="http://essej.net/sooperlooper/${P/_p/-}.tar.gz
- mirror://gentoo/${PN}-1.6.5-m4.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-sound/jack-audio-connection-kit
- x11-libs/wxGTK:2.8
- media-libs/liblo
- dev-libs/libsigc++:1.2
- media-libs/libsndfile
- media-libs/libsamplerate
- dev-libs/libxml2
- media-libs/rubberband
- sci-libs/fftw:3.0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${P/_p*}
-
-DOCS=( OSC README )
-
-src_prepare() {
- cp -rf "${WORKDIR}"/aclocal "${S}" || die "copying aclocal failed"
- epatch "${FILESDIR}"/${PN}-1.6.5-cxxflags.patch
-
- AT_M4DIR="${S}"/aclocal eautoreconf
- cd "${S}"/libs/midi++
- AT_M4DIR="${S}"/aclocal eautoreconf
- cd "${S}"/libs/pbd
- AT_M4DIR="${S}"/aclocal eautoreconf
-}
-
-src_compile() {
- emake AR=$(tc-getAR)
-}
-
-src_configure() {
- WX_GTK_VER="2.8"
- need-wxwidgets unicode
-
- econf \
- --disable-optimize \
- --with-wxconfig-path="${WX_CONFIG}"
-}
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit autotools eutils wxwidgets toolchain-funcs
-
-DESCRIPTION="Live looping sampler with immediate loop recording"
-HOMEPAGE="http://essej.net/sooperlooper/index.html"
-SRC_URI="http://essej.net/sooperlooper/${P/_p/-}.tar.gz
- mirror://gentoo/${PN}-1.6.5-m4.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-sound/jack-audio-connection-kit
- x11-libs/wxGTK:2.8
- media-libs/liblo
- dev-libs/libsigc++:1.2
- media-libs/libsndfile
- media-libs/libsamplerate
- dev-libs/libxml2
- media-libs/rubberband
- sci-libs/fftw:3.0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${P/_p*}
-
-DOCS=( OSC README )
-
-src_prepare() {
- cp -rf "${WORKDIR}"/aclocal "${S}" || die "copying aclocal failed"
- epatch "${FILESDIR}"/${PN}-1.6.5-cxxflags.patch
-
- AT_M4DIR="${S}"/aclocal eautoreconf
- cd "${S}"/libs/midi++
- AT_M4DIR="${S}"/aclocal eautoreconf
- cd "${S}"/libs/pbd
- AT_M4DIR="${S}"/aclocal eautoreconf
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_configure() {
- WX_GTK_VER="2.8"
- need-wxwidgets unicode
-
- econf \
- --disable-optimize \
- --with-wxconfig-path="${WX_CONFIG}"
-}
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-WX_GTK_VER=3.0
-
-inherit autotools eutils wxwidgets toolchain-funcs
-
-DESCRIPTION="Live looping sampler with immediate loop recording"
-HOMEPAGE="http://essej.net/sooperlooper/index.html"
-SRC_URI="http://essej.net/sooperlooper/${P/_p/-}.tar.gz
- mirror://gentoo/${PN}-1.6.5-m4.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="wxwidgets"
-
-RDEPEND="
- media-sound/jack-audio-connection-kit
- >=media-libs/liblo-0.10
- >=dev-libs/libsigc++-2.2.10:2
- >=media-libs/libsndfile-1.0.2
- >=media-libs/libsamplerate-0.0.13
- dev-libs/libxml2
- >=media-libs/rubberband-0.0.13
- sci-libs/fftw:3.0
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-S=${WORKDIR}/${P/_p*}
-
-DOCS=( OSC README )
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-sigc++-2.5.patch
- epatch "${FILESDIR}"/${P}-wx3.0.patch
-
- cp -rf "${WORKDIR}"/aclocal "${S}" || die "copying aclocal failed"
-
- AT_M4DIR="${S}"/aclocal eautoreconf
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_configure() {
- use wxwidgets && need-wxwidgets unicode
-
- econf \
- $(use_with wxwidgets gui) \
- --disable-optimize \
- --with-wxconfig-path="${WX_CONFIG}"
-}