From nobody Fri May 24 03:47:40 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 4VlrbK0XGnz5LXY9; Fri, 24 May 2024 03:47:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VlrbJ6xcLz4phP; Fri, 24 May 2024 03:47:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716522460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vDA72Cf6lBrGsWZp0QGlT9wSkzWcpq2QfjErB4c6Ekk=; b=I2yT+qMOeh0vJdIlMCWo3J/r3/Ab5SZeUrJsRka19W0exSMJxpZoQo0YZ4okeYORYs9BFW 9TibNwq0JCJGpoz4JNrJy55//YNSEPph7OU/tkWGNBCzA/yoLnW5UF6ehfvN2XmxsknyrP gLYUKCoOP6hAp7rdEol/lts9MYF2sRUyk0nD/x91WkfGlqBnGJO1NE+/qzaTNT0qtnQx6D p9GrrPJ5cbOk4C5+hlun1d2muCShWtGxImgK3aD7aY9MQnvTQFX/Xnd/tYESLJJWAAJR/K Yjc8oQBiTex1jxGGCUvEDbQfO/EYHdAUmIsgxzyighkSaoVN9WzXpFp43EkT8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716522460; a=rsa-sha256; cv=none; b=jTDbsan0mifyOX6FfCKZsS7Nrd/3WRlqhxbp4orITaXAjZg1vRFiqDY5xIyNgL0O/i+TS4 4hRKGSKziHl98rx2liR4rzv8fRyX3qmfy4JmGM+0isgf2I/3K4YdU56xpNh9uM2CljwrF5 rUNrK1/5BFvyptjWlMrK2WtCk7pGVBrz0T60N9vEAxUeR7kO0syXSCp7wINT8+nVyVuYvk lo8U5Di4I79KNPmVJhy28APA+75HnwDJb2e0Y3gefJSZAT3n2GTvDYpO5+E6Y5Ok1op16r 2p1kQ0LQjHOsO/HzlxDLNrs/5ZEk43dur23FJ19tcWr5gcJMBjuOhiKSVncmAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716522460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vDA72Cf6lBrGsWZp0QGlT9wSkzWcpq2QfjErB4c6Ekk=; b=Isi0eOyVu2rHq+QSV2i2RK/lQ5ilxssbkx/Yal50ol5cNC9WmkGt+03pN0CpvA6ryyjQQ4 2LKrdtw1Jan0KoWtVSqPFd0gJB1d9YoBBzE2gj5CFmxsFRDcX2TavhePQ86Hg6XUMX1wlT Jt5gsTsCTtOPTruWHJud95KgtyXGS/phiHwgSJVOt8zcbwpanFK10p6Tj2LzNuwLH/dPyK t2hp0jwr1Ws7en8fOa0WEX1vJkAZzbxxc6xSt1mF6vo3Wtby7KvrmRwN0OUR052at/8gpt gyL4RPkD/ksYJkqhWoRn4wAiyKsfyvrYCSqxNKwS5hAHFa2df7ruycj/4U0FkA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VlrbJ6XFMzH5M; Fri, 24 May 2024 03:47:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44O3le8G098918; Fri, 24 May 2024 03:47:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44O3le5k098915; Fri, 24 May 2024 03:47:40 GMT (envelope-from git) Date: Fri, 24 May 2024 03:47:40 GMT Message-Id: <202405240347.44O3le5k098915@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Nagy Subject: git: b4d0a174c529 - main - www/ungoogled-chromium: update to 125.0.6422.76 and implement selectable audio backend support 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-Git-Committer: rnagy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4d0a174c529e8061d838aafba1721cc317af01f Auto-Submitted: auto-generated 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 --- www/ungoogled-chromium/Makefile | 44 ++++------- www/ungoogled-chromium/distinfo | 14 ++-- www/ungoogled-chromium/files/patch-BUILD.gn | 20 ++--- www/ungoogled-chromium/files/patch-base_BUILD.gn | 22 +++--- .../files/patch-base_allocator_dispatcher_tls.h | 4 +- ...cator_partition__allocator_partition__alloc.gni | 4 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 4 +- ...artition__alloc_address__space__randomization.h | 10 +-- ...src_partition__alloc_partition__alloc__config.h | 6 +- ..._partition__alloc_partition__alloc__constants.h | 4 +- ...locator_src_partition__alloc_partition__root.cc | 8 +- ..._allocator_src_partition__alloc_stack_stack.cc} | 4 +- .../files/patch-base_debug_stack__trace.cc | 18 ++--- .../files/patch-base_features.cc | 20 +++++ .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_files_file__util__unittest.cc | 6 +- .../files/patch-base_linux__util.cc | 12 +-- .../files/patch-base_process_internal__linux.h | 6 +- .../files/patch-base_process_process__metrics.cc | 8 +- .../files/patch-base_process_process__metrics.h | 24 +++--- ...patch-base_process_process__metrics__freebsd.cc | 25 ++++--- ...patch-base_process_process__metrics__openbsd.cc | 38 +++++----- ...atch-base_process_process__metrics__unittest.cc | 4 +- .../files/patch-base_process_process__posix.cc | 10 +-- ...profiler_stack__sampling__profiler__unittest.cc | 6 +- .../patch-base_strings_safe__sprintf__unittest.cc | 6 +- .../files/patch-base_synchronization_lock__impl.h | 6 +- .../files/patch-base_system_sys__info.h | 6 +- ...patch-base_threading_platform__thread__posix.cc | 19 +++-- ...ch-base_threading_platform__thread__unittest.cc | 8 +- .../files/patch-build_config_BUILDCONFIG.gn | 8 +- .../files/patch-build_config_clang_BUILD.gn | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 30 ++++---- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +- .../patch-chrome_app_chrome__main__delegate.cc | 58 +++++++++------ .../files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 75 +++++++++++-------- ...e_browser_accessibility_pdf__ocr__controller.cc | 4 +- ...ete_chrome__autocomplete__scheme__classifier.cc | 4 +- .../patch-chrome_browser_browser__features.cc | 6 +- .../patch-chrome_browser_browser__process__impl.cc | 8 +- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 23 ++---- .../patch-chrome_browser_chrome__browser__main.cc | 10 +-- ...r_chrome__browser__main__extra__parts__linux.cc | 8 +- ...ome_browser_chrome__content__browser__client.cc | 38 +++++----- ...rome_browser_chrome__content__browser__client.h | 4 +- ..._updater_widevine__cdm__component__installer.cc | 21 ++++-- .../files/patch-chrome_browser_devtools_BUILD.gn | 10 --- ...download_chrome__download__manager__delegate.cc | 6 +- ...ch-chrome_browser_download_download__commands.h | 4 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...browser_enterprise_watermark_watermark__view.cc | 6 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 12 +-- ..._private_enterprise__reporting__private__api.cc | 10 +-- ...management_chrome__management__api__delegate.cc | 4 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 4 +- ...api_webstore__private_webstore__private__api.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 33 +++----- .../patch-chrome_browser_flag__descriptions.h | 31 +++----- ...e_browser_media_webrtc_webrtc__log__uploader.cc | 4 +- ...ser_media_webrtc_webrtc__logging__controller.cc | 4 +- ...ser_metrics_chrome__metrics__service__client.cc | 20 ++--- ...ch-chrome_browser_metrics_perf_cpu__identity.cc | 4 +- ...hrome_browser_metrics_power_process__monitor.cc | 10 +-- ...age_modules_file__suggestion_drive__service.cc} | 4 +- ...d__manager_chrome__password__manager__client.cc | 6 +- ...onfiguration__policy__handler__list__factory.cc | 52 +++++++------ .../patch-chrome_browser_prefs_browser__prefs.cc | 10 +-- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...er_printing_print__backend__service__manager.cc | 8 +- ...hrome__browser__main__extra__parts__profiles.cc | 20 ++--- .../patch-chrome_browser_profiles_profile__impl.cc | 8 +- ...d__content__scanning_binary__upload__service.cc | 4 +- ...ice_search__engine__choice__service__factory.cc | 20 ----- ...ser_sharing_sharing__handler__registry__impl.cc | 8 +- ...__user_supervised__user__extensions__manager.cc | 6 +- ...tch-chrome_browser_sync_chrome__sync__client.cc | 30 ++++---- ...h-chrome_browser_sync_sync__service__factory.cc | 16 ++-- ...atch-chrome_browser_sync_sync__service__util.cc | 4 +- ..._payments_desktop__payments__window__manager.cc | 6 +- ...l_payments_desktop__payments__window__manager.h | 14 ++-- .../files/patch-chrome_browser_ui_browser.h | 4 +- ...rome_browser_ui_browser__command__controller.cc | 12 +-- .../patch-chrome_browser_ui_browser__ui__prefs.cc | 4 +- .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- ..._passwords_manage__passwords__ui__controller.cc | 6 +- ...e_browser_ui_signin_signin__view__controller.cc | 4 +- ...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 10 +-- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- ...ui_task__manager_task__manager__table__model.cc | 4 +- ...tch-chrome_browser_ui_test_test__browser__ui.cc | 4 +- .../files/patch-chrome_browser_ui_ui__features.cc | 4 +- .../files/patch-chrome_browser_ui_ui__features.h | 4 +- ...wser_ui_views_chrome__views__delegate__linux.cc | 6 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...rowser_ui_views_omnibox_omnibox__view__views.cc | 11 +++ ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...es_signin__view__controller__delegate__views.cc | 14 ++-- ...les_signin__view__controller__delegate__views.h | 4 +- ...e_browser_ui_views_tab__search__bubble__host.cc | 4 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 14 ++-- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 6 +- ..._education_browser__user__education__service.cc | 4 +- ...eb__apps_web__app__integration__test__driver.cc | 34 ++++----- ...eb__applications_web__app__ui__manager__impl.cc | 6 +- ..._ui_webui_app__home_app__home__page__handler.cc | 6 +- ...i_webui_chrome__web__ui__controller__factory.cc | 14 ++-- ...i_connectors__internals_device__trust__utils.cc | 4 +- ..._ui_webui_management_management__ui__handler.cc | 12 +-- ...rowser_ui_webui_searchbox_searchbox__handler.cc | 29 ++++++++ ...tings_settings__localized__strings__provider.cc | 25 ++----- ...hrome_browser_ui_window__sizer_window__sizer.cc | 4 +- ...ions_commands_install__app__locally__command.cc | 11 --- ...ications_extensions_extension__status__utils.cc | 4 +- ...__integration_os__integration__test__override.h | 12 +-- ...pplications_policy_web__app__policy__manager.cc | 4 +- ...s_test_os__integration__test__override__impl.cc | 76 +++++++++---------- ...ns_test_os__integration__test__override__impl.h | 20 ++--- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 14 ++-- .../files/patch-chrome_common_chrome__features.h | 12 +-- .../files/patch-chrome_common_chrome__paths.cc | 12 +-- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- .../patch-chrome_common_media_cdm__registration.cc | 31 +++++--- .../patch-chrome_common_media_cdm__registration.h | 11 +++ ...a_component__widevine__cdm__hint__file__linux.h | 4 +- .../files/patch-chrome_common_pref__names.h | 24 +++--- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 12 +-- .../patch-chrome_common_webui__url__constants.h | 8 +- ...ome_renderer_chrome__render__frame__observer.cc | 11 --- .../files/patch-chrome_utility_services.cc | 14 ++-- ...hromecast_browser_cast__browser__main__parts.cc | 14 ++-- ...ecast_browser_cast__content__browser__client.cc | 4 +- ...utofill_core_browser_payments__data__manager.cc | 11 +++ ...utofill_core_browser_personal__data__manager.cc | 12 --- ...ill_core_common_autofill__payments__features.cc | 4 +- ...onents_commerce_core_commerce__feature__list.cc | 4 +- ...core_browser_user__permission__service__impl.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 24 ++---- ...eature__engagement_public_feature__constants.cc | 19 +++-- ...feature__engagement_public_feature__constants.h | 6 +- ...nts_feature__engagement_public_feature__list.cc | 8 +- ...ents_feature__engagement_public_feature__list.h | 20 ++--- .../patch-components_gwp__asan_client_gwp__asan.cc | 4 +- ...patch-components_live__caption_caption__util.cc | 13 +--- .../files/patch-components_metrics_metrics__log.cc | 10 +-- ...zation__guide_core_optimization__guide__util.cc | 4 +- ...onents_os__crypt_sync_libsecret__util__linux.cc | 6 +- ...ger_core_browser_features_password__features.cc | 8 +- ...ager_core_browser_features_password__features.h | 4 +- ...manager_core_browser_password__form__manager.cc | 6 +- ...word__manager_core_browser_password__manager.cc | 4 +- ...anager_core_browser_password__manager__client.h | 20 +++++ ...ssword__store_login__database__async__helper.cc | 4 +- ...core_browser_stub__password__manager__client.cc | 11 +++ ..._core_browser_stub__password__manager__client.h | 11 +++ ...ger_core_browser_sync_password__sync__bridge.cc | 4 +- ...er_core_common_password__manager__pref__names.h | 4 +- ...mponents_performance__manager_public_features.h | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ...mponents_safe__browsing_core_common_features.cc | 11 +++ ...gine__choice_search__engine__choice__service.cc | 4 +- ...nents_search__engines_template__url__service.cc | 4 +- ...mponents_signin_public_base_signin__switches.cc | 6 +- ...omponents_signin_public_base_signin__switches.h | 4 +- .../files/patch-components_soda_soda__util.cc | 11 +++ ..._metric__utils_common_startup__metric__utils.cc | 4 +- ..._user_core_browser_supervised__user__service.cc | 4 +- ...onents_supervised__user_core_common_features.cc | 8 +- ...ponents_supervised__user_core_common_features.h | 8 +- .../files/patch-components_sync_base_features.cc | 4 +- ...ch-components_viz_host_host__display__client.cc | 4 +- ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 4 +- .../files/patch-content_app_content__main.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 20 ++--- .../files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_audio_audio__service.cc | 6 +- ..._browser_browser__child__process__host__impl.cc | 4 +- ...t_browser_browser__child__process__host__impl.h | 6 +- .../patch-content_browser_browser__main__loop.cc | 8 +- ...tent_browser_child__process__launcher__helper.h | 8 +- ...wser_child__process__launcher__helper__linux.cc | 22 +++--- ...browser_child__thread__type__switcher__linux.cc | 4 +- ...owser_devtools_devtools__frontend__host__impl.h | 4 +- ...wser_devtools_protocol_system__info__handler.cc | 4 +- ...content_browser_gpu_gpu__data__manager__impl.cc | 4 +- ...-content_browser_gpu_gpu__data__manager__impl.h | 4 +- ...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +- ...browser_gpu_gpu__data__manager__impl__private.h | 6 +- ...patch-content_browser_gpu_gpu__process__host.cc | 6 +- ...wser_media_frameless__media__interface__proxy.h | 4 +- ...ent_browser_network__service__instance__impl.cc | 8 +- ...ia_service__video__capture__device__launcher.cc | 4 +- ...r_renderer__host_render__process__host__impl.cc | 12 +-- ...er_renderer__host_render__process__host__impl.h | 4 +- ...derer__host_render__widget__host__view__aura.cc | 14 ++-- ...patch-content_browser_utility__process__host.cc | 18 ++++- .../patch-content_browser_utility__process__host.h | 10 +-- ...wser_web__contents_web__contents__view__aura.cc | 4 +- .../files/patch-content_child_BUILD.gn | 4 +- .../files/patch-content_common_features.cc | 6 +- .../files/patch-content_common_features.h | 8 +- .../patch-content_common_font__list__unittest.cc | 4 +- .../files/patch-content_gpu_gpu__main.cc | 24 +++--- ...tent_public_browser_content__browser__client.cc | 4 +- ...ontent_public_browser_service__process__host.cc | 4 +- ...atch-content_public_common_content__features.cc | 36 ++++----- ...atch-content_public_common_content__switches.cc | 6 +- ...patch-content_public_common_content__switches.h | 6 +- ...gpu_gpu__video__accelerator__factories__impl.cc | 11 +++ .../patch-content_renderer_render__thread__impl.cc | 10 +-- .../files/patch-content_shell_BUILD.gn | 4 +- ...atch-content_shell_app_shell__main__delegate.cc | 4 +- ...l_renderer_shell__content__renderer__client.cc} | 12 +-- .../files/patch-content_utility_services.cc | 12 +-- .../files/patch-content_utility_utility__main.cc | 22 +++--- .../patch-content_utility_utility__thread__impl.cc | 6 +- .../files/patch-content_zygote_zygote__linux.cc | 4 +- ...mand__buffer_service_dawn__context__provider.cc | 4 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...service_shared__image_shared__image__manager.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 18 ++--- .../files/patch-gpu_vulkan_vulkan__util.cc | 4 +- .../files/patch-ipc_ipc__message__utils.cc | 4 +- .../files/patch-media_audio_pulse_pulse__util.cc | 14 ++++ ...atch-media_audio_sndio_audio__manager__sndio.cc | 87 ++++++++++++++++++---- .../files/patch-media_base_media__switches.cc | 42 ++++++----- .../files/patch-media_base_media__switches.h | 21 ++++-- .../files/patch-media_base_video__frame.cc | 14 ++-- .../files/patch-media_base_video__frame.h | 16 ++-- ...capture_video_video__capture__device__client.cc | 4 +- ...=> patch-media_ffmpeg_scripts_build__ffmpeg.py} | 31 +++++--- ...patch-media_ffmpeg_scripts_robo__lib_config.py} | 15 ++-- ...u_chromeos_libyuv__image__processor__backend.cc | 6 +- ...pu_chromeos_mailbox__video__frame__converter.cc | 4 +- ...a_gpu_chromeos_platform__video__frame__utils.cc | 4 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 14 ++-- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 4 +- .../files/patch-media_media__options.gni | 13 +--- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +- .../files/patch-media_webrtc_helpers.cc | 6 +- .../files/patch-mojo_core_channel.cc | 4 +- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 14 ++-- .../files/patch-net_base_features.cc | 8 +- .../files/patch-net_dns_BUILD.gn | 18 +---- .../files/patch-net_dns_public_BUILD.gn | 4 +- ...xy__resolution_proxy__config__service__linux.cc | 4 +- ...verify__tool_cert__verify__comparision__tool.cc | 10 +-- ..._tools_cert__verify__tool_cert__verify__tool.cc | 8 +- ...patch-net_url__request_url__request__context.cc | 4 +- .../patch-net_url__request_url__request__context.h | 4 +- ..._url__request_url__request__context__builder.cc | 4 +- .../files/patch-remoting_host_client__session.cc | 4 +- ...ch-remoting_host_me2me__desktop__environment.cc | 8 +- .../patch-remoting_host_setup_start__host__main.cc | 8 +- ...atch-remoting_protocol_webrtc__video__stream.cc | 6 +- ...tch-sandbox_linux_services_libc__interceptor.cc | 4 +- .../files/patch-sandbox_policy_features.cc | 4 +- .../files/patch-sandbox_policy_features.h | 4 +- ...ices_device_geolocation_location__arbitrator.cc | 11 --- .../files/patch-services_device_usb_BUILD.gn | 8 +- .../files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- .../patch-services_network_network__service.cc | 8 +- .../patch-services_network_network__service.h | 12 +-- .../patch-services_network_public_cpp_BUILD.gn | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 4 +- ...device__model_ml_on__device__model__executor.cc | 11 +++ ..._on__device__model_on__device__model__service.h | 6 +- ...ervices_on__device__model_pre__sandbox__init.cc | 4 +- .../files/patch-services_service__manager_BUILD.gn | 4 +- ...video__capture_video__capture__service__impl.cc | 10 +-- ...blink_renderer_controller_blink__initializer.cc | 8 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...arty_blink_renderer_core_layout_layout__view.cc | 4 +- ..._renderer_core_scroll_scrollbar__theme__aura.cc | 4 +- ...peerconnection_webrtc__audio__renderer__test.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...rty_blink_renderer_modules_webgpu_gpu__queue.cc | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 14 ++-- ...arty_blink_renderer_platform_wtf_stack__util.cc | 8 +- ...ty_boringssl_src_util_generate__build__files.py | 34 --------- ..._party_dawn_include_dawn_native_VulkanBackend.h | 4 +- .../files/patch-third__party_ffmpeg_configure | 4 +- .../patch-third__party_libusb_src_libusb_libusb.h | 11 --- ...x_source_libvpx_vpx__ports_aarch64__cpudetect.c | 4 +- ...-third__party_pdfium_fxjs_fx__date__helpers.cpp | 6 +- ...rd__party_perfetto_include_perfetto_base_time.h | 8 +- ...rty_protobuf_src_google_protobuf_arenastring.cc | 12 --- ...uf_src_google_protobuf_stubs_platform__macros.h | 6 +- ...__party_speech-dispatcher_libspeechd__version.h | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- .../files/patch-third__party_unrar_src_crypt.cpp | 4 +- ...__capture_linux_x11_x__server__pixel__buffer.cc | 20 ++--- ...ols_json__schema__compiler_feature__compiler.py | 4 +- .../patch-tools_protoc__wrapper_protoc__wrapper.py | 4 +- .../patch-ui_base_ime_fake__text__input__client.cc | 4 +- ...-ui_base_ime_init_input__method__initializer.cc | 6 +- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../files/patch-ui_base_ui__base__features.cc | 6 +- .../files/patch-ui_base_x_x11__cursor__loader.cc | 10 +-- .../files/patch-ui_color_color__id.h | 10 +-- .../files/patch-ui_compositor_compositor.cc | 4 +- .../files/patch-ui_compositor_compositor.h | 4 +- www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +- .../files/patch-ui_gfx_codec_png__codec.cc | 11 --- .../files/patch-ui_gfx_gpu__memory__buffer.cc | 4 +- .../files/patch-ui_gfx_linux_gbm__wrapper.cc | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 8 +- .../files/patch-ui_gl_gl__switches.cc | 6 +- .../patch-ui_native__theme_native__theme__base.cc | 4 +- ...ne_platform_wayland_host_wayland__connection.cc | 4 +- ...i_ozone_platform_wayland_host_wayland__popup.cc | 11 +++ ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...atform_wayland_host_wayland__toplevel__window.h | 4 +- ..._ozone_platform_wayland_host_wayland__window.cc | 10 +-- ...i_ozone_platform_wayland_host_wayland__window.h | 8 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 4 +- .../patch-ui_ozone_platform_x11_x11__window.cc | 4 +- ...rm__window_platform__window__init__properties.h | 4 +- .../files/patch-ui_views_focus_focus__manager.cc | 6 +- ...__aura_desktop__window__tree__host__platform.cc | 17 +---- .../files/patch-ui_views_widget_widget.cc | 4 +- .../files/patch-ui_views_widget_widget.h | 11 --- .../patch-ui_views_window_dialog__delegate.cc | 4 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 43 ++++++----- .../files/patch-v8_src_api_api.cc | 4 +- .../patch-v8_src_base_platform_platform-posix.cc | 6 +- .../files/patch-v8_src_execution_isolate.cc | 6 +- .../files/patch-v8_src_flags_flags.cc | 4 +- ...wasm_baseline_ia32_liftoff-assembler-ia32-inl.h | 30 ++++---- 350 files changed, 1745 insertions(+), 1696 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 38dd9c95b374..d7ae24f31bf1 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 124.0.6367.207 +PORTVERSION= 125.0.6422.76 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ @@ -19,7 +19,8 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 PATCH_DEPENDS= gpatch:devel/patch \ ${PYTHON_VERSION}:lang/python${PYTHON_SUFFIX} -BUILD_DEPENDS= bash:shells/bash \ +BUILD_DEPENDS= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio \ + bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ gperf:devel/gperf \ @@ -38,8 +39,10 @@ BUILD_DEPENDS= bash:shells/bash \ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ + libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ + libsndio.so:audio/sndio \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ @@ -146,6 +149,11 @@ GN_ARGS+= build_with_tflite_lib=false \ use_official_google_api_keys=false \ use_unofficial_version_number=false +# Audio backends +GN_ARGS+= use_alsa=true \ + use_pulseaudio=true \ + use_sndio=true + # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles @@ -154,10 +162,8 @@ SUB_FILES= ungoogled-chromium.desktop ungoogled-chromium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE -OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO +OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE OPTIONS_EXCLUDE_aarch64=LTO -OPTIONS_GROUP= AUDIO -OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes @@ -167,12 +173,6 @@ HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) -ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib -ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ - alsa-lib>=1.1.1_1:audio/alsa-lib -ALSA_VARS= GN_ARGS+=use_alsa=true -ALSA_VARS_OFF= GN_ARGS+=use_alsa=false - CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ @@ -216,18 +216,6 @@ PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false -PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio -PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true -PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false - -# With SNDIO=on we exclude audio_manager_linux from the build (see -# media/audio/BUILD.gn) and use audio_manager_openbsd which does not -# support falling back to ALSA or PulseAudio. -SNDIO_PREVENTS= ALSA PULSEAUDIO -SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio -SNDIO_VARS= GN_ARGS+=use_sndio=true -SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false - WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm @@ -243,8 +231,8 @@ TEST_ALL_TARGET= ${TEST_TARGETS} IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif -.if ${COMPILER_VERSION} < 170 -LLVM_DEFAULT= 17 +.if ${COMPILER_VERSION} < 180 +LLVM_DEFAULT= 18 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ @@ -272,7 +260,7 @@ PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif -FFMPEG_BDIR= ${WRKSRC}/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} +FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) @@ -321,8 +309,8 @@ pre-configure: dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it - cd ${WRKSRC}/third_party/ffmpeg && \ - ${PYTHON_CMD} chromium/scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ + cd ${WRKSRC}/media/ffmpeg && \ + ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index 4a93c2f69d53..5fab9bae8298 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1715673313 -SHA256 (chromium-124.0.6367.207.tar.xz) = 6d6dc8b943012573a244ddb013b281ecbc97f77fe1fc6f55a4118241d107eba5 -SIZE (chromium-124.0.6367.207.tar.xz) = 3450794132 -SHA256 (ungoogled-chromium-124.0.6367.207-1.tar.gz) = e109631651affdaae2ddc22cc1e81f56d8c7eb583f816c6ee7de21d97977315b -SIZE (ungoogled-chromium-124.0.6367.207-1.tar.gz) = 667461 -SHA256 (chromium-124.0.6367.207-testdata.tar.xz) = d30386a73719a64fdd191f7b51709185e4d3fc49888b04a390506d4370e69b06 -SIZE (chromium-124.0.6367.207-testdata.tar.xz) = 277899644 +TIMESTAMP = 1716495542 +SHA256 (chromium-125.0.6422.76.tar.xz) = 4167218463d2848f4a0fe35f60d062a8e7e5c7ce5bc8c8c2260a80186b1deccf +SIZE (chromium-125.0.6422.76.tar.xz) = 3460108576 +SHA256 (ungoogled-chromium-125.0.6422.76-1.tar.gz) = bd9fe13200b13a1bedcf74533b8c285be39e1ea278b8562f3ee3da9883f6ae2e +SIZE (ungoogled-chromium-125.0.6422.76-1.tar.gz) = 668994 +SHA256 (chromium-125.0.6422.76-testdata.tar.xz) = ec7a7743180fd986c37913032074bd2a14b3bb40fb79927db94fab97aba26a77 +SIZE (chromium-125.0.6422.76-testdata.tar.xz) = 277440240 SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734 diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn index 37e125a126fd..84aff7b3b972 100644 --- a/www/ungoogled-chromium/files/patch-BUILD.gn +++ b/www/ungoogled-chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2024-04-23 07:42:17 UTC +--- BUILD.gn.orig 2024-05-23 20:04:36 UTC +++ BUILD.gn -@@ -64,7 +64,7 @@ declare_args() { +@@ -65,7 +65,7 @@ declare_args() { root_extra_deps = [] } @@ -9,7 +9,7 @@ # An official (maximally optimized!) component (optimized for build times) # build doesn't make sense and usually doesn't work. assert(!is_component_build) -@@ -96,7 +96,6 @@ group("gn_all") { +@@ -97,7 +97,6 @@ group("gn_all") { "//codelabs", "//components:components_unittests", "//components/gwp_asan:gwp_asan_unittests", @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -427,7 +426,7 @@ group("gn_all") { +@@ -428,7 +427,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -619,6 +618,15 @@ group("gn_all") { +@@ -616,6 +615,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms", -@@ -665,7 +673,7 @@ group("gn_all") { +@@ -662,7 +670,7 @@ group("gn_all") { host_os == "win") { deps += [ "//chrome/test/mini_installer:mini_installer_tests" ] } @@ -51,7 +51,7 @@ deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] } -@@ -1086,7 +1094,7 @@ if (use_blink && !is_cronet_build) { +@@ -1082,7 +1090,7 @@ if (use_blink && !is_cronet_build) { ] } @@ -60,7 +60,7 @@ script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" args = [ -@@ -1177,7 +1185,7 @@ if (use_blink && !is_cronet_build) { +@@ -1175,7 +1183,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1186,7 +1194,7 @@ if (use_blink && !is_cronet_build) { +@@ -1184,7 +1192,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -78,7 +78,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1646,7 +1654,7 @@ group("chromium_builder_perf") { +@@ -1644,7 +1652,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index e6a1bf006c83..4e78563c0051 100644 --- a/www/ungoogled-chromium/files/patch-base_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn @@ -1,4 +1,4 @@ ---- base/BUILD.gn.orig 2024-04-23 07:42:17 UTC +--- base/BUILD.gn.orig 2024-05-23 20:04:36 UTC +++ base/BUILD.gn @@ -200,7 +200,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] @@ -9,7 +9,7 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1131,11 +1131,23 @@ component("base") { +@@ -1141,11 +1141,23 @@ component("base") { # Needed for if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -34,7 +34,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1155,7 +1167,7 @@ component("base") { +@@ -1165,7 +1177,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +43,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2113,6 +2125,22 @@ component("base") { +@@ -2125,6 +2137,22 @@ component("base") { ] } @@ -66,7 +66,7 @@ # iOS if (is_ios) { sources += [ -@@ -2249,6 +2277,33 @@ component("base") { +@@ -2270,6 +2298,33 @@ component("base") { } } @@ -100,7 +100,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2259,7 +2314,7 @@ component("base") { +@@ -2280,7 +2335,7 @@ component("base") { } if (dep_libevent) { @@ -109,7 +109,7 @@ } if (use_libevent) { -@@ -3072,7 +3127,7 @@ if (is_apple) { +@@ -3093,7 +3148,7 @@ if (is_apple) { } } @@ -118,7 +118,7 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3716,7 +3771,7 @@ test("base_unittests") { +@@ -3745,7 +3800,7 @@ test("base_unittests") { ] } @@ -127,7 +127,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3743,7 +3798,7 @@ test("base_unittests") { +@@ -3772,7 +3827,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -136,7 +136,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3754,7 +3809,7 @@ test("base_unittests") { +@@ -3783,7 +3838,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -145,7 +145,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -4022,7 +4077,7 @@ test("base_unittests") { +@@ -4051,7 +4106,7 @@ test("base_unittests") { } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h index 444fa64c4e5e..998d311445c1 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h @@ -1,6 +1,6 @@ ---- base/allocator/dispatcher/tls.h.orig 2024-04-23 07:42:17 UTC +--- base/allocator/dispatcher/tls.h.orig 2024-05-23 20:04:36 UTC +++ base/allocator/dispatcher/tls.h -@@ -76,7 +76,7 @@ struct BASE_EXPORT MMapAllocator { +@@ -77,7 +77,7 @@ struct BASE_EXPORT MMapAllocator { constexpr static size_t AllocationChunkSize = 16384; #elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS) constexpr static size_t AllocationChunkSize = 16384; diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index 4c5f2d0ca3b5..31db3444ebff 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/partition_alloc.gni @@ -33,7 +33,7 @@ if (is_nacl) { use_large_empty_slot_span_ring = is_mac @@ -9,7 +9,7 @@ declare_args() { # Causes all the allocations to be routed via allocator_shim.cc. Usually, -@@ -351,7 +351,7 @@ declare_args() { +@@ -354,7 +354,7 @@ declare_args() { # dependencies that use partition_allocator are compiled in AOSP against a # version of glibc that does not include pkeys syscall numbers. enable_pkeys = diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index 6ed59dc622c7..257ee378fcb6 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -851,7 +851,7 @@ if (is_clang_or_gcc) { +@@ -850,7 +850,7 @@ if (is_clang_or_gcc) { configs -= [ "//build/config/compiler:enable_arc" ] } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h index a75b6c620b86..34bd39165800 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h @@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) { @@ -9,12 +9,12 @@ // We shouldn't allocate system pages at all for sanitizer builds. However, // we do, and if random hint addresses interfere with address ranges -@@ -128,7 +128,7 @@ AslrMask(uintptr_t bits) { +@@ -125,7 +125,7 @@ AslrMask(uintptr_t bits) { return AslrAddress(0x20000000ULL); } - -- #elif BUILDFLAG(IS_LINUX) -+ #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #elif defined(ARCH_CPU_ARM64) +- #if BUILDFLAG(IS_LINUX) ++ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux on arm64 can use 39, 42, 48, or 52-bit user space, depending on // page size and number of levels of translation pages used. We use diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index 02cfd2bdb7bd..45fa4325dd35 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h -@@ -251,7 +251,7 @@ constexpr bool kUseLazyCommit = false; +@@ -231,7 +231,7 @@ constexpr bool kUseLazyCommit = false; // On these platforms, lock all the partitions before fork(), and unlock after. // This may be required on more platforms in the future. #define PA_CONFIG_HAS_ATFORK_HANDLER() \ @@ -9,7 +9,7 @@ // PartitionAlloc uses PartitionRootEnumerator to acquire all // PartitionRoots at BeforeFork and to release at AfterFork. -@@ -299,7 +299,7 @@ constexpr bool kUseLazyCommit = false; +@@ -278,7 +278,7 @@ constexpr bool kUseLazyCommit = false; // // Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead // to larger slot spans. diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index 6cc6c41bd125..5a3e737a737f 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -313,7 +313,7 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; +@@ -316,7 +316,7 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; // 8GB for each of the glued pools). #if BUILDFLAG(HAS_64_BIT_POINTERS) #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || \ diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index c838279c607b..88d599996250 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-04-23 07:42:17 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-05-23 20:04:36 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc -@@ -47,7 +47,7 @@ +@@ -48,7 +48,7 @@ #include "wow64apiset.h" #endif @@ -9,7 +9,7 @@ #include #endif -@@ -279,7 +279,7 @@ void PartitionAllocMallocInitOnce() { +@@ -280,7 +280,7 @@ void PartitionAllocMallocInitOnce() { return; } @@ -18,7 +18,7 @@ // When fork() is called, only the current thread continues to execute in the // child process. If the lock is held, but *not* by this thread when fork() is // called, we have a deadlock. -@@ -950,7 +950,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -954,7 +954,7 @@ void PartitionRoot::Init(PartitionOptions opts) { // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc similarity index 84% rename from www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc rename to www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc index 17c7c31f634f..3ddc8b46184e 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc @@ -1,5 +1,5 @@ ---- base/allocator/partition_allocator/src/partition_alloc/starscan/stack/stack.cc.orig 2023-12-23 12:33:28 UTC -+++ base/allocator/partition_allocator/src/partition_alloc/starscan/stack/stack.cc +--- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2024-05-23 20:04:36 UTC ++++ base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc @@ -18,6 +18,10 @@ #include #endif diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc index 4df9e4c087ae..662dab087655 100644 --- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc +++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc @@ -1,6 +1,6 @@ ---- base/debug/stack_trace.cc.orig 2024-04-23 07:42:17 UTC +--- base/debug/stack_trace.cc.orig 2024-05-23 20:04:36 UTC +++ base/debug/stack_trace.cc -@@ -247,7 +247,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() { +@@ -249,7 +249,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() { // Symbols are not expected to be reliable when gn args specifies // symbol_level=0. return false; @@ -9,16 +9,16 @@ // StackTrace::OutputToStream() is not implemented under uclibc, nor AIX. // See https://crbug.com/706728 return false; -@@ -291,7 +291,7 @@ std::string StackTrace::ToString() const { - } - std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { +@@ -311,7 +311,7 @@ std::string StackTrace::ToString() const { + + std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const { std::stringstream stream; -#if !defined(__UCLIBC__) && !defined(_AIX) +#if !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD) - if (ShouldSuppressOutput()) { - return "Backtrace suppressed."; - } -@@ -301,7 +301,7 @@ std::string StackTrace::ToStringWithPrefix(const char* + OutputToStreamWithPrefix(&stream, prefix_string); + #endif + return stream.str(); +@@ -335,7 +335,7 @@ bool StackTrace::ShouldSuppressOutput() { } std::ostream& operator<<(std::ostream& os, const StackTrace& s) { diff --git a/www/ungoogled-chromium/files/patch-base_features.cc b/www/ungoogled-chromium/files/patch-base_features.cc new file mode 100644 index 000000000000..b1e291278229 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_features.cc @@ -0,0 +1,20 @@ +--- base/features.cc.orig 2024-05-23 20:04:36 UTC ++++ base/features.cc +@@ -9,7 +9,7 @@ + #include "base/threading/platform_thread.h" + #include "build/buildflag.h" + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + #include "base/message_loop/message_pump_libevent.h" + #endif + +@@ -98,7 +98,7 @@ void Init(EmitThreadControllerProfilerMetadata + sequence_manager::internal::ThreadController::InitializeFeatures( + emit_thread_controller_profiler_metadata); + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + MessagePumpLibevent::InitializeFeatures(); + #endif + diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc index 215e5bb7a419..888b2f477f82 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_posix.cc.orig 2024-04-23 07:42:17 UTC +--- base/files/file_util_posix.cc.orig 2024-05-23 20:04:36 UTC +++ base/files/file_util_posix.cc -@@ -816,33 +816,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p +@@ -810,33 +810,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc index c453bd902b37..e4bc8834c64b 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_unittest.cc.orig 2024-04-23 07:42:17 UTC +--- base/files/file_util_unittest.cc.orig 2024-05-23 20:04:36 UTC +++ base/files/file_util_unittest.cc -@@ -3870,7 +3870,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { +@@ -3772,7 +3772,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { } #endif // BUILDFLAG(IS_WIN) @@ -9,7 +9,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) { FilePath file_path("/proc/cpuinfo"); std::string data = "temp"; -@@ -4651,7 +4651,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles +@@ -4553,7 +4553,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles NULL); #else size_t bytes_written = diff --git a/www/ungoogled-chromium/files/patch-base_linux__util.cc b/www/ungoogled-chromium/files/patch-base_linux__util.cc index 447a0d78838a..f1fa255f63ff 100644 --- a/www/ungoogled-chromium/files/patch-base_linux__util.cc +++ b/www/ungoogled-chromium/files/patch-base_linux__util.cc @@ -1,14 +1,6 @@ ---- base/linux_util.cc.orig 2023-12-23 12:33:28 UTC +--- base/linux_util.cc.orig 2024-05-23 20:04:36 UTC +++ base/linux_util.cc -@@ -15,6 +15,7 @@ - - #include - #include -+#include - - #include "base/base_export.h" - #include "base/files/dir_reader_posix.h" -@@ -153,10 +154,14 @@ void SetLinuxDistro(const std::string& distro) { +@@ -154,10 +154,14 @@ void SetLinuxDistro(const std::string& distro) { } bool GetThreadsForProcess(pid_t pid, std::vector* tids) { diff --git a/www/ungoogled-chromium/files/patch-base_process_internal__linux.h b/www/ungoogled-chromium/files/patch-base_process_internal__linux.h index 1a80e0cbdbcf..ea30511c1cda 100644 --- a/www/ungoogled-chromium/files/patch-base_process_internal__linux.h +++ b/www/ungoogled-chromium/files/patch-base_process_internal__linux.h @@ -1,6 +1,6 @@ ---- base/process/internal_linux.h.orig 2024-04-23 07:42:17 UTC +--- base/process/internal_linux.h.orig 2024-05-23 20:04:36 UTC +++ base/process/internal_linux.h -@@ -138,6 +138,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks); +@@ -140,6 +140,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks); // arguments to the lambda. template void ForEachProcessTask(base::ProcessHandle process, Lambda&& lambda) { *** 9946 LINES SKIPPED ***