-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
www/iridium/files/patch-chrome_browser_background_background__mode__manager.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
www/iridium/files/patch-chrome_browser_first__run_first__run__internal__linux.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
14 changes: 14 additions & 0 deletions
14
www/iridium/files/patch-headless_lib_browser_policy_headless__browser__policy__connector.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<AsyncPolicyLoader> loader(new ConfigDirPolicyLoader( | ||
base::ThreadPool::CreateSequencedTaskRunner( |