media-plugins/eq10q: treeclean
Depends on dev-cpp/gtkmm:2.4 which is now deprecated. The package is also not maintained.
This commit is contained in:
parent
101e0ee286
commit
a105a7baaa
@ -1 +0,0 @@
|
||||
DIST eq10q-2.2.tar.gz 797991 BLAKE2B 453cf8e0dcb330e92dfa6be65a83c63c05450956ea9dcef49206d83758c8ea0746cde7d26932e709116a44eb2ce30bb29fa5a4753f5597e71128767b462cb024 SHA512 4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
SRC_URI="mirror://sourceforge/eq10q/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Audio plugin bundle over the LV2 standard for Linux"
|
||||
HOMEPAGE="http://eq10q.sourceforge.net/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/gtkmm:2.4
|
||||
media-libs/lv2
|
||||
>=sci-libs/fftw-3
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/replace_pow10.patch"
|
||||
"${FILESDIR}/fix_lv2.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/lv2"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
Replace _LV2UI_Descriptor with LV2UI_Descriptor
|
||||
|
||||
This is a breaking change in LV2 1.18.0. For more information, see the link.
|
||||
https://sourceforge.net/p/eq10q/bugs/23/
|
||||
|
||||
Patch by Ryan Fox
|
||||
|
||||
--- a/.svn/pristine/1b/1bfb215962413197431e0f05fc93daa3e96db807.svn-base
|
||||
+++ b/.svn/pristine/1b/1bfb215962413197431e0f05fc93daa3e96db807.svn-base
|
||||
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
-static LV2UI_Handle instantiateDyn_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateDyn_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateDyn_gui Entring... ";
|
||||
--- a/.svn/pristine/56/56d71d7e5b8ffea0e9116fc5deec5cd32d86a12e.svn-base
|
||||
+++ b/.svn/pristine/56/56d71d7e5b8ffea0e9116fc5deec5cd32d86a12e.svn-base
|
||||
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
-static LV2UI_Handle instantiateMidSide_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateMidSide_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
||||
--- a/.svn/pristine/b2/b2639de412118ae094aaaac6d9be2afa06acf590.svn-base
|
||||
+++ b/.svn/pristine/b2/b2639de412118ae094aaaac6d9be2afa06acf590.svn-base
|
||||
@@ -38,7 +38,7 @@ using namespace std;
|
||||
#endif
|
||||
|
||||
|
||||
-static LV2UI_Handle instantiateEq10q_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateEq10q_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
||||
--- a/.svn/pristine/ea/ea8c4d0a9fc4136c04533a0b7bc33a4dc70dd1d6.svn-base
|
||||
+++ b/.svn/pristine/ea/ea8c4d0a9fc4136c04533a0b7bc33a4dc70dd1d6.svn-base
|
||||
@@ -38,7 +38,7 @@ using namespace std;
|
||||
#define BASSUP_GUI_URI "http://eq10q.sourceforge.net/bassup/gui"
|
||||
|
||||
|
||||
-static LV2UI_Handle instantiateBassUp_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateBassUp_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
||||
--- a/gui/bassup_ui.cpp
|
||||
+++ b/gui/bassup_ui.cpp
|
||||
@@ -38,7 +38,7 @@ using namespace std;
|
||||
#define BASSUP_GUI_URI "http://eq10q.sourceforge.net/bassup/gui"
|
||||
|
||||
|
||||
-static LV2UI_Handle instantiateBassUp_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateBassUp_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
||||
--- a/gui/dyn_ui.cpp
|
||||
+++ b/gui/dyn_ui.cpp
|
||||
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
-static LV2UI_Handle instantiateDyn_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateDyn_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateDyn_gui Entring... ";
|
||||
--- a/gui/eq10q_ui.cpp
|
||||
+++ b/gui/eq10q_ui.cpp
|
||||
@@ -38,7 +38,7 @@ using namespace std;
|
||||
#endif
|
||||
|
||||
|
||||
-static LV2UI_Handle instantiateEq10q_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateEq10q_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
||||
--- a/gui/midside_ui.cpp
|
||||
+++ b/gui/midside_ui.cpp
|
||||
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
-static LV2UI_Handle instantiateMidSide_gui(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
+static LV2UI_Handle instantiateMidSide_gui(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features)
|
||||
{
|
||||
#ifdef TESTING_EQ10Q
|
||||
cout<<"instantiateEq10q_gui Entring... ";
|
@ -1,76 +0,0 @@
|
||||
Replace instances of pow10() with pow()
|
||||
|
||||
The pow10() GNU extension is no longer supported. I could have replaced it with
|
||||
exp10(), but I'd rather avoid using GNU extensions when possible.
|
||||
|
||||
Patch by Ryan Fox
|
||||
|
||||
--- a/gui/widgets/bandctl.cpp
|
||||
+++ b/gui/widgets/bandctl.cpp
|
||||
@@ -949,7 +949,7 @@ bool BandCtl::parseBtnString(BandCtl::Button* btn)
|
||||
if(str_k.length() > 0)
|
||||
{
|
||||
val_k = atof(str_k.c_str()) * 1e3;
|
||||
- val *= pow10(3.0 - str.length());
|
||||
+ val *= pow(10, 3.0 - str.length());
|
||||
if(str.length() > 3)
|
||||
{
|
||||
//throw an error, imposible to match str > 3 with k
|
||||
@@ -960,7 +960,7 @@ bool BandCtl::parseBtnString(BandCtl::Button* btn)
|
||||
}
|
||||
if(str_d.length() > 0)
|
||||
{
|
||||
- val_d = atof(str_d.c_str())/ pow10((double)str_d.length());
|
||||
+ val_d = atof(str_d.c_str())/ pow(10, (double)str_d.length());
|
||||
}
|
||||
|
||||
btn->value = val + val_k + val_d;
|
||||
--- a/gui/widgets/bodeplot.cpp
|
||||
+++ b/gui/widgets/bodeplot.cpp
|
||||
@@ -194,14 +194,14 @@ void PlotEQCurve::resetCenterSpan()
|
||||
{
|
||||
//Compute center and span for the full range spectrum
|
||||
double sp = log10(MAX_FREQ/MIN_FREQ);
|
||||
- double cn = MIN_FREQ * sqrt(pow10(sp));
|
||||
+ double cn = MIN_FREQ * sqrt(pow(10, sp));
|
||||
setCenterSpan(cn, sp);
|
||||
}
|
||||
|
||||
void PlotEQCurve::setCenterSpan(double center, double span)
|
||||
{
|
||||
- m_minFreq = center / sqrt(pow10(span));
|
||||
- m_maxFreq = center * sqrt(pow10(span));
|
||||
+ m_minFreq = center / sqrt(pow(10, span));
|
||||
+ m_maxFreq = center * sqrt(pow(10, span));
|
||||
|
||||
//Initalize the grid
|
||||
const double f_grid[GRID_VERTICAL_LINES] = {20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,
|
||||
@@ -246,8 +246,8 @@ void PlotEQCurve::setCenter(double center)
|
||||
{
|
||||
//Limit center to the possible range according the current span
|
||||
double sp = log10(m_maxFreq/m_minFreq);
|
||||
- double cmin = MIN_FREQ * sqrt(pow10(sp));
|
||||
- double cmax = MAX_FREQ / sqrt(pow10(sp));
|
||||
+ double cmin = MIN_FREQ * sqrt(pow(10, sp));
|
||||
+ double cmax = MAX_FREQ / sqrt(pow(10, sp));
|
||||
|
||||
double cn = center;
|
||||
cn = cn > cmax ? cmax : cn;
|
||||
@@ -259,7 +259,7 @@ void PlotEQCurve::setSpan(double span)
|
||||
{
|
||||
//Limit center to the possible range according the current span
|
||||
double sp_act = log10(m_maxFreq/m_minFreq);
|
||||
- double cn = m_minFreq * sqrt(pow10(sp_act));
|
||||
+ double cn = m_minFreq * sqrt(pow(10, sp_act));
|
||||
double smax1 = 2.0*log10(cn/MIN_FREQ);
|
||||
double smax2= 2.0*log10(MAX_FREQ/cn);
|
||||
double smax = smax1 < smax2 ? smax1 : smax2;
|
||||
@@ -306,7 +306,7 @@ void PlotEQCurve::recomputeCenterFreq(double xDiff)
|
||||
double fmax = MIN_FREQ*pow((MAX_FREQ/MIN_FREQ),((local_x2 + 3.5)/((double)m_zoom_surface_ptr->get_width())));
|
||||
|
||||
double sp_act = log10(fmax/fmin);
|
||||
- double cn = fmin * sqrt(pow10(sp_act));
|
||||
+ double cn = fmin * sqrt(pow(10, sp_act));
|
||||
setCenter(cn);
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>flewkey@2a03.party</email>
|
||||
<name>Ryan Fox</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user