Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 30089
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ernst Persson <ernstp@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libsdl.tar.gz New ebuild. application/unix-tar Ernst Persson 2003-10-01 11:12 0000 2.02 KB Details
sdl_x11vm_ppc.diff Only the sdl patch. patch Ernst Persson 2003-10-07 02:34 0000 1.85 KB Details | Diff
sdl_x11vm_ppc.diff Better patch. patch Ernst Persson 2004-01-05 00:28 0000 568 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30089 depends on: Show dependency tree
Bug 30089 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-01 11:10 0000
Here's a patch that enables videomode switching on ppc.
It also includes a safety check a few lines higher up, that could be necessary
for people with bad XF86Config files. You could either include it or not.
I think it should depend on >=xfree-4.3.0, since they changed the behaviour of
the modeline functions a bit there.

This is the evil code:

#if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__)
    /* The alpha, sparc64 and PPC XFree86 servers are also buggy */
    buggy_X11 = 1;
#endif
    /* Enumerate the available fullscreen modes */
    if ( ! buggy_X11 ) {

        SDL Mode Switching Code.

    }

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Ernst Persson 2003-10-01 11:12:03 0000 -------
Created an attachment (id=18573) [details]
New ebuild.

------- Comment #2 From Bartosch Pixa 2003-10-01 19:48:52 0000 -------
plz only make plain text attachments

------- Comment #3 From Ernst Persson 2003-10-01 23:17:54 0000 -------
Sorry, it didn't say anywhere.

Anyway, the patch works great with Maelstrom, Abuse, LGeneral and mplayer.
I've also contacted LGP and they will include it in the next update of Majesty.

But it will probably take a while before the patch shows up in SDL's cvs
or a stable release.

------- Comment #4 From Ernst Persson 2003-10-07 02:34:15 0000 -------
Created an attachment (id=18894) [details]
Only the sdl patch.

------- Comment #5 From SpanKY 2004-01-03 14:53:41 0000 -------
is this patch for libsdl-1.2.5 or libsdl-1.2.6 ?

------- Comment #6 From Ernst Persson 2004-01-05 00:28:48 0000 -------
Created an attachment (id=23175) [details]
Better patch.

------- Comment #7 From Ernst Persson 2004-01-05 00:31:37 0000 -------
This patch is for libsdl-1.2.6 (Iv

------- Comment #8 From Ernst Persson 2004-01-05 00:31:37 0000 -------
This patch is for libsdl-1.2.6 (Iv´e made it -4 on my comp).

Should look something like this:

src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/${P}-fullscreen.patch #31235
        epatch ${FILESDIR}/${PV}-alsa-1.0.0.patch #35049
        epatch ${FILESDIR}/sdl_x11vm_ppc.diff

There are no buggy Xservers.

------- Comment #9 From Ernst Persson 2004-02-09 02:18:58 0000 -------
Debian (finally) included this patch about 2 weeks ago.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210406

------- Comment #10 From SpanKY 2004-02-09 08:46:52 0000 -------
roger, i'll take a look at this

------- Comment #11 From SpanKY 2004-02-09 19:25:37 0000 -------
sparc guys: if you dont know of any issues with libsdl-1.2.6-r3 could you
please push it to stable ? you're the last one :P

------- Comment #12 From Sven Blumenstein (RETIRED) 2004-02-10 08:02:29 0000 -------
The entire OpenGL/SDL stuff is horrible broken on sparc AFAIK. 
Not a big deal at all because there are only a small number of good working acclerated graphic cards for sparc machines.

If anyone gets an sdl application to work on sparc, give him a hug and a cookie.

------- Comment #13 From SpanKY 2004-02-10 16:30:20 0000 -------
so it doesnt matter one way or the other if 1.2.6 is stable over 1.2.5 ? :)

libsdl doesnt just work with OpenGL ... it has other backends it can use ...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug