1 |
commit: 84b9e3967ed8466ab68f6d6260753e4e6a621409 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 20 11:31:17 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 20 11:31:34 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=84b9e396 |
7 |
|
8 |
app-office/planner: update wrt upstream commits |
9 |
|
10 |
--- |
11 |
.../0001-Speed-up-python-path-detection.patch | 8 +- |
12 |
...d-failure-with-evolution-data-server-3.6.patch} | 405 +------------------- |
13 |
.../0002-Fix-build-failures-with-Werror.patch | 61 --- |
14 |
.../files/0003-Port-GValueArray-to-GArray.patch | 109 ------ |
15 |
app-office/planner/files/0005-Run-autoupdate.patch | 85 ---- |
16 |
app-office/planner/planner-9999.ebuild | 33 +- |
17 |
6 files changed, 24 insertions(+), 677 deletions(-) |
18 |
|
19 |
diff --git a/app-office/planner/files/0001-Speed-up-python-path-detection.patch b/app-office/planner/files/0001-Speed-up-python-path-detection.patch |
20 |
index 8e7256c..43e349b 100644 |
21 |
--- a/app-office/planner/files/0001-Speed-up-python-path-detection.patch |
22 |
+++ b/app-office/planner/files/0001-Speed-up-python-path-detection.patch |
23 |
@@ -1,7 +1,7 @@ |
24 |
-From 118f49adf7d65b09163808abce786cce5895e2f2 Mon Sep 17 00:00:00 2001 |
25 |
-From: Gilles Dartiguelongue <eva@g.o> |
26 |
+From 750f1489360a34b80f963eddb5af77b1cc51a1c3 Mon Sep 17 00:00:00 2001 |
27 |
+From: Pacho Ramos <pacho@××××××××××××××××××××××××.es> |
28 |
Date: Sat, 29 Dec 2012 17:13:05 +0100 |
29 |
-Subject: [PATCH 1/5] Speed up python path detection |
30 |
+Subject: [PATCH 1/2] Speed up python path detection |
31 |
|
32 |
--- |
33 |
acinclude.m4 | 10 ++-------- |
34 |
@@ -29,5 +29,5 @@ index c4996ee..fadbf2c 100644 |
35 |
if test -z "$python_path" ; then |
36 |
AC_MSG_ERROR([cannot find Python library path]) |
37 |
-- |
38 |
-1.8.0.2 |
39 |
+1.8.2.1 |
40 |
|
41 |
|
42 |
diff --git a/app-office/planner/files/0004-Fix-build-failure-with-evolution-data-server-3.6.patch b/app-office/planner/files/0002-Fix-build-failure-with-evolution-data-server-3.6.patch |
43 |
similarity index 56% |
44 |
rename from app-office/planner/files/0004-Fix-build-failure-with-evolution-data-server-3.6.patch |
45 |
rename to app-office/planner/files/0002-Fix-build-failure-with-evolution-data-server-3.6.patch |
46 |
index 7edbdfe..1bb1076 100644 |
47 |
--- a/app-office/planner/files/0004-Fix-build-failure-with-evolution-data-server-3.6.patch |
48 |
+++ b/app-office/planner/files/0002-Fix-build-failure-with-evolution-data-server-3.6.patch |
49 |
@@ -1,35 +1,20 @@ |
50 |
-From 8cfd2056e1e630b1702fe238e389ad3a4f37a8ad Mon Sep 17 00:00:00 2001 |
51 |
+From 60ff192322517ca26e33da36c4a9ec03ae4f3539 Mon Sep 17 00:00:00 2001 |
52 |
From: Gilles Dartiguelongue <eva@g.o> |
53 |
Date: Sat, 29 Dec 2012 16:48:30 +0100 |
54 |
-Subject: [PATCH 4/5] Fix build failure with evolution-data-server-3.6 |
55 |
+Subject: [PATCH 2/2] Fix build failure with evolution-data-server-3.6 |
56 |
|
57 |
Only cover plugin code enabled through --enable-eds. |
58 |
EDS backend has been broken for a long time and needs more work. |
59 |
--- |
60 |
- configure.ac | 2 +- |
61 |
- docs/libplanner/tmpl/libplanner-unused.sgml | 8 -- |
62 |
- docs/libplanner/tmpl/mrp-application.sgml | 4 + |
63 |
- docs/libplanner/tmpl/mrp-assignment.sgml | 6 +- |
64 |
- docs/libplanner/tmpl/mrp-calendar.sgml | 11 +-- |
65 |
- docs/libplanner/tmpl/mrp-day.sgml | 6 ++ |
66 |
- docs/libplanner/tmpl/mrp-error.sgml | 3 + |
67 |
- docs/libplanner/tmpl/mrp-group.sgml | 4 + |
68 |
- docs/libplanner/tmpl/mrp-object.sgml | 7 +- |
69 |
- docs/libplanner/tmpl/mrp-project.sgml | 5 +- |
70 |
- docs/libplanner/tmpl/mrp-property.sgml | 3 + |
71 |
- docs/libplanner/tmpl/mrp-relation.sgml | 3 + |
72 |
- docs/libplanner/tmpl/mrp-resource.sgml | 4 + |
73 |
- docs/libplanner/tmpl/mrp-task.sgml | 7 +- |
74 |
- docs/libplanner/tmpl/mrp-time.sgml | 13 +++ |
75 |
- docs/libplanner/tmpl/planner.sgml | 3 + |
76 |
- src/planner-eds-plugin.c | 141 +++++++++++++++------------- |
77 |
- 17 files changed, 139 insertions(+), 91 deletions(-) |
78 |
+ configure.ac | 2 +- |
79 |
+ src/planner-eds-plugin.c | 141 +++++++++++++++++++++++++---------------------- |
80 |
+ 2 files changed, 75 insertions(+), 68 deletions(-) |
81 |
|
82 |
diff --git a/configure.ac b/configure.ac |
83 |
-index 9f3d112..7e0cd8a 100644 |
84 |
+index 77127c3..5c995d8 100644 |
85 |
--- a/configure.ac |
86 |
+++ b/configure.ac |
87 |
-@@ -245,7 +245,7 @@ dnl ----------------------------- |
88 |
+@@ -243,7 +243,7 @@ dnl ----------------------------- |
89 |
AC_ARG_ENABLE(eds, [ --enable-eds build evolution-data-server support [default=no]], enable_eds="$enableval", enable_eds=no) |
90 |
|
91 |
if test "x$enable_eds" = "xyes" ; then |
92 |
@@ -38,380 +23,6 @@ index 9f3d112..7e0cd8a 100644 |
93 |
EDS_PACKAGE=1.2 |
94 |
PKG_CHECK_MODULES(EDS, |
95 |
[ |
96 |
-diff --git a/docs/libplanner/tmpl/libplanner-unused.sgml b/docs/libplanner/tmpl/libplanner-unused.sgml |
97 |
-index e8bee74..a389b98 100644 |
98 |
---- a/docs/libplanner/tmpl/libplanner-unused.sgml |
99 |
-+++ b/docs/libplanner/tmpl/libplanner-unused.sgml |
100 |
-@@ -131,14 +131,6 @@ mrproject |
101 |
- |
102 |
- @Returns: |
103 |
- |
104 |
--<!-- ##### FUNCTION mrp_time_from_tm ##### --> |
105 |
--<para> |
106 |
-- |
107 |
--</para> |
108 |
-- |
109 |
--@tm: |
110 |
--@Returns: |
111 |
-- |
112 |
- <!-- ##### MACRO textdomain ##### --> |
113 |
- <para> |
114 |
- |
115 |
-diff --git a/docs/libplanner/tmpl/mrp-application.sgml b/docs/libplanner/tmpl/mrp-application.sgml |
116 |
-index 6511324..1e2e794 100644 |
117 |
---- a/docs/libplanner/tmpl/mrp-application.sgml |
118 |
-+++ b/docs/libplanner/tmpl/mrp-application.sgml |
119 |
-@@ -17,6 +17,9 @@ the main project application object. |
120 |
- <!-- ##### SECTION Stability_Level ##### --> |
121 |
- |
122 |
- |
123 |
-+<!-- ##### SECTION Image ##### --> |
124 |
-+ |
125 |
-+ |
126 |
- <!-- ##### STRUCT MrpApplicationPriv ##### --> |
127 |
- <para> |
128 |
- A private struct for internal use only. The definition of this |
129 |
-@@ -39,6 +42,7 @@ libmrproject. |
130 |
- |
131 |
- </para> |
132 |
- |
133 |
-+@void: |
134 |
- @Returns: |
135 |
- |
136 |
- |
137 |
-diff --git a/docs/libplanner/tmpl/mrp-assignment.sgml b/docs/libplanner/tmpl/mrp-assignment.sgml |
138 |
-index 178bf2c..29f367e 100644 |
139 |
---- a/docs/libplanner/tmpl/mrp-assignment.sgml |
140 |
-+++ b/docs/libplanner/tmpl/mrp-assignment.sgml |
141 |
-@@ -17,6 +17,9 @@ MrpAssignment |
142 |
- <!-- ##### SECTION Stability_Level ##### --> |
143 |
- |
144 |
- |
145 |
-+<!-- ##### SECTION Image ##### --> |
146 |
-+ |
147 |
-+ |
148 |
- <!-- ##### STRUCT MrpAssignmentPriv ##### --> |
149 |
- <para> |
150 |
- A private struct for internal use only. The definition of this |
151 |
-@@ -50,6 +53,7 @@ Represents an assignment, i.e. the assignment of a task to a resource. |
152 |
- |
153 |
- </para> |
154 |
- |
155 |
-+@void: |
156 |
- @Returns: |
157 |
- |
158 |
- |
159 |
-@@ -78,7 +82,5 @@ Represents an assignment, i.e. the assignment of a task to a resource. |
160 |
- |
161 |
- @assignment: |
162 |
- @Returns: |
163 |
--<!-- # Unused Parameters # --> |
164 |
--@assignemnt: |
165 |
- |
166 |
- |
167 |
-diff --git a/docs/libplanner/tmpl/mrp-calendar.sgml b/docs/libplanner/tmpl/mrp-calendar.sgml |
168 |
-index 5de7f6f..cda9da4 100644 |
169 |
---- a/docs/libplanner/tmpl/mrp-calendar.sgml |
170 |
-+++ b/docs/libplanner/tmpl/mrp-calendar.sgml |
171 |
-@@ -25,6 +25,9 @@ can be overridden to use another day type as well. |
172 |
- <!-- ##### SECTION Stability_Level ##### --> |
173 |
- |
174 |
- |
175 |
-+<!-- ##### SECTION Image ##### --> |
176 |
-+ |
177 |
-+ |
178 |
- <!-- ##### STRUCT MrpCalendarPriv ##### --> |
179 |
- <para> |
180 |
- A private struct for internal use only. The definition of this |
181 |
-@@ -166,8 +169,6 @@ Represents a time interval. |
182 |
- @date: |
183 |
- @check_ancestors: |
184 |
- @Returns: |
185 |
--<!-- # Unused Parameters # --> |
186 |
--@time: |
187 |
- |
188 |
- |
189 |
- <!-- ##### FUNCTION mrp_calendar_get_default_day ##### --> |
190 |
-@@ -178,8 +179,6 @@ Represents a time interval. |
191 |
- @calendar: |
192 |
- @week_day: |
193 |
- @Returns: |
194 |
--<!-- # Unused Parameters # --> |
195 |
--@time: |
196 |
- |
197 |
- |
198 |
- <!-- ##### FUNCTION mrp_calendar_set_default_days ##### --> |
199 |
-@@ -189,7 +188,7 @@ Represents a time interval. |
200 |
- |
201 |
- @calendar: |
202 |
- @week_day: |
203 |
--@Varargs: |
204 |
-+@...: |
205 |
- |
206 |
- |
207 |
- <!-- ##### FUNCTION mrp_calendar_set_days ##### --> |
208 |
-@@ -199,7 +198,7 @@ Represents a time interval. |
209 |
- |
210 |
- @calendar: |
211 |
- @date: |
212 |
--@Varargs: |
213 |
-+@...: |
214 |
- |
215 |
- |
216 |
- <!-- ##### FUNCTION mrp_calendar_get_parent ##### --> |
217 |
-diff --git a/docs/libplanner/tmpl/mrp-day.sgml b/docs/libplanner/tmpl/mrp-day.sgml |
218 |
-index 1ae4601..1d5751c 100644 |
219 |
---- a/docs/libplanner/tmpl/mrp-day.sgml |
220 |
-+++ b/docs/libplanner/tmpl/mrp-day.sgml |
221 |
-@@ -18,6 +18,9 @@ day. Other examples might be custom types like half day, or a holiday. |
222 |
- <!-- ##### SECTION Stability_Level ##### --> |
223 |
- |
224 |
- |
225 |
-+<!-- ##### SECTION Image ##### --> |
226 |
-+ |
227 |
-+ |
228 |
- <!-- ##### STRUCT MrpDay ##### --> |
229 |
- <para> |
230 |
- Object representing a day in the project. |
231 |
-@@ -120,6 +123,7 @@ Object representing a day in the project. |
232 |
- |
233 |
- </para> |
234 |
- |
235 |
-+@void: |
236 |
- @Returns: |
237 |
- |
238 |
- |
239 |
-@@ -128,6 +132,7 @@ Object representing a day in the project. |
240 |
- |
241 |
- </para> |
242 |
- |
243 |
-+@void: |
244 |
- @Returns: |
245 |
- |
246 |
- |
247 |
-@@ -136,6 +141,7 @@ Object representing a day in the project. |
248 |
- |
249 |
- </para> |
250 |
- |
251 |
-+@void: |
252 |
- @Returns: |
253 |
- |
254 |
- |
255 |
-diff --git a/docs/libplanner/tmpl/mrp-error.sgml b/docs/libplanner/tmpl/mrp-error.sgml |
256 |
-index 19c170c..31ebf03 100644 |
257 |
---- a/docs/libplanner/tmpl/mrp-error.sgml |
258 |
-+++ b/docs/libplanner/tmpl/mrp-error.sgml |
259 |
-@@ -17,6 +17,9 @@ MrpError |
260 |
- <!-- ##### SECTION Stability_Level ##### --> |
261 |
- |
262 |
- |
263 |
-+<!-- ##### SECTION Image ##### --> |
264 |
-+ |
265 |
-+ |
266 |
- <!-- ##### MACRO MRP_ERROR ##### --> |
267 |
- <para> |
268 |
- Error domain for libmrproject. |
269 |
-diff --git a/docs/libplanner/tmpl/mrp-group.sgml b/docs/libplanner/tmpl/mrp-group.sgml |
270 |
-index 7075576..b1be5ad 100644 |
271 |
---- a/docs/libplanner/tmpl/mrp-group.sgml |
272 |
-+++ b/docs/libplanner/tmpl/mrp-group.sgml |
273 |
-@@ -17,6 +17,9 @@ MrpGroup |
274 |
- <!-- ##### SECTION Stability_Level ##### --> |
275 |
- |
276 |
- |
277 |
-+<!-- ##### SECTION Image ##### --> |
278 |
-+ |
279 |
-+ |
280 |
- <!-- ##### STRUCT MrpGroupPriv ##### --> |
281 |
- <para> |
282 |
- A private struct for internal use only. The definition of this |
283 |
-@@ -55,6 +58,7 @@ Object representing a resource group. |
284 |
- |
285 |
- </para> |
286 |
- |
287 |
-+@void: |
288 |
- @Returns: |
289 |
- |
290 |
- |
291 |
-diff --git a/docs/libplanner/tmpl/mrp-object.sgml b/docs/libplanner/tmpl/mrp-object.sgml |
292 |
-index 50a3f23..3aff517 100644 |
293 |
---- a/docs/libplanner/tmpl/mrp-object.sgml |
294 |
-+++ b/docs/libplanner/tmpl/mrp-object.sgml |
295 |
-@@ -17,6 +17,9 @@ MrpObject |
296 |
- <!-- ##### SECTION Stability_Level ##### --> |
297 |
- |
298 |
- |
299 |
-+<!-- ##### SECTION Image ##### --> |
300 |
-+ |
301 |
-+ |
302 |
- <!-- ##### STRUCT MrpObjectPriv ##### --> |
303 |
- <para> |
304 |
- A private struct for internal use only. The definition of this |
305 |
-@@ -74,7 +77,7 @@ The base class for objects in libmrproject. |
306 |
- |
307 |
- @object: |
308 |
- @first_property_name: |
309 |
--@Varargs: |
310 |
-+@...: |
311 |
- |
312 |
- |
313 |
- <!-- ##### FUNCTION mrp_object_get ##### --> |
314 |
-@@ -84,7 +87,7 @@ The base class for objects in libmrproject. |
315 |
- |
316 |
- @object: |
317 |
- @first_property_name: |
318 |
--@Varargs: |
319 |
-+@...: |
320 |
- |
321 |
- |
322 |
- <!-- ##### FUNCTION mrp_object_set_valist ##### --> |
323 |
-diff --git a/docs/libplanner/tmpl/mrp-project.sgml b/docs/libplanner/tmpl/mrp-project.sgml |
324 |
-index bac078d..a88d923 100644 |
325 |
---- a/docs/libplanner/tmpl/mrp-project.sgml |
326 |
-+++ b/docs/libplanner/tmpl/mrp-project.sgml |
327 |
-@@ -17,6 +17,9 @@ MrpProject |
328 |
- <!-- ##### SECTION Stability_Level ##### --> |
329 |
- |
330 |
- |
331 |
-+<!-- ##### SECTION Image ##### --> |
332 |
-+ |
333 |
-+ |
334 |
- <!-- ##### STRUCT MrpProjectPriv ##### --> |
335 |
- <para> |
336 |
- A private struct for internal use only. The definition of this |
337 |
-@@ -505,8 +508,6 @@ mrp_project_task_traverse(). The traversal can be stopped by returning |
338 |
- @start: |
339 |
- @finish: |
340 |
- @Returns: |
341 |
--<!-- # Unused Parameters # --> |
342 |
--@duration: |
343 |
- |
344 |
- |
345 |
- <!-- ##### FUNCTION mrp_project_get_properties_from_type ##### --> |
346 |
-diff --git a/docs/libplanner/tmpl/mrp-property.sgml b/docs/libplanner/tmpl/mrp-property.sgml |
347 |
-index 01585a8..f09425e 100644 |
348 |
---- a/docs/libplanner/tmpl/mrp-property.sgml |
349 |
-+++ b/docs/libplanner/tmpl/mrp-property.sgml |
350 |
-@@ -19,6 +19,9 @@ GUI application, or plugins that add functionality. |
351 |
- <!-- ##### SECTION Stability_Level ##### --> |
352 |
- |
353 |
- |
354 |
-+<!-- ##### SECTION Image ##### --> |
355 |
-+ |
356 |
-+ |
357 |
- <!-- ##### TYPEDEF MrpProperty ##### --> |
358 |
- <para> |
359 |
- Object representing a custom property in the project. |
360 |
-diff --git a/docs/libplanner/tmpl/mrp-relation.sgml b/docs/libplanner/tmpl/mrp-relation.sgml |
361 |
-index 7c651ad..fd790c7 100644 |
362 |
---- a/docs/libplanner/tmpl/mrp-relation.sgml |
363 |
-+++ b/docs/libplanner/tmpl/mrp-relation.sgml |
364 |
-@@ -20,6 +20,9 @@ finished, plus a lag time. |
365 |
- <!-- ##### SECTION Stability_Level ##### --> |
366 |
- |
367 |
- |
368 |
-+<!-- ##### SECTION Image ##### --> |
369 |
-+ |
370 |
-+ |
371 |
- <!-- ##### STRUCT MrpRelationPriv ##### --> |
372 |
- <para> |
373 |
- A private struct for internal use only. The definition of this |
374 |
-diff --git a/docs/libplanner/tmpl/mrp-resource.sgml b/docs/libplanner/tmpl/mrp-resource.sgml |
375 |
-index 528459c..2ceaab3 100644 |
376 |
---- a/docs/libplanner/tmpl/mrp-resource.sgml |
377 |
-+++ b/docs/libplanner/tmpl/mrp-resource.sgml |
378 |
-@@ -17,6 +17,9 @@ represents a resource in the project. |
379 |
- <!-- ##### SECTION Stability_Level ##### --> |
380 |
- |
381 |
- |
382 |
-+<!-- ##### SECTION Image ##### --> |
383 |
-+ |
384 |
-+ |
385 |
- <!-- ##### STRUCT MrpResourcePriv ##### --> |
386 |
- <para> |
387 |
- A private struct for internal use only. The definition of this |
388 |
-@@ -105,6 +108,7 @@ The type of the resource, work or material. |
389 |
- |
390 |
- </para> |
391 |
- |
392 |
-+@void: |
393 |
- @Returns: |
394 |
- |
395 |
- |
396 |
-diff --git a/docs/libplanner/tmpl/mrp-task.sgml b/docs/libplanner/tmpl/mrp-task.sgml |
397 |
-index 6f27c03..7928ae0 100644 |
398 |
---- a/docs/libplanner/tmpl/mrp-task.sgml |
399 |
-+++ b/docs/libplanner/tmpl/mrp-task.sgml |
400 |
-@@ -17,6 +17,9 @@ represents a task in the project. |
401 |
- <!-- ##### SECTION Stability_Level ##### --> |
402 |
- |
403 |
- |
404 |
-+<!-- ##### SECTION Image ##### --> |
405 |
-+ |
406 |
-+ |
407 |
- <!-- ##### STRUCT MrpTaskPriv ##### --> |
408 |
- <para> |
409 |
- A private struct for internal use only. The definition of this |
410 |
-@@ -179,6 +182,7 @@ The type of constraint for the task. The default is %MRP_CONSTRAINT_ASAP. |
411 |
- |
412 |
- </para> |
413 |
- |
414 |
-+@void: |
415 |
- @Returns: |
416 |
- |
417 |
- |
418 |
-@@ -278,9 +282,6 @@ The type of constraint for the task. The default is %MRP_CONSTRAINT_ASAP. |
419 |
- @task_a: |
420 |
- @task_b: |
421 |
- @Returns: |
422 |
--<!-- # Unused Parameters # --> |
423 |
--@a: |
424 |
--@b: |
425 |
- |
426 |
- |
427 |
- <!-- ##### FUNCTION mrp_task_has_relation ##### --> |
428 |
-diff --git a/docs/libplanner/tmpl/mrp-time.sgml b/docs/libplanner/tmpl/mrp-time.sgml |
429 |
-index 346bf68..bce9a34 100644 |
430 |
---- a/docs/libplanner/tmpl/mrp-time.sgml |
431 |
-+++ b/docs/libplanner/tmpl/mrp-time.sgml |
432 |
-@@ -17,6 +17,9 @@ mrptime |
433 |
- <!-- ##### SECTION Stability_Level ##### --> |
434 |
- |
435 |
- |
436 |
-+<!-- ##### SECTION Image ##### --> |
437 |
-+ |
438 |
-+ |
439 |
- <!-- ##### TYPEDEF mrptime ##### --> |
440 |
- <para> |
441 |
- Corresponds to the standard C <type>time_t</type> type. |
442 |
-@@ -49,6 +52,16 @@ Represents the maximium value for #mrptime. |
443 |
- |
444 |
- </para> |
445 |
- |
446 |
-+@void: |
447 |
-+@Returns: |
448 |
-+ |
449 |
-+ |
450 |
-+<!-- ##### FUNCTION mrp_time_from_tm ##### --> |
451 |
-+<para> |
452 |
-+ |
453 |
-+</para> |
454 |
-+ |
455 |
-+@tm: |
456 |
- @Returns: |
457 |
- |
458 |
- |
459 |
-diff --git a/docs/libplanner/tmpl/planner.sgml b/docs/libplanner/tmpl/planner.sgml |
460 |
-index 5397496..8179208 100644 |
461 |
---- a/docs/libplanner/tmpl/planner.sgml |
462 |
-+++ b/docs/libplanner/tmpl/planner.sgml |
463 |
-@@ -17,3 +17,6 @@ planner |
464 |
- <!-- ##### SECTION Stability_Level ##### --> |
465 |
- |
466 |
- |
467 |
-+<!-- ##### SECTION Image ##### --> |
468 |
-+ |
469 |
-+ |
470 |
diff --git a/src/planner-eds-plugin.c b/src/planner-eds-plugin.c |
471 |
index 4eb060c..a8229c9 100644 |
472 |
--- a/src/planner-eds-plugin.c |
473 |
@@ -786,5 +397,5 @@ index 4eb060c..a8229c9 100644 |
474 |
gtk_action_group_set_translation_domain (priv->actions, GETTEXT_PACKAGE); |
475 |
|
476 |
-- |
477 |
-1.8.0.2 |
478 |
+1.8.2.1 |
479 |
|
480 |
|
481 |
diff --git a/app-office/planner/files/0002-Fix-build-failures-with-Werror.patch b/app-office/planner/files/0002-Fix-build-failures-with-Werror.patch |
482 |
deleted file mode 100644 |
483 |
index d2abe56..0000000 |
484 |
--- a/app-office/planner/files/0002-Fix-build-failures-with-Werror.patch |
485 |
+++ /dev/null |
486 |
@@ -1,61 +0,0 @@ |
487 |
-From 9e3361bea793519682b073823b6ae284c476fe66 Mon Sep 17 00:00:00 2001 |
488 |
-From: Gilles Dartiguelongue <eva@g.o> |
489 |
-Date: Sat, 29 Dec 2012 00:12:46 +0100 |
490 |
-Subject: [PATCH 2/5] Fix build failures with -Werror |
491 |
- |
492 |
---- |
493 |
- src/planner-python-plugin.c | 4 +--- |
494 |
- tests/calendar-test.c | 1 + |
495 |
- tests/time-test.c | 1 + |
496 |
- 3 files changed, 3 insertions(+), 3 deletions(-) |
497 |
- |
498 |
-diff --git a/src/planner-python-plugin.c b/src/planner-python-plugin.c |
499 |
-index 61dc077..bd717d6 100644 |
500 |
---- a/src/planner-python-plugin.c |
501 |
-+++ b/src/planner-python-plugin.c |
502 |
-@@ -148,7 +148,7 @@ plugin_execute_scripts(PlannerPlugin *plugin, const gchar *dirname) |
503 |
- filename = g_dir_read_name (dir); |
504 |
- } |
505 |
- |
506 |
-- g_free (dirname); |
507 |
-+ g_free ((gpointer) dirname); |
508 |
- g_dir_close (dir); |
509 |
- } |
510 |
- |
511 |
-@@ -156,9 +156,7 @@ G_MODULE_EXPORT void |
512 |
- plugin_init (PlannerPlugin *plugin) |
513 |
- { |
514 |
- PlannerPluginPriv *priv; |
515 |
-- GDir *dir; |
516 |
- gchar *dirname; |
517 |
-- const gchar *filename; |
518 |
- |
519 |
- priv = g_new0 (PlannerPluginPriv, 1); |
520 |
- plugin->priv = priv; |
521 |
-diff --git a/tests/calendar-test.c b/tests/calendar-test.c |
522 |
-index a73b569..fa8c4ba 100644 |
523 |
---- a/tests/calendar-test.c |
524 |
-+++ b/tests/calendar-test.c |
525 |
-@@ -168,6 +168,7 @@ main (gint argc, gchar **argv) |
526 |
- CHECK_INTEGER_RESULT (mrp_day_get_id (day_a), |
527 |
- mrp_day_get_id (day_b)); |
528 |
- |
529 |
-+ g_object_unref (app); |
530 |
- return EXIT_SUCCESS; |
531 |
- } |
532 |
- |
533 |
-diff --git a/tests/time-test.c b/tests/time-test.c |
534 |
-index 37a1540..abb0d45 100644 |
535 |
---- a/tests/time-test.c |
536 |
-+++ b/tests/time-test.c |
537 |
-@@ -22,6 +22,7 @@ main (gint argc, gchar **argv) |
538 |
- t = mrp_time_compose (2002, 3, 31, 0, 0, 0); |
539 |
- |
540 |
- /* Test mrp_time_new_from_string */ |
541 |
-+ CHECK_STRING_RESULT (mrp_time_to_string (t), "20020331T000000Z"); |
542 |
- CHECK_STRING_RESULT (STRING (mrp_time_from_string ("20020329", NULL)), "20020329T000000Z"); |
543 |
- CHECK_STRING_RESULT (STRING (mrp_time_from_string ("19991231", NULL)), "19991231T000000Z"); |
544 |
- CHECK_STRING_RESULT (STRING (mrp_time_from_string ("invalid", NULL)), "19700101T000000Z"); |
545 |
--- |
546 |
-1.8.0.2 |
547 |
- |
548 |
|
549 |
diff --git a/app-office/planner/files/0003-Port-GValueArray-to-GArray.patch b/app-office/planner/files/0003-Port-GValueArray-to-GArray.patch |
550 |
deleted file mode 100644 |
551 |
index 9d19839..0000000 |
552 |
--- a/app-office/planner/files/0003-Port-GValueArray-to-GArray.patch |
553 |
+++ /dev/null |
554 |
@@ -1,109 +0,0 @@ |
555 |
-From 18077d98a73ac6bb6f2ecf9e32a1c8cd99a4941d Mon Sep 17 00:00:00 2001 |
556 |
-From: Gilles Dartiguelongue <eva@g.o> |
557 |
-Date: Sat, 29 Dec 2012 00:13:07 +0100 |
558 |
-Subject: [PATCH 3/5] Port GValueArray to GArray |
559 |
- |
560 |
-GValueArray has been deprecated since glib-2.32. |
561 |
---- |
562 |
- libplanner/mrp-old-xml.c | 13 +++++++------ |
563 |
- libplanner/mrp-parser.c | 10 +++++----- |
564 |
- 2 files changed, 12 insertions(+), 11 deletions(-) |
565 |
- |
566 |
-diff --git a/libplanner/mrp-old-xml.c b/libplanner/mrp-old-xml.c |
567 |
-index be4b9c7..8b79bc2 100644 |
568 |
---- a/libplanner/mrp-old-xml.c |
569 |
-+++ b/libplanner/mrp-old-xml.c |
570 |
-@@ -774,11 +774,11 @@ old_xml_read_project_properties (MrpParser *parser) |
571 |
- g_free (phase); |
572 |
- } |
573 |
- |
574 |
--static GValueArray * |
575 |
-+static GArray * |
576 |
- old_xml_read_string_list (xmlNodePtr node, |
577 |
- MrpObject *object) |
578 |
- { |
579 |
-- GValueArray *array; |
580 |
-+ GArray *array; |
581 |
- GValue value = { 0 }; |
582 |
- xmlNodePtr child; |
583 |
- gchar *str; |
584 |
-@@ -787,7 +787,8 @@ old_xml_read_string_list (xmlNodePtr node, |
585 |
- return NULL; |
586 |
- } |
587 |
- |
588 |
-- array = g_value_array_new (0); |
589 |
-+ array = g_array_new (TRUE, TRUE, sizeof(GValue *)); |
590 |
-+ g_array_set_clear_func (array, (GDestroyNotify) g_value_unset); |
591 |
- |
592 |
- g_value_init (&value, G_TYPE_STRING); |
593 |
- |
594 |
-@@ -798,7 +799,7 @@ old_xml_read_string_list (xmlNodePtr node, |
595 |
- |
596 |
- if (str && str[0]) { |
597 |
- g_value_set_string (&value, str); |
598 |
-- g_value_array_append (array, &value); |
599 |
-+ g_array_append_val (array, value); |
600 |
- } |
601 |
- |
602 |
- g_free (str); |
603 |
-@@ -1352,7 +1353,7 @@ old_xml_set_property_from_node (MrpProject *project, |
604 |
- gfloat f; |
605 |
- gchar *name; |
606 |
- gchar *str; |
607 |
-- GValueArray *array; |
608 |
-+ GArray *array; |
609 |
- GList *phases; |
610 |
- |
611 |
- name = old_xml_get_string (node, "name"); |
612 |
-@@ -1401,7 +1402,7 @@ old_xml_set_property_from_node (MrpProject *project, |
613 |
- array = old_xml_read_string_list (node, object); |
614 |
- if (array) { |
615 |
- mrp_object_set (object, name, array, NULL); |
616 |
-- g_value_array_free (array); |
617 |
-+ g_array_free (array, TRUE); |
618 |
- } |
619 |
- break; |
620 |
- case MRP_PROPERTY_TYPE_INT: |
621 |
-diff --git a/libplanner/mrp-parser.c b/libplanner/mrp-parser.c |
622 |
-index 81099a7..f4448e3 100644 |
623 |
---- a/libplanner/mrp-parser.c |
624 |
-+++ b/libplanner/mrp-parser.c |
625 |
-@@ -178,7 +178,7 @@ mpp_property_to_string (MrpObject *object, |
626 |
- gint i; |
627 |
- gfloat f; |
628 |
- mrptime date; |
629 |
-- GValueArray *array; |
630 |
-+ GArray *array; |
631 |
- |
632 |
- name = mrp_property_get_name (property); |
633 |
- |
634 |
-@@ -411,7 +411,7 @@ mpp_write_string_list (xmlNodePtr node, |
635 |
- MrpObject *object) |
636 |
- { |
637 |
- xmlNodePtr child; |
638 |
-- GValueArray *array; |
639 |
-+ GArray *array; |
640 |
- GValue *value; |
641 |
- gint i; |
642 |
- |
643 |
-@@ -420,14 +420,14 @@ mpp_write_string_list (xmlNodePtr node, |
644 |
- return; |
645 |
- } |
646 |
- |
647 |
-- for (i = 0; i < array->n_values; i++) { |
648 |
-- value = g_value_array_get_nth (array, i); |
649 |
-+ for (i = 0; i < array->len; i++) { |
650 |
-+ value = g_array_index (array, GValue *, i); |
651 |
- |
652 |
- child = xmlNewChild (node, NULL, "list-item", NULL); |
653 |
- xmlSetProp (child, "value", g_value_get_string (value)); |
654 |
- } |
655 |
- |
656 |
-- g_value_array_free (array); |
657 |
-+ g_array_free (array, TRUE); |
658 |
- } |
659 |
- |
660 |
- static void |
661 |
--- |
662 |
-1.8.0.2 |
663 |
- |
664 |
|
665 |
diff --git a/app-office/planner/files/0005-Run-autoupdate.patch b/app-office/planner/files/0005-Run-autoupdate.patch |
666 |
deleted file mode 100644 |
667 |
index f02fcfa..0000000 |
668 |
--- a/app-office/planner/files/0005-Run-autoupdate.patch |
669 |
+++ /dev/null |
670 |
@@ -1,85 +0,0 @@ |
671 |
-From 93f39fce452e874f1240b3580e242fefb8c7c5c3 Mon Sep 17 00:00:00 2001 |
672 |
-From: Gilles Dartiguelongue <eva@g.o> |
673 |
-Date: Sat, 29 Dec 2012 17:08:33 +0100 |
674 |
-Subject: [PATCH 5/5] Run autoupdate |
675 |
- |
676 |
---- |
677 |
- Makefile.am | 6 ------ |
678 |
- configure.ac | 27 ++++++++++++++------------- |
679 |
- 2 files changed, 14 insertions(+), 19 deletions(-) |
680 |
- |
681 |
-diff --git a/Makefile.am b/Makefile.am |
682 |
-index 128551f..4c81a31 100644 |
683 |
---- a/Makefile.am |
684 |
-+++ b/Makefile.am |
685 |
-@@ -43,12 +43,6 @@ DISTCHECK_CONFIGURE_FLAGS = \ |
686 |
- --disable-scrollkeeper \ |
687 |
- --disable-update-mimedb |
688 |
- |
689 |
--# Workaround broken scrollkeeper that doesn't remove its files on |
690 |
--# uninstall. Same with the shared mime info, the generated files |
691 |
--# aren't empty when there is no mime data |
692 |
--distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | \ |
693 |
-- grep -v '/share/mime/' | grep -v '/share/omf/planner' |
694 |
-- |
695 |
- DISTCLEANFILES = intltool-extract intltool-merge intltool-update |
696 |
- |
697 |
- dist-hook: |
698 |
-diff --git a/configure.ac b/configure.ac |
699 |
-index 7e0cd8a..b512cad 100644 |
700 |
---- a/configure.ac |
701 |
-+++ b/configure.ac |
702 |
-@@ -1,17 +1,18 @@ |
703 |
- # Process this file with autoconf to produce a configure script. |
704 |
--# require autoconf 2.54 |
705 |
--AC_PREREQ(2.54) |
706 |
-+# require autoconf 2.69 |
707 |
-+AC_PREREQ([2.69]) |
708 |
- |
709 |
--AC_INIT(AUTHORS) |
710 |
--AM_INIT_AUTOMAKE(planner, 0.14.6) |
711 |
--m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
712 |
--AM_CONFIG_HEADER(config.h) |
713 |
-+AC_INIT([planner], [0.14.6]) |
714 |
-+AM_INIT_AUTOMAKE([-Wall 1.11]) |
715 |
-+AM_SILENT_RULES([yes]) |
716 |
-+AC_CONFIG_HEADERS([config.h]) |
717 |
-+AC_CONFIG_SRCDIR([AUTHORS]) |
718 |
- |
719 |
--AC_ISC_POSIX |
720 |
-+AC_SEARCH_LIBS([strerror],[cposix]) |
721 |
- AC_PROG_CC |
722 |
--AC_STDC_HEADERS |
723 |
--AM_DISABLE_STATIC |
724 |
--AM_PROG_LIBTOOL |
725 |
-+AC_HEADER_STDC |
726 |
-+AC_DISABLE_STATIC([]) |
727 |
-+LT_INIT |
728 |
- |
729 |
- AM_PATH_GLIB_2_0 |
730 |
- |
731 |
-@@ -29,8 +30,7 @@ AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, true) |
732 |
- AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database, true) |
733 |
- |
734 |
- AC_ARG_ENABLE(update-mimedb, |
735 |
-- AC_HELP_STRING([--disable-update-mimedb], |
736 |
-- [disable the update-mime-database after install [default=no]]),, |
737 |
-+ AS_HELP_STRING([--disable-update-mimedb],[disable the update-mime-database after install [default=no]]),, |
738 |
- enable_update_mimedb=yes) |
739 |
- AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) |
740 |
- |
741 |
-@@ -336,9 +336,10 @@ eds-backend/utils/Makefile |
742 |
- libplanner-1.pc |
743 |
- ]) |
744 |
- |
745 |
--AC_OUTPUT([ |
746 |
-+AC_CONFIG_FILES([ |
747 |
- data/planner.desktop.in |
748 |
- ]) |
749 |
-+AC_OUTPUT |
750 |
- |
751 |
- echo |
752 |
- echo "Planner prefix : $prefix" |
753 |
--- |
754 |
-1.8.0.2 |
755 |
- |
756 |
|
757 |
diff --git a/app-office/planner/planner-9999.ebuild b/app-office/planner/planner-9999.ebuild |
758 |
index 58721b9..fe3c504 100644 |
759 |
--- a/app-office/planner/planner-9999.ebuild |
760 |
+++ b/app-office/planner/planner-9999.ebuild |
761 |
@@ -1,11 +1,11 @@ |
762 |
-# Copyright 1999-2012 Gentoo Foundation |
763 |
+# Copyright 1999-2013 Gentoo Foundation |
764 |
# Distributed under the terms of the GNU General Public License v2 |
765 |
# $Header: $ |
766 |
|
767 |
EAPI="5" |
768 |
GCONF_DEBUG="no" |
769 |
GNOME2_LA_PUNT="yes" |
770 |
-PYTHON_COMPAT=( python2_{5,6,7} ) |
771 |
+PYTHON_COMPAT=( python2_{6,7} ) |
772 |
|
773 |
inherit autotools eutils gnome2 python-single-r1 |
774 |
if [[ ${PV} = 9999 ]]; then |
775 |
@@ -36,7 +36,7 @@ RDEPEND=" |
776 |
>=dev-libs/libxslt-1.1.23 |
777 |
python? ( |
778 |
${PYTHON_DEPS} |
779 |
- >=dev-python/pygtk-2.6:2 ) |
780 |
+ >=dev-python/pygtk-2.6:2[${PYTHON_USEDEP}] ) |
781 |
eds? ( |
782 |
>=gnome-extra/evolution-data-server-3.6 |
783 |
>=mail-client/evolution-3.6 )" |
784 |
@@ -58,17 +58,8 @@ src_prepare() { |
785 |
# Find python in a faster way, bug #344231, upstream bug #654044 |
786 |
epatch "${FILESDIR}"/0001-Speed-up-python-path-detection.patch |
787 |
|
788 |
- # Fix build failures |
789 |
- epatch "${FILESDIR}"/0002-Fix-build-failures-with-Werror.patch |
790 |
- |
791 |
- # Switch from GValueArray to GArray |
792 |
- epatch "${FILESDIR}"/0003-Port-GValueArray-to-GArray.patch |
793 |
- |
794 |
# Fix build with eds-3.6 |
795 |
- epatch "${FILESDIR}"/0004-Fix-build-failure-with-evolution-data-server-3.6.patch |
796 |
- |
797 |
- # Fix eautoreconf failures |
798 |
- epatch "${FILESDIR}"/0005-Run-autoupdate.patch |
799 |
+ epatch "${FILESDIR}"/0002-Fix-build-failure-with-evolution-data-server-3.6.patch |
800 |
|
801 |
[[ ${PV} != 9999 ]] && eautoreconf |
802 |
|
803 |
@@ -80,15 +71,15 @@ src_prepare() { |
804 |
|
805 |
src_configure() { |
806 |
# FIXME: disable eds backend for now, it fails, upstream bug #654005 |
807 |
- G2CONF="${G2CONF} |
808 |
- $(use_enable python) |
809 |
- $(use_enable python python-plugin) |
810 |
- $(use_enable eds) |
811 |
- --disable-eds-backend |
812 |
- --with-database=no |
813 |
- --disable-update-mimedb" |
814 |
+ gnome2_src_configure \ |
815 |
+ $(use_enable python) \ |
816 |
+ $(use_enable python python-plugin) \ |
817 |
+ $(use_enable eds) \ |
818 |
+ --disable-eds-backend \ |
819 |
+ --with-database=no \ |
820 |
+ --disable-update-mimedb \ |
821 |
+ --enable-compile-warnings=yes |
822 |
#$(use_enable eds eds-backend) |
823 |
- gnome2_src_configure |
824 |
} |
825 |
|
826 |
src_install() { |