automatic update by autodist [release 0.99.2-1mamba;Sun Mar 06 2011]

This commit is contained in:
Automatic Build System 2024-01-05 22:28:36 +01:00
parent 67e9339aa4
commit 350b53788a
7 changed files with 148 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# fmit
A Free Music Instrument Tuner.

View File

@ -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 @@
<number>0</number>
</property>
<property name="value">
- <number>-28</number>
+ <number>-40</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>

View File

@ -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 @@
<property name="whatsThis" stdset="0">
<string>Connect automaticaly FMIT to the following source at startup (eg. alsa_pcm:capture_1)</string>
</property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>ui_txtJACKSourcePort</cstring>
</property>
+ <property name="text">
+ <cstring>alsa_pcm:capture_1</cstring>
+ </property>
<property name="enabled">
- <bool>false</bool>
+ <bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>

11
fmit-0.98.1-jackd2.patch Normal file
View File

@ -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;

9
fmit-desktop Normal file
View File

@ -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

BIN
fmit-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

90
fmit.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.99.2-1mamba
- automatic update by autodist
* Wed Dec 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98.1-1mamba
- update to 0.98.1
* Mon Feb 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.7-1mamba
- update to 0.97.7
* Fri Oct 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.6-1mamba
- package created by autospec