Package: lightspark-common
Version: 0.5.2.1-1panayk1
Severity: normal
Dear Maintainer,
On a Lemote Yeeloong (MIPS), Lightspark does not work with the16-bit
color depth screen. It gives the error "No suitable graphics configuration
found".
After applying the attached patch, I could get some flash applications
to work with the standalone player. I am not sure whether non-24 bit visuals
should be allowed, but for now it works.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: mipsel (mips64)
Kernel: Linux 3.0.4-libre-lemote (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lightspark-common depends on:
ii libavcodec53 4:0.7.2-1+b1
ii libavformat53 4:0.7.2-1+b1
ii libavutil51 4:0.7.2-1+b1
ii libboost-filesystem1.46.1 1.46.1-7
ii libboost-system1.46.1 1.46.1-7
ii libc6 2.13-21
ii libcairo2 1.10.2-6.1
ii libcurl3-gnutls 7.21.7-3
ii libffi5 3.0.10-3
ii libgcc1 1:4.6.1-15
ii libgl1-mesa-glx [libgl1] 7.11-6
ii libglew1.6 1.6.0-4
ii libglib2.0-0 2.28.6-1
ii libglibmm-2.4-1c2a 2.28.1-1
ii libgtk2.0-0 2.24.6-2
ii libjpeg8 8c-2
ii libpango1.0-0 1.29.4-1
ii libpcre3 8.12-4
ii libpulse0 1.0-4
ii libstdc++6 4.6.1-15
ii libx11-6 2:1.4.4-2
ii libxml++2.6-2 2.34.1-1
ii libxml2 2.7.8.dfsg-5
ii ttf-liberation 1.07.0-1
ii zlib1g 1:1.2.3.4.dfsg-3
Versions of packages lightspark-common recommends:
ii pulseaudio 1.0-4
lightspark-common suggests no packages.
-- no debconf information
Index: lightspark-0.5.2.1/src/backends/rendering.cpp
===================================================================
--- lightspark-0.5.2.1.orig/src/backends/rendering.cpp 2011-10-28 23:05:17.000000000 +0300
+++ lightspark-0.5.2.1/src/backends/rendering.cpp 2011-10-31 17:05:57.654829577 +0200
@@ -236,7 +236,7 @@
LOG(LOG_ERROR,_("glX not present"));
return NULL;
}
- int attrib[10]={GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_DOUBLEBUFFER, True, None};
+ int attrib[10]={GLX_DOUBLEBUFFER, True, None};
GLXFBConfig* fb=glXChooseFBConfig(d, 0, attrib, &a);
if(!fb)
{