From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1DA221F66E for ; Tue, 11 Aug 2020 15:30:26 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k5WEC-0000Ab-0v; Tue, 11 Aug 2020 15:30:16 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5WEA-0000A8-HX for sox-users@lists.sourceforge.net; Tue, 11 Aug 2020 15:30:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Shxm31Yqnxitij/YHtC+pUAtdKrO8I3zFF5X6rABTLk=; b=h0hWb0JirjTWPM7k52N+RPdQjW jcoKPgQ4VTGm43Jx6ClxsHeKqjE2NcJRdyz41FTq6iJ3dPkyZcaj7ifuhmXGbYUYQFJMkWwRCBBur 3NpXPIlrDcqkJ2Yeoe2m53SVvasaaQecC/WrqO2DXlHkfy70u15cbYOrFdLzOXPAARcg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Shxm31Yqnxitij/YHtC+pUAtdKrO8I3zFF5X6rABTLk=; b=A2zKl1Qt2jqCKYfALCEJiYtJkS KtBDZq7RM3XpLP4ryldzseKPimH4Fk/2D9Y7ctDxT7PtjFx77HkwibF1hcTtRro60r8rBMbJcikzC 2VkysQS4t7A6YciAn5UygFkhSFxckY/b4aIz63AJq1gHZBJnRLsp6fA0UlUMrp/elsag=; Received: from uvt.stare.cz ([185.63.96.79] helo=mx.stare.cz) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1k5WE6-001Sg3-FS for sox-users@lists.sourceforge.net; Tue, 11 Aug 2020 15:30:14 +0000 Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id 52735fd5; Tue, 11 Aug 2020 17:30:02 +0200 (CEST) Date: Tue, 11 Aug 2020 17:30:01 +0200 From: Jan Stary To: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= Message-ID: <20200811153001.GB87966@www.stare.cz> References: <20200811141209.GA9040@www.stare.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1k5WE6-001Sg3-FS Subject: Re: symlinks X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Cc: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On Aug 11 15:25:36, mans@mansr.com wrote: > Jan Stary writes: > > > I am confused by the following commit: > > > > commit fc20c26b2500acb6690f03d610d406bffb8944a9 > > Author: Mans Rullgard > > Date: Mon Aug 10 21:38:11 2020 +0100 > > > > build: fix symlink selection > > > > The configure test whether to enable the play/rec links is broken, > > and the makefile uses the same condition for both play/rec and soxi. > > Fix both problems. > > > > diff --git a/configure.ac b/configure.ac > > index 9f55b5f8..12af65b0 100644 > > --- a/configure.ac > > +++ b/configure.ac > > @@ -647,13 +647,13 @@ AC_MSG_RESULT($enable_symlinks) > > enable_playrec_symlinks=no > > if test "$enable_symlinks" = "yes"; then > > SYMLINKS=yes > > - if test false \ > > - -o "$enable_alsa" = yes \ > > - -o "$enable_ao" = yes \ > > - -o "$enable_coreaudio" = yes \ > > - -o "$enable_oss" = yes \ > > - -o "$enable_pulseaudio" = yes \ > > - -o "$enable_sndio" = yes \ > > + if test "" \ > > + -o "$using_alsa" = yes \ > > + -o "$using_ao" = yes \ > > + -o "$using_coreaudio" = yes \ > > + -o "$using_oss" = yes \ > > + -o "$using_pulseaudio" = yes \ > > + -o "$using_sndio" = yes \ > > ; then > > PLAYRECLINKS=yes > > enable_playrec_symlinks=yes > > > > How is using alsa/oss/sndio/whatever > > related to creating symlinks (or not)? > > > > Why do we have both SYMLINKS and PLAYRECLINKS? > > Why is this different for play/rec vs soxi (also below)? > > > > Naively, I would assume we want to create symlinks > > for each of play, rec, soxi, or none of them. > > There is no point in creating play/rec symlinks > when no audio devices are supported since they can't work then. The current build system seems to omit sunaudio and waveaudio from the list above, but with the rationale you describe, they should be there too, right? Or is this intended? Anyway, the manpages still get symlinked even if play/rec don't, e.g. when all the drivers ar explicitly disabled. Is that intended? $ cat /tmp/c --with-alsa=no --with-ao=no --with-coreaudio=no --with-oss=no --with-pulseaudio=no --with-sndio=no --with-sunaudio=no --with-waveaudio=no $ env AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 \ ./configure `cat /tmp/c` --prefix=$HOME [...] OPTIONAL DEVICE DRIVERS ao (Xiph)..................no alsa (Linux)...............no coreaudio (Mac OS X).......no sndio (OpenBSD)............no oss........................no pulseaudio.................no sunaudio...................no waveaudio (MS-Windows).....no $ env AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 make install [...] cd /home/hans/share/man/man1 && rm -f play.1 && ln -s sox.1 play.1 cd /home/hans/share/man/man1 && rm -f rec.1 && ln -s sox.1 rec.1 Jan _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users