View | Details | Raw Unified | Return to bug 133721 | Differences between
and this patch

Collapse All | Expand All

(-)gnucash/Makefile (-2 / +2 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	gnucash
9
PORTNAME=	gnucash
10
PORTVERSION=	2.2.7
10
PORTVERSION=	2.2.9
11
PORTREVISION=	2
12
CATEGORIES=	finance gnome
11
CATEGORIES=	finance gnome
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
14
		http://www.gnucash.org/pub/gnucash/sources/stable/
13
		http://www.gnucash.org/pub/gnucash/sources/stable/
Lines 38-43 Link Here
38
USE_GETTEXT=	yes
37
USE_GETTEXT=	yes
39
USE_XORG=	xpm x11
38
USE_XORG=	xpm x11
40
USE_GMAKE=	yes
39
USE_GMAKE=	yes
40
MAKE_JOBS_SAFE=	yes
41
USE_PERL5=	yes
41
USE_PERL5=	yes
42
INSTALLS_ICONS=	yes
42
INSTALLS_ICONS=	yes
43
USE_GNOME=	gnomeprefix libgsf_gnome libglade2 \
43
USE_GNOME=	gnomeprefix libgsf_gnome libglade2 \
(-)gnucash/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gnucash-2.2.7.tar.bz2) = 0f3f324c274b136070b769aa10591ccf
1
MD5 (gnucash-2.2.9.tar.bz2) = 1d814de8673b4760045bf51b72924d04
2
SHA256 (gnucash-2.2.7.tar.bz2) = aaa558e76427b7a990287089a6e0e5ecb0f4404e0343a7200e1588f60ffab1e8
2
SHA256 (gnucash-2.2.9.tar.bz2) = b1882406e71c565c1bdd64e963cf98a42c72053a7ec4608508a074a86b1d486a
3
SIZE (gnucash-2.2.7.tar.bz2) = 7362491
3
SIZE (gnucash-2.2.9.tar.bz2) = 7509648
(-)gnucash/files/patch-src-gnome-utils-gnc-html-graph-gog.c (+131 lines)
Line 0 Link Here
1
--- src/gnome-utils/gnc-html-graph-gog.c.orig	2008-01-08 02:06:26.000000000 +0100
2
+++ src/gnome-utils/gnc-html-graph-gog.c	2009-05-04 23:45:42.167617782 +0200
3
@@ -46,7 +46,22 @@
4
 #ifndef GTKHTML_USES_GTKPRINT
5
 #    include <goffice/graph/gog-renderer-gnome-print.h>
6
 #endif
7
-#include <goffice/graph/gog-style.h>
8
+/* everything inside the following #ifndef can be safely removed when gnucash 
9
+requires libgoffice >= 0.7.5. */ 
10
+#ifndef GOG_TYPE_GRAPH 
11
+#       define GOG_TYPE_GRAPH GOG_GRAPH_TYPE 
12
+#       define GOG_TYPE_RENDERER GOG_RENDERER_TYPE 
13
+#       define GO_TYPE_PLUGIN_LOADER_MODULE GO_PLUGIN_LOADER_MODULE_TYPE 
14
+#       include <goffice/graph/gog-style.h> 
15
+#       define GOStyle GogStyle 
16
+#       define go_styled_object_get_style gog_styled_object_get_style 
17
+#       define GO_STYLED_OBJECT GOG_STYLED_OBJECT 
18
+#       define GO_STYLE_FILL_PATTERN GOG_FILL_STYLE_PATTERN 
19
+#       define go_style_set_text_angle gog_style_set_text_angle 
20
+#else 
21
+#       include <goffice/utils/go-style.h> 
22
+#       include <goffice/utils/go-styled-object.h> 
23
+#endif 
24
 #include <goffice/graph/gog-styled-object.h>
25
 #include <goffice/graph/gog-plot.h>
26
 #include <goffice/graph/gog-series.h>
27
@@ -98,7 +113,7 @@
28
   libgoffice_init();
29
   
30
   /* Initialize plugins manager */
31
-  go_plugins_init (NULL, NULL, NULL, NULL, TRUE, GO_PLUGIN_LOADER_MODULE_TYPE);
32
+  go_plugins_init( NULL, NULL, NULL, NULL, TRUE, GO_TYPE_PLUGIN_LOADER_MODULE );
33
 
