From owner-freebsd-ports@freebsd.org Tue Dec 19 04:52:48 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 8B7E4E860E2 for ; Tue, 19 Dec 2017 04:52:48 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52C4C649E1 for ; Tue, 19 Dec 2017 04:52:48 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] ([108.70.50.7]) by 3c-app-mailcom-lxa03.server.lan (via HTTP); Tue, 19 Dec 2017 05:52:45 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: "blubee blubeeme" Cc: "FreeBSD Ports" Subject: Re: Canberra Content-Type: text/plain; charset=UTF-8 Date: Tue, 19 Dec 2017 05:52:45 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:mjEujOVBNIcX2+YfSSW/xh9RvxMIQBzFh9rivG/rXDN zyFtP79eJyY03tOTBrU4rxAg2Fhs7pApksMycN/nbp64sPNFIL Z4J5fMqqwQbvNgaGt9YIX3R6okBazANY2iOjnY6LHYKEpt5uKU ZD19v2Lw9euyIagkFdEDuL75tTg+TcyyYa3EtlS8ItlealempD D5dsD6fsscP2Xq0eTNYl1SCt4y5IZejMAW8/xZdd68hmfB3rtc ij9ZTx2FbsFuzGUP8yD2NPFHhcHLASxsgmG/g51yzna4VhGJ63 dRb6LQ= X-UI-Out-Filterresults: notjunk:1;V01:K0:40dpUgL61qw=:88CNbNwvtTWGrsU++6Looj C0Nszm/IXq1mwi+mxtgKevjmenMKWzozM2T4xQRcrUtecKsbBVmckbp0rE2Sv9pS1p7tXzBOC MP2eOk8aRSm1L5Ckm7scy8ccuB69jv8gI337WSM+2GSYktFZ5aGF04hxxx6pN+BZxmHGGKzln KtPDC4bBCyY8d0p4aN3ULX6/CwXurzILtdzDsgRgmi5LIPdjntwmQtpPMnaTyIhXsjMn9x/sx Rm0UzsiBtW3c9tSG0MsqppdSnB/uhfOtHTNs5I2rfKM1MKes8S2vhwyO8LdDq84M0mFxWu6Cw X54/RPPqsjldGFyeWtA+i2NnctMSkqJwwLjkTI3uWE1MXIGpUPyfES90bsF40SP7VERzjrgwm RWBcGN8cvmYftxkDR4KTUecaI9nInWY60Ob84o0PurxD6xZJjzGw3kV7PKevDhXCXYkDcdvgN lTRiKZS7RY7JMxpCHQu9OBAHIEtmMlhLp4ZpH18l8wwS6oXizg42OZeG+PwZrXpSSCrjObZZ4 Gdz2efzKdkZOUTRdWzbmTQ0XG0ypRrsnbVqUgYR7zUB 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 04:52:48 -0000 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/].