@@ -59,6 +59,7 @@ def get_branch():
5959 return branch
6060
6161def get_chromium_revision (branch ):
62+ # TODO: revision not needed anymore, see new GIT link in get_chrome_deps()
6263 url = "http://src.chromium.org/viewvc" \
6364 "/chrome/branches/%s/src/chrome/VERSION" % branch
6465 contents = fetch_url (url )
@@ -70,6 +71,8 @@ def get_chromium_revision(branch):
7071 return revision
7172
7273def get_chrome_deps (revision ):
74+ # TODO: new GIT link: https://chromium.googlesource.com/chromium ..
75+ # /src/+/51.0.2704.104/chrome/installer/linux/debian/expected_deps_x64
7376 # Currently works only with SVN up to Chrome revision 293233.
7477 base_url = "http://src.chromium.org/svn/trunk/src" \
7578 "/chrome/installer/linux/debian"
@@ -162,26 +165,14 @@ def package_exists(package):
162165def get_final_deps (chrome_deps , cef_deps ):
163166 final_deps = chrome_deps
164167 chrome_deps_names = []
165- chrome_libudev0_dep = ""
166168 for chrome_dep in chrome_deps :
167169 chrome_dep_name = get_chrome_dep_name (chrome_dep )
168170 chrome_deps_names .append (chrome_dep_name )
169- if chrome_dep_name == "libudev0" :
170- chrome_libudev0_dep = chrome_dep
171171 for cef_dep in cef_deps :
172172 if cef_dep not in chrome_deps_names :
173173 final_deps .append (cef_dep )
174174 log ("Found %d CEF deps that were not listed in Chrome deps" % \
175175 (len (final_deps )- len (chrome_deps )) )
176- # See Issue 145. libudev.so.0 may be missing and postinstall
177- # script creates a symlink. Not sure how Google Chrome can
178- # have libudev0 in deps and deb package can install fine.
179- if chrome_libudev0_dep and chrome_libudev0_dep in final_deps :
180- log ("Removing '%s' from final deps (Issue 145)" % chrome_libudev0_dep )
181- final_deps .remove (chrome_libudev0_dep )
182- if "libudev0" in final_deps :
183- log ("Removing 'libudev0' from final deps (Issue 145)" )
184- final_deps .remove ("libudev0" )
185176 log ("Found %d final deps:" % len (final_deps ))
186177 print ("-" * 80 )
187178 print ("\n " .join (final_deps ))
0 commit comments