34
   gnc_html_register_object_handler( "gnc-guppi-pie", handle_piechart );
35
   gnc_html_register_object_handler( "gnc-guppi-bar", handle_barchart );
36
@@ -189,7 +204,7 @@
37
   gog_object_update (GOG_OBJECT (graph));
38
 
39
 #if defined(HAVE_GOFFICE_0_5)
40
-  renderer = GOG_RENDERER (g_object_new (GOG_RENDERER_TYPE,
41
+  renderer = GOG_RENDERER (g_object_new (GOG_TYPE_RENDERER,
42
 					 "model", graph,
43
 					 NULL));
44
   update_status = gog_renderer_update (renderer, eb->width, eb->height);
45
@@ -229,7 +244,7 @@
46
                            GogObject **out_chart,
47
                            GogPlot **out_plot)
48
 {
49
-  *out_graph = g_object_new(GOG_GRAPH_TYPE, NULL);
50
+  *out_graph = g_object_new(GOG_TYPE_GRAPH, NULL);
51
   *out_chart = gog_object_add_by_name(*out_graph, "Chart", NULL);
52
   *out_plot = gog_plot_new_by_name(plot_type_name);
53
   if (!*out_plot)
54
@@ -401,7 +416,7 @@
55
   GogObject *graph, *chart;
56
   GogPlot *plot;
57
   GogSeries *series;
58
-  GogStyle *style;
59
+  GOStyle *style;
60
   GOData *label_data, *slice_data;
61
   int data_rows, data_cols;
62
   double *data = NULL;
63
@@ -489,8 +504,8 @@
64
       gog_series_set_dim (series, 1, slice_data, NULL);
65
       go_data_emit_changed (GO_DATA (slice_data));
66
 
67
-      style = gog_styled_object_get_style (GOG_STYLED_OBJECT (series));
68
-      style->fill.type = GOG_FILL_STYLE_PATTERN;
69
+      style = go_styled_object_get_style( GO_STYLED_OBJECT(series) ); 
70
+      style->fill.type = GO_STYLE_FILL_PATTERN; 
71
       if (gdk_color_parse (col_colors[i], &color)) {
72
            style->fill.auto_back = FALSE;
73
            go_pattern_set_solid (&style->fill.pattern, GDK_TO_UINT (color));
74
@@ -503,8 +518,8 @@
75
   if (rotate_row_labels) {
76
     GogObject *object = gog_object_get_child_by_role (
77
       chart, gog_object_find_role_by_name (chart, "X-Axis"));
78
-    style = gog_styled_object_get_style (GOG_STYLED_OBJECT (object));
79
-    gog_style_set_text_angle (style, 90.0);
80
+      style = go_styled_object_get_style( GO_STYLED_OBJECT(object) ); 
81
+      go_style_set_text_angle( style, 90.0 ); 
82
   }
83
 
84
   set_chart_titles_from_hash (chart, eb);
85
@@ -526,7 +541,7 @@
86
   GogPlot *plot;
87
   GogSeries *series;
88
   GOData *sliceData;
89
-  GogStyle *style;
90
+  GOStyle *style;
91
   int datasize;
92
   double *xData, *yData;
93
   gchar *marker_str, *color_str;
94
@@ -556,7 +571,7 @@
95
   }
96
 
97
   series = gog_plot_new_series( plot );
98
-  style = gog_styled_object_get_style(GOG_STYLED_OBJECT(series));
99
+  style = go_styled_object_get_style(GO_STYLED_OBJECT(series));
100
 
101
   sliceData = go_data_vector_val_new( xData, datasize, NULL );
102
   gog_series_set_dim( series, 0, sliceData, NULL );
103
@@ -602,15 +617,15 @@
104
     go_marker_set_fill_color(style->marker.mark,
105
                              go_marker_get_outline_color(style->marker.mark));
106
   } else {
107
-    GogStyle *chart_style =
108
-      gog_styled_object_get_style(GOG_STYLED_OBJECT(chart));
109
+    GOStyle *chart_style =
110
+      go_styled_object_get_style(GO_STYLED_OBJECT(chart));
111
 
112
-    if (chart_style->fill.type == GOG_FILL_STYLE_PATTERN
113
+    if (chart_style->fill.type == GO_STYLE_FILL_PATTERN
114
         && chart_style->fill.pattern.pattern == GO_PATTERN_SOLID) {
115
       style->marker.auto_fill_color = FALSE;
116
       go_marker_set_fill_color(style->marker.mark,
117
                                chart_style->fill.pattern.back);
118
-    } else if (chart_style->fill.type == GOG_FILL_STYLE_PATTERN
119
+    } else if (chart_style->fill.type == GO_STYLE_FILL_PATTERN
120
                && chart_style->fill.pattern.pattern
121
                == GO_PATTERN_FOREGROUND_SOLID) {
122
       style->marker.auto_fill_color = FALSE;
123
@@ -639,7 +654,7 @@
124
 {
125
   GogGraph *graph = GOG_GRAPH(g_object_get_data(G_OBJECT(eb), "graph"));
126
 #    ifdef HAVE_GOFFICE_0_5
127
-  GogRenderer *rend = g_object_new(GOG_RENDERER_TYPE, "model", graph, NULL);
128
+  GogRenderer *rend = g_object_new(GOG_TYPE_RENDERER, "model", graph, NULL);
129
 #    else
130
   GogRendererCairo *rend = g_object_new(GOG_RENDERER_CAIRO_TYPE, "model", graph,
131
                                         "cairo", cr, "is-vector", TRUE, NULL);
(-)gnucash/pkg-plist (+9 lines)
Lines 324-330 Link Here
324
share/gnucash/accounts/de_DE/acctchrt_otherloan.gnucash-xea
324
share/gnucash/accounts/de_DE/acctchrt_otherloan.gnucash-xea
325
share/gnucash/accounts/de_DE/acctchrt_skr03.gnucash-xea
325
share/gnucash/accounts/de_DE/acctchrt_skr03.gnucash-xea
326
share/gnucash/accounts/de_DE/acctchrt_skr04.gnucash-xea
326
share/gnucash/accounts/de_DE/acctchrt_skr04.gnucash-xea
327
share/gnucash/accounts/de_DE/acctchrt_skr49.gnucash-xea
327
share/gnucash/accounts/de_DE/acctchrt_studium.gnucash-xea
328
share/gnucash/accounts/de_DE/acctchrt_studium.gnucash-xea
329
share/gnucash/accounts/de_DE/acctchrt_wohnungsw.gnucash-xea
328
share/gnucash/accounts/el_GR/acctchrt_brokerage.gnucash-xea
330
share/gnucash/accounts/el_GR/acctchrt_brokerage.gnucash-xea
329
share/gnucash/accounts/el_GR/acctchrt_carloan.gnucash-xea
331
share/gnucash/accounts/el_GR/acctchrt_carloan.gnucash-xea
330
share/gnucash/accounts/el_GR/acctchrt_common.gnucash-xea
332
share/gnucash/accounts/el_GR/acctchrt_common.gnucash-xea
Lines 375-380 Link Here
375
share/gnucash/accounts/es_MX/acctchrt_retiremt.gnucash-xea
377
share/gnucash/accounts/es_MX/acctchrt_retiremt.gnucash-xea
376
share/gnucash/accounts/es_MX/acctchrt_spouseinc.gnucash-xea
378
share/gnucash/accounts/es_MX/acctchrt_spouseinc.gnucash-xea
377
share/gnucash/accounts/es_MX/acctchrt_spouseretire.gnucash-xea
379
share/gnucash/accounts/es_MX/acctchrt_spouseretire.gnucash-xea
380
share/gnucash/accounts/fi_FI/acctchrt_common.gnucash-xea
381
share/gnucash/accounts/fi_FI/acctchrt_ry.gnucash-xea
378
share/gnucash/accounts/fr_CA/acctchrt_actifsfixes.gnucash-xea
382
share/gnucash/accounts/fr_CA/acctchrt_actifsfixes.gnucash-xea
379
share/gnucash/accounts/fr_CA/acctchrt_automobile.gnucash-xea
383
share/gnucash/accounts/fr_CA/acctchrt_automobile.gnucash-xea
380
share/gnucash/accounts/fr_CA/acctchrt_basecommune.gnucash-xea
384
share/gnucash/accounts/fr_CA/acctchrt_basecommune.gnucash-xea
Lines 438-443 Link Here
438
share/gnucash/accounts/hu_HU/acctchrt_spouseinc.gnucash-xea
442
share/gnucash/accounts/hu_HU/acctchrt_spouseinc.gnucash-xea
439
share/gnucash/accounts/hu_HU/acctchrt_spouseretire.gnucash-xea
443
share/gnucash/accounts/hu_HU/acctchrt_spouseretire.gnucash-xea
440
share/gnucash/accounts/it/acctchrt_brokerage.gnucash-xea
444
share/gnucash/accounts/it/acctchrt_brokerage.gnucash-xea
445
share/gnucash/accounts/it/acctchrt_business.gnucash-xea
441
share/gnucash/accounts/it/acctchrt_carloan.gnucash-xea
446
share/gnucash/accounts/it/acctchrt_carloan.gnucash-xea
442
share/gnucash/accounts/it/acctchrt_checkbook.gnucash-xea
447
share/gnucash/accounts/it/acctchrt_checkbook.gnucash-xea
443
share/gnucash/accounts/it/acctchrt_childcare.gnucash-xea
448
share/gnucash/accounts/it/acctchrt_childcare.gnucash-xea
Lines 483-488 Link Here
483
share/gnucash/accounts/nb/acctchrt_retiremt.gnucash-xea
488
share/gnucash/accounts/nb/acctchrt_retiremt.gnucash-xea
484
share/gnucash/accounts/nb/acctchrt_spouseinc.gnucash-xea
489
share/gnucash/accounts/nb/acctchrt_spouseinc.gnucash-xea
485
share/gnucash/accounts/nb/acctchrt_spouseretire.gnucash-xea
490
share/gnucash/accounts/nb/acctchrt_spouseretire.gnucash-xea
491
share/gnucash/accounts/nl/acctchrt_full.gnucash-xea
486
share/gnucash/accounts/pt_BR/acctchrt_brokerage.gnucash-xea
492
share/gnucash/accounts/pt_BR/acctchrt_brokerage.gnucash-xea
487
share/gnucash/accounts/pt_BR/acctchrt_carloan.gnucash-xea
493
share/gnucash/accounts/pt_BR/acctchrt_carloan.gnucash-xea
488
share/gnucash/accounts/pt_BR/acctchrt_cdmoneymkt.gnucash-xea
494
share/gnucash/accounts/pt_BR/acctchrt_cdmoneymkt.gnucash-xea
Lines 575-580 Link Here
575
share/gnucash/doc/README
581
share/gnucash/doc/README
576
share/gnucash/doc/README-de.win32-bin.txt
582
share/gnucash/doc/README-de.win32-bin.txt
577
share/gnucash/doc/README-fr.win32-bin.txt
583
share/gnucash/doc/README-fr.win32-bin.txt
584
share/gnucash/doc/README-it.win32-bin.txt
578
share/gnucash/doc/README.dependencies
585
share/gnucash/doc/README.dependencies
579
share/gnucash/doc/README.francais
586
share/gnucash/doc/README.francais
580
share/gnucash/doc/README.german
587
share/gnucash/doc/README.german
Lines 912-917 Link Here
912
@dirrm share/gnucash/accounts/ru
919
@dirrm share/gnucash/accounts/ru
913
@dirrm share/gnucash/accounts/pt_PT
920
@dirrm share/gnucash/accounts/pt_PT
914
@dirrm share/gnucash/accounts/pt_BR
921
@dirrm share/gnucash/accounts/pt_BR
922
@dirrm share/gnucash/accounts/nl
915
@dirrm share/gnucash/accounts/nb
923
@dirrm share/gnucash/accounts/nb
916
@dirrm share/gnucash/accounts/ja
924
@dirrm share/gnucash/accounts/ja
917
@dirrm share/gnucash/accounts/it
925
@dirrm share/gnucash/accounts/it
Lines 919-924 Link Here
919
@dirrm share/gnucash/accounts/fr_FR
927
@dirrm share/gnucash/accounts/fr_FR
920
@dirrm share/gnucash/accounts/fr_CH
928
@dirrm share/gnucash/accounts/fr_CH
921
@dirrm share/gnucash/accounts/fr_CA
929
@dirrm share/gnucash/accounts/fr_CA
930
@dirrm share/gnucash/accounts/fi_FI
922
@dirrm share/gnucash/accounts/es_MX
931
@dirrm share/gnucash/accounts/es_MX
923
@dirrm share/gnucash/accounts/es_ES
932
@dirrm share/gnucash/accounts/es_ES
924
@dirrm share/gnucash/accounts/en_GB
933
@dirrm share/gnucash/accounts/en_GB

Return to bug 133721