~ubuntu-branches/ubuntu/quantal/sgt-puzzles/quantal

« back to all changes in this revision

Viewing changes to debian/patches/304_combine-binaries.diff

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2011-03-01 04:16:54 UTC
  • mfrom: (1.2.9 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20110301041654-949qy9qrroziy7vq
* New upstream version:
  - Add Range and Signpost puzzles
  - Use stock icons and conventional order for dialog buttons
  - Use Cairo for screen rendering
* Update German translation, thanks to Helge Kreutzmann
* Remove or update patches applied or partially applied upstream
* Use Debian source format 3.0 (quilt)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 #include <stdio.h>
15
15
 #include <assert.h>
16
16
 #include <stdlib.h>
17
 
@@ -39,6 +41,13 @@
18
 
 # define OLD_FILESEL
19
 
 #endif
 
17
@@ -45,6 +47,14 @@
20
18
 
 
19
 /* #undef USE_CAIRO */
 
20
 /* #define NO_THICK_LINE */
 
21
+
21
22
+#ifdef COMBINED
22
23
+static const gameindex *thegameindex;
23
24
+#define thegame (*thegameindex->game)
28
29
 #ifdef DEBUGGING
29
30
 static FILE *debug_fp = NULL;
30
31
 
31
 
@@ -1650,8 +1659,6 @@
 
32
@@ -2127,8 +2137,6 @@
32
33
     GList *iconlist;
33
34
     int x, y, n;
34
35
     char errbuf[1024];
37
38
 
38
39
     fe = snew(frontend);
39
40
 
40
 
@@ -2070,7 +2077,8 @@
 
41
@@ -2523,7 +2531,8 @@
41
42
 
42
43
 int main(int argc, char **argv)
43
44
 {
47
48
     char *error;
48
49
     int ngenerate = 0, print = FALSE, px = 1, py = 1;
49
50
     int soln = FALSE, colour = FALSE;
50
 
@@ -2085,6 +2093,26 @@
 
51
@@ -2538,6 +2547,26 @@
51
52
     char **av = argv;
52
53
     char errbuf[500];
53
54
 
123
124
 # Version management.
124
125
 !begin vc
125
126
 version.obj: *.c *.h
126
 
@@ -171,8 +181,11 @@
 
127
@@ -175,8 +185,11 @@
127
128
 # make install for Unix.
128
129
 !begin gtk
129
130
 install:
138
139
 !end
139
140
--- sgt-puzzles.orig/mkfiles.pl
140
141
+++ sgt-puzzles/mkfiles.pl
141
 
@@ -1120,6 +1120,7 @@
 
142
@@ -1126,6 +1126,7 @@
142
143
     "prefix=/usr\n",
143
144
     "exec_prefix=\$(prefix)\n",
144
145
     "bindir=\$(exec_prefix)/bin\n",
148
149
     "mandir=\$(sharedir)/man\n",
149
150
--- sgt-puzzles.orig/puzzles.h
150
151
+++ sgt-puzzles/puzzles.h
151
 
@@ -527,7 +527,13 @@
 
152
@@ -532,7 +532,13 @@
152
153
  * there's a list of all available puzzles in array form.
153
154
  */
154
155
 #ifdef COMBINED
473
474
 
474
475
 !begin gtk
475
476
 GAMES += towers
 
477
--- sgt-puzzles.orig/signpost.R
 
478
+++ sgt-puzzles/signpost.R
 
479
@@ -9,6 +9,7 @@
 
480
 signpostsolver : [C] signpost[STANDALONE_SOLVER] SIGNPOST_EXTRA STANDALONE
 
481
 
 
482
 ALL += signpost[COMBINED] SIGNPOST_EXTRA
 
483
+ALL_ICONS += signpost-icon
 
484
 
 
485
 !begin gtk
 
486
 GAMES += signpost
 
487
--- sgt-puzzles.orig/range.R
 
488
+++ sgt-puzzles/range.R
 
489
@@ -5,6 +5,7 @@
 
490
 range    : [G] WINDOWS COMMON range range.res|noicon.res
 
491
 
 
492
 ALL += range[COMBINED]
 
493
+ALL_ICONS += range-icon
 
494
 
 
495
 !begin gtk
 
496
 GAMES += range