[FFe] sdl1.2 needs mir support patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsdl1.2 (Ubuntu) |
Incomplete
|
Medium
|
Brandon Schaefer | ||
libsdl1.2 (Ubuntu RTM) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Asking for FFe for the libsdl1.2 Mir patch. It would be a nice bonus for 16.10 Mir users as there are a lot of interesting SDL 1.2 applications out there.
Builds fine and can be tested from https:/
The diff is in comment #1, I just changed it to be debian/
As can be seen, the patch is clean and the codepaths shouldn't be encountered in non-Mir situations so risks should be low.
--- original report below ---
There is a branch here with mir support:
lp:~brandontschaefer/+junk/sdl1.2-mir
From here theres one more patch from Marco I need to get into the main branch then propose an actual patch for main.
Related branches
- Martin Pitt: Disapprove
-
Diff: 1642 lines (+1610/-2)3 files modifieddebian/control (+8/-2)
debian/patches/mir_support.patch (+1601/-0)
debian/patches/series (+1/-0)
Changed in libsdl1.2 (Ubuntu): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: patch |
summary: |
- sdl1.2 needs mir support patch + [FFe] sdl1.2 needs mir support patch |
description: | updated |
description: | updated |
description: | updated |
Changed in libsdl1.2 (Ubuntu RTM): | |
assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
Changed in libsdl1.2 (Ubuntu RTM): | |
assignee: | Timo Jyrinki (timo-jyrinki) → nobody |
Tested with on yakkety with mir 0.24 as well as mir trunk (0.25)
Applications tested working:
-mplayer
-viruskiller
-bomberclone
-tuxfootball
(and more)
If anyone wants to test this as well: /tmp/mir_ socket)
Have a mir server running (yakkety 0.24 preferred)
If the server is on a tty (MIR_SOCKET=
otherwise you'll be fine on the Mir on X server.
Run the game you want: SDL_VIDEODRIVER=mir ./game_you_want
Any game that uses glew will not work sadly as there still needs a port there. This also isnt 100% coverage, not a 100% complete port. Some functions missing including custom cursors, relative mouse support and a few others.
X11 will still be picked before Mir, so this will not cause any issues there. You have to manually do SDL_VIDEODRIVER=mir if you want to run Mir over X. Or if you're on a Mir server only it'll just work.