From 350b53788ac3e679a59f4f5a7efa016aca282eb4 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:28:36 +0100 Subject: [PATCH] automatic update by autodist [release 0.99.2-1mamba;Sun Mar 06 2011] --- README.md | 2 + fmit-0.97.7-input_40db.patch | 12 ++++ fmit-0.97.7-jack_autoconnect.patch | 24 ++++++++ fmit-0.98.1-jackd2.patch | 11 ++++ fmit-desktop | 9 +++ fmit-icon.png | Bin 0 -> 4137 bytes fmit.spec | 90 +++++++++++++++++++++++++++++ 7 files changed, 148 insertions(+) create mode 100644 fmit-0.97.7-input_40db.patch create mode 100644 fmit-0.97.7-jack_autoconnect.patch create mode 100644 fmit-0.98.1-jackd2.patch create mode 100644 fmit-desktop create mode 100644 fmit-icon.png create mode 100644 fmit.spec diff --git a/README.md b/README.md index 8d511aa..81c400e 100644 --- a/README.md +++ b/README.md @@ -1,2 +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 new file mode 100644 index 0000000..d68754d --- /dev/null +++ b/fmit-0.97.7-input_40db.patch @@ -0,0 +1,12 @@ +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 new file mode 100644 index 0000000..022bf2e --- /dev/null +++ b/fmit-0.97.7-jack_autoconnect.patch @@ -0,0 +1,24 @@ +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 new file mode 100644 index 0000000..2a18218 --- /dev/null +++ b/fmit-0.98.1-jackd2.patch @@ -0,0 +1,11 @@ +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 new file mode 100644 index 0000000..672bd24 --- /dev/null +++ b/fmit-desktop @@ -0,0 +1,9 @@ +[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 new file mode 100644 index 0000000000000000000000000000000000000000..872cb4e99fbd8da8c63f9a441baa21807aa058e0 GIT binary patch literal 4137 zcmV+^5Z3RBP)KhHVmzUJnIgc#(l6jUhPMx@nt*#!^O zZf)(39jEQs-IT7KMH{M4-7-vT+qpNk{@ALcpp6C3|h5zUH`omvWzjWW1 zys>(|G*%BD4YZ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{GQtQieswvgsL2aoaD}EuMPCN3@aJFzH}QZ24R5z?*tJg^18(Pq^WF$0 z5(!n;^>`t1;4Jcno?-j*PcbQ^@bT%FFtw_Z;-U~A`OsvFf_?%%1>La77$#}mz;WF% ztNEV~&P#wqBB5q7nYeA+`D=xwb7wu1;Saz3DWTLUs;5k3N@Y1SFRkPsW=ulS5 zkmFsw2s~1$G(7`JtnT9+X?jN;eQM{2_YHyE%sY;gzgD>AEhPWDRX?KC=;P`cRk)6W zEN34tBta+`prW`4gkVy686E=LaWO21@PvxCr~deoHp<-23-9RxBO$*!dN(HyHE~&a zgd-i zpZxH99BMkibszmOk}OeKUW)Cy^d?gU{lW1(GNz5~xFih|({VZ3HwfZ_wj-m0bM6Dq zocZD4c^)r5_bjc44l?_aGRh+%JlDapZAy#6$dbTzUD6qYwv#+|G?bNSrwKRo*k`x@UNR9wpBk{~B~`U(4eOe`tlWbXi} zbcUp9F_=t|%ov>L>0|1oO46o{B+J;2iBwd|XTJRJ+St-OH_j4Z$BrFw&-2vxy2ZAPK*X{r4u|mheOcGnO*~0rAZ?)A z4ihI$=F2 zz$XbZhDl{v37tKCctQ{kg-BaA{b`-%UhY|>a?4u{8)6tjYP-hQv zQG|c}x37dBKQ~{ z3j$#C=FRcq;$k(KOw!reNmW%?ab5EWY=rKhrL&li9}RI zQ3!{_`2Bv49zBZVI5ajkQeVGaQeQ(KfA{18B+IhUbsb&TDR|%iK#&KJKFH+Z nv;ZGe@&Ho7EAI!6Jiz|}>tP>xeEy*200000NkvXXu0mjfQkOrP literal 0 HcmV?d00001 diff --git a/fmit.spec b/fmit.spec new file mode 100644 index 0000000..1c5a816 --- /dev/null +++ b/fmit.spec @@ -0,0 +1,90 @@ +Name: fmit +Version: 0.99.2 +Release: 1mamba +Summary: Free Music Instrument Tuner +Group: Graphical Desktop/Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://home.gna.org/fmit +Source: http://download.gna.org/fmit/fmit-%{version}-Source.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 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-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: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +## AUTOBUILDREQ-END + +%description +A Free Music Instrument Tuner. + +%prep +%setup -q -n fmit-%{version}-Source +#%patch0 -p1 +#%patch1 -p1 +#%patch2 -p1 + +%build +%cmake +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +install -D -m 0664 %{SOURCE1} %{buildroot}%{_datadir}/applications/fmit.desktop +install -D -m 0664 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/fmit.png +#install -D -m 0755 libs/CppAddons/libCppAddons.so %{buildroot}%{_libdir}/libCppAddons.so +#install -D -m 0755 libs/Music/libMusic.so %{buildroot}%{_libdir}/libMusic.so +#install -D -m 0755 src/modules/libfmit_modules.so %{buildroot}%{_libdir}/libfmit_modules.so +rm -rf %{buildroot}%{_datadir}/mimelnk + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/fmit +#%{_libdir}/libCppAddons.so +#%{_libdir}/libMusic.so +#%{_libdir}/libfmit_modules.so +%lang(de) %{_datadir}/fmit/tr/fmit_de.qm +%lang(fr) %{_datadir}/fmit/tr/fmit_fr.qm +%{_datadir}/applications/fmit.desktop +%{_datadir}/pixmaps/fmit.png +%{_datadir}/icons/hicolor/scalable/apps/fmit.svg +#%{_datadir}/fmit/tr/fmit_fr.qm +%doc README.txt COPYING ChangeLog TODO + +%changelog +* Sun Mar 06 2011 Automatic Build System 0.99.2-1mamba +- automatic update by autodist + +* Wed Dec 15 2010 Silvan Calarco 0.98.1-1mamba +- update to 0.98.1 + +* Mon Feb 18 2008 Silvan Calarco 0.97.7-1mamba +- update to 0.97.7 + +* Fri Oct 26 2007 Silvan Calarco 0.97.6-1mamba +- package created by autospec