Changeset 290799 in webkit
- Timestamp:
- Mar 3, 2022, 4:53:08 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 7 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/check-for-global-bss-symbols-in-webkitgtk-libs (modified) (2 diffs)
-
gtk/jhbuildrc (modified) (1 diff)
-
gtk/ycm_extra_conf.py (modified) (1 diff)
-
jhbuild/jhbuild-wrapper (modified) (2 diffs)
-
jhbuild/jhbuildrc_common.py (modified) (1 diff)
-
wpe/jhbuildrc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r290796 r290799 1 2022-03-03 Lauro Moura <lmoura@igalia.com> 2 3 [Python3] Switch a few more glib scripts to Python3 4 https://bugs.webkit.org/show_bug.cgi?id=237442 5 6 Reviewed by Adrian Perez de Castro. 7 8 * Scripts/check-for-global-bss-symbols-in-webkitgtk-libs: Update 9 shebang. 10 (bss_symbols): Decode Popen bytes output. 11 * gtk/jhbuildrc: Update shebang. 12 * gtk/ycm_extra_conf.py: Ditto. 13 * jhbuild/jhbuild-wrapper: Ditto. 14 (jhbuild_at_expected_revision): Decode Popen bytes output. 15 * jhbuild/jhbuildrc_common.py: Remove uneeded shebang. 16 * wpe/jhbuildrc: Update shebang. 17 1 18 2022-03-03 Jonathan Bedard <jbedard@apple.com> 2 19 -
trunk/Tools/Scripts/check-for-global-bss-symbols-in-webkitgtk-libs
r271151 r290799 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 3 3 import re … … 11 11 pattern = re.compile('^[0-9a-f]+ ([a-zA-Z ])[a-zA-Z ][a-zA-Z ][a-zA-Z ][a-zA-Z ][a-zA-Z ][a-zA-Z ] \.bss\t[0-9a-f]+ +(.*)$') 12 12 for line in data.splitlines(): 13 m = pattern.match(line )13 m = pattern.match(line.decode('utf-8', 'ignore')) 14 14 if not m: 15 15 continue -
trunk/Tools/gtk/jhbuildrc
r225073 r290799 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # Copyright (C) 2011-2014 Igalia S.L. 3 3 # -
trunk/Tools/gtk/ycm_extra_conf.py
r239567 r290799 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # Copyright (C) 2013 Danilo Cesar Lemes de Paula <danilo.eu@gmail.com> 3 3 # Copyright (C) 2014 ChangSeok Oh <shivamidow@gmail.com> -
trunk/Tools/jhbuild/jhbuild-wrapper
r267529 r290799 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # Copyright (C) 2011 Igalia S.L. 3 3 # Copyright (C) 2012 Gustavo Noronha Silva <gns@gnome.org> … … 60 60 raise Exception('failed to find jhbuild revision: %s' % err) 61 61 62 return output.strip() == jhbuild_revision62 return output.strip().decode('utf-8', 'ignore') == jhbuild_revision 63 63 64 64 -
trunk/Tools/jhbuild/jhbuildrc_common.py
r264618 r290799 1 #!/usr/bin/env python2 1 # Copyright (C) 2011 Igalia S.L. 3 2 # Copyright (C) 2012 Intel Corporation -
trunk/Tools/wpe/jhbuildrc
r224151 r290799 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # Copyright (C) 2014 Igalia S.L. 3 3 #
Note:
See TracChangeset
for help on using the changeset viewer.