Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781047 - media-sound/ardour: Compile CLI tools
Summary: media-sound/ardour: Compile CLI tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-08 11:18 UTC by Arve Barsnes
Modified: 2021-04-18 17:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arve Barsnes 2021-04-08 11:18:28 UTC
ardour provides some CLI tools that can be useful, such as ardour6-export. These are built when activating the 'dummy' backend. Can this be added to the ebuild?

I have locally confirmed that simply adding the backend compiles the tools, and maybe adding a USE flag for this is wanted.


Reproducible: Always

Steps to Reproduce:
1. Compile ardour

Actual Results:  
No /usr/bin/ardour6-export exists

Expected Results:  
/usr/bin/ardour6-export exists

My simple patch with a 'cli' USE flag:


--- ardour-6.6.ebuild   2021-04-08 10:54:23.215803225 +0200
+++ ardour-6.6-r1.ebuild        2021-04-08 10:34:53.151828260 +0200
@@ -21,7 +21,7 @@

 LICENSE="GPL-2"
 SLOT="6"
-IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+IUSE="altivec cli doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"

 RDEPEND="
        dev-cpp/glibmm:2
@@ -120,6 +120,7 @@

 src_configure() {
        local backends="alsa"
+       use cli && backends+=",dummy"
        use jack && backends+=",jack"
        use pulseaudio && backends+=",pulseaudio"
Comment 1 Ionen Wolkens gentoo-dev 2021-04-08 12:43:34 UTC
(In reply to Arve Barsnes from comment #0)
> My simple patch with a 'cli' USE flag:
If it adds no dependencies (does it?) there's probably no need for a USE, building unconditionally would make sense.
Comment 2 Arve Barsnes 2021-04-08 13:25:12 UTC
No new dependencies as far as I know. The tools are only making available some functions that are already available in the GUI anyway, so I can't imagine there would be.
Comment 3 Miroslav Šulc gentoo-dev 2021-04-18 17:23:28 UTC
thanks for the suggestion, having a look at it right now.
Comment 4 Larry the Git Cow gentoo-dev 2021-04-18 17:52:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0f7b78bcbd8a30cbaee1fa107827bb750c2ae5

commit 8e0f7b78bcbd8a30cbaee1fa107827bb750c2ae5
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-04-18 17:51:44 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-04-18 17:51:59 +0000

    media-sound/ardour: added cli tools
    
    Closes: https://bugs.gentoo.org/781047
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/{ardour-6.6.ebuild => ardour-6.6-r1.ebuild} | 4 ++--
 media-sound/ardour/ardour-9999.ebuild                          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)