[MacPorts] #16051: ardour2: new port
#16051: ardour2: new port --------------------------------+------------------------------------------- Reporter: db.evans@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: ardour | --------------------------------+------------------------------------------- Ardour 2.5 Digital Audio Workstation. Depends on new ports slv2 (#16049) & lv2core (#16048) -- Ticket URL: <http://trac.macports.org/ticket/16051> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16051: ardour2: new port ---------------------------------+------------------------------------------ Reporter: db.evans@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: ardour ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/16051#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16051: ardour2: new port ---------------------------------+------------------------------------------ Reporter: db.evans@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: ardour ---------------------------------+------------------------------------------ Comment (by ryandesign@macports.org): I was initially unable to build ardour2 until I discovered that scons leaves a config.log file which helped me realize that the SConstruct file had hard-coded the /opt/local path, and my MacPorts is in a different path. I fixed that by adding this to the Portfile: {{{ post-patch { reinplace "s%/opt/local%${prefix}%g" ${worksrcpath}/SConstruct } }}} Now I am still trying to fix the test for the aubio header. -- Ticket URL: <http://trac.macports.org/ticket/16051#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16051: ardour2: new port ---------------------------------+------------------------------------------ Reporter: db.evans@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: ardour ---------------------------------+------------------------------------------ Comment (by ryandesign@macports.org): I fixed the aubio port's pkg-config file in r38555 so that ardour2 can find it; this makes patch-SConstruct.diff unnecessary. I'm still not happy with the way that the ardour2 port declares an empty build phase and does all the building by overriding the destroot phase. I'm looking at the other ports that use the scons build system to see how this can be handled better. -- Ticket URL: <http://trac.macports.org/ticket/16051#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16051: ardour2: new port ---------------------------------+------------------------------------------ Reporter: db.evans@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ardour ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Rather than clearing the build phase, the correct way seems to be to set `build.cmd` to "`scons`", clear the `build.target`, and set the `build.args` as desired. MacPorts takes care of setting `destroot.cmd` to the same thing as `build.cmd`, setting `destroot.target` to "`install`" and setting `destroot.destdir` to "`DESTDIR=${destroot}`". {{{ build.cmd scons build.target build.args PREFIX=${prefix} VST=0 AUBIO=1 FREESOUND=1 LV2=1 }}} This change also means that parallel building will work now, since I enabled parallel building for scons-based ports in MacPorts base in r38556. This helps a lot since ardour takes a long time to compile. So I added "`use_parallel_build yes`" to the portfile, and reindented the column to 24 characters so things line up again. The one remaining oddity is that it looks like the gettext message catalogs get built only during the destroot phase. Not sure why. But I'm not too concerned since it takes very little time to build the message catalogs, compared with how much time it takes to build the rest of ardour. So the port is now added in r38560. Thanks for the contribution! And I hope you'll forgive my interfering in your port here. -- Ticket URL: <http://trac.macports.org/ticket/16051#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts