Merge lp:~noskcaj/ubuntu/trusty/gtk2-engines/merge into lp:ubuntu/trusty/gtk2-engines
- Trusty (14.04)
- merge
- Merge into trusty
Proposed by
Jackson Doak
Status: | Needs review |
---|---|
Proposed branch: | lp:~noskcaj/ubuntu/trusty/gtk2-engines/merge |
Merge into: | lp:ubuntu/trusty/gtk2-engines |
Diff against target: |
1246 lines (+79/-922) 29 files modified
.pc/01_libm.patch/engines/clearlooks/Makefile.am (+0/-50) .pc/01_libm.patch/engines/crux/Makefile.am (+0/-25) .pc/01_libm.patch/engines/glide/Makefile.am (+0/-40) .pc/01_libm.patch/engines/hc/Makefile.am (+0/-44) .pc/01_libm.patch/engines/industrial/Makefile.am (+0/-45) .pc/01_libm.patch/engines/lua/Makefile.am (+0/-117) .pc/01_libm.patch/engines/mist/Makefile.am (+0/-22) .pc/01_libm.patch/engines/redmond/Makefile.am (+0/-43) .pc/01_libm.patch/engines/thinice/Makefile.am (+0/-24) .pc/01_libm.patch/test/Makefile.am (+0/-153) .pc/02_glib-single-include.patch/engines/clearlooks/src/animation.c (+0/-341) .pc/applied-patches (+0/-2) debian/changelog (+18/-0) debian/control (+0/-1) debian/control.in (+0/-1) debian/patches/03_automake1.14.patch (+49/-0) debian/patches/series (+1/-0) debian/rules (+0/-3) engines/clearlooks/Makefile.am (+1/-1) engines/clearlooks/src/animation.c (+1/-1) engines/crux/Makefile.am (+1/-1) engines/glide/Makefile.am (+1/-1) engines/hc/Makefile.am (+1/-1) engines/industrial/Makefile.am (+1/-1) engines/lua/Makefile.am (+1/-1) engines/mist/Makefile.am (+1/-1) engines/redmond/Makefile.am (+1/-1) engines/thinice/Makefile.am (+1/-1) test/Makefile.am (+1/-1) |
To merge this branch: | bzr merge lp:~noskcaj/ubuntu/trusty/gtk2-engines/merge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+199053@code.launchpad.net |
Commit message
Description of the change
Merge from debian, they fixed the automake FTBFS better than we did.
To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote : | # |
Thanks. Uploaded.
review:
Approve
Unmerged revisions
- 74. By Jackson Doak
-
* Merge from debian, remaining changes:
- debian/control: Build depend on gnome-common, so we can get a .pot file
to use for launchpad translations
- debian/rules: build translations template
- Update watch file to only track GNOME 2.20 as gtk-engines was then
ported to gtk3 and finally abandoned.
* Drop our automake fix, debian now supports the new version
* Fix FTBS due to automake bug (Closes: #713353) - 73. By Jackson Doak
-
Merging shared upstream rev into target branch.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed directory '.pc/01_libm.patch' | |||
2 | === removed directory '.pc/01_libm.patch/engines' | |||
3 | === removed directory '.pc/01_libm.patch/engines/clearlooks' | |||
4 | === removed file '.pc/01_libm.patch/engines/clearlooks/Makefile.am' | |||
5 | --- .pc/01_libm.patch/engines/clearlooks/Makefile.am 2011-11-13 18:42:27 +0000 | |||
6 | +++ .pc/01_libm.patch/engines/clearlooks/Makefile.am 1970-01-01 00:00:00 +0000 | |||
7 | @@ -1,50 +0,0 @@ | |||
8 | 1 | # Clearlooks - a cairo based GTKengine | ||
9 | 2 | # Copyright (C) 2005-2006 Andrew Johnson <acjgenius@earthlink.net> | ||
10 | 3 | # Copyright (C) 2006-2007 Benjamin Berg <benjamin@sipsolutions.net> | ||
11 | 4 | # | ||
12 | 5 | # This library is free software; you can redistribute it and/or | ||
13 | 6 | # modify it under the terms of the GNU Lesser General Public | ||
14 | 7 | # License as published by the Free Software Foundation; either | ||
15 | 8 | # version 2.1 of the License, or (at your option) any later version. | ||
16 | 9 | # | ||
17 | 10 | # This library is distributed in the hope that it will be useful, | ||
18 | 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
20 | 13 | # Lesser General Public License for more details. | ||
21 | 14 | # | ||
22 | 15 | # You should have received a copy of the GNU Lesser General Public | ||
23 | 16 | # License along with this library; if not, write to the Free Software | ||
24 | 17 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
25 | 18 | # | ||
26 | 19 | # Project contact: <gnome-themes-list@gnome.org> | ||
27 | 20 | # | ||
28 | 21 | |||
29 | 22 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
30 | 23 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
31 | 24 | |||
32 | 25 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
33 | 26 | engine_LTLIBRARIES = libclearlooks.la | ||
34 | 27 | |||
35 | 28 | libclearlooks_la_SOURCES = \ | ||
36 | 29 | ./src/clearlooks_rc_style.c \ | ||
37 | 30 | ./src/clearlooks_rc_style.h \ | ||
38 | 31 | ./src/clearlooks_style.c \ | ||
39 | 32 | ./src/clearlooks_style.h \ | ||
40 | 33 | ./src/clearlooks_theme_main.c \ | ||
41 | 34 | ./src/support.c \ | ||
42 | 35 | ./src/animation.c \ | ||
43 | 36 | ./src/animation.h \ | ||
44 | 37 | ./src/support.h \ | ||
45 | 38 | ./src/clearlooks_draw.c \ | ||
46 | 39 | ./src/clearlooks_draw_glossy.c \ | ||
47 | 40 | ./src/clearlooks_draw_inverted.c \ | ||
48 | 41 | ./src/clearlooks_draw_gummy.c \ | ||
49 | 42 | ./src/clearlooks_draw.h \ | ||
50 | 43 | ./src/clearlooks_types.h | ||
51 | 44 | |||
52 | 45 | libclearlooks_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
53 | 46 | libclearlooks_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
54 | 47 | |||
55 | 48 | |||
56 | 49 | -include $(top_srcdir)/git.mk | ||
57 | 50 | |||
58 | 51 | 0 | ||
59 | === removed directory '.pc/01_libm.patch/engines/crux' | |||
60 | === removed file '.pc/01_libm.patch/engines/crux/Makefile.am' | |||
61 | --- .pc/01_libm.patch/engines/crux/Makefile.am 2011-11-13 18:42:27 +0000 | |||
62 | +++ .pc/01_libm.patch/engines/crux/Makefile.am 1970-01-01 00:00:00 +0000 | |||
63 | @@ -1,25 +0,0 @@ | |||
64 | 1 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
65 | 2 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
66 | 3 | |||
67 | 4 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
68 | 5 | |||
69 | 6 | engine_LTLIBRARIES = libcrux-engine.la | ||
70 | 7 | |||
71 | 8 | EXTRA_DIST = \ | ||
72 | 9 | ./AUTHORS | ||
73 | 10 | |||
74 | 11 | libcrux_engine_la_SOURCES = \ | ||
75 | 12 | ./src/crux.h \ | ||
76 | 13 | ./src/crux-draw.c \ | ||
77 | 14 | ./src/crux-draw.h \ | ||
78 | 15 | ./src/crux-main.c \ | ||
79 | 16 | ./src/crux-style.c \ | ||
80 | 17 | ./src/crux-style.h \ | ||
81 | 18 | ./src/crux-rc-style.c \ | ||
82 | 19 | ./src/crux-rc-style.h | ||
83 | 20 | |||
84 | 21 | libcrux_engine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
85 | 22 | libcrux_engine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
86 | 23 | |||
87 | 24 | -include $(top_srcdir)/git.mk | ||
88 | 25 | |||
89 | 26 | 0 | ||
90 | === removed directory '.pc/01_libm.patch/engines/glide' | |||
91 | === removed file '.pc/01_libm.patch/engines/glide/Makefile.am' | |||
92 | --- .pc/01_libm.patch/engines/glide/Makefile.am 2011-11-13 18:42:27 +0000 | |||
93 | +++ .pc/01_libm.patch/engines/glide/Makefile.am 1970-01-01 00:00:00 +0000 | |||
94 | @@ -1,40 +0,0 @@ | |||
95 | 1 | # Glide - a cairo based GTK+ engine | ||
96 | 2 | # Copyright (C) 2006 Andrew Johnson <acjgenius@earthlink.net> | ||
97 | 3 | # | ||
98 | 4 | # This library is free software; you can redistribute it and/or | ||
99 | 5 | # modify it under the terms of the GNU Lesser General Public | ||
100 | 6 | # License as published by the Free Software Foundation; either | ||
101 | 7 | # version 2.1 of the License, or (at your option) any later version. | ||
102 | 8 | # | ||
103 | 9 | # This library is distributed in the hope that it will be useful, | ||
104 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
105 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
106 | 12 | # Lesser General Public License for more details. | ||
107 | 13 | # | ||
108 | 14 | # You should have received a copy of the GNU Lesser General Public | ||
109 | 15 | # License along with this library; if not, write to the Free Software | ||
110 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
111 | 17 | # | ||
112 | 18 | # Project contact: <gnome-themes-list@gnome.org> | ||
113 | 19 | # | ||
114 | 20 | |||
115 | 21 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
116 | 22 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
117 | 23 | |||
118 | 24 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
119 | 25 | |||
120 | 26 | engine_LTLIBRARIES = libglide.la | ||
121 | 27 | |||
122 | 28 | libglide_la_SOURCES = \ | ||
123 | 29 | ./src/glide_gtk2_support.c \ | ||
124 | 30 | ./src/glide_gtk2_support.h \ | ||
125 | 31 | ./src/glide_gtk2_drawing.c \ | ||
126 | 32 | ./src/glide_gtk2_drawing.h \ | ||
127 | 33 | ./src/glide_gtk2_engine.c \ | ||
128 | 34 | ./src/glide_gtk2_engine.h | ||
129 | 35 | |||
130 | 36 | libglide_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
131 | 37 | libglide_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
132 | 38 | |||
133 | 39 | -include $(top_srcdir)/git.mk | ||
134 | 40 | |||
135 | 41 | 0 | ||
136 | === removed directory '.pc/01_libm.patch/engines/hc' | |||
137 | === removed file '.pc/01_libm.patch/engines/hc/Makefile.am' | |||
138 | --- .pc/01_libm.patch/engines/hc/Makefile.am 2011-11-13 18:42:27 +0000 | |||
139 | +++ .pc/01_libm.patch/engines/hc/Makefile.am 1970-01-01 00:00:00 +0000 | |||
140 | @@ -1,44 +0,0 @@ | |||
141 | 1 | # High Contrast - a cairo based GTK+ engine | ||
142 | 2 | # Copyright (C) 2003 Sun Microsystems Inc. | ||
143 | 3 | # Copyright (C) 2005-2006 Andrew Johnson <acjgenius@earthlink.net> | ||
144 | 4 | # | ||
145 | 5 | # This library is free software; you can redistribute it and/or | ||
146 | 6 | # modify it under the terms of the GNU Lesser General Public | ||
147 | 7 | # License as published by the Free Software Foundation; either | ||
148 | 8 | # version 2.1 of the License, or (at your option) any later version. | ||
149 | 9 | # | ||
150 | 10 | # This library is distributed in the hope that it will be useful, | ||
151 | 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
152 | 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
153 | 13 | # Lesser General Public License for more details. | ||
154 | 14 | # | ||
155 | 15 | # You should have received a copy of the GNU Lesser General Public | ||
156 | 16 | # License along with this library; if not, write to the Free Software | ||
157 | 17 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
158 | 18 | # | ||
159 | 19 | # Project contact: <gnome-themes-list@gnome.org> | ||
160 | 20 | # | ||
161 | 21 | |||
162 | 22 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
163 | 23 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
164 | 24 | |||
165 | 25 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
166 | 26 | |||
167 | 27 | engine_LTLIBRARIES = libhcengine.la | ||
168 | 28 | |||
169 | 29 | EXTRA_DIST = \ | ||
170 | 30 | ./AUTHORS | ||
171 | 31 | |||
172 | 32 | libhcengine_la_SOURCES = \ | ||
173 | 33 | ./src/hc_gtk2_engine.c \ | ||
174 | 34 | ./src/hc_gtk2_engine.h \ | ||
175 | 35 | ./src/hc_gtk2_support.c \ | ||
176 | 36 | ./src/hc_gtk2_support.h \ | ||
177 | 37 | ./src/hc_gtk2_drawing.h \ | ||
178 | 38 | ./src/hc-style.c | ||
179 | 39 | |||
180 | 40 | libhcengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
181 | 41 | libhcengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
182 | 42 | |||
183 | 43 | -include $(top_srcdir)/git.mk | ||
184 | 44 | |||
185 | 45 | 0 | ||
186 | === removed directory '.pc/01_libm.patch/engines/industrial' | |||
187 | === removed file '.pc/01_libm.patch/engines/industrial/Makefile.am' | |||
188 | --- .pc/01_libm.patch/engines/industrial/Makefile.am 2011-11-13 18:42:27 +0000 | |||
189 | +++ .pc/01_libm.patch/engines/industrial/Makefile.am 1970-01-01 00:00:00 +0000 | |||
190 | @@ -1,45 +0,0 @@ | |||
191 | 1 | # Clearlooks - a cairo based GTKengine | ||
192 | 2 | # Copyright (C) 2001 Red Hat, Inc. | ||
193 | 3 | # Copyright (C) 2002 Ximian, Inc. | ||
194 | 4 | # Copyright (C) 2006 Benjamin Berg <benjamin@sipsolutions.net> | ||
195 | 5 | # | ||
196 | 6 | # This library is free software; you can redistribute it and/or | ||
197 | 7 | # modify it under the terms of the GNU Lesser General Public | ||
198 | 8 | # License as published by the Free Software Foundation; either | ||
199 | 9 | # version 2.1 of the License, or (at your option) any later version. | ||
200 | 10 | # | ||
201 | 11 | # This library is distributed in the hope that it will be useful, | ||
202 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
203 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
204 | 14 | # Lesser General Public License for more details. | ||
205 | 15 | # | ||
206 | 16 | # You should have received a copy of the GNU Lesser General Public | ||
207 | 17 | # License along with this library; if not, write to the Free Software | ||
208 | 18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
209 | 19 | # | ||
210 | 20 | # Project contact: <gnome-themes-list@gnome.org> | ||
211 | 21 | # | ||
212 | 22 | |||
213 | 23 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
214 | 24 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
215 | 25 | |||
216 | 26 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
217 | 27 | |||
218 | 28 | engine_LTLIBRARIES = libindustrial.la | ||
219 | 29 | |||
220 | 30 | libindustrial_la_SOURCES = \ | ||
221 | 31 | ./src/industrial_rc_style.c \ | ||
222 | 32 | ./src/industrial_rc_style.h \ | ||
223 | 33 | ./src/industrial_style.c \ | ||
224 | 34 | ./src/industrial_style.h \ | ||
225 | 35 | ./src/industrial_theme_main.c | ||
226 | 36 | |||
227 | 37 | EXTRA_DIST = \ | ||
228 | 38 | ./src/parse_rc_style.h \ | ||
229 | 39 | ./AUTHORS | ||
230 | 40 | |||
231 | 41 | libindustrial_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
232 | 42 | libindustrial_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
233 | 43 | |||
234 | 44 | -include $(top_srcdir)/git.mk | ||
235 | 45 | |||
236 | 46 | 0 | ||
237 | === removed directory '.pc/01_libm.patch/engines/lua' | |||
238 | === removed file '.pc/01_libm.patch/engines/lua/Makefile.am' | |||
239 | --- .pc/01_libm.patch/engines/lua/Makefile.am 2011-11-13 18:42:27 +0000 | |||
240 | +++ .pc/01_libm.patch/engines/lua/Makefile.am 1970-01-01 00:00:00 +0000 | |||
241 | @@ -1,117 +0,0 @@ | |||
242 | 1 | # LUA - a LUA scriptable GTK+ engine | ||
243 | 2 | # Copyright (C) 2006 Daniel Borgmann <daniel.borgmann@gmail.com> | ||
244 | 3 | # | ||
245 | 4 | # This library is free software; you can redistribute it and/or | ||
246 | 5 | # modify it under the terms of the GNU Lesser General Public | ||
247 | 6 | # License as published by the Free Software Foundation; either | ||
248 | 7 | # version 2.1 of the License, or (at your option) any later version. | ||
249 | 8 | # | ||
250 | 9 | # This library is distributed in the hope that it will be useful, | ||
251 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
252 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
253 | 12 | # Lesser General Public License for more details. | ||
254 | 13 | # | ||
255 | 14 | # You should have received a copy of the GNU Lesser General Public | ||
256 | 15 | # License along with this library; if not, write to the Free Software | ||
257 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
258 | 17 | # | ||
259 | 18 | # Project contact: <gnome-themes-list@gnome.org> | ||
260 | 19 | # | ||
261 | 20 | |||
262 | 21 | |||
263 | 22 | NULL = | ||
264 | 23 | |||
265 | 24 | LIBLUA_FILES = \ | ||
266 | 25 | ./src/liblua/lapi.h \ | ||
267 | 26 | ./src/liblua/lauxlib.h \ | ||
268 | 27 | ./src/liblua/lcode.h \ | ||
269 | 28 | ./src/liblua/ldebug.h \ | ||
270 | 29 | ./src/liblua/ldo.h \ | ||
271 | 30 | ./src/liblua/lfunc.h \ | ||
272 | 31 | ./src/liblua/lgc.h \ | ||
273 | 32 | ./src/liblua/llex.h \ | ||
274 | 33 | ./src/liblua/llimits.h \ | ||
275 | 34 | ./src/liblua/lmem.h \ | ||
276 | 35 | ./src/liblua/lobject.h \ | ||
277 | 36 | ./src/liblua/lopcodes.h \ | ||
278 | 37 | ./src/liblua/lparser.h \ | ||
279 | 38 | ./src/liblua/lstate.h \ | ||
280 | 39 | ./src/liblua/lstring.h \ | ||
281 | 40 | ./src/liblua/ltable.h \ | ||
282 | 41 | ./src/liblua/ltm.h \ | ||
283 | 42 | ./src/liblua/lua.h \ | ||
284 | 43 | ./src/liblua/luaconf.h \ | ||
285 | 44 | ./src/liblua/lualib.h \ | ||
286 | 45 | ./src/liblua/lundump.h \ | ||
287 | 46 | ./src/liblua/lvm.h \ | ||
288 | 47 | ./src/liblua/lzio.h \ | ||
289 | 48 | ./src/liblua/lapi.c \ | ||
290 | 49 | ./src/liblua/lcode.c \ | ||
291 | 50 | ./src/liblua/ldebug.c \ | ||
292 | 51 | ./src/liblua/ldo.c \ | ||
293 | 52 | ./src/liblua/ldump.c \ | ||
294 | 53 | ./src/liblua/lfunc.c \ | ||
295 | 54 | ./src/liblua/lgc.c \ | ||
296 | 55 | ./src/liblua/liolib.c \ | ||
297 | 56 | ./src/liblua/llex.c \ | ||
298 | 57 | ./src/liblua/lmem.c \ | ||
299 | 58 | ./src/liblua/lobject.c \ | ||
300 | 59 | ./src/liblua/lopcodes.c \ | ||
301 | 60 | ./src/liblua/loslib.c \ | ||
302 | 61 | ./src/liblua/lparser.c \ | ||
303 | 62 | ./src/liblua/lstate.c \ | ||
304 | 63 | ./src/liblua/lstring.c \ | ||
305 | 64 | ./src/liblua/lstrlib.c \ | ||
306 | 65 | ./src/liblua/ltable.c \ | ||
307 | 66 | ./src/liblua/ltablib.c \ | ||
308 | 67 | ./src/liblua/ltm.c \ | ||
309 | 68 | ./src/liblua/lundump.c \ | ||
310 | 69 | ./src/liblua/lvm.c \ | ||
311 | 70 | ./src/liblua/lzio.c \ | ||
312 | 71 | ./src/liblua/lauxlib.c \ | ||
313 | 72 | ./src/liblua/lbaselib.c \ | ||
314 | 73 | ./src/liblua/ldblib.c \ | ||
315 | 74 | ./src/liblua/lmathlib.c \ | ||
316 | 75 | ./src/liblua/loadlib.c \ | ||
317 | 76 | ./src/liblua/linit.c | ||
318 | 77 | |||
319 | 78 | if SYSTEM_LUA | ||
320 | 79 | LIBLUA_SOURCES = | ||
321 | 80 | LIBLUA_CFLAGS = $(LUA_CFLAGS) | ||
322 | 81 | EXTRA_DIST = $(LIBLUA_FILES) | ||
323 | 82 | else | ||
324 | 83 | LIBLUA_CFLAGS = -I$(top_srcdir)/engines/lua/src/liblua | ||
325 | 84 | LIBLUA_SOURCES = $(LIBLUA_FILES) | ||
326 | 85 | EXTRA_DIST = | ||
327 | 86 | endif | ||
328 | 87 | |||
329 | 88 | INCLUDES = \ | ||
330 | 89 | -I$(top_srcdir)/engines/support \ | ||
331 | 90 | $(LIBLUA_CFLAGS) $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) \ | ||
332 | 91 | $(NULL) | ||
333 | 92 | |||
334 | 93 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
335 | 94 | engine_LTLIBRARIES = libluaengine.la | ||
336 | 95 | |||
337 | 96 | libluaengine_la_SOURCES = \ | ||
338 | 97 | ./src/draw_lib.c \ | ||
339 | 98 | ./src/draw_lib.h \ | ||
340 | 99 | ./src/draw_utils.c \ | ||
341 | 100 | ./src/draw_utils.h \ | ||
342 | 101 | ./src/lua_rc_style.c \ | ||
343 | 102 | ./src/lua_rc_style.h \ | ||
344 | 103 | ./src/lua_style.c \ | ||
345 | 104 | ./src/lua_style.h \ | ||
346 | 105 | ./src/lua_utils.c \ | ||
347 | 106 | ./src/lua_utils.h \ | ||
348 | 107 | ./src/main.c \ | ||
349 | 108 | ./src/misc_utils.c \ | ||
350 | 109 | ./src/misc_utils.h \ | ||
351 | 110 | $(LIBLUA_SOURCES) \ | ||
352 | 111 | $(NULL) | ||
353 | 112 | |||
354 | 113 | libluaengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
355 | 114 | libluaengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) $(LUA_LIBS) | ||
356 | 115 | |||
357 | 116 | -include $(top_srcdir)/git.mk | ||
358 | 117 | |||
359 | 118 | 0 | ||
360 | === removed directory '.pc/01_libm.patch/engines/mist' | |||
361 | === removed file '.pc/01_libm.patch/engines/mist/Makefile.am' | |||
362 | --- .pc/01_libm.patch/engines/mist/Makefile.am 2011-11-13 18:42:27 +0000 | |||
363 | +++ .pc/01_libm.patch/engines/mist/Makefile.am 1970-01-01 00:00:00 +0000 | |||
364 | @@ -1,22 +0,0 @@ | |||
365 | 1 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
366 | 2 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
367 | 3 | |||
368 | 4 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
369 | 5 | |||
370 | 6 | engine_LTLIBRARIES = libmist.la | ||
371 | 7 | |||
372 | 8 | EXTRA_DIST = \ | ||
373 | 9 | ./AUTHORS | ||
374 | 10 | |||
375 | 11 | libmist_la_SOURCES = \ | ||
376 | 12 | ./src/mist-rc-style.c \ | ||
377 | 13 | ./src/mist-rc-style.h \ | ||
378 | 14 | ./src/mist-style.c \ | ||
379 | 15 | ./src/mist-style.h \ | ||
380 | 16 | ./src/mist.c | ||
381 | 17 | |||
382 | 18 | libmist_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
383 | 19 | libmist_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
384 | 20 | |||
385 | 21 | -include $(top_srcdir)/git.mk | ||
386 | 22 | |||
387 | 23 | 0 | ||
388 | === removed directory '.pc/01_libm.patch/engines/redmond' | |||
389 | === removed file '.pc/01_libm.patch/engines/redmond/Makefile.am' | |||
390 | --- .pc/01_libm.patch/engines/redmond/Makefile.am 2011-11-13 18:42:27 +0000 | |||
391 | +++ .pc/01_libm.patch/engines/redmond/Makefile.am 1970-01-01 00:00:00 +0000 | |||
392 | @@ -1,43 +0,0 @@ | |||
393 | 1 | # Redmond95 - a cairo based GTK+ engine | ||
394 | 2 | # Copyright (C) 2001 Red Hat, Inc. | ||
395 | 3 | # Copyright (C) 2006 Andrew Johnson <acjgenius@earthlink.net> | ||
396 | 4 | # | ||
397 | 5 | # This library is free software; you can redistribute it and/or | ||
398 | 6 | # modify it under the terms of the GNU Lesser General Public | ||
399 | 7 | # License as published by the Free Software Foundation; either | ||
400 | 8 | # version 2.1 of the License, or (at your option) any later version. | ||
401 | 9 | # | ||
402 | 10 | # This library is distributed in the hope that it will be useful, | ||
403 | 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
404 | 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
405 | 13 | # Lesser General Public License for more details. | ||
406 | 14 | # | ||
407 | 15 | # You should have received a copy of the GNU Lesser General Public | ||
408 | 16 | # License along with this library; if not, write to the Free Software | ||
409 | 17 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
410 | 18 | # | ||
411 | 19 | # Project contact: <gnome-themes-list@gnome.org> | ||
412 | 20 | # | ||
413 | 21 | |||
414 | 22 | |||
415 | 23 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
416 | 24 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
417 | 25 | |||
418 | 26 | |||
419 | 27 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
420 | 28 | |||
421 | 29 | engine_LTLIBRARIES = libredmond95.la | ||
422 | 30 | |||
423 | 31 | libredmond95_la_SOURCES = \ | ||
424 | 32 | ./src/redmond_gtk2_misc.c \ | ||
425 | 33 | ./src/redmond_gtk2_misc.h \ | ||
426 | 34 | ./src/redmond_gtk2_drawing.c \ | ||
427 | 35 | ./src/redmond_gtk2_drawing.h \ | ||
428 | 36 | ./src/redmond_gtk2_engine.c \ | ||
429 | 37 | ./src/redmond_gtk2_engine.h | ||
430 | 38 | |||
431 | 39 | libredmond95_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
432 | 40 | libredmond95_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
433 | 41 | |||
434 | 42 | -include $(top_srcdir)/git.mk | ||
435 | 43 | |||
436 | 44 | 0 | ||
437 | === removed directory '.pc/01_libm.patch/engines/thinice' | |||
438 | === removed file '.pc/01_libm.patch/engines/thinice/Makefile.am' | |||
439 | --- .pc/01_libm.patch/engines/thinice/Makefile.am 2011-11-13 18:42:27 +0000 | |||
440 | +++ .pc/01_libm.patch/engines/thinice/Makefile.am 1970-01-01 00:00:00 +0000 | |||
441 | @@ -1,24 +0,0 @@ | |||
442 | 1 | INCLUDES = -I$(top_srcdir)/engines/support \ | ||
443 | 2 | $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS) | ||
444 | 3 | |||
445 | 4 | enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines | ||
446 | 5 | |||
447 | 6 | engine_LTLIBRARIES = libthinice.la | ||
448 | 7 | |||
449 | 8 | EXTRA_DIST = \ | ||
450 | 9 | ./AUTHORS | ||
451 | 10 | |||
452 | 11 | libthinice_la_SOURCES = \ | ||
453 | 12 | ./src/thinice_rc_style.c \ | ||
454 | 13 | ./src/thinice_rc_style.h \ | ||
455 | 14 | ./src/thinice_style.h \ | ||
456 | 15 | ./src/thinice_misc.h \ | ||
457 | 16 | ./src/thinice_misc.c \ | ||
458 | 17 | ./src/thinice_theme_draw.c \ | ||
459 | 18 | ./src/thinice_main.c | ||
460 | 19 | |||
461 | 20 | libthinice_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | ||
462 | 21 | libthinice_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) | ||
463 | 22 | |||
464 | 23 | -include $(top_srcdir)/git.mk | ||
465 | 24 | |||
466 | 25 | 0 | ||
467 | === removed directory '.pc/01_libm.patch/test' | |||
468 | === removed file '.pc/01_libm.patch/test/Makefile.am' | |||
469 | --- .pc/01_libm.patch/test/Makefile.am 2011-11-13 18:42:27 +0000 | |||
470 | +++ .pc/01_libm.patch/test/Makefile.am 1970-01-01 00:00:00 +0000 | |||
471 | @@ -1,153 +0,0 @@ | |||
472 | 1 | # gtk-engines - a collection of drawing engines for GTK+ | ||
473 | 2 | # Copyright (C) 2007 Benjamin Berg <benjamin@sipsolutions.net> | ||
474 | 3 | # | ||
475 | 4 | # This library is free software; you can redistribute it and/or | ||
476 | 5 | # modify it under the terms of the GNU Lesser General Public | ||
477 | 6 | # License as published by the Free Software Foundation; either | ||
478 | 7 | # version 2.1 of the License, or (at your option) any later version. | ||
479 | 8 | # | ||
480 | 9 | # This library is distributed in the hope that it will be useful, | ||
481 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
482 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
483 | 12 | # Lesser General Public License for more details. | ||
484 | 13 | # | ||
485 | 14 | # You should have received a copy of the GNU Lesser General Public | ||
486 | 15 | # License along with this library; if not, write to the Free Software | ||
487 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
488 | 17 | # | ||
489 | 18 | # Project contact: <gnome-themes-list@gnome.org> | ||
490 | 19 | # | ||
491 | 20 | |||
492 | 21 | |||
493 | 22 | # Initilize TESTS and XFAIL_TESTS | ||
494 | 23 | TESTS = | ||
495 | 24 | XFAIL_TESTS = | ||
496 | 25 | |||
497 | 26 | GTKRCS = \ | ||
498 | 27 | gtkrcs/buildin \ | ||
499 | 28 | gtkrcs/clearlooks \ | ||
500 | 29 | gtkrcs/clearlooks-glossy \ | ||
501 | 30 | gtkrcs/clearlooks-inverted \ | ||
502 | 31 | gtkrcs/clearlooks-gummy \ | ||
503 | 32 | gtkrcs/crux \ | ||
504 | 33 | gtkrcs/glide \ | ||
505 | 34 | gtkrcs/hc \ | ||
506 | 35 | gtkrcs/industrial \ | ||
507 | 36 | gtkrcs/mist \ | ||
508 | 37 | gtkrcs/redmond \ | ||
509 | 38 | gtkrcs/thinice | ||
510 | 39 | |||
511 | 40 | EXTRA_DIST = exported torture runinx valgrind-suppressions $(GTKRCS) | ||
512 | 41 | |||
513 | 42 | |||
514 | 43 | EXTRA_PROGRAMS = torturetest | ||
515 | 44 | torturetest_CFLAGS = $(GTK_CFLAGS) | ||
516 | 45 | torturetest_LDFLAGS = $(GTK_LIBS) | ||
517 | 46 | |||
518 | 47 | |||
519 | 48 | |||
520 | 49 | # Setup enviroment variables for GTK+ | ||
521 | 50 | # ie. add $(top_builddir)/tests to the module searchpath, so that GTK+ finds | ||
522 | 51 | # the engines in tests/engines | ||
523 | 52 | # Also set the debug-blocks debugging of g_slice, will be overridden during the valgrind test. | ||
524 | 53 | # Unset GTK_MODULES to not load a11y stuff or similar. | ||
525 | 54 | TESTS_ENVIRONMENT=GTK_PATH="." G_SLICE=debug-blocks GTK_MODULES="" | ||
526 | 55 | |||
527 | 56 | VALGRIND_COMMAND=valgrind --leak-resolution=high --leak-check=full --suppressions=$(srcdir)/valgrind-suppressions --num-callers=20 --log-file=valgrind-logs/THEME | ||
528 | 57 | # set some flags to make glib more valgrind friendly | ||
529 | 58 | VALGRIND_ENV=G_SLICE=always-malloc G_DEBUG=gc-friendly,resident-modules | ||
530 | 59 | |||
531 | 60 | ################################################################# | ||
532 | 61 | ################################################################# | ||
533 | 62 | |||
534 | 63 | ############################################################# | ||
535 | 64 | # Exported Symbols Test - Tests all engines unconditionally | ||
536 | 65 | ############################################################# | ||
537 | 66 | # Prefix with exported_ | ||
538 | 67 | EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES)) | ||
539 | 68 | |||
540 | 69 | TESTS += $(EXPORTED_SYMBOLS_TESTS) | ||
541 | 70 | |||
542 | 71 | |||
543 | 72 | ############################################################# | ||
544 | 73 | # Torture Test | ||
545 | 74 | ############################################################# | ||
546 | 75 | SUPPORTED_TORTURE_TEST_ENGINES = \ | ||
547 | 76 | clearlooks \ | ||
548 | 77 | crux \ | ||
549 | 78 | glide \ | ||
550 | 79 | hc \ | ||
551 | 80 | industrial \ | ||
552 | 81 | mist \ | ||
553 | 82 | redmond \ | ||
554 | 83 | thinice | ||
555 | 84 | |||
556 | 85 | # Filter engines that are not build from the set of engines | ||
557 | 86 | TORTURE_TEST_ENGINES = $(filter $(SUPPORTED_TORTURE_TEST_ENGINES),$(BUILD_ENGINES)) | ||
558 | 87 | # Prefix with torture_ | ||
559 | 88 | TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES)) | ||
560 | 89 | |||
561 | 90 | # Add TORTURE_TEST_ENGINES to list of tests | ||
562 | 91 | TESTS += $(TORTURE_TEST_TESTS) | ||
563 | 92 | |||
564 | 93 | # Possible other tests: | ||
565 | 94 | # - An extensive theme switch tests that loads/unloads the engine | ||
566 | 95 | # multiple times. A requirement here is that multiple rc styles need | ||
567 | 96 | # to be merged. | ||
568 | 97 | # - RC style merging? Don't think there is a way to do that. | ||
569 | 98 | # - Maybe a visual test that looks for visible changes? That way one can | ||
570 | 99 | # check that a modification does not break anything. (eg. when doing | ||
571 | 100 | # code cleanups) | ||
572 | 101 | # - I would love to have some coverage statistics for the torture test | ||
573 | 102 | # anyone knows how to do that? | ||
574 | 103 | |||
575 | 104 | ################################################################# | ||
576 | 105 | ################################################################# | ||
577 | 106 | |||
578 | 107 | engines: | ||
579 | 108 | -rm -rf engines | ||
580 | 109 | mkdir engines | ||
581 | 110 | cd engines; \ | ||
582 | 111 | for engine in $(BUILD_ENGINES); do \ | ||
583 | 112 | # Fail if the engine does not exist. \ | ||
584 | 113 | # Maybe we should force a build or something? \ | ||
585 | 114 | if [ ! -f ../$(top_builddir)/engines/$$engine/.libs/*.so ]; then \ | ||
586 | 115 | exit 1; \ | ||
587 | 116 | fi; \ | ||
588 | 117 | ln -s ../$(top_builddir)/engines/$$engine/.libs/*.so lib$$engine.so ; \ | ||
589 | 118 | done; | ||
590 | 119 | |||
591 | 120 | CLEANFILES = \ | ||
592 | 121 | torture_buildin-failed \ | ||
593 | 122 | $(EXTRA_PROGRAMS) | ||
594 | 123 | |||
595 | 124 | clean-local: | ||
596 | 125 | -$(RM) torture_* | ||
597 | 126 | -$(RM) exported_* | ||
598 | 127 | -$(RM) -r engines | ||
599 | 128 | -$(RM) -r valgrind-logs | ||
600 | 129 | -$(RM) -r symbols | ||
601 | 130 | |||
602 | 131 | valgrind-logs: | ||
603 | 132 | -$(RM) -r valgrind-logs | ||
604 | 133 | mkdir valgrind-logs | ||
605 | 134 | |||
606 | 135 | symbols: | ||
607 | 136 | mkdir symbols | ||
608 | 137 | |||
609 | 138 | torture_%: torture torturetest engines | ||
610 | 139 | cp $(srcdir)/torture $@ | ||
611 | 140 | |||
612 | 141 | exported_%: exported engines symbols | ||
613 | 142 | cp $(srcdir)/exported $@ | ||
614 | 143 | |||
615 | 144 | check-valgrind: valgrind-logs | ||
616 | 145 | $(MAKE) $(AM_MAKEFLAGS) check TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(VALGRIND_ENV) EXEC_WRAPPER=\"$(VALGRIND_COMMAND)\"" | ||
617 | 146 | |||
618 | 147 | test: | ||
619 | 148 | @$(MAKE) $(AM_MAKEFLAGS) check | ||
620 | 149 | |||
621 | 150 | .PHONY: engines valgrind-logs | ||
622 | 151 | |||
623 | 152 | -include $(top_srcdir)/git.mk | ||
624 | 153 | |||
625 | 154 | 0 | ||
626 | === removed directory '.pc/02_glib-single-include.patch' | |||
627 | === removed directory '.pc/02_glib-single-include.patch/engines' | |||
628 | === removed directory '.pc/02_glib-single-include.patch/engines/clearlooks' | |||
629 | === removed directory '.pc/02_glib-single-include.patch/engines/clearlooks/src' | |||
630 | === removed file '.pc/02_glib-single-include.patch/engines/clearlooks/src/animation.c' | |||
631 | --- .pc/02_glib-single-include.patch/engines/clearlooks/src/animation.c 2012-03-25 23:51:08 +0000 | |||
632 | +++ .pc/02_glib-single-include.patch/engines/clearlooks/src/animation.c 1970-01-01 00:00:00 +0000 | |||
633 | @@ -1,341 +0,0 @@ | |||
634 | 1 | /* Clearlooks - a cairo based GTK+ engine | ||
635 | 2 | * Copyright (C) 2006 Kulyk Nazar <schamane@myeburg.net> | ||
636 | 3 | * Copyright (C) 2006-2007 Benjamin Berg <benjamin@sipsolutions.net> | ||
637 | 4 | * | ||
638 | 5 | * This library is free software; you can redistribute it and/or | ||
639 | 6 | * modify it under the terms of the GNU Lesser General Public | ||
640 | 7 | * License as published by the Free Software Foundation; either | ||
641 | 8 | * version 2.1 of the License, or (at your option) any later version. | ||
642 | 9 | * | ||
643 | 10 | * This library is distributed in the hope that it will be useful, | ||
644 | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
645 | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
646 | 13 | * Lesser General Public License for more details. | ||
647 | 14 | * | ||
648 | 15 | * You should have received a copy of the GNU Lesser General Public | ||
649 | 16 | * License along with this library; if not, write to the Free Software | ||
650 | 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
651 | 18 | * | ||
652 | 19 | * Project contact: <gnome-themes-list@gnome.org> | ||
653 | 20 | * | ||
654 | 21 | * | ||
655 | 22 | * This code is responsible for the clearlooks animation support. The code | ||
656 | 23 | * works by forcing a redraw on the animated widget. | ||
657 | 24 | * | ||
658 | 25 | */ | ||
659 | 26 | |||
660 | 27 | |||
661 | 28 | #include "animation.h" | ||
662 | 29 | |||
663 | 30 | #ifdef HAVE_WORKING_ANIMATION | ||
664 | 31 | #include <glib/gtimer.h> | ||
665 | 32 | |||
666 | 33 | struct _AnimationInfo { | ||
667 | 34 | GTimer *timer; | ||
668 | 35 | |||
669 | 36 | gdouble start_modifier; | ||
670 | 37 | gdouble stop_time; | ||
671 | 38 | GtkWidget *widget; | ||
672 | 39 | }; | ||
673 | 40 | typedef struct _AnimationInfo AnimationInfo; | ||
674 | 41 | |||
675 | 42 | struct _SignalInfo { | ||
676 | 43 | GtkWidget *widget; | ||
677 | 44 | gulong handler_id; | ||
678 | 45 | }; | ||
679 | 46 | typedef struct _SignalInfo SignalInfo; | ||
680 | 47 | |||
681 | 48 | static GSList *connected_widgets = NULL; | ||
682 | 49 | static GHashTable *animated_widgets = NULL; | ||
683 | 50 | static int animation_timer_id = 0; | ||
684 | 51 | |||
685 | 52 | |||
686 | 53 | static gboolean animation_timeout_handler (gpointer data); | ||
687 | 54 | |||
688 | 55 | /* This forces a redraw on a widget */ | ||
689 | 56 | static void | ||
690 | 57 | force_widget_redraw (GtkWidget *widget) | ||
691 | 58 | { | ||
692 | 59 | if (GE_IS_PROGRESS_BAR (widget)) | ||
693 | 60 | gtk_widget_queue_resize (widget); | ||
694 | 61 | else | ||
695 | 62 | gtk_widget_queue_draw (widget); | ||
696 | 63 | } | ||
697 | 64 | |||
698 | 65 | /* ensures that the timer is running */ | ||
699 | 66 | static void | ||
700 | 67 | start_timer () | ||
701 | 68 | { | ||
702 | 69 | if (animation_timer_id == 0) | ||
703 | 70 | animation_timer_id = g_timeout_add (ANIMATION_DELAY, animation_timeout_handler, NULL); | ||
704 | 71 | } | ||
705 | 72 | |||
706 | 73 | /* ensures that the timer is stopped */ | ||
707 | 74 | static void | ||
708 | 75 | stop_timer () | ||
709 | 76 | { | ||
710 | 77 | if (animation_timer_id != 0) | ||
711 | 78 | { | ||
712 | 79 | g_source_remove(animation_timer_id); | ||
713 | 80 | animation_timer_id = 0; | ||
714 | 81 | } | ||
715 | 82 | } | ||
716 | 83 | |||
717 | 84 | |||
718 | 85 | /* destroys an AnimationInfo structure including the GTimer */ | ||
719 | 86 | static void | ||
720 | 87 | animation_info_destroy (AnimationInfo *animation_info) | ||
721 | 88 | { | ||
722 | 89 | g_timer_destroy (animation_info->timer); | ||
723 | 90 | g_free (animation_info); | ||
724 | 91 | } | ||
725 | 92 | |||
726 | 93 | |||
727 | 94 | /* This function does not unref the weak reference, because the object | ||
728 | 95 | * is beeing destroyed currently. */ | ||
729 | 96 | static void | ||
730 | 97 | on_animated_widget_destruction (gpointer data, GObject *object) | ||
731 | 98 | { | ||
732 | 99 | /* steal the animation info from the hash table (destroying it would | ||
733 | 100 | * result in the weak reference to be unrefed, which does not work | ||
734 | 101 | * as the widget is already destroyed. */ | ||
735 | 102 | g_hash_table_steal (animated_widgets, object); | ||
736 | 103 | animation_info_destroy ((AnimationInfo*) data); | ||
737 | 104 | } | ||
738 | 105 | |||
739 | 106 | /* This function also needs to unref the weak reference. */ | ||
740 | 107 | static void | ||
741 | 108 | destroy_animation_info_and_weak_unref (gpointer data) | ||
742 | 109 | { | ||
743 | 110 | AnimationInfo *animation_info = data; | ||
744 | 111 | |||
745 | 112 | /* force a last redraw. This is so that if the animation is removed, | ||
746 | 113 | * the widget is left in a sane state. */ | ||
747 | 114 | force_widget_redraw (animation_info->widget); | ||
748 | 115 | |||
749 | 116 | g_object_weak_unref (G_OBJECT (animation_info->widget), on_animated_widget_destruction, data); | ||
750 | 117 | animation_info_destroy (animation_info); | ||
751 | 118 | } | ||
752 | 119 | |||
753 | 120 | /* Find and return a pointer to the data linked to this widget, if it exists */ | ||
754 | 121 | static AnimationInfo* | ||
755 | 122 | lookup_animation_info (const GtkWidget *widget) | ||
756 | 123 | { | ||
757 | 124 | if (animated_widgets) | ||
758 | 125 | return g_hash_table_lookup (animated_widgets, widget); | ||
759 | 126 | |||
760 | 127 | return NULL; | ||
761 | 128 | } | ||
762 | 129 | |||
763 | 130 | /* Create all the relevant information for the animation, and insert it into the hash table. */ | ||
764 | 131 | static void | ||
765 | 132 | add_animation (const GtkWidget *widget, gdouble stop_time) | ||
766 | 133 | { | ||
767 | 134 | AnimationInfo *value; | ||
768 | 135 | |||
769 | 136 | /* object already in the list, do not add it twice */ | ||
770 | 137 | if (lookup_animation_info (widget)) | ||
771 | 138 | return; | ||
772 | 139 | |||
773 | 140 | if (animated_widgets == NULL) | ||
774 | 141 | animated_widgets = g_hash_table_new_full (g_direct_hash, g_direct_equal, | ||
775 | 142 | NULL, destroy_animation_info_and_weak_unref); | ||
776 | 143 | |||
777 | 144 | value = g_new(AnimationInfo, 1); | ||
778 | 145 | |||
779 | 146 | value->widget = (GtkWidget*) widget; | ||
780 | 147 | |||
781 | 148 | value->timer = g_timer_new (); | ||
782 | 149 | value->stop_time= stop_time; | ||
783 | 150 | value->start_modifier = 0.0; | ||
784 | 151 | |||
785 | 152 | g_object_weak_ref (G_OBJECT (widget), on_animated_widget_destruction, value); | ||
786 | 153 | g_hash_table_insert (animated_widgets, (GtkWidget*) widget, value); | ||
787 | 154 | |||
788 | 155 | start_timer (); | ||
789 | 156 | } | ||
790 | 157 | |||
791 | 158 | /* update the animation information for each widget. This will also queue a redraw | ||
792 | 159 | * and stop the animation if it is done. */ | ||
793 | 160 | static gboolean | ||
794 | 161 | update_animation_info (gpointer key, gpointer value, gpointer user_data) | ||
795 | 162 | { | ||
796 | 163 | AnimationInfo *animation_info = value; | ||
797 | 164 | GtkWidget *widget = key; | ||
798 | 165 | |||
799 | 166 | g_assert ((widget != NULL) && (animation_info != NULL)); | ||
800 | 167 | |||
801 | 168 | /* remove the widget from the hash table if it is not drawable */ | ||
802 | 169 | if (!GTK_WIDGET_DRAWABLE (widget)) | ||
803 | 170 | { | ||
804 | 171 | return TRUE; | ||
805 | 172 | } | ||
806 | 173 | |||
807 | 174 | if (GE_IS_PROGRESS_BAR (widget)) | ||
808 | 175 | { | ||
809 | 176 | gfloat fraction = gtk_progress_bar_get_fraction (GTK_PROGRESS_BAR (widget)); | ||
810 | 177 | |||
811 | 178 | /* stop animation for filled/not filled progress bars */ | ||
812 | 179 | if (fraction <= 0.0 || fraction >= 1.0) | ||
813 | 180 | return TRUE; | ||
814 | 181 | } | ||
815 | 182 | |||
816 | 183 | force_widget_redraw (widget); | ||
817 | 184 | |||
818 | 185 | /* stop at stop_time */ | ||
819 | 186 | if (animation_info->stop_time != 0 && | ||
820 | 187 | g_timer_elapsed (animation_info->timer, NULL) > animation_info->stop_time) | ||
821 | 188 | return TRUE; | ||
822 | 189 | |||
823 | 190 | return FALSE; | ||
824 | 191 | } | ||
825 | 192 | |||
826 | 193 | /* This gets called by the glib main loop every once in a while. */ | ||
827 | 194 | static gboolean | ||
828 | 195 | animation_timeout_handler (gpointer data) | ||
829 | 196 | { | ||
830 | 197 | /*g_print("** TICK **\n");*/ | ||
831 | 198 | |||
832 | 199 | /* enter threads as update_animation_info will use gtk/gdk. */ | ||
833 | 200 | gdk_threads_enter (); | ||
834 | 201 | g_hash_table_foreach_remove (animated_widgets, update_animation_info, NULL); | ||
835 | 202 | /* leave threads again */ | ||
836 | 203 | gdk_threads_leave (); | ||
837 | 204 | |||
838 | 205 | if(g_hash_table_size(animated_widgets)==0) | ||
839 | 206 | { | ||
840 | 207 | stop_timer (); | ||
841 | 208 | return FALSE; | ||
842 | 209 | } | ||
843 | 210 | |||
844 | 211 | return TRUE; | ||
845 | 212 | } | ||
846 | 213 | |||
847 | 214 | static void | ||
848 | 215 | on_checkbox_toggle (GtkWidget *widget, gpointer data) | ||
849 | 216 | { | ||
850 | 217 | AnimationInfo *animation_info = lookup_animation_info (widget); | ||
851 | 218 | |||
852 | 219 | if (animation_info != NULL) | ||
853 | 220 | { | ||
854 | 221 | gfloat elapsed = g_timer_elapsed (animation_info->timer, NULL); | ||
855 | 222 | |||
856 | 223 | animation_info->start_modifier = elapsed - animation_info->start_modifier; | ||
857 | 224 | } | ||
858 | 225 | else | ||
859 | 226 | { | ||
860 | 227 | add_animation (widget, CHECK_ANIMATION_TIME); | ||
861 | 228 | } | ||
862 | 229 | } | ||
863 | 230 | |||
864 | 231 | static void | ||
865 | 232 | on_connected_widget_destruction (gpointer data, GObject *widget) | ||
866 | 233 | { | ||
867 | 234 | connected_widgets = g_slist_remove (connected_widgets, data); | ||
868 | 235 | g_free (data); | ||
869 | 236 | } | ||
870 | 237 | |||
871 | 238 | static void | ||
872 | 239 | disconnect_all_signals () | ||
873 | 240 | { | ||
874 | 241 | GSList * item = connected_widgets; | ||
875 | 242 | while (item != NULL) | ||
876 | 243 | { | ||
877 | 244 | SignalInfo *signal_info = (SignalInfo*) item->data; | ||
878 | 245 | |||
879 | 246 | g_signal_handler_disconnect (signal_info->widget, signal_info->handler_id); | ||
880 | 247 | g_object_weak_unref (G_OBJECT (signal_info->widget), on_connected_widget_destruction, signal_info); | ||
881 | 248 | g_free (signal_info); | ||
882 | 249 | |||
883 | 250 | item = g_slist_next (item); | ||
884 | 251 | } | ||
885 | 252 | |||
886 | 253 | g_slist_free (connected_widgets); | ||
887 | 254 | connected_widgets = NULL; | ||
888 | 255 | } | ||
889 | 256 | |||
890 | 257 | /* helper function for clearlooks_animation_connect_checkbox */ | ||
891 | 258 | static gint | ||
892 | 259 | find_signal_info (gconstpointer signal_info, gconstpointer widget) | ||
893 | 260 | { | ||
894 | 261 | if (((SignalInfo*)signal_info)->widget == widget) | ||
895 | 262 | return 0; | ||
896 | 263 | else | ||
897 | 264 | return 1; | ||
898 | 265 | } | ||
899 | 266 | |||
900 | 267 | |||
901 | 268 | /* external interface */ | ||
902 | 269 | |||
903 | 270 | /* adds a progress bar */ | ||
904 | 271 | void | ||
905 | 272 | clearlooks_animation_progressbar_add (GtkWidget *progressbar) | ||
906 | 273 | { | ||
907 | 274 | gdouble fraction = gtk_progress_bar_get_fraction (GTK_PROGRESS_BAR (progressbar)); | ||
908 | 275 | |||
909 | 276 | if (fraction < 1.0 && fraction > 0.0) | ||
910 | 277 | add_animation ((GtkWidget*) progressbar, 0.0); | ||
911 | 278 | } | ||
912 | 279 | |||
913 | 280 | /* hooks up the signals for check and radio buttons */ | ||
914 | 281 | void | ||
915 | 282 | clearlooks_animation_connect_checkbox (GtkWidget *widget) | ||
916 | 283 | { | ||
917 | 284 | if (GE_IS_CHECK_BUTTON (widget)) | ||
918 | 285 | { | ||
919 | 286 | if (!g_slist_find_custom (connected_widgets, widget, find_signal_info)) | ||
920 | 287 | { | ||
921 | 288 | SignalInfo * signal_info = g_new (SignalInfo, 1); | ||
922 | 289 | |||
923 | 290 | signal_info->widget = widget; | ||
924 | 291 | signal_info->handler_id = g_signal_connect ((GObject*)widget, "toggled", G_CALLBACK (on_checkbox_toggle), NULL); | ||
925 | 292 | |||
926 | 293 | connected_widgets = g_slist_append (connected_widgets, signal_info); | ||
927 | 294 | g_object_weak_ref (G_OBJECT (widget), on_connected_widget_destruction, signal_info); | ||
928 | 295 | } | ||
929 | 296 | } | ||
930 | 297 | } | ||
931 | 298 | |||
932 | 299 | /* returns TRUE if the widget is animated, and FALSE otherwise */ | ||
933 | 300 | gboolean | ||
934 | 301 | clearlooks_animation_is_animated (GtkWidget *widget) | ||
935 | 302 | { | ||
936 | 303 | return lookup_animation_info (widget) != NULL ? TRUE : FALSE; | ||
937 | 304 | } | ||
938 | 305 | |||
939 | 306 | /* returns the elapsed time for the animation */ | ||
940 | 307 | gdouble | ||
941 | 308 | clearlooks_animation_elapsed (gpointer data) | ||
942 | 309 | { | ||
943 | 310 | AnimationInfo *animation_info = lookup_animation_info (data); | ||
944 | 311 | |||
945 | 312 | if (animation_info) | ||
946 | 313 | return g_timer_elapsed (animation_info->timer, NULL) | ||
947 | 314 | - animation_info->start_modifier; | ||
948 | 315 | else | ||
949 | 316 | return 0.0; | ||
950 | 317 | } | ||
951 | 318 | |||
952 | 319 | /* cleans up all resources of the animation system */ | ||
953 | 320 | void | ||
954 | 321 | clearlooks_animation_cleanup () | ||
955 | 322 | { | ||
956 | 323 | disconnect_all_signals (); | ||
957 | 324 | |||
958 | 325 | if (animated_widgets != NULL) | ||
959 | 326 | { | ||
960 | 327 | g_hash_table_destroy (animated_widgets); | ||
961 | 328 | animated_widgets = NULL; | ||
962 | 329 | } | ||
963 | 330 | |||
964 | 331 | stop_timer (); | ||
965 | 332 | } | ||
966 | 333 | #else /* !HAVE_WORKING_ANIMATION */ | ||
967 | 334 | /* Warn here so the message is only displayed once. */ | ||
968 | 335 | #warning Disabling animation support as it currently needs deprecated symbols and GTK_DISABLE_DEPRECATED is enabled. | ||
969 | 336 | |||
970 | 337 | static void clearlooks_animation_dummy_function_so_wall_shuts_up_when_animations_is_disabled() | ||
971 | 338 | { | ||
972 | 339 | clearlooks_animation_dummy_function_so_wall_shuts_up_when_animations_is_disabled(); | ||
973 | 340 | } | ||
974 | 341 | #endif /* HAVE_WORKING_ANIMATION */ | ||
975 | 342 | 0 | ||
976 | === removed file '.pc/applied-patches' | |||
977 | --- .pc/applied-patches 2012-09-25 17:02:08 +0000 | |||
978 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 | |||
979 | @@ -1,2 +0,0 @@ | |||
980 | 1 | 01_libm.patch | ||
981 | 2 | 02_glib-single-include.patch | ||
982 | 3 | 0 | ||
983 | === modified file 'debian/changelog' | |||
984 | --- debian/changelog 2013-10-10 15:51:58 +0000 | |||
985 | +++ debian/changelog 2013-12-15 20:38:39 +0000 | |||
986 | @@ -1,3 +1,21 @@ | |||
987 | 1 | gtk2-engines (1:2.20.2-3ubuntu1) UNRELEASED; urgency=medium | ||
988 | 2 | |||
989 | 3 | * Merge from debian, remaining changes: | ||
990 | 4 | - debian/control: Build depend on gnome-common, so we can get a .pot file | ||
991 | 5 | to use for launchpad translations | ||
992 | 6 | - debian/rules: build translations template | ||
993 | 7 | - Update watch file to only track GNOME 2.20 as gtk-engines was then | ||
994 | 8 | ported to gtk3 and finally abandoned. | ||
995 | 9 | * Drop our automake fix, debian now supports the new version | ||
996 | 10 | |||
997 | 11 | -- Jackson Doak <noskcaj@ubuntu.com> Mon, 16 Dec 2013 07:09:33 +1100 | ||
998 | 12 | |||
999 | 13 | gtk2-engines (1:2.20.2-3) unstable; urgency=low | ||
1000 | 14 | |||
1001 | 15 | * Fix FTBS due to automake bug (Closes: #713353) | ||
1002 | 16 | |||
1003 | 17 | -- Balint Reczey <balint@balintreczey.hu> Fri, 15 Nov 2013 09:35:40 +0100 | ||
1004 | 18 | |||
1005 | 1 | gtk2-engines (1:2.20.2-2ubuntu2) saucy; urgency=low | 19 | gtk2-engines (1:2.20.2-2ubuntu2) saucy; urgency=low |
1006 | 2 | 20 | ||
1007 | 3 | * Force to use automake1.11, thus fixing FTBFS. | 21 | * Force to use automake1.11, thus fixing FTBFS. |
1008 | 4 | 22 | ||
1009 | === modified file 'debian/control' | |||
1010 | --- debian/control 2013-10-10 15:51:58 +0000 | |||
1011 | +++ debian/control 2013-12-15 20:38:39 +0000 | |||
1012 | @@ -11,7 +11,6 @@ | |||
1013 | 11 | Standards-Version: 3.8.4 | 11 | Standards-Version: 3.8.4 |
1014 | 12 | Build-Depends: debhelper (>= 5), | 12 | Build-Depends: debhelper (>= 5), |
1015 | 13 | dh-autoreconf, | 13 | dh-autoreconf, |
1016 | 14 | automake1.11, | ||
1017 | 15 | gnome-common, | 14 | gnome-common, |
1018 | 16 | libgtk2.0-dev (>= 2.19.7-2), | 15 | libgtk2.0-dev (>= 2.19.7-2), |
1019 | 17 | gnome-pkg-tools (>= 0.10), | 16 | gnome-pkg-tools (>= 0.10), |
1020 | 18 | 17 | ||
1021 | === modified file 'debian/control.in' | |||
1022 | --- debian/control.in 2013-10-10 15:51:58 +0000 | |||
1023 | +++ debian/control.in 2013-12-15 20:38:39 +0000 | |||
1024 | @@ -7,7 +7,6 @@ | |||
1025 | 7 | Standards-Version: 3.8.4 | 7 | Standards-Version: 3.8.4 |
1026 | 8 | Build-Depends: debhelper (>= 5), | 8 | Build-Depends: debhelper (>= 5), |
1027 | 9 | dh-autoreconf, | 9 | dh-autoreconf, |
1028 | 10 | automake1.11, | ||
1029 | 11 | gnome-common, | 10 | gnome-common, |
1030 | 12 | libgtk2.0-dev (>= 2.19.7-2), | 11 | libgtk2.0-dev (>= 2.19.7-2), |
1031 | 13 | gnome-pkg-tools (>= 0.10), | 12 | gnome-pkg-tools (>= 0.10), |
1032 | 14 | 13 | ||
1033 | === added file 'debian/patches/03_automake1.14.patch' | |||
1034 | --- debian/patches/03_automake1.14.patch 1970-01-01 00:00:00 +0000 | |||
1035 | +++ debian/patches/03_automake1.14.patch 2013-12-15 20:38:39 +0000 | |||
1036 | @@ -0,0 +1,49 @@ | |||
1037 | 1 | Description: Work around FTBFS due to automake 1.14 bug | ||
1038 | 2 | Automake generates invalid Makefiles when patsubst is used in | ||
1039 | 3 | Makefile.am. To work around this problem configure injects the | ||
1040 | 4 | patsubsts to the Makefile now. | ||
1041 | 5 | . | ||
1042 | 6 | Author: Balint Reczey <balint@balintreczey.hu> | ||
1043 | 7 | Bug-Debian: http://bugs.debian.org/713353 | ||
1044 | 8 | --- gtk2-engines-2.20.2.orig/configure.ac | ||
1045 | 9 | +++ gtk2-engines-2.20.2/configure.ac | ||
1046 | 10 | @@ -142,6 +142,8 @@ fi | ||
1047 | 11 | AC_SUBST(BUILD_ENGINES) | ||
1048 | 12 | AC_SUBST(BUILD_THEMES) | ||
1049 | 13 | AC_SUBST(BUILD_SCHEMAS) | ||
1050 | 14 | +AC_SUBST([auto_find_tests], ['$(patsubst %,exported_%,$(BUILD_ENGINES)) torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES))']) | ||
1051 | 15 | + | ||
1052 | 16 | |||
1053 | 17 | if test $animation = "yes"; then | ||
1054 | 18 | AC_DEFINE_UNQUOTED(HAVE_ANIMATION, 1, [Defines whether to compile with animation support]) | ||
1055 | 19 | --- gtk2-engines-2.20.2.orig/test/Makefile.am | ||
1056 | 20 | +++ gtk2-engines-2.20.2/test/Makefile.am | ||
1057 | 21 | @@ -64,9 +64,10 @@ VALGRIND_ENV=G_SLICE=always-malloc G_DEB | ||
1058 | 22 | # Exported Symbols Test - Tests all engines unconditionally | ||
1059 | 23 | ############################################################# | ||
1060 | 24 | # Prefix with exported_ | ||
1061 | 25 | -EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES)) | ||
1062 | 26 | +# disabled to work around automake bug #14561 | ||
1063 | 27 | +# EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES)) | ||
1064 | 28 | |||
1065 | 29 | -TESTS += $(EXPORTED_SYMBOLS_TESTS) | ||
1066 | 30 | +#TESTS += $(EXPORTED_SYMBOLS_TESTS) | ||
1067 | 31 | |||
1068 | 32 | |||
1069 | 33 | ############################################################# | ||
1070 | 34 | @@ -85,10 +86,13 @@ SUPPORTED_TORTURE_TEST_ENGINES = \ | ||
1071 | 35 | # Filter engines that are not build from the set of engines | ||
1072 | 36 | TORTURE_TEST_ENGINES = $(filter $(SUPPORTED_TORTURE_TEST_ENGINES),$(BUILD_ENGINES)) | ||
1073 | 37 | # Prefix with torture_ | ||
1074 | 38 | -TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES)) | ||
1075 | 39 | +# disabled to work around automake bug #14561 | ||
1076 | 40 | +# TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES)) | ||
1077 | 41 | |||
1078 | 42 | # Add TORTURE_TEST_ENGINES to list of tests | ||
1079 | 43 | -TESTS += $(TORTURE_TEST_TESTS) | ||
1080 | 44 | +# disabled to work around automake bug #14561 | ||
1081 | 45 | +#TESTS += $(TORTURE_TEST_TESTS) | ||
1082 | 46 | +TESTS += @auto_find_tests@ | ||
1083 | 47 | |||
1084 | 48 | # Possible other tests: | ||
1085 | 49 | # - An extensive theme switch tests that loads/unloads the engine | ||
1086 | 0 | 50 | ||
1087 | === modified file 'debian/patches/series' | |||
1088 | --- debian/patches/series 2012-09-25 17:02:08 +0000 | |||
1089 | +++ debian/patches/series 2013-12-15 20:38:39 +0000 | |||
1090 | @@ -1,2 +1,3 @@ | |||
1091 | 1 | 01_libm.patch | 1 | 01_libm.patch |
1092 | 2 | 02_glib-single-include.patch | 2 | 02_glib-single-include.patch |
1093 | 3 | 03_automake1.14.patch | ||
1094 | 3 | 4 | ||
1095 | === modified file 'debian/rules' | |||
1096 | --- debian/rules 2013-10-10 15:51:58 +0000 | |||
1097 | +++ debian/rules 2013-12-15 20:38:39 +0000 | |||
1098 | @@ -1,8 +1,5 @@ | |||
1099 | 1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
1100 | 2 | 2 | ||
1101 | 3 | export AUTOMAKE=automake-1.11 | ||
1102 | 4 | export ACLOCAL=aclocal-1.11 | ||
1103 | 5 | |||
1104 | 6 | buildbasedir := $(CURDIR)/debian/build | 3 | buildbasedir := $(CURDIR)/debian/build |
1105 | 7 | DEB_BUILDDIR := $(buildbasedir)/x11 | 4 | DEB_BUILDDIR := $(buildbasedir)/x11 |
1106 | 8 | DEB_BUILDDIR_gtk2-engines-udeb := $(buildbasedir)/x11-udeb | 5 | DEB_BUILDDIR_gtk2-engines-udeb := $(buildbasedir)/x11-udeb |
1107 | 9 | 6 | ||
1108 | === modified file 'engines/clearlooks/Makefile.am' | |||
1109 | --- engines/clearlooks/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1110 | +++ engines/clearlooks/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1111 | @@ -43,7 +43,7 @@ | |||
1112 | 43 | ./src/clearlooks_types.h | 43 | ./src/clearlooks_types.h |
1113 | 44 | 44 | ||
1114 | 45 | libclearlooks_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 45 | libclearlooks_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1116 | 46 | libclearlooks_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 46 | libclearlooks_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1117 | 47 | 47 | ||
1118 | 48 | 48 | ||
1119 | 49 | -include $(top_srcdir)/git.mk | 49 | -include $(top_srcdir)/git.mk |
1120 | 50 | 50 | ||
1121 | === modified file 'engines/clearlooks/src/animation.c' | |||
1122 | --- engines/clearlooks/src/animation.c 2012-09-25 17:02:08 +0000 | |||
1123 | +++ engines/clearlooks/src/animation.c 2013-12-15 20:38:39 +0000 | |||
1124 | @@ -28,7 +28,7 @@ | |||
1125 | 28 | #include "animation.h" | 28 | #include "animation.h" |
1126 | 29 | 29 | ||
1127 | 30 | #ifdef HAVE_WORKING_ANIMATION | 30 | #ifdef HAVE_WORKING_ANIMATION |
1129 | 31 | #include <glib.h> | 31 | #include <glib/gtimer.h> |
1130 | 32 | 32 | ||
1131 | 33 | struct _AnimationInfo { | 33 | struct _AnimationInfo { |
1132 | 34 | GTimer *timer; | 34 | GTimer *timer; |
1133 | 35 | 35 | ||
1134 | === modified file 'engines/crux/Makefile.am' | |||
1135 | --- engines/crux/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1136 | +++ engines/crux/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1137 | @@ -19,7 +19,7 @@ | |||
1138 | 19 | ./src/crux-rc-style.h | 19 | ./src/crux-rc-style.h |
1139 | 20 | 20 | ||
1140 | 21 | libcrux_engine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 21 | libcrux_engine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1142 | 22 | libcrux_engine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 22 | libcrux_engine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1143 | 23 | 23 | ||
1144 | 24 | -include $(top_srcdir)/git.mk | 24 | -include $(top_srcdir)/git.mk |
1145 | 25 | 25 | ||
1146 | 26 | 26 | ||
1147 | === modified file 'engines/glide/Makefile.am' | |||
1148 | --- engines/glide/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1149 | +++ engines/glide/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1150 | @@ -34,7 +34,7 @@ | |||
1151 | 34 | ./src/glide_gtk2_engine.h | 34 | ./src/glide_gtk2_engine.h |
1152 | 35 | 35 | ||
1153 | 36 | libglide_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 36 | libglide_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1155 | 37 | libglide_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 37 | libglide_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1156 | 38 | 38 | ||
1157 | 39 | -include $(top_srcdir)/git.mk | 39 | -include $(top_srcdir)/git.mk |
1158 | 40 | 40 | ||
1159 | 41 | 41 | ||
1160 | === modified file 'engines/hc/Makefile.am' | |||
1161 | --- engines/hc/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1162 | +++ engines/hc/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1163 | @@ -38,7 +38,7 @@ | |||
1164 | 38 | ./src/hc-style.c | 38 | ./src/hc-style.c |
1165 | 39 | 39 | ||
1166 | 40 | libhcengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 40 | libhcengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1168 | 41 | libhcengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 41 | libhcengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1169 | 42 | 42 | ||
1170 | 43 | -include $(top_srcdir)/git.mk | 43 | -include $(top_srcdir)/git.mk |
1171 | 44 | 44 | ||
1172 | 45 | 45 | ||
1173 | === modified file 'engines/industrial/Makefile.am' | |||
1174 | --- engines/industrial/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1175 | +++ engines/industrial/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1176 | @@ -39,7 +39,7 @@ | |||
1177 | 39 | ./AUTHORS | 39 | ./AUTHORS |
1178 | 40 | 40 | ||
1179 | 41 | libindustrial_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 41 | libindustrial_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1181 | 42 | libindustrial_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 42 | libindustrial_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1182 | 43 | 43 | ||
1183 | 44 | -include $(top_srcdir)/git.mk | 44 | -include $(top_srcdir)/git.mk |
1184 | 45 | 45 | ||
1185 | 46 | 46 | ||
1186 | === modified file 'engines/lua/Makefile.am' | |||
1187 | --- engines/lua/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1188 | +++ engines/lua/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1189 | @@ -111,7 +111,7 @@ | |||
1190 | 111 | $(NULL) | 111 | $(NULL) |
1191 | 112 | 112 | ||
1192 | 113 | libluaengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 113 | libluaengine_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1194 | 114 | libluaengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) $(LUA_LIBS) -lm | 114 | libluaengine_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) $(LUA_LIBS) |
1195 | 115 | 115 | ||
1196 | 116 | -include $(top_srcdir)/git.mk | 116 | -include $(top_srcdir)/git.mk |
1197 | 117 | 117 | ||
1198 | 118 | 118 | ||
1199 | === modified file 'engines/mist/Makefile.am' | |||
1200 | --- engines/mist/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1201 | +++ engines/mist/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1202 | @@ -16,7 +16,7 @@ | |||
1203 | 16 | ./src/mist.c | 16 | ./src/mist.c |
1204 | 17 | 17 | ||
1205 | 18 | libmist_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 18 | libmist_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1207 | 19 | libmist_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 19 | libmist_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1208 | 20 | 20 | ||
1209 | 21 | -include $(top_srcdir)/git.mk | 21 | -include $(top_srcdir)/git.mk |
1210 | 22 | 22 | ||
1211 | 23 | 23 | ||
1212 | === modified file 'engines/redmond/Makefile.am' | |||
1213 | --- engines/redmond/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1214 | +++ engines/redmond/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1215 | @@ -37,7 +37,7 @@ | |||
1216 | 37 | ./src/redmond_gtk2_engine.h | 37 | ./src/redmond_gtk2_engine.h |
1217 | 38 | 38 | ||
1218 | 39 | libredmond95_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 39 | libredmond95_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1220 | 40 | libredmond95_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 40 | libredmond95_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1221 | 41 | 41 | ||
1222 | 42 | -include $(top_srcdir)/git.mk | 42 | -include $(top_srcdir)/git.mk |
1223 | 43 | 43 | ||
1224 | 44 | 44 | ||
1225 | === modified file 'engines/thinice/Makefile.am' | |||
1226 | --- engines/thinice/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1227 | +++ engines/thinice/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1228 | @@ -18,7 +18,7 @@ | |||
1229 | 18 | ./src/thinice_main.c | 18 | ./src/thinice_main.c |
1230 | 19 | 19 | ||
1231 | 20 | libthinice_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols | 20 | libthinice_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols |
1233 | 21 | libthinice_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) -lm | 21 | libthinice_la_LIBADD = $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS) |
1234 | 22 | 22 | ||
1235 | 23 | -include $(top_srcdir)/git.mk | 23 | -include $(top_srcdir)/git.mk |
1236 | 24 | 24 | ||
1237 | 25 | 25 | ||
1238 | === modified file 'test/Makefile.am' | |||
1239 | --- test/Makefile.am 2011-12-05 20:26:07 +0000 | |||
1240 | +++ test/Makefile.am 2013-12-15 20:38:39 +0000 | |||
1241 | @@ -42,7 +42,7 @@ | |||
1242 | 42 | 42 | ||
1243 | 43 | EXTRA_PROGRAMS = torturetest | 43 | EXTRA_PROGRAMS = torturetest |
1244 | 44 | torturetest_CFLAGS = $(GTK_CFLAGS) | 44 | torturetest_CFLAGS = $(GTK_CFLAGS) |
1246 | 45 | torturetest_LDFLAGS = $(GTK_LIBS) -lm | 45 | torturetest_LDFLAGS = $(GTK_LIBS) |
1247 | 46 | 46 | ||
1248 | 47 | 47 | ||
1249 | 48 | 48 |
The last lines of the bzr commit was from debcommit.