From owner-freebsd-ports@freebsd.org Tue Dec 19 07:24:25 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 B6D85E908D3 for ; Tue, 19 Dec 2017 07:24:25 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (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 745E76A272 for ; Tue, 19 Dec 2017 07:24:25 +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 08:24:21 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: freebsd-ports@freebsd.org, gurenchan@gmail.com Subject: Re: Canberra Content-Type: text/plain; charset=UTF-8 Date: Tue, 19 Dec 2017 08:24:21 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:mYAGppUNgg3K36rcy8qB/L2zx5T+kf2E3Dn2JawBXnD AQGyKeESNrjmXE3DFVHcno9a5Cpj8DiXQBLCFF81nPSjNLUp1f kXSIbTJ+NU8J0xQIfnyZRGoQqqugnK1OJabHrYWIK7tPXbJ3MR 45XvvUEx2gmBmvyFyMmMNWRVtp7FuGRZE4/M+JVD7a2j6d8eAN LvBVWTRnTvNhLR887AXF5T4spySiRszQ2JJz7cY7qWAm/0zdvn izLNjdmWXNMR+i2Ju6cpgrx8GrYgHmjBzc/5uOxzLdLG8y8h5l OUz83Y= X-UI-Out-Filterresults: notjunk:1;V01:K0:tYTl//bppck=:/RQqUgBJlCJkjXfaOzFdtP llQBZNL86rC5T6JrNgUjiYV7jejAjmOMRiofHpDyy/n1Cp6jF9XCUgZInyeAwI5sSITidgfds jRUx6zB5SL0zlxMG7B1vLudMBReexXxZXWaAGSpkHmhn4acyc/qUUQE/oVjG3AqL9NM9/yfnT legtJ3NngAEK4ECxMMJMDNw+cfkrrmKM28i3jzf9mMB9YmRpG/NbOOxVmEn8U921qja9/wR+e xHMxaUJjztQltqZ2nta5kbVPvWOqhRiHjLTycxSwY9yMzPg2uBEwJ4/f1cu0g9HcFoJ4at5H6 wvlk6N6uGLcI5DR/1Unl6bVfcpKkwRZoq6074ObpeVgJyXAv0TgcRT0IrbhkWtmWOcfaYTojv VuMA6RznVo8k+zWVkkNBF43DyYU6LJL/1fez9HEJ9p1odvd5Cfybc43K8UrZcZSwVEE8sKTnf xvB3i9F5MUUeLFUP77OQSlIgYhqtg3YfTYopqz5dZz8/3yVe541macZVODEHhHrSvy7fyOLtn HnaOVva4mWGGJHaAuwLNv1zjUbjYqrKHeG6uh6N6Ysa 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 07:24:25 -0000 > blubee blubeeme > I am porting py-canberra which isn't required but an > optional dependency for another port that I am working on. > I wonder should I leave it as is or make a dependency from this thing you're working on instead? > blubee blubeeme > py-canberra is just a python wrapper for libcanberra Perhaps audio/libcanberra should be a dependency of devel/pycanberra. audio/libcanberra-gtk3 looks like it has options and requests for unnecessary dependencies. > Sid > 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. libcanberra-gtk3 also has options for pulseaudio, and gstreamer. > 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. > The port audio/freedesktop-sound-theme just has sound files, and no libraries. pango and freedesktop-sound-themes should be options for libcanberra. I'm convinced that gtk30, gtk20, atk, pulseaudio, and gstreamer shouldn't be options or required in libcanberra or libcanberra-gtk3. (pango and atk are not in the Makefiles, but Freshports shows them.) libcanberra-gtk3 should be merged back into libcanberra. I've only tested removing all of these options for one port that asked for both canberra libraries, and it compiled and played sound. Thank you.