From owner-freebsd-ports@freebsd.org Sun Dec 24 21:45:42 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 D4B87E8272E for ; Sun, 24 Dec 2017 21:45:42 +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 9FA3E6A9AA for ; Sun, 24 Dec 2017 21:45:42 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] ([108.70.50.7]) by 3c-app-mailcom-lxa11.server.lan (via HTTP); Sun, 24 Dec 2017 22:45:38 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: gurenchan@gmail.com, freebsd-ports@freebsd.org Subject: Re: Canberra Content-Type: text/plain; charset=UTF-8 Date: Sun, 24 Dec 2017 22:45:38 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:H4USFQAKTCJYdG4jmQhg23lNsqyeO8a61vRniv42z/R KeZe7Mu10ayBAH8ntN3tP0I9SSSy3+1KyEClxxUoNZ2Un2wtwf eo97pnLDLN+x68ElgJUQyCrRjUyFUbUlulb9FOhaA6cBDnHOXe klLwPPxXhcR4RbgYpyQlh4rRWfL2naDh14FuhWGM1OgBz5oqRY Ph+0TbyzzlIniE0mkSmPXu51q79Ndm/XrfIzCcLlY9Dwc7+TR+ Nrm8cBfz+mVQtpqAd2up4fxj7jHebW8vqBaOTYefqvcsXgyXy5 jVHy6c= X-UI-Out-Filterresults: notjunk:1;V01:K0:5b0LZlM0XyA=:9CE7P/O3i6+JMaYXQuS5tO b4gnAmNmnhLZuafXehfNceAJZss3xpHxrEjuR5Q9DJxpmO0z9yR3T8OhNiTXx7oY3o2R0z0ab oIxRaCP6LKSN+FcBD1DJROTmypi7i1NOT7Lw+clqD/ADAYwXaZm+1FYirw4oJKCwwVIeC7Ir+ fVqA+4dOC9H/+O3FvSDppxAdWw5Pl4EHobL9TvhnkZrR8O9rpuV+gGpI/sbNaJSEO368DWvxT vTXDSnkU+fMCqU0xJABAKuDAc5aSAFlKDYI/49PPuE+x+23ozegsKoIyhxaheO6Kw6amjoxvc GlXWPqh8bk8jQEzwF3luim4GtPjqm7ieUjEfpMU+gK+mmjN+IVG8uvAforJscqEzK6L4gI0L5 bfN97U2+MgEk4Ygjd9C937Tu7YzRchTEYqW6CvpYt15To3kZhG5q6FWh/3zJ9N3P3+3V7CaVp drIpmGDpDA63y9KUgXZI0k3ha3GZI1qxM5zWQMV31nLViyKxkJvJ6rAz1zQx3Iz0WKU41RztF bFwbt+20lujNZkjm67aD9ywkoqAXm/9+XWzLcy/hSgk 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: Sun, 24 Dec 2017 21:45:42 -0000 > blubee blubeeme; Sun Dec 24 06:31:00 UTC 2017 > If you wrote that makefile that removes all the gtk stuff, you can either > try to get it to Marcus and see if he's > willing to use that. > If you'd like me to work on the OSS audio portion, drop me that Makefile > and I'll look at it in a bit. This one just uses libcaberra/Makefile, and removes the inclusion of libcanberra-gtk3/Makefile, which requires gtk3. It takes the options for gstreamer1 and pulseaudio and includes them from this file. gtk2 and gtk3 references were removed. Now more ports that ask for libcanberra-gtk3 require it. I haven't tested removing references to pkg and sourcecode of libcanberra-gtk from those ports' source code. It would be better to have a drop in replacement. It depends on what the Makefile is instructed to build to get basic libcanberra.so. Optionally, gstreamer1 and pulseaudio can be split into its own port as libcanberra-plugins. Here's my Makefile --> # Created by: Joe Marcus Clarke # $FreeBSD: head/audio/libcanberra/Makefile 428129 2016-12-08 15:38:24Z tijl $ # $MCom: ports/trunk/audio/libcanberra/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= libcanberra PKGNAMESUFFIX= -lite PORTVERSION= 0.30 PORTREVISION= 4 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ \ http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-0.30.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/ MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the Freedesktop sound theme spec CONFLICTS= libcanberra LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libltdl.so:devel/libltdl USES= gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gnomeprefix USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-lynx --disable-tdb --disable-alsa --disable-gtk3 --disable-gtk2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= PULSEAUDIO GSTREAMER PLIST_SUB= VERSION=${PORTVERSION} .include .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:audio/pulseaudio PLIST_SUB+= PULSE="" .else CONFIGURE_ARGS+=--disable-pulse PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER1= yes PLIST_SUB+= GSTREAMER="" .else CONFIGURE_ARGS+=--disable-gstreamer PLIST_SUB+= GSTREAMER="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure .include