From owner-freebsd-ports@freebsd.org Thu Dec 21 13:41:47 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B2C9E97D0C for ; Thu, 21 Dec 2017 13:41:47 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 500AC66FA0 for ; Thu, 21 Dec 2017 13:41:47 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x235.google.com with SMTP id b5so10713403itc.3 for ; Thu, 21 Dec 2017 05:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CwdvOfpZ678NshcYgzAfCkuENPtFdLkb+Mi6YAr5VXs=; b=E90Do6Za504ZwuFG9FSC5+mkeyKFaqY0Kcqsh088BtfKuQrFg4rTUrvUpNxpUL8cZR uM2oN7k3MKN/PwksYysE4U4n96o0rKqHHaxLTZZvgH1ifHYzZRDawiRKywCODsigYBsU V8ZCjLFQcEZIAMHWgZ4sYhEqqUaQc1PGKciTHndwfjdUe+Uy/lzovN3Vy6jwQnPCD2WB u6bB1ifAtuV0zVmXJv8SUq2GSN1xmQzm5hFC5DelcF5GJzZdVWFQxjEFLh6E7fEmjxXk jortun5bUz4FSbYp8GtMu7y94QNi1Tj1HqP8yBtfWG0c/aPcggL/w2XXQOI7WySnOQRg Zfxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CwdvOfpZ678NshcYgzAfCkuENPtFdLkb+Mi6YAr5VXs=; b=fvk4So+SpoO/AzeA6q6PTpZOHeb8OGOkxlwJPzqMV4Ri3MR9B+bRutYFArIBzhcm1F dJ34Zo7p1eD4u3+/tFL5orwveGtYZ+DRTnrZaCdETpiMA8hyJkM4iBJ9kYu1ypFBSb9X CcANa5/70Tsjr84Jd8WGu2VWTd8dlgPXSZ0dbYgvm/LrKgf2AJ8MEGKEuhrV9qjtzWys LPivZQ27MEdSKc9GE6xPVUzfdUnO0XAI7XxnkEnu7kwyFKB2RMI8FiEwVucIcysRuZJx selraAmOZxTr3ptfrDQkH+dMQhGNPM8JI9o7B7GmiI8srvzKLNgdVnovE2SNDkaMH/iu aHXA== X-Gm-Message-State: AKGB3mLIooRd25CLrwNMW11c6lTw7LOajGFiQ74QpWseWr3jk3UZLGKs WWtgIa0RWEo5/WOdEBXffx10XBfrdJ4Q4X5FsyU= X-Google-Smtp-Source: ACJfBosX2m4viJvkCFAW6t5B8+/80l0zRJCnQeFzhOvc93n6aUAj+tEbBGXSV0cjGOmLxihKSRYZ4kitXwlHfPpKAXU= X-Received: by 10.36.151.198 with SMTP id k189mr13437647ite.100.1513863706476; Thu, 21 Dec 2017 05:41:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Thu, 21 Dec 2017 05:41:45 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Thu, 21 Dec 2017 21:41:45 +0800 Message-ID: Subject: Re: Canberra To: Sid Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2017 13:41:47 -0000 On Thu, Dec 21, 2017 at 8:37 AM, Sid wrote: > > Blubee blubeeme > > I'll work on it but let me get the port in the tree first, then I can > refine it. > > Just as i've done with my previous ports. > > > Sid > > a simple program that plays simple sounds like "Ding!" > > The problem with libcanberra is around pulseaudio and gstreamer. It is > also with how gtk, a Visual Graphical toolkit, is mixed in with an Audio > application. > > I was inspecting libcanberra and libcanberra-gtk3. > > audio/libcanberra-gtk3 takes care of canberra plugins for pulseaudio and > gstreamer. It also takes care of two gtk3 library files, one of which is a > module. Ports that really need gtk3 are tangled mostly upstream, and > require --enable-gtk3. Others ports require libcanberra-gtk3 for either > gtk3, pulseaudio or gstreamer. Some ports have audio/libcanberra-gtk3 as a > dependency, but don't need it. > > audio/libcanberra itself is not so bad. audio/libcanberra also works > without gtk20 in the test Makefile, which shouldn't be needed at all. So, > plain libcanberra without libcanberra-gtk3 is not complicated, because it > doesn't involve gtk3, pulseaudio, and gstreamer; it has gtk2 as a > dependency, which it doesn't need. > > > Sooner or later, a drop in replacement for libcanberra needs to be made > for all BSD's. It should use ogg files from audio/freedesktop-sound-theme. > Perhaps it can include simple pipe to play ogg and other audio files as > well. After investigating, libcanberra is suitable for the short term, and > anything that fails without libcanberra-gtk3 is an issue with the upstream > ports themselves. > I'll look at the libcanberra OSS backend and see if I get get the changes upstream then the libcanberra maintainer can update the port.