From patchwork Thu Mar 12 08:19:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Iwai X-Patchwork-Id: 5992041 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 060F79F399 for ; Thu, 12 Mar 2015 08:19:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B77A20381 for ; Thu, 12 Mar 2015 08:19:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 072DE20375 for ; Thu, 12 Mar 2015 08:19:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id DA48A265310; Thu, 12 Mar 2015 09:19:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id C01742614C5; Thu, 12 Mar 2015 09:19:09 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 79C93261524; Thu, 12 Mar 2015 09:19:08 +0100 (CET) Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A0397261498 for ; Thu, 12 Mar 2015 09:19:01 +0100 (CET) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5F457AC76 for ; Thu, 12 Mar 2015 08:19:01 +0000 (UTC) From: Takashi Iwai To: alsa-devel@alsa-project.org Date: Thu, 12 Mar 2015 09:19:00 +0100 Message-Id: <1426148340-3685-1-git-send-email-tiwai@suse.de> X-Mailer: git-send-email 2.3.2 Subject: [alsa-devel] [PATCH] rate: Allow LGPL for libsamplerate commercial licensee X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP alsa-plugins-rate is tagged with GPL just for following the license of libsamplerate. However, libsamplerate provides a commercial license to allow it used with less restrictions. In that case, we also don't have to stick with GPL. Instead, the code follows LGPL like other plugin codes in this package. Signed-off-by: Takashi Iwai --- If anyone sees a legal problem with this, please let me know. I find it OK, but IANAL. rate/rate_samplerate.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/rate/rate_samplerate.c b/rate/rate_samplerate.c index 53a0627b21dc..0b14a59000bf 100644 --- a/rate/rate_samplerate.c +++ b/rate/rate_samplerate.c @@ -3,6 +3,14 @@ * * Copyright (c) 2006 by Takashi Iwai * + * This plugin code is supposed to be used and distributed primarily + * under GPL v2 or later, in order to follow the license of libsamplerate. + * However, if you already own a commercial license to use libsamplerate + * for dynamic linking, this plugin code can be used and distributed also + * under LGPL v2.1 or later. + * + * For GPL-2.0+: + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -13,9 +21,17 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * For LGPL-2.1+: + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. */ #include