Gentoo Archives: gentoo-commits

From: "Mounir Lamouri (volkmar)" <volkmar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/plotmm/files: plotmm-0.1.2-libsigc++-2.2.patch
Date: Sat, 20 Jun 2009 10:58:11
Message-Id: E1MHyGv-0006RW-Kk@stork.gentoo.org
1 volkmar 09/06/20 10:58:09
2
3 Added: plotmm-0.1.2-libsigc++-2.2.patch
4 Log:
5 initial commit, bug 225287
6 (Portage version: 2.1.6.13/cvs/Linux ppc)
7
8 Revision Changes Path
9 1.1 sci-libs/plotmm/files/plotmm-0.1.2-libsigc++-2.2.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plotmm/files/plotmm-0.1.2-libsigc++-2.2.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plotmm/files/plotmm-0.1.2-libsigc++-2.2.patch?rev=1.1&content-type=text/plain
13
14 Index: plotmm-0.1.2-libsigc++-2.2.patch
15 ===================================================================
16 diff -ur plotmm-0.1.2-old/plotmm/compat.h plotmm-0.1.2/plotmm/compat.h
17 --- plotmm-0.1.2-old/plotmm/compat.h 2005-11-09 17:36:02.000000000 +0100
18 +++ plotmm-0.1.2/plotmm/compat.h 2008-07-25 00:13:55.000000000 +0200
19 @@ -58,7 +58,7 @@
20 #else
21
22 namespace PlotMM {
23 - typedef SigC::ObjectBase ObjectBase;
24 + typedef sigc::ObjectBase ObjectBase;
25 }
26
27 #endif
28 diff -ur plotmm-0.1.2-old/plotmm/curve.h plotmm-0.1.2/plotmm/curve.h
29 --- plotmm-0.1.2-old/plotmm/curve.h 2005-11-09 17:47:21.000000000 +0100
30 +++ plotmm-0.1.2/plotmm/curve.h 2008-07-25 00:24:02.000000000 +0200
31 @@ -140,7 +140,7 @@
32 int from = 0, int to = -1);
33
34 //! Signals that this curve has changed in some way or the other
35 - SigC::Signal0<void> signal_curve_changed;
36 + sigc::signal0<void> signal_curve_changed;
37
38 protected:
39 virtual void init(const Glib::ustring &title);
40 diff -ur plotmm-0.1.2-old/plotmm/plot.cc plotmm-0.1.2/plotmm/plot.cc
41 --- plotmm-0.1.2-old/plotmm/plot.cc 2005-11-09 17:59:48.000000000 +0100
42 +++ plotmm-0.1.2/plotmm/plot.cc 2008-07-25 00:24:30.000000000 +0200
43 @@ -322,7 +322,7 @@
44 connect(sigc::mem_fun(*this,&Plot::on_canvas_expose_event));
45 #else
46 canvas_.signal_expose_event().
47 - connect(SigC::slot(*this,&Plot::on_canvas_expose_event));
48 + connect(sigc::slot(*this,&Plot::on_canvas_expose_event));
49 #endif
50
51 show_all();
52 @@ -406,19 +406,19 @@
53 }
54
55 //! Return the signal owned by plot canvas
56 -SigC::Signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_press()
57 +sigc::signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_press()
58 {
59 return canvas_.signal_plot_mouse_press;
60 }
61
62 //! Return the signal owned by plot canvas
63 -SigC::Signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_release()
64 +sigc::signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_release()
65 {
66 return canvas_.signal_plot_mouse_release;
67 }
68
69 //! Return the signal owned by plot canvas
70 -SigC::Signal3<void,int,int,GdkEventMotion*> Plot::signal_plot_mouse_move()
71 +sigc::signal3<void,int,int,GdkEventMotion*> Plot::signal_plot_mouse_move()
72 {
73 return canvas_.signal_plot_mouse_move;
74 }
75 diff -ur plotmm-0.1.2-old/plotmm/plot.h plotmm-0.1.2/plotmm/plot.h
76 --- plotmm-0.1.2-old/plotmm/plot.h 2004-03-09 10:51:55.000000000 +0100
77 +++ plotmm-0.1.2/plotmm/plot.h 2008-07-25 00:25:17.000000000 +0200
78 @@ -79,9 +79,9 @@
79 virtual void clear();
80 virtual void end_replot();
81
82 - SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press;
83 - SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release;
84 - SigC::Signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move;
85 + sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press;
86 + sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release;
87 + sigc::signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move;
88
89 protected:
90 virtual bool on_expose_event(GdkEventExpose* event);
91 @@ -141,9 +141,9 @@
92 Scale *scale(PlotAxisID id) { return tickMark_[id]; }
93 PlotLabel *label(PlotAxisID id) { return axisLabel_[id]; }
94
95 - SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press();
96 - SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release();
97 - SigC::Signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move();
98 + sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press();
99 + sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release();
100 + sigc::signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move();
101
102 void set_selection(const Rectangle &r);
103 Rectangle get_selection() { return select_; }
104 diff -ur plotmm-0.1.2-old/plotmm/scale.h plotmm-0.1.2/plotmm/scale.h
105 --- plotmm-0.1.2-old/plotmm/scale.h 2004-03-05 16:25:43.000000000 +0100
106 +++ plotmm-0.1.2/plotmm/scale.h 2008-07-25 00:25:30.000000000 +0200
107 @@ -133,7 +133,7 @@
108 /*! This signal is thrown whenever the scale is enabled or disabled
109 * \sa set_enabled, enabled
110 */
111 - SigC::Signal1<void,bool> signal_enabled;
112 + sigc::signal1<void,bool> signal_enabled;
113
114 protected:
115 virtual void on_realize();