From nobody Fri May 24 14:17:15 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vm6Z14X6qz5L6gl for ; Fri, 24 May 2024 14:17:29 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vm6Yy2R1sz4l14; Fri, 24 May 2024 14:17:25 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp designates 153.125.133.21 as permitted sender) smtp.mailfrom=junchoon@dec.sakura.ne.jp Received: from kalamity.joker.local (123-1-21-232.area1b.commufa.jp [123.1.21.232]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 44OEHF48016081; Fri, 24 May 2024 23:17:15 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Fri, 24 May 2024 23:17:15 +0900 From: Tomoaki AOKI To: Vladimir Druzenko Cc: dev-commits-ports-main@freebsd.org, Robert Nagy Subject: Re: git: b4d0a174c529 - main - www/ungoogled-chromium: update to 125.0.6422.76 and implement selectable audio backend support Message-Id: <20240524231715.3c45c626c4d1383d47544e16@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-Spamd-Result: default: False [0.34 / 15.00]; THREAD_HIJACKING_FROM_INJECTOR(2.00)[]; FAKE_REPLY(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.99)[-0.985]; NEURAL_HAM_SHORT(-0.97)[-0.975]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:153.125.133.16/28]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; HAS_ORG_HEADER(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-main@freebsd.org]; DMARC_NA(0.00)[sakura.ne.jp]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4Vm6Yy2R1sz4l14 >24.05.2024 14:48, Robert Nagy пишет: >> On 24/05/24 14:45 GMT, Vladimir Druzenko wrote: >>> 24.05.2024 14:36, Robert Nagy пишет: >>>> On 24/05/24 14:07 GMT, Vladimir Druzenko wrote: >>>>> 24.05.2024 13:40, Robert Nagy пишет: >>>>>> On 24/05/24 12:51 GMT, Vladimir Druzenko wrote: >>>>>>>> 24.05.2024 06:47, Robert Nagy пишет: >>>>>>>> The branch main has been updated by rnagy: >>>>>>>> >>>>>>>> URL:https://cgit.FreeBSD.org/ports/commit/?id=b4d0a174c529e8061d838aafba1721cc317af01f >>>>>>>> >>>>>>>> commit b4d0a174c529e8061d838aafba1721cc317af01f >>>>>>>> Author: Robert Nagy >>>>>>>> AuthorDate: 2024-05-23 20:21:23 +0000 >>>>>>>> Commit: Robert Nagy >>>>>>>> CommitDate: 2024-05-24 03:47:31 +0000 >>>>>>>> >>>>>>>> www/ungoogled-chromium: update to 125.0.6422.76 and implement selectable audio backend support >>>>>>>> with these changes, chromium now automatically selects which >>>>>>>> audio backend to use in the following order: >>>>>>>> pulse (if running) -> sndio -> alsa -> fake >>>>>>>> an additional command line option has been also implemented so >>>>>>>> that the user can force which backend to use: >>>>>>>> --audio-backend={auto,sndio,pulse,alsa} >>>>>>>> Security:https://vuxml.freebsd.org/freebsd/8247af0d-183b-11ef-9f97-a8a1599412c6.html >>>>>>>> --- (snip) >>>>>>> Please remove mandatory dependency (BUILD and LIB) from pulse and sndio and >>>>>>> return build options. >>>>>>> You can do with OPTIONS_DEFAULT what you want, but don't force install all >>>>>>> these dependencies even for build. >>>>>> I am sorry but I don't concur. Knobs are bad, there is literally no reason for someone >>>>>> not to install sndio (which is the most supported by chrome) by default. >>>>> I'm using alsa only build. >>>>>> Pulseaudio is only a build dependency which is completely fine. >>>>> No. It isn't fine. I don't want pulseaudio on my host - it break my sound. >>>> Pulseaudio does not start by default at all, it will not get used unless you have >>>> the daemon running and even then you can disable it with the new command line flag >>>> of chromium and use whichever audio backend you want by default. >>>> >>>>>> I am trying to remove even more build options. They make absolutely no sense. >>>>> You want to remove one of the most important advantages of the FreeBSD. >>>> It would make sense to have an option if it would pull it in as a run or lib dependency, >>>> but it does not, however I will look into it to see if we could build it without even >>>> having pulseaudio as a build dependency. >>> After I install pulseaudio and reboot (without start it via rc.conf) I lost >>> sound. >>> Please return back options that allow build and run this port without >>> installing pulseaudio and sndio. >> Please use --audio-backend=alsa. > > Please return build options. > > -- > Best regards, > Vladimir Druzenko You can use poudriere to build this without installing pulseaudio on bare-metal environment. This way, pulseaudio, which is just a BUILD_DEPENDS, is installed inside builder jail of poudriere and removed once building package is finished. No pollution on bare-metal, running environment. But if the problematic file is in the distfile of pulseaudio (means, not generated at build time), adding the distfile to distfiles and extracting somewhere in ${WRKDIR} (and patch if needed) could solve your frustration? Robert, how do you think about this? Just a FYI, I've uploaded my tips and tricks at Brew repo [1] to configure and use poudriere casually. [1] https://brew.bsd.cafe/TomAoki/Tips-and-Tricks -- Tomoaki AOKI