From owner-freebsd-gecko@freebsd.org Sun Jun 23 21:01:28 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A4FA15DAB1E for ; Sun, 23 Jun 2019 21:01:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0A5B86F526 for ; Sun, 23 Jun 2019 21:01:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id BD1DB15DAB1A; Sun, 23 Jun 2019 21:01:27 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA6D815DAB18 for ; Sun, 23 Jun 2019 21:01:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4729C6F515 for ; Sun, 23 Jun 2019 21:01:27 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8D80917731 for ; Sun, 23 Jun 2019 21:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5NL1Q3K005575 for ; Sun, 23 Jun 2019 21:01:26 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5NL1QXa005569 for gecko@FreeBSD.org; Sun, 23 Jun 2019 21:01:26 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201906232101.x5NL1QXa005569@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: gecko@FreeBSD.org Subject: Problem reports for gecko@FreeBSD.org that need special attention Date: Sun, 23 Jun 2019 21:01:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2019 21:01:28 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 208496 | security/nss -- add more binaries to the package 1 problems total for which you should take action. From owner-freebsd-gecko@freebsd.org Tue Jun 25 18:08:11 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEA8415D2D1E for ; Tue, 25 Jun 2019 18:08:10 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE066EA19 for ; Tue, 25 Jun 2019 18:08:10 +0000 (UTC) (envelope-from andreas@drewke.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1F7DB15D2D1D; Tue, 25 Jun 2019 18:08:10 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE53915D2D1C for ; Tue, 25 Jun 2019 18:08:09 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay3-3.pub.mailoutpod1-cph3.one.com (mailrelay3-3.pub.mailoutpod1-cph3.one.com [46.30.212.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 505476EA17 for ; Tue, 25 Jun 2019 18:08:07 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-type:in-reply-to:mime-version:date:message-id:from:references:cc:to: subject:from; bh=zDExTdsHN2pPz9WTty+aX/yiAtlg+H5gx1xduyLL740=; b=SPz7GKu0ibuc3gtHkVpZohxjqYg0S4V8P1jgRK9jwjQ/fuC9WqqAtQ+sxwtFQq0QBE6GcE/oPK/ep P5TKV4tc5ND4Ha+yS7nLMJOkeFCQH0a4Q31Xt8dvdZP/FWt4JJG2czFWOADYeNdl+njtRUqnCpsLxk QhDfcIwtLjHPImOQ= X-HalOne-Cookie: e5e743b5f3091800cee19a88b5499cd678389c1e X-HalOne-ID: ebb7ffe4-9771-11e9-b5e9-d0431ea8bb03 Received: from [IPv6:2001:16b8:483d:2d00:7285:c2ff:fe43:64aa] (unknown [2001:16b8:483d:2d00:7285:c2ff:fe43:64aa]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id ebb7ffe4-9771-11e9-b5e9-d0431ea8bb03; Tue, 25 Jun 2019 17:51:55 +0000 (UTC) Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) To: Jan Beich Cc: gecko@FreeBSD.org References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> From: Andreas Drewke Message-ID: <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> Date: Tue, 25 Jun 2019 17:51:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 505476EA17 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=drewke.net header.s=20140924 header.b=SPz7GKu0 X-Spamd-Result: default: False [-3.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[drewke.net:s=20140924]; NEURAL_HAM_MEDIUM(-0.97)[-0.971,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[drewke.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[drewke.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[12.212.30.46.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[mx1.pub.mailpod3-cph3.one.com,mx2.pub.mailpod3-cph3.one.com,mx3.pub.mailpod3-cph3.one.com]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.754,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-0.11)[ipnet: 46.30.208.0/21(-0.30), asn: 51468(-0.23), country: DK(-0.02)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2019 18:08:11 -0000 Hi, many thanx for answering. >Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >~/.config/pulse and let PA pick up default from hw.snd.default_unit. Yes. Both. Also be aware that >about:support Shows 9 as default device. This is strange. Indeed setting >media.cubeb.output_device does not work too. I have now no idea how to fix this. However if FBSD 13 comes out I do a fresh install. But maybe you still have an idea. Many thanx and Best regards Andreas On 2019-06-23 00:50, Jan Beich wrote: > Andreas Drewke writes: > >> Hi, >> >> since a few FF updates(do not remember correctly) FireFox with >> PulseAudio always uses sink 0 instead of my default sink 9. >> I am not sure if this is FreeBSD port related or a bug in FF code base. >> >> If you have any questions please ask. >> >> FYI: I can change sink to 9 with "pacmd move-sink-input X 9". This way >> FF playes sound for a while with PA. However I do not know how to make >> this persistant. >> This could also be a bug in PA. I do not know. > Have you tried "pacmd set-default-sink 9" ? Alternatively, remove > ~/.config/pulse and let PA pick up default from hw.snd.default_unit. > > Firefox can also set PA sink via media.cubeb.output_device in about:config > based on Name from Output Devices in about:support (Media section) but for > some reason it doesn't work here. > > https://searchfox.org/mozilla-release/rev/be9f154873f1/dom/media/GraphDriver.cpp#577-590 From owner-freebsd-gecko@freebsd.org Tue Jun 25 18:29:19 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D8CE15D37A3 for ; Tue, 25 Jun 2019 18:29:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 058946F887 for ; Tue, 25 Jun 2019 18:29:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BD09715D37A2; Tue, 25 Jun 2019 18:29:18 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB2A615D37A1 for ; Tue, 25 Jun 2019 18:29:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 518366F885; Tue, 25 Jun 2019 18:29:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 3909120EF5; Tue, 25 Jun 2019 18:29:18 +0000 (UTC) From: Jan Beich To: Andreas Drewke Cc: gecko@FreeBSD.org Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> Date: Tue, 25 Jun 2019 20:29:11 +0200 In-Reply-To: <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> (Andreas Drewke's message of "Tue, 25 Jun 2019 17:51:53 +0200") Message-ID: <4l4d-y0w8-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 518366F885 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.946,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2019 18:29:19 -0000 Andreas Drewke writes: >> Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >> ~/.config/pulse and let PA pick up default from hw.snd.default_unit. > > Yes. Both. Also be aware that > >> about:support Shows 9 as default device. This is strange. Indeed > setting >media.cubeb.output_device does not work too. I have now no > idea how to fix this. However if FBSD 13 comes out I do a fresh > install. But maybe you still have an idea. Many thanx and Best regards Does paplay(1) use the correct sink? Maybe default sink doesn't persist after pulseaudio daemon exits. $ fetch https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 $ pkill pulseaudio $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay $ firefox ChID-BLITS-EBU-Narration.mp4 From owner-freebsd-gecko@freebsd.org Thu Jun 27 18:06:18 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A32415C90FF for ; Thu, 27 Jun 2019 18:06:18 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BACCB699A3 for ; Thu, 27 Jun 2019 18:06:17 +0000 (UTC) (envelope-from andreas@drewke.net) Received: by mailman.ysv.freebsd.org (Postfix) id 75D2015C90FE; Thu, 27 Jun 2019 18:06:17 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5345E15C90FD for ; Thu, 27 Jun 2019 18:06:17 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay4-3.pub.mailoutpod1-cph3.one.com (mailrelay4-3.pub.mailoutpod1-cph3.one.com [46.30.212.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B118769477 for ; Thu, 27 Jun 2019 18:06:15 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:cc:to:subject:from; bh=iAFC4MPlvCRfvgLGscVTPUPmkh0z2MUXQrpe/M4VjHE=; b=B6kZE2/0YveEWvccxClTGFtjHEbBRcjYYFPd6yJMfMH0/nTmp7U46nuX0av1KMmbWpLZLNRreu1I5 +kmUYwkCe+ebdy6ZLP825Gkelfj+MUPMrEjegDinee+Ng1JdB+m6iWjaX6u5uo1pKpjOfYnKuz5SxR fSWFSjwSs4NQY3xk= X-HalOne-Cookie: ed623ee1ea96e530bc7c95d45538a77eb2e453d8 X-HalOne-ID: fccab340-9903-11e9-827c-d0431ea8bb10 Received: from [IPv6:2001:16b8:48ae:1300:7285:c2ff:fe43:64aa] (unknown [2001:16b8:48ae:1300:7285:c2ff:fe43:64aa]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id fccab340-9903-11e9-827c-d0431ea8bb10; Thu, 27 Jun 2019 17:50:02 +0000 (UTC) Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) To: Jan Beich Cc: gecko@FreeBSD.org References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org> From: Andreas Drewke Message-ID: <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> Date: Thu, 27 Jun 2019 17:50:01 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <4l4d-y0w8-wny@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: B118769477 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=drewke.net header.s=20140924 header.b=B6kZE2/0 X-Spamd-Result: default: False [-2.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[drewke.net:s=20140924]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.47)[0.475,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[drewke.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[drewke.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[13.212.30.46.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[mx1.pub.mailpod3-cph3.one.com,mx2.pub.mailpod3-cph3.one.com,mx3.pub.mailpod3-cph3.one.com]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.18)[ipnet: 46.30.208.0/21(-0.50), asn: 51468(-0.38), country: DK(-0.02)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 18:06:18 -0000 Hi, $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay This indeed uses sink 0 in your test. If I do $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay -d 9 i hear the sound. Any hints how to fix this? My default.pa looks like:     $ cat .config/pulse/default.pa     .include /usr/local/etc/pulse/default.pa     load-module module-combine-sink sink_name=record-n-play slaves=oss_output.dsp6 sink_properties=device.description="Record-and-Play"     set-default-sink record-n-play Many thanx and Best regards Andreas On 2019-06-25 20:29, Jan Beich wrote: > Andreas Drewke writes: > >>> Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >>> ~/.config/pulse and let PA pick up default from hw.snd.default_unit. >> Yes. Both. Also be aware that >> >>> about:support Shows 9 as default device. This is strange. Indeed >> setting >media.cubeb.output_device does not work too. I have now no >> idea how to fix this. However if FBSD 13 comes out I do a fresh >> install. But maybe you still have an idea. Many thanx and Best regards > Does paplay(1) use the correct sink? Maybe default sink doesn't persist > after pulseaudio daemon exits. > > $ fetch https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 > $ pkill pulseaudio > $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay > $ firefox ChID-BLITS-EBU-Narration.mp4 From owner-freebsd-gecko@freebsd.org Thu Jun 27 19:02:45 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A96015CA643 for ; Thu, 27 Jun 2019 19:02:45 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 97E186BAD4 for ; Thu, 27 Jun 2019 19:02:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B78E15CA642; Thu, 27 Jun 2019 19:02:44 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A00A15CA641 for ; Thu, 27 Jun 2019 19:02:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4B476BAD1; Thu, 27 Jun 2019 19:02:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D61271C944; Thu, 27 Jun 2019 19:02:43 +0000 (UTC) From: Jan Beich To: Andreas Drewke Cc: gecko@FreeBSD.org Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org> <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> Date: Thu, 27 Jun 2019 21:02:37 +0200 In-Reply-To: <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> (Andreas Drewke's message of "Thu, 27 Jun 2019 17:50:01 +0200") Message-ID: <8stm-lulu-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: E4B476BAD1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 19:02:45 -0000 Andreas Drewke writes: > On 2019-06-25 20:29, Jan Beich wrote: > >> Andreas Drewke writes: >> >>>> Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >>>> ~/.config/pulse and let PA pick up default from hw.snd.default_unit. >>> Yes. Both. Also be aware that >>> >>>> about:support Shows 9 as default device. This is strange. Indeed >>> setting >media.cubeb.output_device does not work too. I have now no >>> idea how to fix this. However if FBSD 13 comes out I do a fresh >>> install. But maybe you still have an idea. Many thanx and Best regards >> Does paplay(1) use the correct sink? Maybe default sink doesn't persist >> after pulseaudio daemon exits. >> >> $ fetch https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 >> $ pkill pulseaudio >> $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay >< > This indeed uses sink 0 in your test. If I do > > $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay -d 9 > > i hear the sound. > > Any hints how to fix this? > > My default.pa looks like: > > $ cat .config/pulse/default.pa > .include /usr/local/etc/pulse/default.pa > > load-module module-combine-sink sink_name=record-n-play slaves=oss_output.dsp6 sink_properties=device.description="Record-and-Play" > > set-default-sink record-n-play Why do you have this file? It sets default sink to 6 via an alias. From owner-freebsd-gecko@freebsd.org Thu Jun 27 22:30:13 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A56B15D0055 for ; Thu, 27 Jun 2019 22:30:13 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD9774899 for ; Thu, 27 Jun 2019 22:30:13 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BAEA715D0052; Thu, 27 Jun 2019 22:30:12 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A649D15D0051 for ; Thu, 27 Jun 2019 22:30:12 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4638374897; Thu, 27 Jun 2019 22:30:12 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 35DCEBFA; Thu, 27 Jun 2019 22:30:12 +0000 (UTC) From: Jan Beich To: Steve Wills Cc: gecko@FreeBSD.org Subject: Re: Firefox and GTK2 References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> Date: Fri, 28 Jun 2019 00:30:05 +0200 In-Reply-To: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> (Steve Wills's message of "Thu, 27 Jun 2019 16:49:23 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4638374897 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 22:30:13 -0000 (CC'ing public list. See http://catb.org/~esr/faqs/smart-questions.html#noprivate ) Steve Wills writes: > Hey, > > Just wondering, is there any way to avoid Firefox depending on gtk2? > > Thanks, > Steve No. Gtk2 is required for Adobe Flash (NPAPI) support[1]. --disable-npapi is unlikely[2] due to extra maintenance cost unless tested together[3] with other --disable-* options. Current www/firefox still supports www/flashplayer (confirmed myself) despite confusion[4]. According to upstream (linked in bug 1455897) it will stop around Firefox 73.0 if not postponed until after ESR76. [1] https://searchfox.org/mozilla-central/search?q=gtk2 https://bugzilla.mozilla.org/show_bug.cgi?id=1455897 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1377445 [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1371159 [4] https://forums.freebsd.org/threads/flashplayer-in-recent-www-firefox.65810/ From owner-freebsd-gecko@freebsd.org Thu Jun 27 23:46:17 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F84B15D1EC1 for ; Thu, 27 Jun 2019 23:46:17 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 51A7277415 for ; Thu, 27 Jun 2019 23:46:16 +0000 (UTC) (envelope-from andreas@drewke.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1544515D1EBD; Thu, 27 Jun 2019 23:46:16 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCBAC15D1EBA for ; Thu, 27 Jun 2019 23:46:15 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay4-3.pub.mailoutpod1-cph3.one.com (mailrelay4-3.pub.mailoutpod1-cph3.one.com [46.30.212.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43EEF77414 for ; Thu, 27 Jun 2019 23:46:14 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:cc:to:subject:from; bh=VXeQzP9EOy8qPVZBBziN28Pz9l+PSVwU/zH3EqBnIic=; b=BfLSE+7d6XSSv1BdH4JdK/G+9k1nitb7guGGDH/IqqUahNYPhYgu3RrH4JWhh7A+obcDzVVBsuCGi VbTUsi0ho8Z0laq/0InZ66T91IcnnTRDcmszPMHilg4SPaQMUzA36IlNw33gm/imjBrFvBssyrw8jh XOSEXkrW5liAOF9w= X-HalOne-Cookie: aed06c6eb2a1fa5ea26505519512adad133780cb X-HalOne-ID: bdfd19dd-9935-11e9-827c-d0431ea8bb10 Received: from Andreass-MBP.fritz.box (unknown [2001:16b8:48ae:1300:b589:7525:16e9:80eb]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id bdfd19dd-9935-11e9-827c-d0431ea8bb10; Thu, 27 Jun 2019 23:46:11 +0000 (UTC) Subject: Re: FireFox + Pulseaudio is always using sink 0 instead of default sink(9 in my case) To: Jan Beich Cc: gecko@FreeBSD.org References: <9c69393f-a3b1-09d8-1c14-5f9a0ff1ca46@drewke.net> <953079fc-a859-ad8a-44c4-d4b8f383e818@drewke.net> <4l4d-y0w8-wny@FreeBSD.org> <54873892-dc62-4c88-5ab1-1c2a3bd8b0f7@drewke.net> <8stm-lulu-wny@FreeBSD.org> From: Andreas Drewke Message-ID: Date: Fri, 28 Jun 2019 01:46:11 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <8stm-lulu-wny@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 43EEF77414 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.952,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 23:46:17 -0000 Hi, this was working 100% before with FF. It creates a pseudo sink that can be used to play. This can be recorded as well. It is my default sink 9. I use a tool to record video and sound of my desktop. I am a software/game developer and need to be able to do that from time to time. Hmm. Best regards Andreas Am 27.06.19 um 21:02 schrieb Jan Beich: > Andreas Drewke writes: > >> On 2019-06-25 20:29, Jan Beich wrote: >> >>> Andreas Drewke writes: >>> >>>>> Have you tried "pacmd set-default-sink 9" ? Alternatively, remove >>>>> ~/.config/pulse and let PA pick up default from hw.snd.default_unit. >>>> Yes. Both. Also be aware that >>>> >>>>> about:support Shows 9 as default device. This is strange. Indeed >>>> setting >media.cubeb.output_device does not work too. I have now no >>>> idea how to fix this. However if FBSD 13 comes out I do a fresh >>>> install. But maybe you still have an idea. Many thanx and Best regards >>> Does paplay(1) use the correct sink? Maybe default sink doesn't persist >>> after pulseaudio daemon exits. >>> >>> $ fetch https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 >>> $ pkill pulseaudio >>> $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay >> < >> This indeed uses sink 0 in your test. If I do >> >> $ ffmpeg -i ChID-BLITS-EBU-Narration.mp4 -f wav - | paplay -d 9 >> >> i hear the sound. >> >> Any hints how to fix this? >> >> My default.pa looks like: >> >> $ cat .config/pulse/default.pa >> .include /usr/local/etc/pulse/default.pa >> >> load-module module-combine-sink sink_name=record-n-play slaves=oss_output.dsp6 sink_properties=device.description="Record-and-Play" >> >> set-default-sink record-n-play > Why do you have this file? It sets default sink to 6 via an alias. From owner-freebsd-gecko@freebsd.org Fri Jun 28 17:25:47 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24E0915C6DD1 for ; Fri, 28 Jun 2019 17:25:47 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3FA8148D for ; Fri, 28 Jun 2019 17:25:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 54B3615C6DD0; Fri, 28 Jun 2019 17:25:46 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 430B215C6DCF for ; Fri, 28 Jun 2019 17:25:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D5FE68148A; Fri, 28 Jun 2019 17:25:45 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-174-109-174-192.nc.res.rr.com [174.109.174.192]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id x5SHPaYZ069740 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 28 Jun 2019 17:25:42 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Firefox and GTK2 To: Jan Beich Cc: gecko@FreeBSD.org References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> From: Steve Wills Message-ID: <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> Date: Fri, 28 Jun 2019 13:25:31 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------670730B98C879AB14B796BA4" Content-Language: en-US X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 28 Jun 2019 17:25:42 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: D5FE68148A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.94)[-0.944,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 17:25:47 -0000 This is a multi-part message in MIME format. --------------670730B98C879AB14B796BA4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 6/27/19 6:30 PM, Jan Beich wrote: > (CC'ing public list. See http://catb.org/~esr/faqs/smart-questions.html#noprivate ) > > Steve Wills writes: > [snip] > > No. Gtk2 is required for Adobe Flash (NPAPI) support[1]. --disable-npapi is > unlikely[2] due to extra maintenance cost unless tested together[3] with > other --disable-* options. > > Current www/firefox still supports www/flashplayer (confirmed myself) > despite confusion[4]. According to upstream (linked in bug 1455897) it > will stop around Firefox 73.0 if not postponed until after ESR76. > > [1] https://searchfox.org/mozilla-central/search?q=gtk2 > https://bugzilla.mozilla.org/show_bug.cgi?id=1455897 > [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1377445 > [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1371159 > [4] https://forums.freebsd.org/threads/flashplayer-in-recent-www-firefox.65810/ > Thanks for the info. Do you think we could switch to libcanberra-gtk3 like the attached patch? Steve --------------670730B98C879AB14B796BA4 Content-Type: text/x-patch; name="Mk_bsd.gecko.mk_libcanberra-gtk3-rev0.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Mk_bsd.gecko.mk_libcanberra-gtk3-rev0.diff" diff --git Mk/bsd.gecko.mk Mk/bsd.gecko.mk index 28cd910ae90a..50df148513cc 100644 --- Mk/bsd.gecko.mk +++ Mk/bsd.gecko.mk @@ -274,7 +274,7 @@ LDFLAGS+= -B${LOCALBASE}/bin .endif .if ${PORT_OPTIONS:MCANBERRA} -RUN_DEPENDS+= libcanberra>0:audio/libcanberra +RUN_DEPENDS+= libcanberra-gtk3>0:audio/libcanberra-gtk3 .endif .if ${PORT_OPTIONS:MDBUS} --------------670730B98C879AB14B796BA4-- From owner-freebsd-gecko@freebsd.org Fri Jun 28 19:04:01 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41C6915C9261 for ; Fri, 28 Jun 2019 19:04:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D598284A71 for ; Fri, 28 Jun 2019 19:04:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9018715C9260; Fri, 28 Jun 2019 19:04:00 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CB7815C925D for ; Fri, 28 Jun 2019 19:04:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1534784A6F; Fri, 28 Jun 2019 19:04:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id DEB06EB54; Fri, 28 Jun 2019 19:03:59 +0000 (UTC) From: Jan Beich To: Steve Wills Cc: gecko@FreeBSD.org Subject: Re: Firefox and GTK2 References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> Date: Fri, 28 Jun 2019 21:03:49 +0200 In-Reply-To: <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> (Steve Wills's message of "Fri, 28 Jun 2019 13:25:31 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 1534784A6F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 19:04:01 -0000 Steve Wills writes: > Hi, > > On 6/27/19 6:30 PM, Jan Beich wrote: >> (CC'ing public list. See http://catb.org/~esr/faqs/smart-questions.html#noprivate ) >> >> Steve Wills writes: >> > [snip] >> >> No. Gtk2 is required for Adobe Flash (NPAPI) support[1]. --disable-npapi is >> unlikely[2] due to extra maintenance cost unless tested together[3] with >> other --disable-* options. >> >> Current www/firefox still supports www/flashplayer (confirmed myself) >> despite confusion[4]. According to upstream (linked in bug 1455897) it >> will stop around Firefox 73.0 if not postponed until after ESR76. >> >> [1] https://searchfox.org/mozilla-central/search?q=gtk2 >> https://bugzilla.mozilla.org/show_bug.cgi?id=1455897 >> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1377445 >> [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1371159 >> [4] https://forums.freebsd.org/threads/flashplayer-in-recent-www-firefox.65810/ >> > > Thanks for the info. Do you think we could switch to libcanberra-gtk3 > like the attached patch? www/firefox only directly loads libcanberra.so.0. What actually depends on -gtk3 slave? For one, x11-toolkits/gtk30 dropped it since 3.18.0. https://searchfox.org/mozilla-release/rev/be9f154873f1/widget/gtk/nsSound.cpp#159 https://gitlab.gnome.org/GNOME/gtk/commit/7439a7efda25 $ strings /usr/local/lib/libcanberra.so | fgrep gtk3 $ strings /usr/local/lib/libcanberra-gtk.so | fgrep gtk3 > diff --git Mk/bsd.gecko.mk Mk/bsd.gecko.mk > index 28cd910ae90a..50df148513cc 100644 > --- Mk/bsd.gecko.mk > +++ Mk/bsd.gecko.mk > @@ -274,7 +274,7 @@ LDFLAGS+= -B${LOCALBASE}/bin > .endif > > .if ${PORT_OPTIONS:MCANBERRA} > -RUN_DEPENDS+= libcanberra>0:audio/libcanberra > +RUN_DEPENDS+= libcanberra-gtk3>0:audio/libcanberra-gtk3 GTK3 is still optional in www/seamonkey and not supported in www/palemoon. From owner-freebsd-gecko@freebsd.org Fri Jun 28 20:15:57 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A5FB15CA92D for ; Fri, 28 Jun 2019 20:15:57 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B3CFD86B95 for ; Fri, 28 Jun 2019 20:15:56 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7454915CA92C; Fri, 28 Jun 2019 20:15:56 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FA1315CA92B for ; Fri, 28 Jun 2019 20:15:56 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E63C886B94; Fri, 28 Jun 2019 20:15:55 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-2606-A000-40C0-3500-14FF-229F-5AF7-9AAD.dyn6.twc.com [IPv6:2606:a000:40c0:3500:14ff:229f:5af7:9aad]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id x5SKFlDw073380 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 28 Jun 2019 20:15:52 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Firefox and GTK2 To: Jan Beich Cc: gecko@FreeBSD.org References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> From: Steve Wills Message-ID: <5d74ebf9-49cd-04bc-d6b5-aa156491f29f@FreeBSD.org> Date: Fri, 28 Jun 2019 16:15:40 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]); Fri, 28 Jun 2019 20:15:52 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: E63C886B94 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.92)[-0.921,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 20:15:57 -0000 Hi, On 6/28/19 3:03 PM, Jan Beich wrote: > Steve Wills writes: > [snip] > > www/firefox only directly loads libcanberra.so.0. Right, so we can have libcanberra use gtk2 or gtk3. > What actually depends > on -gtk3 slave? For one, x11-toolkits/gtk30 dropped it since 3.18.0. > > https://searchfox.org/mozilla-release/rev/be9f154873f1/widget/gtk/nsSound.cpp#159 > https://gitlab.gnome.org/GNOME/gtk/commit/7439a7efda25 It's not about gtk using libcanberra, it's about which gtk is used by libcanberra. > $ strings /usr/local/lib/libcanberra.so | fgrep gtk3 > $ strings /usr/local/lib/libcanberra-gtk.so | fgrep gtk3 > Those two files are from the package of libcanberra that depends on gtk2, so I wouldn't expect them to depend on gtk3. In libcanberra-gtk3, I see: $ ldd /usr/local/lib/libcanberra-gtk3.so.0.1.9 | grep gtk /usr/local/lib/libcanberra-gtk3.so.0.1.9: libgtk-3.so.0 => /usr/local/lib/libgtk-3.so.0 (0x800e00000) > GTK3 is still optional in www/seamonkey and not supported in www/palemoon. Maybe the libcanberra dep could be moved out of bsd.gecko.mk and into the ports? Steve From owner-freebsd-gecko@freebsd.org Fri Jun 28 21:56:33 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBB0115CD0D8 for ; Fri, 28 Jun 2019 21:56:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6722A8A630 for ; Fri, 28 Jun 2019 21:56:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 21E3615CD0D7; Fri, 28 Jun 2019 21:56:32 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1056715CD0D5 for ; Fri, 28 Jun 2019 21:56:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAC208A62E; Fri, 28 Jun 2019 21:56:31 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 825D911271; Fri, 28 Jun 2019 21:56:31 +0000 (UTC) From: Jan Beich To: Steve Wills Cc: gecko@FreeBSD.org Subject: Re: Firefox and GTK2 References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> <5d74ebf9-49cd-04bc-d6b5-aa156491f29f@FreeBSD.org> Date: Fri, 28 Jun 2019 23:56:27 +0200 In-Reply-To: <5d74ebf9-49cd-04bc-d6b5-aa156491f29f@FreeBSD.org> (Steve Wills's message of "Fri, 28 Jun 2019 16:15:40 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: AAC208A62E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.92 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.92)[-0.925,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 21:56:33 -0000 Steve Wills writes: > Hi, > > On 6/28/19 3:03 PM, Jan Beich wrote: >> Steve Wills writes: >> > [snip] >> >> www/firefox only directly loads libcanberra.so.0. > > Right, so we can have libcanberra use gtk2 or gtk3. > >> What actually depends >> on -gtk3 slave? For one, x11-toolkits/gtk30 dropped it since 3.18.0. >> >> https://searchfox.org/mozilla-release/rev/be9f154873f1/widget/gtk/nsSound.cpp#159 >> https://gitlab.gnome.org/GNOME/gtk/commit/7439a7efda25 > > It's not about gtk using libcanberra, it's about which gtk is used by > libcanberra. How does libcanberra decide which gtk to use? > >> $ strings /usr/local/lib/libcanberra.so | fgrep gtk3 >> $ strings /usr/local/lib/libcanberra-gtk.so | fgrep gtk3 >> > > Those two files are from the package of libcanberra that depends on > gtk2, so I wouldn't expect them to depend on gtk3. That's the point. I couldn't find where libcanberra depends on gtk3. It's probably Gtk that calls into libcanberra. If so then every gtk30 consumer that depends on libcanberra also needs libcanberra-gtk3. $ strings /usr/local/lib/gtk-2.0/modules/libcanberra-gtk-module.so | fgrep libcanberra libcanberra.so.0 libcanberra-gtk.so.0 libcanberra-gtk-module.so $ strings /usr/local/lib/gtk-3.0/modules/libcanberra-gtk-module.so | fgrep libcanberra libcanberra.so.0 libcanberra-gtk3.so.0 libcanberra-gtk3-module.so >> GTK3 is still optional in www/seamonkey and not supported in www/palemoon. > > Maybe the libcanberra dep could be moved out of bsd.gecko.mk and into > the ports? Right. To Mk/Uses/gnome.mk where USE_GNOME=canberra can decide whether to pull -gtk3 slave or not. From owner-freebsd-gecko@freebsd.org Fri Jun 28 23:01:30 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1E8715CE776 for ; Fri, 28 Jun 2019 23:01:30 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2DB8CB1E for ; Fri, 28 Jun 2019 23:01:30 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id F1BD915CE775; Fri, 28 Jun 2019 23:01:29 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E015215CE773 for ; Fri, 28 Jun 2019 23:01:29 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86AC28CB17; Fri, 28 Jun 2019 23:01:29 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-174-109-174-192.nc.res.rr.com [174.109.174.192]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id x5SN1LTR076868 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 28 Jun 2019 23:01:26 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Firefox and GTK2 To: Jan Beich Cc: gecko@FreeBSD.org References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> <5d74ebf9-49cd-04bc-d6b5-aa156491f29f@FreeBSD.org> From: Steve Wills Message-ID: Date: Fri, 28 Jun 2019 19:01:16 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 28 Jun 2019 23:01:26 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 86AC28CB17 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.92)[-0.922,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 23:01:30 -0000 Hi, On 6/28/19 5:56 PM, Jan Beich wrote: > Steve Wills writes: > [snip] > > How does libcanberra decide which gtk to use? > Wouldn't that be based on how it's built and what it's linked against? [snip] > > That's the point. I couldn't find where libcanberra depends on gtk3. > It's probably Gtk that calls into libcanberra. If so then every gtk30 > consumer that depends on libcanberra also needs libcanberra-gtk3. > > $ strings /usr/local/lib/gtk-2.0/modules/libcanberra-gtk-module.so | fgrep libcanberra > libcanberra.so.0 > libcanberra-gtk.so.0 > libcanberra-gtk-module.so > > $ strings /usr/local/lib/gtk-3.0/modules/libcanberra-gtk-module.so | fgrep libcanberra > libcanberra.so.0 > libcanberra-gtk3.so.0 > libcanberra-gtk3-module.so > Sorry, what are you looking for here? What would be different that you're not seeing? >>> GTK3 is still optional in www/seamonkey and not supported in www/palemoon. >> >> Maybe the libcanberra dep could be moved out of bsd.gecko.mk and into >> the ports? > > Right. To Mk/Uses/gnome.mk where USE_GNOME=canberra can decide whether > to pull -gtk3 slave or not. USE_GNOME=canberra might make sense, yeah, although I'm not sure how it would decide which to use. Maybe that would have to specified. Steve From owner-freebsd-gecko@freebsd.org Sat Jun 29 00:50:54 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4ED6315D0570 for ; Sat, 29 Jun 2019 00:50:54 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DF4979033F for ; Sat, 29 Jun 2019 00:50:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9A25915D056E; Sat, 29 Jun 2019 00:50:53 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AE9B15D056D for ; Sat, 29 Jun 2019 00:50:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2A6290338; Sat, 29 Jun 2019 00:50:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id DA44813E72; Sat, 29 Jun 2019 00:50:52 +0000 (UTC) From: Jan Beich To: Steve Wills Cc: gecko@FreeBSD.org Subject: Re: Firefox and GTK2 References: <7536c5cf-f8a0-fe5c-661f-b7909b9d57aa@FreeBSD.org> <491275b9-47ef-58b4-ab0c-bdaf1bed13b4@FreeBSD.org> <5d74ebf9-49cd-04bc-d6b5-aa156491f29f@FreeBSD.org> Date: Sat, 29 Jun 2019 02:50:47 +0200 In-Reply-To: (Steve Wills's message of "Fri, 28 Jun 2019 19:01:16 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: F2A6290338 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2019 00:50:54 -0000 Steve Wills writes: > Hi, > > On 6/28/19 5:56 PM, Jan Beich wrote: >> Steve Wills writes: >> > [snip] >> >> How does libcanberra decide which gtk to use? >> > > Wouldn't that be based on how it's built and what it's linked against? We're back then. libcanberra.so.0 doesn't depend on gtk unlike libcanberra-gtk.so.0 or libcanberra-gtk3.so.0. And Firefox doesn't depend on libcanberra-gtk.so.0 or libcanberra-gtk3.so.0. >>>> GTK3 is still optional in www/seamonkey and not supported in www/palemoon. >>> >>> Maybe the libcanberra dep could be moved out of bsd.gecko.mk and into >>> the ports? >> >> Right. To Mk/Uses/gnome.mk where USE_GNOME=canberra can decide whether >> to pull -gtk3 slave or not. > > USE_GNOME=canberra might make sense, yeah, although I'm not sure how > it would decide which to use. Maybe that would have to specified. Here's an ugly example: $ make WITH=CANBERRA -V RUN_DEPENDS:M\*canberra\* -C www/firefox /usr/local/lib/libcanberra-gtk3.so:audio/libcanberra-gtk3 $ make WITH=CANBERRA -V RUN_DEPENDS:M\*canberra\* -C www/palemoon /usr/local/lib/libcanberra.so:audio/libcanberra $ make WITH=CANBERRA -V RUN_DEPENDS:M\*canberra\* -C www/seamonkey /usr/local/lib/libcanberra-gtk3.so:audio/libcanberra-gtk3 $ make WITH=CANBERRA\ GTK2 WITHOUT=GTK3 -V RUN_DEPENDS:M\*canberra\* -C www/seamonkey /usr/local/lib/libcanberra.so:audio/libcanberra diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk index 1d2b418fbe8d..3fbe55dfbc77 100644 --- a/Mk/Uses/gnome.mk +++ b/Mk/Uses/gnome.mk @@ -77,7 +77,7 @@ _USE_GNOME_ALL+= atk cairo \ gnomedocutils gnomesharp20 \ gnomevfs2 gtk-update-icon-cache gtk20 gtkhtml3 \ gtksharp20 gtksourceview2 gvfs libartlgpl2 libbonobo \ - libbonoboui libglade2 libgnome \ + libbonoboui libcanberra libglade2 libgnome \ libgnomecanvas libgnomekbd libgnomeprint libgnomeprintui \ libgnomeui libgsf libgtkhtml libidl librsvg2 libwnck \ libxml2 libxslt \ @@ -87,7 +87,7 @@ _USE_GNOME_ALL+= atk cairo \ # GNOME 3 components _USE_GNOME_ALL+=dconf evolutiondataserver3 gnomecontrolcenter3 gnomedesktop3 \ gnomemenus3 gsound gtk30 gtkhtml4 gtksourceview3 \ - gtksourceview4 libgda5 \ + gtksourceview4 libcanberra-gtk3 libgda5 \ libgda5-ui libwnck3 metacity nautilus3 \ pygobject3 vte3 @@ -121,6 +121,13 @@ gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \ atkmm_LIB_DEPENDS= libatkmm-1.6.so:accessibility/atkmm atkmm_USE_GNOME_IMPL= glibmm atk +libcanberra_BUILD_DEPENDS= ${LOCALBASE}/include/canberra.h:audio/libcanberra +libcanberra_LIB_DEPENDS= libcanberra.so:audio/libcanberra +libcanberra_RUN_DEPENDS= ${LOCALBASE}/lib/libcanberra.so:audio/libcanberra +libcanberra-gtk3_BUILD_DEPENDS= libcanberra-gtk3>0:audio/libcanberra-gtk3 +libcanberra-gtk3_LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 +libcanberra-gtk3_RUN_DEPENDS= ${LOCALBASE}/lib/libcanberra-gtk3.so:audio/libcanberra-gtk3 + libxml++26_LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 libxml++26_USE_GNOME_IMPL= glibmm libxml2 @@ -393,6 +400,14 @@ IGNORE= cannot install: Unknown component ${component} _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component} . endfor +# XXX _USE_GNOME_IMPL cannot be used due to recursion e.g., +# libcanberra_USE_GNOME_IMPL+=${_USE_GNOME:S/gtk30/libcanberra-gtk3/} +# gtk30_USE_GNOME_IMPL+=${_USE_GNOME:S/libcanberra/&-gtk3/} +.if ${_USE_GNOME:Mgtk30} +USE_GNOME:= ${USE_GNOME:S/libcanberra/&-gtk3/} +_USE_GNOME:= ${_USE_GNOME:S/libcanberra/&-gtk3/} +.endif + # Setup the GTK+ API version for pixbuf loaders, input method modules, # and theme engines. PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}" \ diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 28cd910ae90a..cbe2f74d844e 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -274,7 +274,7 @@ LDFLAGS+= -B${LOCALBASE}/bin .endif .if ${PORT_OPTIONS:MCANBERRA} -RUN_DEPENDS+= libcanberra>0:audio/libcanberra +USE_GNOME+= libcanberra:run .endif .if ${PORT_OPTIONS:MDBUS}