Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/stardict/files: stardict-3.0.1-changelog-minor-typo-fixes.patch stardict-3.0.1-transparent_trayicon.patch stardict-3.0.1-gcc43.patch stardict-gentoo.patch stardict-gtk24.patch
Date: Mon, 28 Apr 2008 10:52:20
Message-Id: E1JqQy0-0003ZE-AL@stork.gentoo.org
1 pva 08/04/28 10:52:16
2
3 Added: stardict-3.0.1-changelog-minor-typo-fixes.patch
4 stardict-3.0.1-transparent_trayicon.patch
5 stardict-3.0.1-gcc43.patch
6 Removed: stardict-gentoo.patch stardict-gtk24.patch
7 Log:
8 Added qqwry USE flag to install QQWry.Dat to make QQWry plugin workable; added pronounce USE flag to install WyabdcRealPeopleTTS wav files; small cleanups, bug #217895, thank Denilson for the ideas/work. Fixed compilation with gcc-4.3, bug #216238, thank Martin Väth for report/fix. Added patch to fix transparency of tray icon (from upstream). Added patch to fix minor typos in ChangeLog (from debian). Removed unused patches/ebuilds.
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.1 app-dicts/stardict/files/stardict-3.0.1-changelog-minor-typo-fixes.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-changelog-minor-typo-fixes.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-changelog-minor-typo-fixes.patch?rev=1.1&content-type=text/plain
16
17 Index: stardict-3.0.1-changelog-minor-typo-fixes.patch
18 ===================================================================
19 #! /bin/sh /usr/share/dpatch/dpatch-run
20 ## 04_changelog-minor-typo-fixes.dpatch by Anthony Fok <foka@××××××.org>
21 ##
22 ## All lines beginning with `## DP:' are a description of the patch.
23 ## DP: Minor typo fixes to upstream ChangeLog.
24
25 @DPATCH@
26
27 --- stardict-3.0.1.orig/ChangeLog
28 +++ stardict-3.0.1/ChangeLog
29 @@ -12,7 +12,7 @@
30
31 2007.8.13
32 StarDict-3.0.0 (RedHat) released.
33 -http://www.StarDict.org on-line dictionries website is out in 2006.9.25. We have developed the stardictd dictionary server for it.
34 +http://www.StarDict.org on-line dictionaries website is out in 2006.9.25. We have developed the stardictd dictionary server for it.
35 StarDict's total download count reached two millions in 2007.3.8.
36 Network dictionaries support.
37 Plugin system.
38 @@ -38,14 +38,14 @@
39 KingSoft PowerWord support. This added 158 dictionaries. The data is cracked by Dwing(http://free5.ys168.com/?dwing).
40 Synonym support.
41 Sort word list by collate function support.
42 -XDXF project(http://xdxf.sourceforge.net) has port its dictionaries to StarDict format, some dictionries are come from Sdictionary. This added 615 dictionries.
43 +XDXF project (http://xdxf.sourceforge.net) has port its dictionaries to StarDict format, some dictionaries are come from Sdictionary. This added 615 dictionaries.
44 French translation, thanks Christophe Durville <cdurpp@×××××××.com>.
45 Brazilian Portuguese translation, thanks Ernesto <ernesto_mor@×××××××××.ar>.
46 Add cfdict dictionary, thanks Gilles Vigner <xiaogil@×××××.fr>.
47 Add English-Thai Lexitron Dictionary and Thai-English Lexitron Dictionary, thanks Suphanut Thanyaboon <suphanut@××××××.org>.
48 Add many Japanese dictionaries.
49 Add some Chinese dictionaries, data comes from KDic.
50 -Add two Germany dictionries: ldaf, xindehan.
51 +Add two Germany dictionaries: ldaf, xindehan.
52 Add duden Germany dictionary, thanks Liu Guizhu <zhuzi813@×××××.com> for providing data file.
53 Add fundset dictionary, thanks Lin Fanshun <fundset@×××××××.com> for providing data file.
54 Add DrEye4in1 dictionary, thanks Lilian <fairyland@×××××.com> for providing data file.
55 @@ -54,7 +54,7 @@
56
57 2006.4.18
58 StarDict-2.4.7 (complete) released.
59 -Port to GPE(http://gpe.handhelds.org).
60 +Port to GPE (http://gpe.handhelds.org).
61 Full-text search.
62 Acrobat plug-in in Win32, thanks Dewolf Xue <dewolf_matri_x@×××.com>.
63 Evgeniy's patches for special character search and other changes.
64 @@ -94,14 +94,14 @@
65
66 2005.7.20
67 StarDict-2.4.5 (final) released.
68 -Source code optimize and many changes, thanks Evgeney <dushistov@××××.ru>.
69 +Source code optimize and many changes, thanks Evgeniy <dushistov@××××.ru>.
70 Dutch translation and help document translation, thanks Ruud Slaats <ruudslaats@×××××××××××××.nl>.
71
72 2004.11.28
73 StarDict-2.4.4 (fine) released.
74 -sdcv-0.1(StarDict command line version) is out, developed by Evgeney <dushistov@××××.ru>.
75 +sdcv-0.1(StarDict command line version) is out, developed by Evgeniy <dushistov@××××.ru>.
76 Try to create .idx.oft file to speed up the interpretation of the .idx file. This feature is especially useful to sdcv.
77 -Mueller7 optimized, thanks Evgeney.
78 +Mueller7 optimized, thanks Evgeniy.
79 quick_eng-gre, quick_gre-eng dictionary encoding fix, thanks Christophe Combelles <ccomb@××××.fr> for bug reporting.
80 Add Hanzi Master dictionary, thanks Michael Robinson <robinson@××××××××××.com>.
81 zh_TW help document translation and a small bug fix, thanks Roy Chan <roy.chan@××××××××××.hk>.
82
83
84
85 1.1 app-dicts/stardict/files/stardict-3.0.1-transparent_trayicon.patch
86
87 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-transparent_trayicon.patch?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-transparent_trayicon.patch?rev=1.1&content-type=text/plain
89
90 Index: stardict-3.0.1-transparent_trayicon.patch
91 ===================================================================
92 --- stardict-3.0.1/src/docklet.cpp 2007-10-25 10:57:22.000000000 +0400
93 +++ stardict/src/docklet.cpp 2008-02-25 16:32:08.000000000 +0300
94 @@ -25,15 +25,15 @@
95 void DockLet::create_docklet()
96 {
97 docklet_ = egg_tray_icon_new("StarDict");
98 - box_ = gtk_event_box_new();
99 + gtk_widget_add_events (GTK_WIDGET(docklet_), GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
100 if (is_hide_state()) {
101 - gtk_widget_set_tooltip_text(box_, _("StarDict"));
102 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict"));
103 image_ = gtk_image_new_from_pixbuf(normal_icon_);
104 } else if (is_scan_on()) {
105 - gtk_widget_set_tooltip_text(box_, _("StarDict - Scanning"));
106 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict - Scanning"));
107 image_ = gtk_image_new_from_pixbuf(scan_icon_);
108 } else {
109 - gtk_widget_set_tooltip_text(box_, _("StarDict - Stopped"));
110 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict - Stopped"));
111 image_ = gtk_image_new_from_pixbuf(stop_icon_);
112 }
113
114 @@ -41,11 +41,10 @@
115 G_CALLBACK(on_embedded), this);
116 g_signal_connect(G_OBJECT(docklet_), "destroy",
117 G_CALLBACK(on_destroyed), this);
118 - g_signal_connect(G_OBJECT(box_), "button-press-event",
119 + g_signal_connect(G_OBJECT(docklet_), "button-press-event",
120 G_CALLBACK(on_btn_press), this);
121
122 - gtk_container_add(GTK_CONTAINER(box_), image_);
123 - gtk_container_add(GTK_CONTAINER(docklet_), box_);
124 + gtk_container_add(GTK_CONTAINER(docklet_), image_);
125 gtk_widget_show_all(GTK_WIDGET(docklet_));
126
127 /* ref the docklet_ before we bandy it about the place */
128 @@ -179,13 +178,13 @@
129
130 void DockLet::scan_on()
131 {
132 - gtk_widget_set_tooltip_text(box_, _("StarDict - Scanning"));
133 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict - Scanning"));
134 gtk_image_set_from_pixbuf(GTK_IMAGE(image_), scan_icon_);
135 }
136
137 void DockLet::scan_off()
138 {
139 - gtk_widget_set_tooltip_text(box_, _("StarDict - Stopped"));
140 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict - Stopped"));
141 gtk_image_set_from_pixbuf(GTK_IMAGE(image_), stop_icon_);
142 }
143
144 @@ -193,7 +192,7 @@
145 {
146 if (!image_)
147 return;
148 - gtk_widget_set_tooltip_text(box_, _("StarDict"));
149 + gtk_widget_set_tooltip_text(GTK_WIDGET(docklet_), _("StarDict"));
150 gtk_image_set_from_pixbuf(GTK_IMAGE(image_), normal_icon_);
151 }
152
153 --- stardict-3.0.1/src/docklet.h 2007-10-25 10:53:06.000000000 +0400
154 +++ stardict/src/docklet.h 2008-02-25 16:32:08.000000000 +0300
155 @@ -16,7 +16,6 @@
156 void set_scan_mode(bool);
157 private:
158 EggTrayIcon *docklet_;
159 - GtkWidget *box_;
160 GtkWidget *image_; //icon image.
161 typedef ResourceWrapper<GtkWidget, GtkWidget, gtk_widget_destroy> GMenu;
162 GMenu menu_;
163 --- stardict-3.0.1/src/eggtrayicon.c 2007-07-10 11:16:04.000000000 +0400
164 +++ stardict/src/eggtrayicon.c 2008-02-25 16:32:08.000000000 +0300
165 @@ -66,6 +66,8 @@
166
167 static void egg_tray_icon_realize (GtkWidget *widget);
168 static void egg_tray_icon_unrealize (GtkWidget *widget);
169 +static void egg_tray_icon_add (GtkContainer *container,
170 + GtkWidget *widget);
171
172 #ifdef GDK_WINDOWING_X11
173 static void egg_tray_icon_update_manager_window (EggTrayIcon *icon,
174 @@ -113,6 +115,7 @@
175 {
176 GObjectClass *gobject_class = (GObjectClass *)klass;
177 GtkWidgetClass *widget_class = (GtkWidgetClass *)klass;
178 + GtkContainerClass *container_class = (GtkContainerClass *)klass;
179
180 parent_class = g_type_class_peek_parent (klass);
181
182 @@ -121,6 +124,8 @@
183 widget_class->realize = egg_tray_icon_realize;
184 widget_class->unrealize = egg_tray_icon_unrealize;
185
186 + container_class->add = egg_tray_icon_add;
187 +
188 g_object_class_install_property (gobject_class,
189 PROP_ORIENTATION,
190 g_param_spec_enum ("orientation",
191 @@ -159,6 +164,35 @@
192 }
193
194 #ifdef GDK_WINDOWING_X11
195 +static gboolean
196 +transparent_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
197 +{
198 + gdk_window_clear_area (widget->window, event->area.x, event->area.y,
199 + event->area.width, event->area.height);
200 + return FALSE;
201 +}
202 +
203 +static void
204 +make_transparent_again (GtkWidget *widget, GtkStyle *previous_style,
205 + gpointer user_data)
206 +{
207 + gdk_window_set_back_pixmap(widget->window, NULL, TRUE);
208 +}
209 +
210 +static void
211 +make_transparent (GtkWidget *widget, gpointer user_data)
212 +{
213 + if (GTK_WIDGET_NO_WINDOW (widget) || GTK_WIDGET_APP_PAINTABLE (widget))
214 + return;
215 +
216 + gtk_widget_set_app_paintable (widget, TRUE);
217 + gtk_widget_set_double_buffered (widget, FALSE);
218 + gdk_window_set_back_pixmap (widget->window, NULL, TRUE);
219 + g_signal_connect (widget, "expose_event",
220 + G_CALLBACK (transparent_expose_event), NULL);
221 + g_signal_connect_after (widget, "style_set",
222 + G_CALLBACK (make_transparent_again), NULL);
223 +}
224
225 static void
226 egg_tray_icon_get_orientation_property (EggTrayIcon *icon)
227 @@ -238,10 +272,22 @@
228 }
229 return GDK_FILTER_CONTINUE;
230 }
231 -
232 +#else
233 +static void
234 +make_transparent (GtkWidget *widget, gpointer user_data)
235 +{
236 +}
237 #endif
238
239 static void
240 +egg_tray_icon_add (GtkContainer *container, GtkWidget *widget)
241 +{
242 + g_signal_connect (widget, "realize",
243 + G_CALLBACK (make_transparent), NULL);
244 + GTK_CONTAINER_CLASS (parent_class)->add (container, widget);
245 +}
246 +
247 +static void
248 egg_tray_icon_unrealize (GtkWidget *widget)
249 {
250 #ifdef GDK_WINDOWING_X11
251 @@ -381,6 +427,8 @@
252 if (GTK_WIDGET_CLASS (parent_class)->realize)
253 GTK_WIDGET_CLASS (parent_class)->realize (widget);
254
255 + make_transparent (widget, NULL);
256 +
257 screen = gtk_widget_get_screen (widget);
258 display = gdk_screen_get_display (screen);
259 xdisplay = gdk_x11_display_get_xdisplay (display);
260
261
262
263 1.1 app-dicts/stardict/files/stardict-3.0.1-gcc43.patch
264
265 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-gcc43.patch?rev=1.1&view=markup
266 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-3.0.1-gcc43.patch?rev=1.1&content-type=text/plain
267
268 Index: stardict-3.0.1-gcc43.patch
269 ===================================================================
270 === modified file 'src/config_file.hpp'
271 --- src/config_file.hpp 2008-04-26 21:05:23 +0000
272 +++ src/config_file.hpp 2008-04-26 21:05:29 +0000
273 @@ -5,7 +5,7 @@
274 #include <list>
275 #include <string>
276
277 -#include "sigc++/sigc++.h"
278 +#include <sigc++/sigc++.h>
279
280 class config_file;
281
282
283 === modified file 'src/gconf_file.cpp'
284 --- src/gconf_file.cpp 2008-04-26 21:05:23 +0000
285 +++ src/gconf_file.cpp 2008-04-26 21:05:29 +0000
286 @@ -22,6 +22,7 @@
287 # include "config.h"
288 #endif
289
290 +#include <memory>
291 #include <glib/gi18n.h>
292
293 #include "gconf_file.hpp"
294
295 === modified file 'src/inifile.cpp'
296 --- src/inifile.cpp 2008-04-26 21:05:23 +0000
297 +++ src/inifile.cpp 2008-04-26 21:05:29 +0000
298 @@ -28,6 +28,7 @@
299 #include <cstdio>
300 #include <glib/gi18n.h>
301 #include <glib/gstdio.h>
302 +#include <stdlib.h>
303
304 #include "utils.h"
305
306
307 === modified file 'src/lib/common.cpp'
308 --- src/lib/common.cpp 2008-04-26 21:05:23 +0000
309 +++ src/lib/common.cpp 2008-04-26 21:05:29 +0000
310 @@ -24,6 +24,8 @@
311 # include "config.h"
312 #endif
313
314 +#include <cstring>
315 +#include <stdlib.h>
316 #include "common.hpp"
317
318 static void parse_description(const char *p, long len, std::string &description)
319
320 === modified file 'src/lib/data.cpp'
321 --- src/lib/data.cpp 2008-04-26 21:05:23 +0000
322 +++ src/lib/data.cpp 2008-04-26 21:05:29 +0000
323 @@ -26,6 +26,7 @@
324
325 #include "data.hpp"
326 #include "getuint32.h"
327 +#include <cstring>
328
329
330 DictBase::DictBase()
331
332 === modified file 'src/lib/http_client.cpp'
333 --- src/lib/http_client.cpp 2008-04-26 21:05:23 +0000
334 +++ src/lib/http_client.cpp 2008-04-26 21:05:29 +0000
335 @@ -4,6 +4,7 @@
336
337 #include "http_client.h"
338 #include "sockets.hpp"
339 +#include <cstring>
340
341 sigc::signal<void, HttpClient *, const char *> HttpClient::on_error_;
342 sigc::signal<void, HttpClient *> HttpClient::on_response_;
343
344 === modified file 'src/lib/pluginmanager.cpp'
345 --- src/lib/pluginmanager.cpp 2008-04-26 21:05:23 +0000
346 +++ src/lib/pluginmanager.cpp 2008-04-26 21:05:29 +0000
347 @@ -1,6 +1,7 @@
348 #include "pluginmanager.h"
349 #include "file.hpp"
350 #include <string>
351 +#include <cstring>
352
353 StarDictPluginBaseObject::StarDictPluginBaseObject(const char *filename, GModule *module_, plugin_configure_func_t configure_func_):
354 plugin_filename(filename), module(module_), configure_func(configure_func_)
355
356 === modified file 'src/lib/stardict_client.cpp'
357 --- src/lib/stardict_client.cpp 2008-04-26 21:05:23 +0000
358 +++ src/lib/stardict_client.cpp 2008-04-26 21:05:29 +0000
359 @@ -25,6 +25,8 @@
360 #include <glib.h>
361 #include <glib/gi18n.h>
362
363 +#include <cstring>
364 +#include <stdlib.h>
365 #include "sockets.hpp"
366 #include "md5.h"
367 #include "getuint32.h"
368
369 === modified file 'src/lib/stddict.cpp'
370 --- src/lib/stddict.cpp 2008-04-26 21:05:23 +0000
371 +++ src/lib/stddict.cpp 2008-04-26 21:05:29 +0000
372 @@ -28,6 +28,7 @@
373 # include "config.h"
374 #endif
375
376 +#include <cstring>
377 #include <glib/gi18n.h>
378 #include <glib/gstdio.h>
379
380
381 === modified file 'src/lib/treedict.cpp'
382 --- src/lib/treedict.cpp 2008-04-26 21:05:23 +0000
383 +++ src/lib/treedict.cpp 2008-04-26 21:05:29 +0000
384 @@ -25,6 +25,7 @@
385 # include "config.h"
386 #endif
387
388 +#include <cstring>
389 #include "file.hpp"
390 #include "getuint32.h"
391
392
393 === modified file 'src/pangoview.cpp'
394 --- src/pangoview.cpp 2008-04-26 21:05:23 +0000
395 +++ src/pangoview.cpp 2008-04-26 21:05:29 +0000
396 @@ -22,6 +22,7 @@
397 # include "config.h"
398 #endif
399
400 +#include <cstring>
401 #include "gtktextviewpango.h"
402 #include "utils.h"
403 #include "skin.h"//for SkinCursor definition
404
405 === modified file 'src/prefsdlg.cpp'
406 --- src/prefsdlg.cpp 2008-04-26 21:05:23 +0000
407 +++ src/prefsdlg.cpp 2008-04-26 21:07:58 +0000
408 @@ -34,6 +34,7 @@
409 #include "utils.h"
410 #include "iskeyspressed.hpp"
411 #include "lib/md5.h"
412 +#include <cstdlib>
413
414 #include "prefsdlg.h"
415
416
417 === modified file 'src/readword.cpp'
418 --- src/readword.cpp 2008-04-26 21:05:23 +0000
419 +++ src/readword.cpp 2008-04-26 21:08:42 +0000
420 @@ -4,6 +4,7 @@
421
422 #include <cstring>
423 #include <string>
424 +#include <cstdlib>
425
426 #include <glib/gi18n.h>
427
428
429 === modified file 'src/sigc++/signal.h'
430 --- src/sigc++/signal.h 2008-04-26 21:05:23 +0000
431 +++ src/sigc++/signal.h 2008-04-26 21:06:11 +0000
432 @@ -18,7 +18,7 @@
433 //Compilers, such as older versions of SUN Forte C++, that do not allow this also often
434 //do not allow a typedef to have the same name as a class in the typedef's definition.
435 //For Sun Forte CC 5.7 (SUN Workshop 10), comment this out to fix the build.
436 - #define SIGC_TYPEDEF_REDEFINE_ALLOWED 1
437 + //#define SIGC_TYPEDEF_REDEFINE_ALLOWED 1
438 #endif
439
440 namespace sigc {
441
442 === modified file 'src/utils.cpp'
443 --- src/utils.cpp 2008-04-26 21:05:23 +0000
444 +++ src/utils.cpp 2008-04-26 21:05:29 +0000
445 @@ -22,6 +22,7 @@
446 # include "config.h"
447 #endif
448
449 +#include <cstring>
450 #include <glib.h>
451 #include <glib/gi18n.h>
452 #include <cstdlib>
453
454 === modified file 'src/x11_iskeyspressed.hpp'
455 --- src/x11_iskeyspressed.hpp 2008-04-26 21:05:23 +0000
456 +++ src/x11_iskeyspressed.hpp 2008-04-26 21:05:29 +0000
457 @@ -5,6 +5,8 @@
458 #include <X11/keysym.h>
459 #include <gtk/gtk.h>
460
461 +#include <memory>
462 +
463 #include "iskeyspressed.hpp"
464
465 typedef enum { SYM, CODE, BUTTON } KeyType_t;
466
467 === modified file 'stardict-plugins/stardict-advertisement-plugin/advertisement.cpp'
468 --- stardict-plugins/stardict-advertisement-plugin/advertisement.cpp 2008-04-26 21:05:23 +0000
469 +++ stardict-plugins/stardict-advertisement-plugin/advertisement.cpp 2008-04-26 21:05:29 +0000
470 @@ -2,6 +2,7 @@
471 #include <glib.h>
472 #include <glib/gi18n.h>
473 #include <glib/gstdio.h>
474 +#include <cstring>
475 #include <string>
476 #include <map>
477 #include <list>
478
479 === modified file 'stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp'
480 --- stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp 2008-04-26 21:05:23 +0000
481 +++ stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp 2008-04-26 21:05:29 +0000
482 @@ -1,5 +1,6 @@
483 #include "stardict_dictdotcn.h"
484 #include <glib/gi18n.h>
485 +#include <cstring>
486 #include <string>
487 #include <list>
488
489
490 === modified file 'stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp'
491 --- stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2008-04-26 21:05:23 +0000
492 +++ stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2008-04-26 21:05:29 +0000
493 @@ -1,6 +1,7 @@
494 #include "stardict_espeak.h"
495 #include <espeak/speak_lib.h>
496 #include <glib/gi18n.h>
497 +#include <cstring>
498
499 static const StarDictPluginSystemInfo *plugin_info = NULL;
500 static std::string voice_engine;
501
502 === modified file 'stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp'
503 --- stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp 2008-04-26 21:05:23 +0000
504 +++ stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp 2008-04-26 21:05:29 +0000
505 @@ -1,6 +1,8 @@
506 #include "stardict_gucharmap.h"
507 #include <glib/gi18n.h>
508 #include <gucharmap/gucharmap.h>
509 +#include <stdlib.h>
510 +#include <cstring>
511 #include <string>
512
513 static char *build_dictdata(char type, const char *definition)
514
515 === modified file 'stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp'
516 --- stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2008-04-26 21:05:23 +0000
517 +++ stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2008-04-26 21:05:29 +0000
518 @@ -1,5 +1,7 @@
519 #include "stardict_html_parsedata.h"
520 #include <glib/gi18n.h>
521 +#include <cstring>
522 +#include <stdlib.h>
523
524 #ifdef _WIN32
525 #include <windows.h>
526
527 === modified file 'stardict-plugins/stardict-man-plugin/stardict_man.cpp'
528 --- stardict-plugins/stardict-man-plugin/stardict_man.cpp 2008-04-26 21:05:23 +0000
529 +++ stardict-plugins/stardict-man-plugin/stardict_man.cpp 2008-04-26 21:05:29 +0000
530 @@ -1,5 +1,6 @@
531 #include "stardict_man.h"
532 #include <glib/gi18n.h>
533 +#include <cstring>
534 #include <string>
535
536 static const StarDictPluginSystemInfo *plugin_info = NULL;
537
538 === modified file 'stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp'
539 --- stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp 2008-04-26 21:05:23 +0000
540 +++ stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp 2008-04-26 21:05:29 +0000
541 @@ -1,4 +1,5 @@
542 #include "stardict_powerword_parsedata.h"
543 +#include <cstring>
544 #include <glib/gi18n.h>
545
546 #ifdef _WIN32
547
548 === modified file 'stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp'
549 --- stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp 2008-04-26 21:05:23 +0000
550 +++ stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp 2008-04-26 21:05:29 +0000
551 @@ -1,6 +1,8 @@
552 #include "stardict_qqwry.h"
553 #include <glib/gi18n.h>
554 #include <glib/gstdio.h>
555 +#include <cstring>
556 +#include <stdlib.h>
557 #include <string>
558
559 #ifdef _WIN32
560
561 === modified file 'stardict-plugins/stardict-spell-plugin/stardict_spell.cpp'
562 --- stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2008-04-26 21:05:23 +0000
563 +++ stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2008-04-26 21:05:29 +0000
564 @@ -3,6 +3,7 @@
565 #include <glib/gi18n.h>
566 #include <enchant.h>
567 #include <pango/pango.h>
568 +#include <cstring>
569 #include <string>
570 #include <vector>
571
572
573 === modified file 'stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp'
574 --- stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp 2008-04-26 21:05:23 +0000
575 +++ stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp 2008-04-26 21:05:29 +0000
576 @@ -1,5 +1,7 @@
577 #include "stardict_update_info.h"
578 #include <glib/gi18n.h>
579 +#include <cstring>
580 +#include <stdlib.h>
581
582 #ifdef _WIN32
583 #include <windows.h>
584
585 === modified file 'stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp'
586 --- stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp 2008-04-26 21:05:23 +0000
587 +++ stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp 2008-04-26 21:05:29 +0000
588 @@ -1,5 +1,6 @@
589 #include "stardict_wiki2xml.h"
590 #include "WIKI2XML.h"
591 +#include <cstring>
592 #include <glib.h>
593
594 std::string wiki2xml(std::string &str)
595
596 === modified file 'stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp'
597 --- stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp 2008-04-26 21:05:23 +0000
598 +++ stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp 2008-04-26 21:05:29 +0000
599 @@ -1,5 +1,6 @@
600 #include "stardict_wiki_parsedata.h"
601 #include "stardict_wiki2xml.h"
602 +#include <cstring>
603 #include <glib/gi18n.h>
604
605 #ifdef _WIN32
606
607 === modified file 'stardict-plugins/stardict-wordnet-plugin/court_widget.cpp'
608 --- stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2008-04-26 21:05:23 +0000
609 +++ stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2008-04-26 21:05:29 +0000
610 @@ -1,6 +1,7 @@
611 #include "court_widget.h"
612 #include <math.h>
613 #include <list>
614 +#include <cstring>
615
616
617 wnobj::wnobj(partic_t & p, unsigned int t) : _p(p), _t(t), highlight(false)
618
619 === modified file 'stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp'
620 --- stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2008-04-26 21:05:23 +0000
621 +++ stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2008-04-26 21:05:29 +0000
622 @@ -1,6 +1,7 @@
623 #include "stardict_wordnet.h"
624 #include "court_widget.h"
625 #include <glib/gi18n.h>
626 +#include <cstring>
627
628 #ifdef _WIN32
629 #include <windows.h>
630
631 === modified file 'stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp'
632 --- stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp 2008-04-26 21:05:23 +0000
633 +++ stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp 2008-04-26 21:05:29 +0000
634 @@ -1,4 +1,5 @@
635 #include "stardict_wordnet_parsedata.h"
636 +#include <cstring>
637 #include <glib/gi18n.h>
638
639 #ifdef _WIN32
640
641 === modified file 'stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp'
642 --- stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2008-04-26 21:05:23 +0000
643 +++ stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2008-04-26 21:05:29 +0000
644 @@ -1,5 +1,6 @@
645 #include "stardict_xdxf_parsedata.h"
646 #include <glib/gi18n.h>
647 +#include <cstring>
648
649 #ifdef _WIN32
650 #include <windows.h>
651
652 === modified file 'tests/t_config_file.cpp'
653 --- tests/t_config_file.cpp 2008-04-26 21:05:23 +0000
654 +++ tests/t_config_file.cpp 2008-04-26 21:05:29 +0000
655 @@ -2,6 +2,7 @@
656 # include "config.h"
657 #endif
658
659 +#include <memory>
660 #include <cerrno>
661 #include <cstdio>
662 #include <cstdlib>
663
664 === modified file 'tests/t_xml.cpp'
665 --- tests/t_xml.cpp 2008-04-26 21:05:23 +0000
666 +++ tests/t_xml.cpp 2008-04-26 21:05:29 +0000
667 @@ -3,6 +3,7 @@
668 #endif
669
670 #include <glib.h>
671 +#include <cstring>
672 #include <cstdlib>
673 #include <string>
674
675
676
677
678
679 --
680 gentoo-commits@l.g.o mailing list