Skip to content

Commit

Permalink
Add packages and libraries to filter list for dep checking on linux
Browse files Browse the repository at this point in the history
This commit is in reference to brave/brave-browser#305

We still need to run the update script by hand though, to generate a
useful json file.
  • Loading branch information
bkero committed Jun 7, 2018
1 parent 433877d commit af4f48e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/chrome/installer/linux/debian/update_dist_package_versions.py b/chrome/installer/linux/debian/update_dist_package_versions.py
index 481dfd7b1930385ff44862dc9cd0ba112b422417..ae2283c515e9ae7c2ee9f8bb5c276a5204de7e04 100755
--- a/chrome/installer/linux/debian/update_dist_package_versions.py
+++ b/chrome/installer/linux/debian/update_dist_package_versions.py
@@ -40,6 +40,7 @@ PACKAGE_FILTER = set([
"libatk-bridge2.0-0",
"libc6",
"libcairo2",
+ "libcairo-gobject2",
"libcups2",
"libdbus-1-3",
"libexpat1",
@@ -65,6 +66,7 @@ PACKAGE_FILTER = set([
"libxrender1",
"libxss1",
"libxtst6",
+ "zlib1g",
])

def create_temp_file_from_data(data):
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/chrome/installer/linux/rpm/update_package_provides.py b/chrome/installer/linux/rpm/update_package_provides.py
index 4ce30012357a32e1316dbb3930ce55ddf9acacfa..c8a661351b8279b5d6ce239eb4c61725c27ae8f6 100755
--- a/chrome/installer/linux/rpm/update_package_provides.py
+++ b/chrome/installer/linux/rpm/update_package_provides.py
@@ -32,6 +32,7 @@ PACKAGE_FILTER = [
"libatk-bridge-2.0.so",
"libc.so",
"libcairo.so",
+ "libcairo-gobject.so.2",
"libcups.so",
"libdbus-1.so",
"libdl.so",
@@ -50,11 +51,15 @@ PACKAGE_FILTER = [
"libnssutil3.so",
"libpango-1.0.so",
"libpangocairo-1.0.so",
+ "libplc4.so",
+ "libplds4.so",
"libpthread.so",
+ "libresolv.so.2",
"librt.so",
"libsmime3.so",
"libstdc++.so",
"libxcb.so",
+ "libz.so.1",
"rtld(GNU_HASH)",
]

0 comments on commit af4f48e

Please sign in to comment.