mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
498e78897b
When uninstalled, we look at the directory of the executable to find the resources. This patch uses realpath in replacement to abspath so the path get expended, and symlink are followed. |
||
---|---|---|
.. | ||
data | ||
GstDebugViewer | ||
pixmaps | ||
po | ||
tests | ||
.gitignore | ||
gst-debug-viewer | ||
gst-debug-viewer.desktop.in | ||
MANIFEST.in | ||
README | ||
setup.cfg | ||
setup.py |
# how to build # ./setup.py build; sudo ./setup.py install --prefix=/usr sudo chmod a+r /usr/share/gst-debug-viewer/*.ui # porting issues # http://stackoverflow.com/questions/11025700/generictreemodel-with-pygobject-introspection-gtk-3 # tips # OLD: prev_action.connect_proxy(prev_button) NEW: prev_button.set_related_action (prev_action) OLD: box.pack_start (widget) NEW: box.pack_start (widget, True, True, 0) OLD: column.pack_start (cell) NEW: column.pack_start (cell, True) OLD: view_column.get_cell_renderers () NEW: column.get_cells () # porting ressources # https://www.xpra.org/trac/ticket/90?cversion=0&cnum_hist=3 https://mail.gnome.org/archives/commits-list/2013-October/msg05205.html # profiling # python -m profile -o output.pstats path/to/your/script arg1 arg2 gprof2dot.py -f pstats output.pstats | dot -Tpng -o output.png ~/projects/tools/gprof2dot/gprof2dot.py -f pstats output.pstats | dot -Tpng -o output.png eog output.png python -m cProfile -o output.pstats2 ./gst-debug-viewer debug.noansi.log ~/projects/tools/gprof2dot/gprof2dot.py -f pstats output.pstats2 | dot -Tpng -o output2.png eog output2.png