Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/noteedit/files: noteedit-2.8.1-desktop-file.patch noteedit-2.8.1+gcc-4.3.patch
Date: Mon, 21 Apr 2008 14:19:44
Message-Id: E1Jnwrq-0007Ld-MV@stork.gentoo.org
1 flameeyes 08/04/21 14:19:38
2
3 Modified: noteedit-2.8.1-desktop-file.patch
4 Added: noteedit-2.8.1+gcc-4.3.patch
5 Log:
6 Add a patch to build with GCC 4.3. Also fixes bug #211037 by patching the .desktop file further.
7 (Portage version: 2.1.5_rc5)
8
9 Revision Changes Path
10 1.2 media-sound/noteedit/files/noteedit-2.8.1-desktop-file.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1-desktop-file.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1-desktop-file.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1-desktop-file.patch?r1=1.1&r2=1.2
15
16 Index: noteedit-2.8.1-desktop-file.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1-desktop-file.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- noteedit-2.8.1-desktop-file.patch 23 Jun 2007 17:28:21 -0000 1.1
23 +++ noteedit-2.8.1-desktop-file.patch 21 Apr 2008 14:19:38 -0000 1.2
24 @@ -1,3 +1,28 @@
25 +See bug #211037.
26 +Index: noteedit-2.8.1/noteedit/noteedit.desktop
27 +===================================================================
28 +--- noteedit-2.8.1.orig/noteedit/noteedit.desktop
29 ++++ noteedit-2.8.1/noteedit/noteedit.desktop
30 +@@ -5,16 +5,15 @@ Name[sv]=Notredigerare
31 + Name[pl]=Edytor nut
32 + Name[sl]=NoteEdit
33 + Exec=noteedit %i %m -caption "%c"
34 +-MimeType=audio/x-notes
35 ++MimeType=audio/x-notes;
36 + Type=Application
37 + Comment=Note editor
38 + Comment[de]=Noteneditor
39 + Comment[sv]=Notredigerare
40 + Comment[pl]=Edytor nut
41 + Comment[sl]=Urejevalnik glasbenih dokumentov
42 +-Terminal=0
43 ++Terminal=false
44 + Icon=noteedit
45 + ServiceTypes=Browser/View
46 + X-KDE-Library=libnoteedit
47 +-Categories=Qt;KDE;Audio;
48 +-Encoding=UTF-8
49 ++Categories=Qt;KDE;AudioVideo;Audio;Midi;
50 Index: noteedit-2.8.1/noteedit/icons/Makefile.am
51 ===================================================================
52 --- noteedit-2.8.1.orig/noteedit/icons/Makefile.am
53 @@ -13,19 +38,3 @@
54 +appicon_ICON = noteedit
55 +
56 +appicondir = ${prefix}/share/icons
57 -Index: noteedit-2.8.1/noteedit/noteedit.desktop
58 -===================================================================
59 ---- noteedit-2.8.1.orig/noteedit/noteedit.desktop
60 -+++ noteedit-2.8.1/noteedit/noteedit.desktop
61 -@@ -12,9 +12,9 @@ Comment[de]=Noteneditor
62 - Comment[sv]=Notredigerare
63 - Comment[pl]=Edytor nut
64 - Comment[sl]=Urejevalnik glasbenih dokumentov
65 --Terminal=0
66 -+Terminal=false
67 - Icon=noteedit
68 - ServiceTypes=Browser/View
69 - X-KDE-Library=libnoteedit
70 --Categories=Qt;KDE;Audio;
71 -+Categories=Qt;KDE;AudioVideo;Audio;Midi;
72 - Encoding=UTF-8
73
74
75
76 1.1 media-sound/noteedit/files/noteedit-2.8.1+gcc-4.3.patch
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1+gcc-4.3.patch?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/noteedit/files/noteedit-2.8.1+gcc-4.3.patch?rev=1.1&content-type=text/plain
80
81 Index: noteedit-2.8.1+gcc-4.3.patch
82 ===================================================================
83 Index: noteedit-2.8.1/noteedit/keyoffs.cpp
84 ===================================================================
85 --- noteedit-2.8.1.orig/noteedit/keyoffs.cpp
86 +++ noteedit-2.8.1/noteedit/keyoffs.cpp
87 @@ -22,7 +22,7 @@
88
89 #include <qbuttongroup.h>
90 #include <qradiobutton.h>
91 -#include <iostream.h>
92 +#include <iostream>
93 #include "keyoffs.h"
94 #include "resource.h"
95 #include "keysig.h"
96 Index: noteedit-2.8.1/noteedit/musicxmlimport.h
97 ===================================================================
98 --- noteedit-2.8.1.orig/noteedit/musicxmlimport.h
99 +++ noteedit-2.8.1/noteedit/musicxmlimport.h
100 @@ -126,7 +126,7 @@ private:
101 void handlePedal(NChord * chord);
102 void handleTuplet(NMusElement * elem);
103 void handleVoice(int staff, int voice);
104 - void handleVoiceDoStaff(int staff, int voice, NStaff * & staff, bool & mapped);
105 + void handleVoiceDoStaff(int staff_nr, int voice, NStaff * & staff, bool & mapped);
106 int current_max_voice_nr; /* the maximum voice number reached until now */
107 void handleWords();
108 void initStAttributes();
109 Index: noteedit-2.8.1/noteedit/midimapper.cpp
110 ===================================================================
111 --- noteedit-2.8.1.orig/noteedit/midimapper.cpp
112 +++ noteedit-2.8.1/noteedit/midimapper.cpp
113 @@ -29,9 +29,9 @@
114 #endif
115 #else
116 #ifndef WITH_TSE3
117 -#include <iostream.h>
118 +#include <iostream>
119 #else
120 -#include <istream.h>
121 +#include <istream>
122 #endif
123 #endif
124 #include <unistd.h>
125 Index: noteedit-2.8.1/noteedit/musicxmlcommon.cpp
126 ===================================================================
127 --- noteedit-2.8.1.orig/noteedit/musicxmlcommon.cpp
128 +++ noteedit-2.8.1/noteedit/musicxmlcommon.cpp
129 @@ -26,7 +26,7 @@
130 #if GCC_MAJ_VERS > 2
131 #include <iostream>
132 #else
133 -#include <iostream.h>
134 +#include <iostream>
135 #endif
136 using namespace std;
137
138 Index: noteedit-2.8.1/noteedit/musicxmlexport.cpp
139 ===================================================================
140 --- noteedit-2.8.1.orig/noteedit/musicxmlexport.cpp
141 +++ noteedit-2.8.1/noteedit/musicxmlexport.cpp
142 @@ -94,7 +94,7 @@ Note shapes: body as cross, alternative
143 #if GCC_MAJ_VERS > 2
144 #include <iostream>
145 #else
146 -#include <iostream.h>
147 +#include <iostream>
148 #endif
149 #include <qstring.h>
150 #include <qregexp.h>
151 Index: noteedit-2.8.1/noteedit/musicxmlimport.cpp
152 ===================================================================
153 --- noteedit-2.8.1.orig/noteedit/musicxmlimport.cpp
154 +++ noteedit-2.8.1/noteedit/musicxmlimport.cpp
155 @@ -129,7 +129,7 @@ Note shapes: body as cross, alternative
156 #if GCC_MAJ_VERS > 2
157 #include <iostream>
158 #else
159 -#include <iostream.h>
160 +#include <iostream>
161 #endif
162 using namespace std;
163
164 Index: noteedit-2.8.1/noteedit/musixtex.cpp
165 ===================================================================
166 --- noteedit-2.8.1.orig/noteedit/musixtex.cpp
167 +++ noteedit-2.8.1/noteedit/musixtex.cpp
168 @@ -27,7 +27,7 @@
169 #include <iostream>
170 #include <sstream>
171 #else
172 -#include <iostream.h>
173 +#include <iostream>
174 #include <strstream.h>
175 #endif
176 #include <stdlib.h> // esigra: needed for mkstemp when --without-libs
177 Index: noteedit-2.8.1/noteedit/lilyexport.cpp
178 ===================================================================
179 --- noteedit-2.8.1.orig/noteedit/lilyexport.cpp
180 +++ noteedit-2.8.1/noteedit/lilyexport.cpp
181 @@ -30,7 +30,7 @@
182 #if GCC_MAJ_VERS > 2
183 #include <istream>
184 #else
185 -#include <istream.h>
186 +#include <istream>
187 #endif
188 #include <stdlib.h> // esigra: needed for mkstemp when --without-libs
189 #include <stdio.h> // for test only
190 Index: noteedit-2.8.1/noteedit/main.cpp
191 ===================================================================
192 --- noteedit-2.8.1.orig/noteedit/main.cpp
193 +++ noteedit-2.8.1/noteedit/main.cpp
194 @@ -26,7 +26,7 @@
195 #if GCC_MAJ_VERS > 2
196 #include <iostream>
197 #else
198 -#include <istream.h>
199 +#include <istream>
200 #endif
201 #include <qapplication.h>
202 #include <qthread.h>
203 Index: noteedit-2.8.1/noteedit/multistaffinfo.cpp
204 ===================================================================
205 --- noteedit-2.8.1.orig/noteedit/multistaffinfo.cpp
206 +++ noteedit-2.8.1/noteedit/multistaffinfo.cpp
207 @@ -20,7 +20,7 @@
208 /* */
209 /****************************************************************************************/
210
211 -#include <istream.h>
212 +#include <istream>
213 #include <cstdlib>
214 #include "multistaffinfo.h"
215 #include "mainframewidget.h"
216 Index: noteedit-2.8.1/noteedit/resource.cpp
217 ===================================================================
218 --- noteedit-2.8.1.orig/noteedit/resource.cpp
219 +++ noteedit-2.8.1/noteedit/resource.cpp
220 @@ -26,7 +26,7 @@
221 #if GCC_MAJ_VERS > 2
222 #include <iostream>
223 #else
224 -#include <istream.h>
225 +#include <istream>
226 #endif
227 #include <stdio.h>
228 #include <string.h>
229 Index: noteedit-2.8.1/noteedit/ScoreEditor.cpp
230 ===================================================================
231 --- noteedit-2.8.1.orig/noteedit/ScoreEditor.cpp
232 +++ noteedit-2.8.1/noteedit/ScoreEditor.cpp
233 @@ -23,7 +23,7 @@
234 #include "ScoreEditor.h"
235 #ifdef ANTHEM_PLUGIN
236 #if GCC_MAJ_VERS > 2
237 -#include <istream.h>
238 +#include <istream>
239 #else
240 #include <istream>
241 #endif
242
243
244
245 --
246 gentoo-commits@l.g.o mailing list