Gnome Games

Patches to enable rgba for most gnome-games. Sudoku is currently excluded. There are two patches and replace baize.png with an alpha channel (baize-rgba.png) for solitaire. The main patch gnome-games-rgba-main.patch and a patch to enable a transparent background in mahjongg (mahjongg-transparent-bg.patch) the attached screen shot shows effect with both patches and the alpha channel baize.png. I broke out the mahjongg patch because I hard coded the alpha channel value and I'm not sure that my logic for converting the background color to the rbga is the optimal, but it works for me.
Version: 
2.22.1
Type: 
Patch
Installation: 
patch -p1 <gnome-games-rgba-main.patch # Optional patch for semi transparent background in mahjongg patch -p1 <mahjongg-transparent-bg.patch make # after the make but before the make install cp baize-rgba.png $BUILDROOT/aisleriot/baize.png # (where $BUILDROOT evaluates to the the gnome-games build area) make install
License: 
GPL
AttachmentSize
gnome-games-rgba-main.patch13.77 KB
mahjongg-transparent-bg.patch5.67 KB
baize-rgba.png9.96 KB
Screenshot.png845.87 KB

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <b> <strong> <i> <em> <u> <br />

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions. Registered users are trusted and don't require this verification.
1 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.