From 34750a0b127e7c6990d157cbb19ce6598c7b8545 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:10:47 +0100 Subject: [PATCH] rebuilt with protobuf 2.5.0 [release 1.11.0-2mamba;Tue Nov 19 2013] --- README.md | 4 ++ mixxx-1.5.0-libs.patch | 21 +++++++ mixxx-1.7.2-mp4.patch | 12 ++++ mixxx-desktop | 13 ++++ mixxx.spec | 138 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 mixxx-1.5.0-libs.patch create mode 100644 mixxx-1.7.2-mp4.patch create mode 100644 mixxx-desktop create mode 100644 mixxx.spec diff --git a/README.md b/README.md index de99b79..d5e34b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # mixxx +Mixxx is an open source DJ tool designed for both professional and amateur DJs alike. +Mixxx allows DJs to mix music live with a clean, simple interface. +Futhermore, Mixxx has a number of key features to help DJs in the mix: Beat estimation, parallel visual displays, and support for various DJ hardware controllers. + diff --git a/mixxx-1.5.0-libs.patch b/mixxx-1.5.0-libs.patch new file mode 100644 index 0000000..4707af8 --- /dev/null +++ b/mixxx-1.5.0-libs.patch @@ -0,0 +1,21 @@ +diff -ru mixxx-1.5.0/src/mixxx.pro mixxx-1.5.0-lua51/src/mixxx.pro +--- mixxx-1.5.0/src/mixxx.pro 2007-02-23 18:51:58.000000000 +0100 ++++ mixxx-1.5.0-fix/src/mixxx.pro 2007-10-25 22:13:00.000000000 +0200 +@@ -481,7 +481,7 @@ + contains(ENABLED_FEATURES, lua) { + HEADERS += script/lua/*.h + SOURCES += script/lua/*.cpp +- LIBS+=-llua -llualib -ltolua ++ LIBS+=-llua -ltolua + DEFINES += __LUA__ + } + +@@ -490,7 +490,7 @@ + SOURCES += script/python/*.cpp + DEFINES += __PYTHON__ + +- LIBS += $$system(python-config) ++ LIBS += -lpython2.4 + exists(/usr/include/python2.4/Python.h) { + INCLUDEPATH += /usr/include/python2.4/ + } else:exists(/usr/include/python2.3/Python.h) { diff --git a/mixxx-1.7.2-mp4.patch b/mixxx-1.7.2-mp4.patch new file mode 100644 index 0000000..8ed3984 --- /dev/null +++ b/mixxx-1.7.2-mp4.patch @@ -0,0 +1,12 @@ +diff -Nru mixxx-1.7.2.orig/src/m4a/mp4-mixxx.cpp mixxx-1.7.2/src/m4a/mp4-mixxx.cpp +--- mixxx-1.7.2.orig/src/m4a/mp4-mixxx.cpp 2009-12-30 03:39:12.000000000 +0100 ++++ mixxx-1.7.2/src/m4a/mp4-mixxx.cpp 2010-02-17 14:51:57.000000000 +0100 +@@ -150,7 +150,7 @@ + } + + /* init decoder according to mpeg-4 audio config */ +- if (faacDecInit2(priv->decoder, buf, buf_size, (uint32_t*) &priv->sample_rate, &priv->channels) < 0) { ++ if (faacDecInit2(priv->decoder, buf, buf_size, &priv->sample_rate, &priv->channels) < 0) { + free(buf); + goto out; + } diff --git a/mixxx-desktop b/mixxx-desktop new file mode 100644 index 0000000..c3e3499 --- /dev/null +++ b/mixxx-desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Mixxx +Comment=A digital DJ interface +Comment[it]=Un'interfaccia digitale per DJ +GenericName=A digital DJ interface +GenericName[it]=Un'interfaccia digitale per DJ +Exec=mixxx +Terminal=false +Icon=mixxx-icon.png +Type=Application +Categories=AudioVideo;Audio; diff --git a/mixxx.spec b/mixxx.spec new file mode 100644 index 0000000..7d14dc3 --- /dev/null +++ b/mixxx.spec @@ -0,0 +1,138 @@ +Name: mixxx +Version: 1.11.0 +Release: 2mamba +Summary: An open source DJ tool designed for both professional and amateur DJs alike +Group: Graphical Desktop/Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://mixxx.sourceforge.net +Source: http://downloads.mixxx.org/mixxx-%{version}/mixxx-%{version}-src.tar.gz +Source1: mixxx-desktop +Patch: %{name}-1.5.0-libs.patch +Patch1: %{name}-1.7.2-mp4.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libdjconsole-devel +BuildRequires: libfaad2-devel +BuildRequires: libgcc +BuildRequires: libGL-devel +BuildRequires: libglib-devel +BuildRequires: libGLU-devel +BuildRequires: libgpod-devel +BuildRequires: libgtk-devel +BuildRequires: libid3tag-devel +BuildRequires: liblame-devel +BuildRequires: libmad-devel +BuildRequires: libmp4v2-devel +BuildRequires: libogg-devel +BuildRequires: libportaudio-devel +BuildRequires: libqt4-devel +BuildRequires: libshout-devel +BuildRequires: libsndfile-devel +BuildRequires: libstdc++6-devel +BuildRequires: libvorbis-devel +## AUTOBUILDREQ-END +BuildRequires: libsndfile-devel >= 1.0.17 +BuildRequires: libjack-devel >= 0.102.20 +#BuildRequires: lua-devel >= 5.0.3 +#BuildRequires: tolua >= 5.0 +BuildRequires: libpython-devel >= 2.4.4 +BuildRequires: libportmidi-devel +BuildRequires: protobuf-devel +BuildRequires: scons + +%description +Mixxx is an open source DJ tool designed for both professional and amateur DJs alike. +Mixxx allows DJs to mix music live with a clean, simple interface. +Futhermore, Mixxx has a number of key features to help DJs in the mix: Beat estimation, parallel visual displays, and support for various DJ hardware controllers. + +%prep +%setup -q -n %{name}-%{version} +#%patch -p1 +%patch1 -p1 + +%build +#scons \ +# prefix=%{_prefix} qtdir=%{_qt4_prefix} \ +# ipod=1 ladspa=1 djconsole=1 shoutcast=1 tonal=1 m4a=1 script=1 test=1 jack=1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +scons \ + prefix=%{_prefix} install_root=%{buildroot}%{_prefix} qtdir=%{_qt4_prefix} \ + djconsole=1 shoutcast=1 tonal=1 m4a=1 jack=1 \ + install + +install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/mixxx.desktop +## Warning: INSTALL_ROOT is passed this way as a trick +#make install -C src INSTALL_ROOT=%{buildroot}%{_builddir}/%{name}-%{version} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mixxx +%dir %{_prefix}/lib/mixxx +%dir %{_prefix}/lib/mixxx/plugins +%dir %{_prefix}/lib/mixxx/plugins/vamp +%{_prefix}/lib/mixxx/plugins/vamp/libmixxxminimal.so +%{_datadir}/applications/mixxx.desktop +%dir %{_datadir}/mixxx +%dir %{_datadir}/mixxx/controllers +%{_datadir}/mixxx/controllers/* +%dir %{_datadir}/mixxx/keyboard +%{_datadir}/mixxx/keyboard/*.cfg +%dir %{_datadir}/mixxx/skins +#%{_datadir}/mixxx/midi/* +%{_datadir}/mixxx/skins/* +%{_datadir}/pixmaps/mixxx-icon.png +#%{_datadir}/mixxx/ladspa_presets/*.xml +#%{_libdir}/mixxx/plugins/soundsource/libsoundsourcem4a.so +%{_docdir}/mixxx/LICENSE +%{_docdir}/mixxx/Mixxx-Manual.pdf +%{_docdir}/mixxx/README +%{_datadir}/mixxx/schema.xml +%{_datadir}/mixxx/translations/mixxx_*.qm +#%{_docdir}/mixxx-%{version}/* +%doc COPYING LICENSE +#README README.macro Mixxx-Manual.pdf + +%changelog +* Tue Nov 19 2013 Silvan Calarco 1.11.0-2mamba +- rebuilt with protobuf 2.5.0 + +* Wed May 22 2013 Automatic Build System 1.11.0-1mamba +- automatic version update by autodist + +* Sat Aug 11 2012 Automatic Build System 1.10.1-1mamba +- automatic version update by autodist + +* Sat May 05 2012 Ercole 'ercolinux' Carpanetto 1.10.0-1mamba +- update to 1.10.0 + +* Fri Mar 25 2011 Ercole 'ercolinux' Carpanetto 1.9.0-1mamba +- update to 1.9.0 + +* Tue Feb 09 2010 Silvan Calarco 1.7.2-2mamba +- replace hard coded paths with parameters +- added automatic build requirements +- (re)add correct prefix to scons script +- enabled support for ffmpeg, mp4, tonal analisys, scripting and test suite +- provide desktop file with translated descriptions and execution without pasuspend + +* Sun Feb 07 2010 Ercole 'ercolinux' Carpanetto 1.7.2-1mamba +- update to 1.7.2 + +* Sun Nov 02 2008 Silvan Calarco 1.6.1-1mamba +- update to 1.6.1 + +* Thu Oct 25 2007 Aleph0 1.5.0.1-2mamba +- rebuilt without deprecated lua support + +* Thu May 10 2007 Silvan Calarco 1.5.0.1-1mamba +- package created by autospec