Created attachment 215139 [details] svn diff of port files This is the port of the long awaited new major release of ardour. The port files are basically the same as for ardour5. We may keep ardour5 for a while in the ports tree until ardour6 is proven to be stable enough.
(In reply to Michael Beer from comment #0) Do you think maybe we can update the audio/ardour port which is 2.x?
(In reply to Li-Wen Hsu from comment #1) I was planning to move current 2.x port to audio/ardour2 first, then updating audio/ardour to 3.x, moving that to audio/ardour3, then to the latest (current) version. Too bad 5.x was introduced in between which jeopardised things a bit, but not too much. :-)
(In reply to Alexey Dokuchaev from comment #2) Isn't the latest version 6.0.0?
(In reply to Li-Wen Hsu from comment #3) > Isn't the latest version 6.0.0? Yes it is, why?
(In reply to Alexey Dokuchaev from comment #4) You're talking about 2.x and 3.x so I'm confused. Do we still need 2.x and 3.x? If not, let's update audio/ardour to 6.x with this patch.
I already sent a diff some time (years! can't remember) ago to rename 'ardour' to 'ardour2' and to always track the latest Ardour version in 'ardour'. I think, the maintainer of 'ardour' wanted to take care about it but unfortunately this didn't happen until now. He wants to keep ardour2 in ports mainly because it is a lightweight alternative (good enough for many tasks) to the current version, as far as I understand. I think, 'ardour3' never made it into the ports.
Ah, I've just seen that you, Alexey, are the maintainer of ardour ;-)
(In reply to Michael Beer from comment #6) > ... keep ardour2 in ports mainly because it is a lightweight alternative Actually, while I definitely prefer lighter (less bloated) software, the main reason was that newer versions cannot open some (or most of?) projects created with Ardour 2.x, IIRC.
A few questions, I'm confused by your comment about disfile, are you trying to say that they don't carry older versions? If that's the case why not use https://github.com/Ardour/ardour and pull of from there instead? https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-description Main site and GitHub lists license as GPLv2 not GPLv2+? Why is SSE enforced on i386 and amd64? Is it possible to add unit tests (make test) to the port? Great work!
(In reply to daniel.engberg.lists from comment #9) The link the ardour project provides points always to the current version only. The reason why you can't just take a release (tagged version) from github is more complicated. I hope, I explain it correctly: The C++ file 'revision.cc' is not checked in on the git server but is created on the fly by the used build system (waf) with the help of git. This works perfect if actually work on a cloned repository and build ardour. However this would also mean that you need to have the complete '.git' folder available. For a freebsd port this would mean to include the entire .git to the pkg-plist file, which is certainly not desired to have. There is this 'release' mechanism in github which builds a tar ball. This however doesn't support this particular version feature.
(In reply to daniel.engberg.lists from comment #9) -- Main site and GitHub lists license as GPLv2 not GPLv2+? I don't think I added the '+' myself (in the ardour5 port). -- Why is SSE enforced on i386 and amd64? For amd64 it's probably enabled by default in the compiler anyway. Performance wise Ardour is not suitable for i386 machines without SSE in my opinion. But newer machines running 32-bit OS benefit a lot by using SSE. (I think SSE is available since PentiumII) -- Is it possible to add unit tests (make test) to the port? Personally I see no need. But if you step in and provide a patch you are welcome of course.
Let's move this a little bit further. I've bumped ardour6 to 6.2.0 (thanks for providing the distfile), that still works (with a few plist changes, but... trivial). As ardour.org only mentions "licensed under GPL v2" we should stick to that, period. poudriere hit a snag: ardour's waf scripts really want to use gas or gcc as the assembler of choice: https://github.com/Ardour/ardour/blob/master/libs/ardour/wscript#L289 That's fixable with "BINARY_ALIAS+= gas=${CC}". What does that mean for BROKEN_aarch64 - is that the same problem an can be removed now? (I don't have aarch64 available). As ardour6 is a direct descendant of ardour5, I'll repocopy ardour5 - that way we'll keep the history in case we ever get around to removing the historical versions.
A commit references this bug: Author: cmt Date: Sat Aug 29 22:24:08 UTC 2020 New revision: 546953 URL: https://svnweb.freebsd.org/changeset/ports/546953 Log: new port: audio/ardour6 this is a direct descendant of audio/ardour5, so repocopy that. PR: 246915 Submitted by: Michael Beer Changes: head/audio/Makefile head/audio/ardour6/ head/audio/ardour6/Makefile head/audio/ardour6/distinfo head/audio/ardour6/files/ head/audio/ardour6/pkg-plist
this seems to work (I didn't do in-depth-testing as pulse and jack need some whacking to play nice). Please test - I'll keep this open for a few days for feedback.
Thanks, for taking this over. Regarding AARCH64: Don't know what the original problem was. I have no such system setup either. But could be that this was actually the problem.
When ccache is used, there the following problem. There is no problem if ccache is not installed, so it's weird. Note the "No gas compiler" error. This is the only port I noticed that has this error, so I wasn't sure where to send this. Sorry if wrong place. /usr/ports/audio/ardour6 ♦ make -DBATCH ===> Building for ardour6-6.2.0 Waf: Entering directory `/usr/ports/audio/ardour6/work/Ardour-6.2.0/build' Using packaged revision Generating po/ja.po Generating po/eu.po Generating po/de.po Generating po/zh.po Generating po/it.po Generating po/ru.po Generating po/fr.po Generating /usr/ports/audio/ardour6/work/Ardour-6.2.0/gtk2_ardour/ardour.appdata.xml.in [ 130/1106] Compiling libs/ardour/sse_functions_64bit.s 19:01:42 runner ['/usr/ports/audio/ardour6/work/.bin/gas', '-Ilibs/ardour', '-I../libs/ardour', '-Ilibs/surfaces/control_protocol', '-I../libs/surfaces/control_protocol', '-Ilibs', '-I../libs', '-Ilibs/midi++2', '-I../libs/midi++2', '-Ilibs/evoral', '-I../libs/evoral', '-Ilibs/audiographer', '-I../libs/audiographer', '-Ilibs/audiographer/src', '-I../libs/audiographer/src', '-Ilibs/ptformat', '-I../libs/ptformat', '-Ilibs/pbd', '-I../libs/pbd', '-Ilibs/evoral/libsmf', '-I../libs/evoral/libsmf', '-Ilibs/temporal', '-I../libs/temporal', '-Ilibs/lua', '-I../libs/lua', '-Ilibs/zita-resampler', '-I../libs/zita-resampler', '-Ilibs/zita-convolver', '-I../libs/zita-convolver', '-Ilibs/libltc/ltc', '-I../libs/libltc/ltc', '-Ilibs/fluidsynth/fluidsynth', '-I../libs/fluidsynth/fluidsynth', '-I../../../../../../local/include/glibmm-2.4', '-I../../../../../../local/lib/glibmm-2.4/include', '-I../../../../../../local/include/glib-2.0', '-I../../../../../../local/lib/glib-2.0/include', '-I../../../../../../local/include', '-I../../../../../../local/include/sigc++-2.0', '-I../../../../../../local/lib/sigc++-2.0/include', '-I../../../../../../local/include/libxml2', '-I../../../../../../local/include/opus', '-I../../../../../../local/include/raptor2', '-I../../../../../../local/include/giomm-2.4', '-I../../../../../../local/lib/giomm-2.4/include', '-I../../../../../../local/include/taglib', '-I../../../../../../local/include/lilv-0', '-I../../../../../../local/include/serd-0', '-I../../../../../../local/include/sord-0', '-I../../../../../../local/include/sratom-0', '-I../../../../../../local/include/suil-0', '-I/usr/ports/audio/ardour6/work/Ardour-6.2.0/build', '-DINTERNAL_SHARED_LIBS=1', '-DHAVE_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1', '-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_ARCHIVE=1', '-DHAVE_LO=1', '-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1', '-DHAVE_RUBBERBAND=1', '-DEXPORT_VISIBILITY_HIDDEN=0', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DPTFORMAT=1', '-DCONFIG_ARCH="amd64"', '-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_TOOLS_GCCABICHECK=1', '-DHAVE_LIBS_CLEARLOOKS_NEWER=1', '-DHAVE_LIBS_FLUIDSYNTH=1', '-DHAVE_LIBS_HIDAPI=1', '-DHAVE_LIBS_LIBLTC=1', '-DHAVE_LIBS_LUA=1', '-DHAVE_LIBS_PTFORMAT=1', '-DHAVE_LIBS_QM_DSP=1', '-DHAVE_FFTW3F=1', '-DHAVE_AUBIO=1', '-DHAVE_AUBIO4=1', '-DHAVE_LIBS_VAMP_PLUGINS=1', '-DHAVE_LIBS_VAMP_PYIN=1', '-DHAVE_LIBS_ZITA_RESAMPLER=1', '-DHAVE_LIBS_ZITA_CONVOLVER=1', '-DHAVE_XML=1', '-DHAVE_SIGCPP=1', '-DHAVE_EXECINFO=1', '-DHAVE_POSIX_MEMALIGN=1', '-DHAVE_LOCALTIME_R=1', '-DHAVE_LIBS_PBD=1', '-DHAVE_LIBS_MIDIPP2=1', '-DHAVE_LIBS_EVORAL=1', '-DHAVE_USB=1', '-DHAVE_WEBSOCKETS=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_FADERPORT=1', '-DHAVE_FADERPORT8=1', '-DHAVE_CC121=1', '-DHAVE_GENERIC_MIDI=1', '-DHAVE_MACKIE=1', '-DHAVE_US2400=1', '-DHAVE_LAUNCH_CONTROL_XL=1', '-DHAVE_PANGOMM=1', '-DHAVE_CAIROMM=1', '-DHAVE_PUSH2=1', '-DHAVE_CONTOURDESIGN=1', '-DHAVE_LIBS_SURFACES=1', '-DHAVE_2IN2OUT=1', '-DHAVE_1IN2OUT=1', '-DHAVE_VBAP=1', '-DHAVE_STEREOBALANCE=1', '-DHAVE_LIBS_PANNERS=1', '-DHAVE_JACK=1', '-DHAVE_JACK_METADATA=1', '-DHAVE_JACK_PORT_RENAME=1', '-DHAVE_DUMMY=1', '-DHAVE_LIBS_BACKENDS=1', '-DHAVE_LIBS_TEMPORAL=1', '-DHAVE_LRDF=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_LV2=1', '-DHAVE_LV2_1_10_0=1', '-DHAVE_LV2_1_17_2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DHAVE_SRATOM=1', '-DHAVE_LILV=1', '-DHAVE_SUIL=1', '-DLV2_SUPPORT=1', '-DLV2_EXTENDED=1', '-DHAVE_OGG=1', '-DHAVE_FLAC=1', '-DHAVE_FFTW35F=1', '-DUSE_RUBBERBAND=1', '-DCURRENT_SESSION_FILE_VERSION=6000', '-DHAVE_SYS_STATVFS_H=1', '-DHAVE_UNISTD=1', '-DHAVE_BOOST_SCOPED_PTR_HPP=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_LIBS_ARDOUR=1', '-DHAVE_GTKMM=1', '-DHAVE_GTK=1', '-DHAVE_LIBS_GTKMM2EXT=1', '-DHAVE_BOOST_FORMAT_HPP=1', '-DHAVE_LIBS_AUDIOGRAPHER=1', '-DHAVE_LIBS_CANVAS=1', '-DHAVE_LIBS_WIDGETS=1', '-DHAVE_LIBS_WAVEVIEW=1', '-DHAVE_LV2_1_0_0=1', '-DHAVE_LIBS_PLUGINS_REASONABLESYNTH_LV2=1', '-DHAVE_CAIRO=1', '-DHAVE_LIBS_PLUGINS_A_COMP_LV2=1', '-DHAVE_LIBS_PLUGINS_A_EXP_LV2=1', '-DHAVE_LIBS_PLUGINS_A_DELAY_LV2=1', '-DHAVE_LIBS_PLUGINS_A_EQ_LV2=1', '-DHAVE_LIBS_PLUGINS_A_REVERB_LV2=1', '-DHAVE_LIBS_PLUGINS_A_FLUIDSYNTH_LV2=1', '-DHAVE_X11=1', '-DHAVE_PANGOFT2=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_BOOST_SHARED_PTR_HPP=1', '-DHAVE_BOOST_WEAK_PTR_HPP=1', '-DHAVE_GTK2_ARDOUR=1', '-DHAVE_SHARE_EXPORT=1', '-DHAVE_SHARE_MIDI_MAPS=1', '-DHAVE_SHARE_MCP=1', '-DHAVE_SHARE_OSC=1', '-DHAVE_SHARE_PATCHFILES=1', '-DHAVE_SHARE_PLUGIN_METADATA=1', '-DHAVE_SHARE_SCRIPTS=1', '-DHAVE_SHARE_WEB_SURFACES=1', '-DHAVE_HEADLESS=1', '-DHAVE_READLINE=1', '-DHAVE_LUASESSION=1', '-DHAVE_SESSION_UTILS=1', '-DHAVE_LIBS_FST=1', '-DHAVE_LIBS_VFORK=1', '-DHAVE_LIBS_ARDOURALSAUTIL=1', '-DLIBARDOUR_DLL_EXPORTS=1', '-DPACKAGE="ardour6"', '-DDATA_DIR="/usr/local/share/ardour6"', '-DCONFIG_DIR="/usr/local/etc"', '-DLOCALEDIR="/usr/local/share/ardour6/locale"', '-DLIBARDOUR="ardour6"', '-DLXVST_SUPPORT', '../libs/ardour/sse_functions_64bit.s', '-c', '-olibs/ardour/sse_functions_64bit.s.1.o'] ccache: error: Could not find compiler "gas" in PATH Waf: Leaving directory `/usr/ports/audio/ardour6/work/Ardour-6.2.0/build' Build failed -> task in 'libardour' failed with exit status 1: {task 34399918800: asm sse_functions_64bit.s -> sse_functions_64bit.s.1.o} ['/usr/ports/audio/ardour6/work/.bin/gas', '-Ilibs/ardour', '-I../libs/ardour', '-Ilibs/surfaces/control_protocol', '-I../libs/surfaces/control_protocol', '-Ilibs', '-I../libs', '-Ilibs/midi++2', '-I../libs/midi++2', '-Ilibs/evoral', '-I../libs/evoral', '-Ilibs/audiographer', '-I../libs/audiographer', '-Ilibs/audiographer/src', '-I../libs/audiographer/src', '-Ilibs/ptformat', '-I../libs/ptformat', '-Ilibs/pbd', '-I../libs/pbd', '-Ilibs/evoral/libsmf', '-I../libs/evoral/libsmf', '-Ilibs/temporal', '-I../libs/temporal', '-Ilibs/lua', '-I../libs/lua', '-Ilibs/zita-resampler', '-I../libs/zita-resampler', '-Ilibs/zita-convolver', '-I../libs/zita-convolver', '-Ilibs/libltc/ltc', '-I../libs/libltc/ltc', '-Ilibs/fluidsynth/fluidsynth', '-I../libs/fluidsynth/fluidsynth', '-I../../../../../../local/include/glibmm-2.4', '-I../../../../../../local/lib/glibmm-2.4/include', '-I../../../../../../local/include/glib-2.0', '-I../../../../../../local/lib/glib-2.0/include', '-I../../../../../../local/include', '-I../../../../../../local/include/sigc++-2.0', '-I../../../../../../local/lib/sigc++-2.0/include', '-I../../../../../../local/include/libxml2', '-I../../../../../../local/include/opus', '-I../../../../../../local/include/raptor2', '-I../../../../../../local/include/giomm-2.4', '-I../../../../../../local/lib/giomm-2.4/include', '-I../../../../../../local/include/taglib', '-I../../../../../../local/include/lilv-0', '-I../../../../../../local/include/serd-0', '-I../../../../../../local/include/sord-0', '-I../../../../../../local/include/sratom-0', '-I../../../../../../local/include/suil-0', '-I/usr/ports/audio/ardour6/work/Ardour-6.2.0/build', '-DINTERNAL_SHARED_LIBS=1', '-DHAVE_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1', '-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_ARCHIVE=1', '-DHAVE_LO=1', '-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1', '-DHAVE_RUBBERBAND=1', '-DEXPORT_VISIBILITY_HIDDEN=0', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DPTFORMAT=1', '-DCONFIG_ARCH="amd64"', '-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_TOOLS_GCCABICHECK=1', '-DHAVE_LIBS_CLEARLOOKS_NEWER=1', '-DHAVE_LIBS_FLUIDSYNTH=1', '-DHAVE_LIBS_HIDAPI=1', '-DHAVE_LIBS_LIBLTC=1', '-DHAVE_LIBS_LUA=1', '-DHAVE_LIBS_PTFORMAT=1', '-DHAVE_LIBS_QM_DSP=1', '-DHAVE_FFTW3F=1', '-DHAVE_AUBIO=1', '-DHAVE_AUBIO4=1', '-DHAVE_LIBS_VAMP_PLUGINS=1', '-DHAVE_LIBS_VAMP_PYIN=1', '-DHAVE_LIBS_ZITA_RESAMPLER=1', '-DHAVE_LIBS_ZITA_CONVOLVER=1', '-DHAVE_XML=1', '-DHAVE_SIGCPP=1', '-DHAVE_EXECINFO=1', '-DHAVE_POSIX_MEMALIGN=1', '-DHAVE_LOCALTIME_R=1', '-DHAVE_LIBS_PBD=1', '-DHAVE_LIBS_MIDIPP2=1', '-DHAVE_LIBS_EVORAL=1', '-DHAVE_USB=1', '-DHAVE_WEBSOCKETS=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_FADERPORT=1', '-DHAVE_FADERPORT8=1', '-DHAVE_CC121=1', '-DHAVE_GENERIC_MIDI=1', '-DHAVE_MACKIE=1', '-DHAVE_US2400=1', '-DHAVE_LAUNCH_CONTROL_XL=1', '-DHAVE_PANGOMM=1', '-DHAVE_CAIROMM=1', '-DHAVE_PUSH2=1', '-DHAVE_CONTOURDESIGN=1', '-DHAVE_LIBS_SURFACES=1', '-DHAVE_2IN2OUT=1', '-DHAVE_1IN2OUT=1', '-DHAVE_VBAP=1', '-DHAVE_STEREOBALANCE=1', '-DHAVE_LIBS_PANNERS=1', '-DHAVE_JACK=1', '-DHAVE_JACK_METADATA=1', '-DHAVE_JACK_PORT_RENAME=1', '-DHAVE_DUMMY=1', '-DHAVE_LIBS_BACKENDS=1', '-DHAVE_LIBS_TEMPORAL=1', '-DHAVE_LRDF=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_LV2=1', '-DHAVE_LV2_1_10_0=1', '-DHAVE_LV2_1_17_2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DHAVE_SRATOM=1', '-DHAVE_LILV=1', '-DHAVE_SUIL=1', '-DLV2_SUPPORT=1', '-DLV2_EXTENDED=1', '-DHAVE_OGG=1', '-DHAVE_FLAC=1', '-DHAVE_FFTW35F=1', '-DUSE_RUBBERBAND=1', '-DCURRENT_SESSION_FILE_VERSION=6000', '-DHAVE_SYS_STATVFS_H=1', '-DHAVE_UNISTD=1', '-DHAVE_BOOST_SCOPED_PTR_HPP=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_LIBS_ARDOUR=1', '-DHAVE_GTKMM=1', '-DHAVE_GTK=1', '-DHAVE_LIBS_GTKMM2EXT=1', '-DHAVE_BOOST_FORMAT_HPP=1', '-DHAVE_LIBS_AUDIOGRAPHER=1', '-DHAVE_LIBS_CANVAS=1', '-DHAVE_LIBS_WIDGETS=1', '-DHAVE_LIBS_WAVEVIEW=1', '-DHAVE_LV2_1_0_0=1', '-DHAVE_LIBS_PLUGINS_REASONABLESYNTH_LV2=1', '-DHAVE_CAIRO=1', '-DHAVE_LIBS_PLUGINS_A_COMP_LV2=1', '-DHAVE_LIBS_PLUGINS_A_EXP_LV2=1', '-DHAVE_LIBS_PLUGINS_A_DELAY_LV2=1', '-DHAVE_LIBS_PLUGINS_A_EQ_LV2=1', '-DHAVE_LIBS_PLUGINS_A_REVERB_LV2=1', '-DHAVE_LIBS_PLUGINS_A_FLUIDSYNTH_LV2=1', '-DHAVE_X11=1', '-DHAVE_PANGOFT2=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_BOOST_SHARED_PTR_HPP=1', '-DHAVE_BOOST_WEAK_PTR_HPP=1', '-DHAVE_GTK2_ARDOUR=1', '-DHAVE_SHARE_EXPORT=1', '-DHAVE_SHARE_MIDI_MAPS=1', '-DHAVE_SHARE_MCP=1', '-DHAVE_SHARE_OSC=1', '-DHAVE_SHARE_PATCHFILES=1', '-DHAVE_SHARE_PLUGIN_METADATA=1', '-DHAVE_SHARE_SCRIPTS=1', '-DHAVE_SHARE_WEB_SURFACES=1', '-DHAVE_HEADLESS=1', '-DHAVE_READLINE=1', '-DHAVE_LUASESSION=1', '-DHAVE_SESSION_UTILS=1', '-DHAVE_LIBS_FST=1', '-DHAVE_LIBS_VFORK=1', '-DHAVE_LIBS_ARDOURALSAUTIL=1', '-DLIBARDOUR_DLL_EXPORTS=1', '-DPACKAGE="ardour6"', '-DDATA_DIR="/usr/local/share/ardour6"', '-DCONFIG_DIR="/usr/local/etc"', '-DLOCALEDIR="/usr/local/share/ardour6/locale"', '-DLIBARDOUR="ardour6"', '-DLXVST_SUPPORT', '../libs/ardour/sse_functions_64bit.s', '-c', '-olibs/ardour/sse_functions_64bit.s.1.o'] ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/audio/ardour6
(In reply to Goran Mekić from comment #16) That looks like BINARY_ALIAS and ccache don't get along. I really don't like the idea of pulling in gcc and/or binutils when our base compiler handles things just fine (and besides, GNU assembler isn't installed as gas here - I've no idea where they got that from). Perhaps some environment fiddling? I'll have to check.
*** This bug has been marked as a duplicate of bug 249959 ***