lol

chromium: 67.0.3396.99 -> 68.0.3440.75

authored by

Yuriy Taraday and committed by
Herwig Hochleitner
cd3283f9 3fd03165

+9 -83
-4
pkgs/applications/networking/browsers/chromium/common.nix
··· 138 138 # for updated patches and hints about build flags 139 139 # (gentooPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000") 140 140 ./patches/fix-freetype.patch 141 - ] ++ optionals (versionRange "66" "68") [ 142 - ./patches/nix_plugin_paths_52.patch 143 - (githubPatch "4d10424f9e2a06978cdd6cdf5403fcaef18e49fc" "11la1jycmr5b5rw89mzcdwznmd2qh28sghvz9klr1qhmsmw1vzjc") 144 - ] ++ optionals (versionAtLeast version "68") [ 145 141 ./patches/nix_plugin_paths_68.patch 146 142 ] ++ optionals (versionRange "68" "69") [ 147 143 ./patches/remove-webp-include-68.patch
-70
pkgs/applications/networking/browsers/chromium/patches/nix_plugin_paths_52.patch
··· 1 - diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc 2 - index f4e119d..d9775bd 100644 3 - --- a/chrome/common/chrome_paths.cc 4 - +++ b/chrome/common/chrome_paths.cc 5 - @@ -68,21 +68,14 @@ static base::LazyInstance<base::FilePath> 6 - g_invalid_specified_user_data_dir = LAZY_INSTANCE_INITIALIZER; 7 - 8 - // Gets the path for internal plugins. 9 - -bool GetInternalPluginsDirectory(base::FilePath* result) { 10 - -#if defined(OS_MACOSX) 11 - - // If called from Chrome, get internal plugins from a subdirectory of the 12 - - // framework. 13 - - if (base::mac::AmIBundled()) { 14 - - *result = chrome::GetFrameworkBundlePath(); 15 - - DCHECK(!result->empty()); 16 - - *result = result->Append("Internet Plug-Ins"); 17 - - return true; 18 - - } 19 - - // In tests, just look in the module directory (below). 20 - -#endif 21 - - 22 - - // The rest of the world expects plugins in the module directory. 23 - - return PathService::Get(base::DIR_MODULE, result); 24 - +bool GetInternalPluginsDirectory(base::FilePath* result, 25 - + const std::string& ident) { 26 - + std::string full_env = std::string("NIX_CHROMIUM_PLUGIN_PATH_") + ident; 27 - + const char* value = getenv(full_env.c_str()); 28 - + if (value == NULL) 29 - + return PathService::Get(base::DIR_MODULE, result); 30 - + else 31 - + *result = base::FilePath(value); 32 - } 33 - 34 - // Gets the path for bundled implementations of components. Note that these 35 - @@ -272,7 +265,7 @@ bool PathProvider(int key, base::FilePath* result) { 36 - create_dir = true; 37 - break; 38 - case chrome::DIR_INTERNAL_PLUGINS: 39 - - if (!GetInternalPluginsDirectory(&cur)) 40 - + if (!GetInternalPluginsDirectory(&cur, "ALL")) 41 - return false; 42 - break; 43 - case chrome::DIR_COMPONENTS: 44 - @@ -280,7 +273,7 @@ bool PathProvider(int key, base::FilePath* result) { 45 - return false; 46 - break; 47 - case chrome::DIR_PEPPER_FLASH_PLUGIN: 48 - - if (!GetInternalPluginsDirectory(&cur)) 49 - + if (!GetInternalPluginsDirectory(&cur, "PEPPERFLASH")) 50 - return false; 51 - cur = cur.Append(kPepperFlashBaseDirectory); 52 - break; 53 - @@ -323,7 +316,7 @@ bool PathProvider(int key, base::FilePath* result) { 54 - // We currently need a path here to look up whether the plugin is disabled 55 - // and what its permissions are. 56 - case chrome::FILE_NACL_PLUGIN: 57 - - if (!GetInternalPluginsDirectory(&cur)) 58 - + if (!GetInternalPluginsDirectory(&cur, "NACL")) 59 - return false; 60 - cur = cur.Append(kInternalNaClPluginFileName); 61 - break; 62 - @@ -358,7 +351,7 @@ bool PathProvider(int key, base::FilePath* result) { 63 - cur = cur.DirName(); 64 - } 65 - #else 66 - - if (!GetInternalPluginsDirectory(&cur)) 67 - + if (!GetInternalPluginsDirectory(&cur, "PNACL")) 68 - return false; 69 - #endif 70 - cur = cur.Append(FILE_PATH_LITERAL("pnacl"));
+9 -9
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 1 1 # This file is autogenerated from update.sh in the same directory. 2 2 { 3 3 beta = { 4 - sha256 = "0m82ag02mydq5xkd0pamk2nq035j7yzhl47hnwl1irm632rpnfb4"; 5 - sha256bin64 = "0xx6kjaa13al1ka0rfcrz1aj0nwhdwzqakz533ghk8qyvhanypkp"; 6 - version = "68.0.3440.59"; 4 + sha256 = "193sz96jrygixgzkaxx1vrpkhmnr6c7yzhsvv4p1qn0jymh2xd57"; 5 + sha256bin64 = "0wwmfsxbphxqfw4g6jgxlr0p32vjf4h8yfd5zz36xpa79dryb8sv"; 6 + version = "68.0.3440.68"; 7 7 }; 8 8 dev = { 9 - sha256 = "1gpjf213ai3sjh894jsl5ziild15049p6bnh36z0r1f5w68pzakg"; 10 - sha256bin64 = "1slj3gj4786lqrypng48zy5030snar8pirqwm92b5pq25xd595j8"; 11 - version = "69.0.3486.0"; 9 + sha256 = "102lqnl2m9cbcql6sghib1504fyicx7cgv0jkfx863jpzhrfrkcv"; 10 + sha256bin64 = "1y3iy25b3cck7kz5g913z64x1wdj1znqbn049g8h82x3krp76bgx"; 11 + version = "69.0.3497.12"; 12 12 }; 13 13 stable = { 14 - sha256 = "0am0q0wkmrvhidi4x07fvgb4ymv5q3agmwzgm808dj7ninfnnba5"; 15 - sha256bin64 = "06baih4wf88rpmw73vfhap4dxd61vjgmr256ix8qd937x2hv7qd3"; 16 - version = "67.0.3396.99"; 14 + sha256 = "0hcmnn72xj9p3y77cb6cnr1vz81hiqmksdi6nw7xqfw5cwr7h5yw"; 15 + sha256bin64 = "0pa49yxj9s41mzhik7jixr4hwqanf31yzr1fsc6y5hkadbj7rwij"; 16 + version = "68.0.3440.75"; 17 17 }; 18 18 }