From owner-freebsd-ports@freebsd.org Mon Dec 25 13:47:23 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 B5C94E8C3AB for ; Mon, 25 Dec 2017 13:47:23 +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 869A164DCA for ; Mon, 25 Dec 2017 13:47:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id t1so20348469ite.5 for ; Mon, 25 Dec 2017 05:47:23 -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=OBqNdSKKlhYrf+pPqXMFfPFhLaF05p9/VTnR3XmU5XI=; b=N1mD0Sg/qU1mv/rD2TdzTTN/meGnQ29XVZbgrIBmpnVHx2aEYbUuSBhCx9/AQyl8tK 6ssxCbA4rAd7S/Ni6BznHq81R6etf0RYyTTofSITw36JclKXCGbpshQjB/EIgh63TeRq l83N+gYqNbNx5xoLs5IxyO+bWa0rkbTdzLR/MQLYGOAAVGJCCeV2QClshSHfdcZzIlR+ 2/j3MRQHbCwiw4us0WensvhbC17pepswqoC+/8MANsEkOaH+Unafs0sBHYMJDWo79fck JdSKvi0E41X/0grbJQ6t2Nyv/mz6DqB2/6PuDrubmhIri5rxt5x7gwIg1Y89vSFZDiJk on8A== 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=OBqNdSKKlhYrf+pPqXMFfPFhLaF05p9/VTnR3XmU5XI=; b=YnHakYgbqT+M3gAqWxsnzyfmUg8iVrk7u7+97eKiTXfEMwv3g76sO8WEkCSfZEkGHt DkNZ/Cb4H+76IPfgZr6ji/bGJERzTUrBhEpnIvobcz5Jh39LwVXneNTSx5CXfNYsZ3zr dqC5NXZWMnar402XSV92rMj6Oz6g6oZSD6F6l3kwGy/TPr0JEjox17hUvoS88otrn+wm bqmXrISOEFKEpyXlm4d9kNUJSTeJu10xGIZF+pGGjN77LphgmKP9IK6qJxt7cJTDR8ot GF7V9ytNNopvxfnaW2VTc7QmfkLZ654Jieg2kWRoDWB53f9RcYoY9MqtHsFuKwkyr1BF l2SA== X-Gm-Message-State: AKGB3mKAmAo+s+59DpGX/D51F34KhVI8at9R8vYZTj3Y6UOVdJ8T25xX 4NF7LF0YJhbGQ2w4nvXA/pKITtlZ17509Pv4buY= X-Google-Smtp-Source: ACJfBotL9WCq8N9jPHrQk53Fo7n37guPPUFh529PcvJ7aB4dxW1A907QRIOkavJDd6PO3PpFwcPlxkzO9oqFjUMrRLA= X-Received: by 10.36.67.141 with SMTP id s135mr28300877itb.149.1514209642369; Mon, 25 Dec 2017 05:47:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Mon, 25 Dec 2017 05:47:21 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Mon, 25 Dec 2017 21:47:21 +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: Mon, 25 Dec 2017 13:47:23 -0000 On Mon, Dec 25, 2017 at 5:45 AM, Sid wrote: > > 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 > Thanks for the makefile, I'll set it up in a jail and work on it. I'll ping you here when I have something interesting to share.