Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/tecnoballz/files: tecnoballz-0.92-gcc43.patch tecnoballz-0.92-automake.patch
Date: Thu, 09 Oct 2008 20:42:47
Message-Id: E1Ko2LM-0007p9-G7@stork.gentoo.org
1 tupone 08/10/09 20:42:44
2
3 Added: tecnoballz-0.92-gcc43.patch
4 tecnoballz-0.92-automake.patch
5 Log:
6 New package. Request bug #70447 by Mr. Bones. <mr_bones_@g.o>
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch?rev=1.1&content-type=text/plain
14
15 Index: tecnoballz-0.92-gcc43.patch
16 ===================================================================
17 --- include/surface_sdl.h.old 2008-10-07 10:16:25.000000000 +0200
18 +++ include/surface_sdl.h 2008-10-07 10:16:38.000000000 +0200
19 @@ -46,7 +46,7 @@
20 ~surface_sdl ();
21 SDL_Surface* get_surface ();
22 char* get_pixel_data ();
23 - char* get_pixel_data (Uint32 coord_x, Uint32 coord_x);
24 + char* get_pixel_data (Uint32 coord_x, Uint32 coord_y);
25 Uint32 get_row_size ();
26 Uint32 get_offset (Uint32 xcoord, Uint32 ycoord);
27 void clear (Uint32 color = 0);
28
29
30
31 1.1 games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch
32
33 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch?rev=1.1&content-type=text/plain
35
36 Index: tecnoballz-0.92-automake.patch
37 ===================================================================
38 --- Makefile.am.old 2008-10-07 10:42:11.000000000 +0200
39 +++ Makefile.am 2008-10-07 10:49:35.000000000 +0200
40 @@ -1,18 +1,6 @@
41
42 -gamesdir = $(prefix)/games
43 -scoredir = /var/games/tecnoballz
44 -score = tecnoballz.hi
45 +localstate_DATA = tecnoballz.hi
46
47 -SUBDIRS = src
48 +SUBDIRS = src man
49
50 -pkgdatadir = $(mandir)/man6
51 -dist_pkgdata_DATA = man/tecnoballz.6
52 -
53 -install-data-hook:
54 - -chown root:games "$(DESTDIR)/$(gamesdir)/tecnoballz"
55 - -chmod 2755 "$(DESTDIR)/$(gamesdir)/tecnoballz"
56 - $(INSTALL) -d $(DESTDIR)/$(scoredir)
57 - $(INSTALL) $(score) $(DESTDIR)/$(scoredir)
58 - -chown root:games "$(DESTDIR)/$(scoredir)/$(score)"
59 - -chmod 664 "$(DESTDIR)/$(scoredir)/$(score)"
60
61 --- src/Makefile.am.old 2008-10-07 11:16:44.000000000 +0200
62 +++ src/Makefile.am 2008-10-07 11:18:32.000000000 +0200
63 @@ -1,14 +1,12 @@
64
65 NULL =
66 -gamesdir = $(prefix)/games
67 -scoredir = /var/games/tecnoballz
68 score = tecnoballz.hi
69
70 SUBDIRS = TecnoballZ
71
72 -games_PROGRAMS = tecnoballz
73 +bin_PROGRAMS = tecnoballz
74 tecnoballz_SOURCES = $(SOURCES_MAIN)
75 -tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@
76 +tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(localstatedir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@
77 tecnoballz_LDADD = @XLIB_LIBS@ @SDL_LIBS@ @MM_LIBS@ @MIKMOD_LIBS@ -L.
78
79 SOURCES_MAIN = \
80 --- src/TecnoballZ/Makefile.am.old 2008-10-07 17:17:47.000000000 +0200
81 +++ src/TecnoballZ/Makefile.am 2008-10-07 17:20:03.000000000 +0200
82 @@ -1,6 +1,6 @@
83 NULL =
84
85 -SUBDIRS = lores hires textures sounds musics
86 +SUBDIRS = lores hires textures sounds musics texts
87
88 pkgdatadir = $(datadir)/tecnoballz
89 dist_pkgdata_DATA = \
90 @@ -14,4 +14,5 @@
91 tilemap-guardians_40.data \
92 tilemap-menu_20.data \
93 tilemap-menu_40.data \
94 + levels-data.xml \
95 $(NULL)
96 --- /dev/null 2008-09-26 15:07:13.448004290 +0200
97 +++ src/TecnoballZ/texts/Makefile.am 2008-10-07 17:30:18.000000000 +0200
98 @@ -0,0 +1,11 @@
99 +textsdir = $(pkgdatadir)/texts
100 +texts_DATA = main_menu_en.txt \
101 + main_menu_fr.txt \
102 + popup_menu_en.txt \
103 + popup_menu_fr.txt \
104 + scrolltext_en.txt \
105 + scrolltext_fr.txt \
106 + shop_en.txt \
107 + shop_fr.txt \
108 + short_info_messages_en.txt \
109 + short_info_messages_fr.txt
110 --- configure.ac.old 2008-10-08 23:10:26.000000000 +0200
111 +++ configure.ac 2008-10-08 23:11:08.000000000 +0200
112 @@ -50,21 +50,6 @@
113
114 LDFLAGS_="${LDFLAGS_save}"
115
116 -AC_CHECK_LIB(vorbisfile, ov_raw_seek, [
117 - MM_LIBS="${MM_LIBS} -lvorbisfile"
118 -],[
119 - AC_MSG_ERROR(Could not find the vorbisfile lib : -lvorbisfile)
120 -])
121 -AC_CHECK_LIB(ogg, ogg_stream_packetin, [
122 - MM_LIBS="${MM_LIBS} -logg"
123 -],[
124 - AC_MSG_ERROR(Could not find the ogg lib : -logg)
125 -])
126 -AC_CHECK_LIB(smpeg, SMPEG_play, [
127 - MM_LIBS="${MM_LIBS} -lsmpeg"
128 -],[
129 - AC_MSG_ERROR(Could not find the smpeg lib : -lsmpeg)
130 -])
131 AC_SUBST(MM_LIBS)
132
133 AC_CHECK_LIB(mikmod, Player_Stop, [
134 @@ -81,5 +81,8 @@
135
136
137 dnl Output makefiles
138 -AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile)
139 +AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile
140 + src/TecnoballZ/texts/Makefile
141 + man/Makefile
142 + man/fr/Makefile)
143
144 --- /dev/null 2008-09-26 15:07:13.448004290 +0200
145 +++ man/Makefile.am 2008-10-08 10:36:15.000000000 +0200
146 @@ -0,0 +1,2 @@
147 +SUBDIRS = fr
148 +man_MANS = tecnoballz.6
149 --- /dev/null 2008-09-26 15:07:13.448004290 +0200
150 +++ man/fr/Makefile.am 2008-10-08 10:36:15.000000000 +0200
151 @@ -0,0 +1,2 @@
152 +mandir = @mandir@/fr
153 +man_MANS = tecnoballz.6