There is a graphics bug (arguably) in Qt4 that makes the unity-2d interface colours look all wrong on PowerPC.
I have written a kludged fix for this, which is now being studied by the Devs and will no doubt be included in a future update.
If anyone wants to try my kludge it's pretty straightforward just following these instructions:
http://www.cyberciti.biz/faq/rebuild...inary-package/
The source package is unity-2d
After the dpkg-source -x step, edit (as root) the file iconimageprovider.cpp (found in /launcher/UnityApplications)
Find the lines
Code:
QImage swappedImage = image.rgbSwapped();
g_object_unref(pixbuf);
near the end of the file and paste the following code between them
Code:
/* Start of PJW Kludge*/
int imageheight = swappedImage.height();
int imagewidth = swappedImage.width();
QRgb pixcolour;
int pixalpha, pixred, pixgreen, pixblue;
for (int x = 0; x < imagewidth; x++)
{
for (int y = 0; y < imageheight; y++)
{
pixcolour = swappedImage.pixel(x, y);
pixalpha = qAlpha(pixcolour);
pixred = qRed(pixcolour);
pixgreen = qGreen(pixcolour);
pixblue = qBlue(pixcolour);
pixcolour = qRgba(pixalpha, pixblue, pixgreen, pixred);
swappedImage.setPixel(x, y, pixcolour);
}
}
/* End of PJW Kludge*/
Then continue with the rest of the compilation. You end up with a bunch of .deb files in the build directory that you install with
Code:
sudo dpkg -i ./*.deb
Hope this helps!
Bookmarks