Port Xpresser to GTK3 so it is supported in upcoming Ubuntu Release 12.04
Registered by
Chris Gregan
Current version of Xpresser is incompatible with the upcoming version of Ubuntu due to the GTK version change. Xpresser must be ported to GTK3 for it to continue to be used in 12.04 and beyond.
Blueprint information
- Status:
- Complete
- Approver:
- Chris Gregan
- Priority:
- Undefined
- Drafter:
- Chris Gregan
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Chris Gregan
- Completed by
- Chris Gregan
Whiteboard
One of the issue currently is that in GTK3, there is no quick way to get a numpy array of pixels from a framebuffer, which is how Xpresser worked in GTK2.
[Sylvain Pineau] Based on Gustavo's work to port the application to GTK3, one possible solustion is to use a cairo surface to populate the framebuffer. As we don't need the alpha channel, we have to slice the resulting array differently to perform the comparison.
(?)