]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
scripts/pybootchart: Port to python3
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 10:48:35 +0000 (11:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 21:56:40 +0000 (22:56 +0100)
commit949144681ad7f536732169351cab6d0612e9c566
tree74f66d455b2d5a084bf0e26ca0a19765287db6af
parent5eebe246e9444a5a7dbf4d8683ae08c468cfc401
scripts/pybootchart: Port to python3

This updates the pybootchart code (used for viewing build timing profiles)
to use python3. The bulk of the changes are to use gi instead of pygtk, i.e.
port from gtk+2 to gtk+3.

The main change is to make the bootchart widget inherit gtk.Scrollable
and change the way the scrollbars are implemented to match the new method
upstream. The drawing code used cairo already so can remain unchanged,

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/pybootchartgui/pybootchartgui.py
scripts/pybootchartgui/pybootchartgui/draw.py
scripts/pybootchartgui/pybootchartgui/gui.py
scripts/pybootchartgui/pybootchartgui/parsing.py