From owner-freebsd-ports@freebsd.org Tue Dec 19 05:12:07 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 3AE20E87519 for ; Tue, 19 Dec 2017 05:12:07 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 0256465492 for ; Tue, 19 Dec 2017 05:12:06 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id f143so1348818itb.0 for ; Mon, 18 Dec 2017 21:12:06 -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=ioddVDVFpUOztFBa1xhRfOHee6DNM57pzZrH4rUtzyE=; b=SdshKKyDFmNNQBJsoTGUrSecmnWZmr4ynFrs0jjU4yU/nXdC41eYvgyYzdOl/sB6aZ LUROzj/+AgO3q5b284x+7uJMFd6yFZPF67tZTy0oTs891oHFDHhOJf/O3PdVZBXtiHU2 40n4OTBB7MuxK5LZ5G8MffkjFegVB2nwJCFYk5A+6UGy66/Etu0LL6+XQJSy1pQP7ngq TMBGjyCvHKDC1ASAsnYvb053puI15U9nbhg8HH5h08o9bd37BKKAHjdBkeiSH4VavwCo GqvP65Pcauz5FCEfxmC52EITZF7KZw+xgctupHNtrYUKAT7OkPZoTuXMy88Sp8vDcJEW fFgw== 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=ioddVDVFpUOztFBa1xhRfOHee6DNM57pzZrH4rUtzyE=; b=SoeFuNrwOXmgOv7kKAeVnvX7BMEgik+zxRmwjM+bQsm1s0OUnjnmHRGnvJ424nTqXJ Kbr/57qCfEgA5XaFBd4Rodf6chblToCZQMV0/0pYG8caBtz1KTt6+Vh6wnX2i9ENGa+k ta222wfWC5LzMIa4U9fjee4nCugp2jAqu4PZU91IkFvudAqbAHcS6a3cEbwR/gcki0qX En6+K0pJCvh3vTqW01Y5C0D51+Qg2FiiFv1ZImBMoA/p9JCXOXvzq5WvbFThy/XJNbox Bxwql2c2MrqL2wwiKTonbSIpRT8ixJB4JqLvpU/gYJs9H/m0ejyL+Z0b+72DbXtmpU6l kYSw== X-Gm-Message-State: AKGB3mJR6W53M5WfzHxjBXMRoE8OBZeuAufEZyB6m+l3ogcMZGHO+itL deHE0pqurQmzrGNLEWi8O54O53zypUsHq2jS5hQ= X-Google-Smtp-Source: ACJfBov8B3e9ynOPHUXDVFuxiwxRZ4LWi4BfictwsPJZrRwObyD5gzHOgQ0yQl4J5e0xXk8JDzfnch0z9JsvVsrZ7jU= X-Received: by 10.36.151.198 with SMTP id k189mr1888906ite.100.1513660326151; Mon, 18 Dec 2017 21:12:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Mon, 18 Dec 2017 21:12:05 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Tue, 19 Dec 2017 13:12:05 +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: Tue, 19 Dec 2017 05:12:07 -0000 On Tue, Dec 19, 2017 at 12:52 PM, Sid wrote: > devel/pycanberra > > audio/freedesktop-sound-theme hasn't been tested for most ports that ask > for libcanberra, and I haven't tried it on any port yet either. The source > for pycanberra may need patches to work with freedesktop-sound-theme. You > could include both as options. If they conflict, you'll have to use > OPTIONS_RADIO (single choice). In any case, libcanberra should drop gtk > requirements, but they may be reluctant to do so. pycanberra's name implies > it's for libcanberra. > > IMO, it's better to clean up as many ports before flavors comes along, > because then, there will be more excuses to not remove bloat. > > blubee blubeeme; Tue Dec 19 03:01:07 UTC 2017 > > quick question, I am porting py-canberra which isn't required but an > optional dependency for another port that I am working on. > > ibus-cangjie. > > > The ibus-cangjie port needs py-gobject anyways; so a whole lot of gtk > stuff gets pulled in. > > I wonder should I leave it as is or make a dependency from this thing > you're working on instead? > > > I was waiting for @flavors to calm down before I started working on the > port again. > > >> Canberra is an audio application for playing simple sounds like "DING!". > >> For playing sound, I am convinced that graphical dependencies for > audio/libcanberra and audio/libcanberra-gtk3 aren't needed: > x11-toolkits/gtk30, x11-toolkits/gtk20, accessibility/atk. > >> According to Freshports, both libcanberra and libcanberra-gtk3 refer to > the file libcanberra-0.30.tar.xz of the same SHA256 and size. > >> The difference between these two is one pulls in gtk3 as well. > > >> Pango is for left to right text, perhaps for displaying audio > information to the user. > >> Its description is its "code is platform- and toolkit-independent." > >> For it to display a simple banner or visual it shouldn't require heavy > graphical dependencies. > >> Also, Pango should be made into an option for Canberra, so it can > definitely be compiled without atk, gtk30 or gtk20. > >> Pango doesn't require these three graphical dependencies, so Canberra > especially shouldn't. > >> USE_GNOME should also be a Makefile option in ports that are only about > sound (libraries, applications, audio server components) and not graphics. > > >> libcanberra and libcanberra-gtk3 should be replaced with > audio/freedesktop-sound-theme. > >> Pango appears to be a different implementation of Bango, which is not > in ports, but here: https://www.freedesktop.org/wiki/Bango/[https://www. > freedesktop.org/wiki/Bango/]. > py-canberra is just a python wrapper for libcanberra, I agree that ports should be cleaned. I'll get back to that in the coming days, I have some soldering and other things keeping me a bit tied up atm.