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

Can you please explain for a

Can you please explain for a inexperienced user how to do this... download ... (which files?)
open terminal
type what command and when? I get the following error after the first line: kbos:~$ patch -p1 can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/aisleriot/window.c 2008-05-07 17:23:08.000000000 -0400
|+++ b/aisleriot/window.c 2008-05-07 17:23:11.000000000 -0400
--------------------------
File to patch:

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.
3 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.