From nobody Mon Apr 04 08:30:35 2022 X-Original-To: dev-commits-ports-all@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 0C9A81A7B421; Mon, 4 Apr 2022 08:30:37 +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 4KX3rD4HcVz4nTR; Mon, 4 Apr 2022 08:30:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649061036; 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=O7trBZ0MlgR+QYp49U5a+7rkREjGHS9c/IUuhAkm3T0=; b=qA7vDcTQHwoEvglnRTagWL/WuOr8t6TV9NX8qx6mLdf6+Ru+EC6bt5ZrkqCgGZaleMw4gB 8zPM3shH+Bz8YLcnyIJIFI/C0+CgTY3vS0uOFeYIFbdAVjzaxtKV36NOvWpJJ3fSpm0NtQ jBEPRVYDovPCKsICp1kHkytVvxrKYwf3Pmtulz1zRh2gwUIpJbEdsmZDJjWXtsOQfBhzni LDBJLkrPPbelstwEpkLZUNJyZrTTKPm0bJyyez7ljBkLLKYeROAAYOnVjg7Hil1I+1Vjph Mmsegi6sPjS0PrukrwJsd0kQsDIwQ+/gQwEjZ/lBZOWqHsbNL/SoMuSOKItHLg== 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 883FC657B; Mon, 4 Apr 2022 08:30:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2348UZVY078835; Mon, 4 Apr 2022 08:30:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2348UZq1078829; Mon, 4 Apr 2022 08:30:35 GMT (envelope-from git) Date: Mon, 4 Apr 2022 08:30:35 GMT Message-Id: <202204040830.2348UZq1078829@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 29a45d3d9bb0 - main - www/iridium: add explicit dependency on graphics/wayland List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29a45d3d9bb01d11ef424c2caf3017447bbf1e16 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649061036; 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=O7trBZ0MlgR+QYp49U5a+7rkREjGHS9c/IUuhAkm3T0=; b=b9QYqsGIEsfCFhI9T6BP9UyxLve5ncmPj7Z1N/l9wcn6d654nEa/wL6ewCg8PRCtgQ2nEb 2s1S4OIbM8SbKHexDVOZjQWiUzF2oUNPvTGyZ3zvJMKR0CwzDwPc4sO+sBpPfc0jlm7wKZ isKYj8of/JUbS5vY2fZve5rzgixiC8XR+eqqbqDQcgG1Irz1VUht+i8833ZpLLyig121KB nxaz+7U1AmiS7KuhpeEUs/uelGj9zm7RRs/X3TpjeoVP/g01da4FcpA3uoq75edcfT6Erm Gzt3ciluT6hJqBW7ML13dZIqoTzxLZXk8BPwq38zOvZibbiJDTjVgzJLhkzelg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649061036; a=rsa-sha256; cv=none; b=t/MSyEiJWo/bgV/ppwLqxw13w5c405Q9IdO+29GLDsCDEbE1Srm1qrfx/UNMPoHjHjF+5D rVw+u/6krD95RGVb6INkNzQJxi/x6wcvcl3z4UExyXYeAYt4prJ07KgonPBqtCMnE/Fopn MyJQ+ra+vAE6Te2nV3Y7w1Uctm8S0Q/NWymoLaLBd2WZYYfoVXaBcoMciZY6zkqYBxJbi8 t0F4KzLbxJTcL40saejAPCG2I8FW1o3XanQ+BBoY4Zo3JbAU561XV6ELfjiX1cekE8NpaL gxNqQ/FpYuR9tsTpvLOuPryNcl2xvaEixr7k5UzBhIXR08yf2tYj+l2lw1irEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=29a45d3d9bb01d11ef424c2caf3017447bbf1e16 commit 29a45d3d9bb01d11ef424c2caf3017447bbf1e16 Author: Robert Nagy AuthorDate: 2022-04-04 08:16:05 +0000 Commit: Rene Ladan CommitDate: 2022-04-04 08:30:17 +0000 www/iridium: add explicit dependency on graphics/wayland This way Iridium supports Wayland out of the box. While here: -fixup policy paths - avoid lurking processes after exit --- www/iridium/Makefile | 2 ++ ...hrome_browser_background_background__mode__manager.cc | 11 ++++++++++- ...ome_browser_first__run_first__run__internal__linux.cc | 16 ++++++++++++++++ ...rowser_policy_headless__browser__policy__connector.cc | 14 ++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) diff --git a/www/iridium/Makefile b/www/iridium/Makefile index 606d5fcde078..a68bc855d076 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,5 +1,6 @@ PORTNAME= iridium PORTVERSION= 2022.04.100.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://downloads.iridiumbrowser.de/source/ PKGNAMESUFFIX= -browser @@ -54,6 +55,7 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ + libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence diff --git a/www/iridium/files/patch-chrome_browser_background_background__mode__manager.cc b/www/iridium/files/patch-chrome_browser_background_background__mode__manager.cc index a825aaca917a..590e8a3dc385 100644 --- a/www/iridium/files/patch-chrome_browser_background_background__mode__manager.cc +++ b/www/iridium/files/patch-chrome_browser_background_background__mode__manager.cc @@ -1,5 +1,14 @@ ---- chrome/browser/background/background_mode_manager.cc.orig 2022-04-01 07:48:30 UTC +--- chrome/browser/background/background_mode_manager.cc.orig 2022-04-03 12:23:22 UTC +++ chrome/browser/background/background_mode_manager.cc +@@ -376,7 +376,7 @@ void BackgroundModeManager::RegisterPrefs(PrefRegistry + registry->RegisterBooleanPref(prefs::kChromeCreatedLoginItem, false); + registry->RegisterBooleanPref(prefs::kMigratedLoginItemPref, false); + #endif +- registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, false); ++ registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, true); + } + + void BackgroundModeManager::RegisterProfile(Profile* profile) { @@ -899,7 +899,7 @@ gfx::ImageSkia GetStatusTrayIcon() { return gfx::ImageSkia(); diff --git a/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__linux.cc b/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__linux.cc new file mode 100644 index 000000000000..03352757575e --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__linux.cc @@ -0,0 +1,16 @@ +--- chrome/browser/first_run/first_run_internal_linux.cc.orig 2022-04-03 12:23:22 UTC ++++ chrome/browser/first_run/first_run_internal_linux.cc +@@ -21,7 +21,13 @@ bool IsOrganicFirstRun() { + base::FilePath InitialPrefsPath() { + // The standard location of the initial prefs is next to the chrome binary. + base::FilePath initial_prefs; ++#if BUILDFLAG(IS_OPENBSD) ++ initial_prefs = base::FilePath("/etc/iridium"); ++#elif BUILDFLAG(IS_FREEBSD) ++ initial_prefs = base::FilePath("/usr/local/etc/iridium"); ++#else + initial_prefs = base::FilePath("/etc/iridium-browser"); ++#endif + base::FilePath new_path = initial_prefs.AppendASCII(installer::kInitialPrefs); + if (base::PathIsReadable(new_path)) + return new_path; diff --git a/www/iridium/files/patch-headless_lib_browser_policy_headless__browser__policy__connector.cc b/www/iridium/files/patch-headless_lib_browser_policy_headless__browser__policy__connector.cc new file mode 100644 index 000000000000..c5fc41c914f1 --- /dev/null +++ b/www/iridium/files/patch-headless_lib_browser_policy_headless__browser__policy__connector.cc @@ -0,0 +1,14 @@ +--- headless/lib/browser/policy/headless_browser_policy_connector.cc.orig 2022-04-03 12:23:22 UTC ++++ headless/lib/browser/policy/headless_browser_policy_connector.cc +@@ -148,8 +148,10 @@ HeadlessBrowserPolicyConnector::CreatePlatformProvider + // chrome/common/chrome_paths.cc + #if BUILDFLAG(GOOGLE_CHROME_BRANDING) + base::FilePath config_dir_path(FILE_PATH_LITERAL("/etc/opt/chrome/policies")); ++#elif BUILDFLAG(IS_FREEBSD) ++ base::FilePath config_dir_path(FILE_PATH_LITERAL("/usr/local/etc/iridium/policies")); + #else +- base::FilePath config_dir_path(FILE_PATH_LITERAL("/etc/iridium-browser/policies")); ++ base::FilePath config_dir_path(FILE_PATH_LITERAL("/etc/iridium/policies")); + #endif + std::unique_ptr loader(new ConfigDirPolicyLoader( + base::ThreadPool::CreateSequencedTaskRunner(