[Ubuntu-x-swat] [Bug 1418262] Re: apport hook to detect wayland sessions

2015-02-04 Thread Martin Pitt
I propose that weston (or another typical wayland package) ships something like /usr/share/apport/general-hooks/weston.py (or wayland- session.py perhaps) which does the appropriate detection, and does report.setdefault('Tags', '') report['Tags'] += ' wayland-session' Does

[Ubuntu-x-swat] [Bug 1418262] Re: apport hook to detect wayland sessions

2015-02-04 Thread Martin Pitt
So I was told that weston isn't actually installed; the wayland libs are in sync with Debian, so we can also put it into apport. But I want to point out that I cannot maintain that hook -- if the logic changes, I depend on external contributors to update it for me. ** Package changed: weston (Ubun

[Ubuntu-x-swat] [Bug 1418262] Re: apport hook to detect wayland sessions

2015-02-04 Thread Martin Pitt
Of course the hook needs to do some runtime detection (like checking the equivalent of $DISPLAY) before it sets the tag. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to weston in Ubuntu. https://bugs.launchpad.net/bugs/1418262 Title: apport ho