diff --git a/README.md b/README.md index ad647a9..81c400e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # fmit A Free Music Instrument Tuner. + diff --git a/fmit-0.97.7-input_40db.patch b/fmit-0.97.7-input_40db.patch deleted file mode 100644 index d68754d..0000000 --- a/fmit-0.97.7-input_40db.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nru fmit-0.97.7.orig/ui/ConfigForm.ui fmit-0.97.7/ui/ConfigForm.ui ---- fmit-0.97.7.orig/ui/ConfigForm.ui 2008-02-18 14:44:46.000000000 +0100 -+++ fmit-0.97.7/ui/ConfigForm.ui 2008-02-18 14:44:24.000000000 +0100 -@@ -1579,7 +1579,7 @@ - 0 - - -- -28 -+ -40 - - - Horizontal diff --git a/fmit-0.97.7-jack_autoconnect.patch b/fmit-0.97.7-jack_autoconnect.patch deleted file mode 100644 index 022bf2e..0000000 --- a/fmit-0.97.7-jack_autoconnect.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ru fmit-0.97.7.orig/ui/ConfigForm.ui fmit-0.97.7/ui/ConfigForm.ui ---- fmit-0.97.7.orig/ui/ConfigForm.ui 2007-11-18 15:30:55.000000000 +0100 -+++ fmit-0.97.7/ui/ConfigForm.ui 2008-02-18 14:39:59.000000000 +0100 -@@ -499,13 +499,19 @@ - - Connect automaticaly FMIT to the following source at startup (eg. alsa_pcm:capture_1) - -+ -+ true -+ - - - - ui_txtJACKSourcePort - -+ -+ alsa_pcm:capture_1 -+ - -- false -+ true - - - diff --git a/fmit-0.98.1-jackd2.patch b/fmit-0.98.1-jackd2.patch deleted file mode 100644 index 2a18218..0000000 --- a/fmit-0.98.1-jackd2.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nru fmit-0.98.1-Source.orig//src/CaptureThreadImplJACK.cpp fmit-0.98.1-Source/src/CaptureThreadImplJACK.cpp ---- fmit-0.98.1-Source.orig//src/CaptureThreadImplJACK.cpp 2010-05-17 22:57:39.000000000 +0200 -+++ fmit-0.98.1-Source/src/CaptureThreadImplJACK.cpp 2010-12-15 19:47:31.690038946 +0100 -@@ -164,7 +164,6 @@ - - jack_set_process_callback(m_jack_client, JackProcess, (void*)this); - jack_on_shutdown(m_jack_client, JackShutdown, (void*)this); -- jack_set_error_function(jack_error_callback); - jack_set_sample_rate_callback(m_jack_client, JackSampleRate, (void*)this); - - cerr << "CaptureThread: INFO: JACK: sampling rate=" << jack_get_sample_rate(m_jack_client) << endl; diff --git a/fmit-desktop b/fmit-desktop deleted file mode 100644 index 672bd24..0000000 --- a/fmit-desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=fmit -GenericName=A music instrument tuner -GenericName[it]=Accordatore di strumenti musicali -Comment=Music instrument tuner -Exec=fmit -Icon=fmit.png -Categories=Qt;AudioVideo diff --git a/fmit-icon.png b/fmit-icon.png deleted file mode 100644 index 872cb4e..0000000 Binary files a/fmit-icon.png and /dev/null differ diff --git a/fmit.spec b/fmit.spec index 399a4b2..c8d3e5e 100644 --- a/fmit.spec +++ b/fmit.spec @@ -1,6 +1,6 @@ Name: fmit Version: 1.2.14 -Release: 1mamba +Release: 2mamba Summary: Free Music Instrument Tuner Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba @@ -8,43 +8,25 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/gillesdegottex/fmit Source: https://github.com/gillesdegottex/fmit.git/v%{version}/fmit-%{version}.tar.bz2 -Source1: fmit-desktop -Source2: fmit-icon.png -Patch0: %{name}-0.97.7-jack_autoconnect.patch -Patch1: %{name}-0.97.7-input_40db.patch -Patch2: %{name}-0.98.1-jackd2.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libalsa-devel +BuildRequires: libQt5Multimedia-devel +BuildRequires: libQt5Svg-devel BuildRequires: libfftw-devel BuildRequires: libgcc -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libGLUT-devel -BuildRequires: libICE-devel -BuildRequires: libjack-devel -BuildRequires: libportaudio-devel -BuildRequires: libqt-devel -BuildRequires: libSM-devel +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel -BuildRequires: libX11-devel -BuildRequires: libXext-devel -BuildRequires: libXi-devel -BuildRequires: libXmu-devel -BuildRequires: libXt-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END %description A Free Music Instrument Tuner. -#% debug_package +%debug_package %prep %setup -q -#%patch0 -p1 -#%patch1 -p1 -#%patch2 -p1 %build %{_qt5_qmake} PREFIX=%{_prefix} @@ -52,7 +34,7 @@ A Free Music Instrument Tuner. %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall INSTALL_ROOT=%{buildroot} +%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -68,12 +50,12 @@ A Free Music Instrument Tuner. %{_datadir}/icons/hicolor/128x128/apps/fmit.png %{_datadir}/icons/hicolor/symbolic/apps/fmit-symbolic.svg %{_datadir}/icons/hicolor/scalable/apps/fmit.svg -#%lang(de) %{_datadir}/fmit/tr/fmit_de.qm -#%lang(fr) %{_datadir}/fmit/tr/fmit_fr.qm -#%lang(pt) %{_datadir}/fmit/tr/fmit_pt.qm %doc COPYING_GPL.txt COPYING_LGPL.txt %changelog +* Sun Mar 03 2024 Silvan Calarco 1.2.14-2mamba +- remove build requirement for libqt-devel + * Sat Mar 27 2021 Silvan Calarco 1.2.14-1mamba - update to 1.2.14