From: grzegol Date: Thu, 26 Oct 2006 21:33:54 +0000 (+0000) Subject: - make it build with libgoffice-0.3.1 X-Git-Tag: auto/th/abiword-2_4_6-1~7 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=37117c81d467e986f8135766de05e19d3be67410;p=packages%2Fabiword.git - make it build with libgoffice-0.3.1 Changed files: abiword-goffice03.patch -> 1.3 --- diff --git a/abiword-goffice03.patch b/abiword-goffice03.patch index 69e2213..5366b57 100644 --- a/abiword-goffice03.patch +++ b/abiword-goffice03.patch @@ -12,7 +12,38 @@ diff -aurN abiword-plugins.orig/tools/abigochart/plugin.m4 abiword-plugins/tools abi_plugin_disable=yes diff -aurN abiword-plugins.orig/tools/abigochart/unix/AbiGOChart.cpp abiword-plugins/tools/abigochart/unix/AbiGOChart.cpp --- abiword-plugins.orig/tools/abigochart/unix/AbiGOChart.cpp 2006-03-26 15:28:54.000000000 +0200 -+++ abiword-plugins/tools/abigochart/unix/AbiGOChart.cpp 2006-06-11 19:56:15.363628992 +0200 ++++ abiword-plugins/tools/abigochart/unix/AbiGOChart.cpp 2006-10-26 22:36:49.179956728 +0200 +@@ -72,7 +72,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -1102,7 +1102,7 @@ + { + m_Graph = NULL; + m_Image = NULL; +- m_Renderer = GOG_RENDERER (g_object_new (GOG_RENDERER_PIXBUF_TYPE, NULL)); ++ m_Renderer = GOG_RENDERER (g_object_new (GOG_RENDERER_CAIRO_TYPE, NULL)); + width = height = 0; + m_Guru = NULL; + } +@@ -1157,10 +1157,10 @@ + GdkPixbuf *pixbuf; + width = _width; + height = _height; +- gog_renderer_pixbuf_update (GOG_RENDERER_PIXBUF (m_Renderer), _width, _height, 1.0); ++ gog_renderer_cairo_update (GOG_RENDERER_CAIRO (m_Renderer), _width, _height, 1.0); + if (m_Image) + delete m_Image; +- pixbuf = gog_renderer_pixbuf_get (GOG_RENDERER_PIXBUF (m_Renderer)); ++ pixbuf = gog_renderer_cairo_get_pixbuf (GOG_RENDERER_CAIRO (m_Renderer)); + m_Image = new GR_UnixImage(NULL, pixbuf); + g_object_ref(pixbuf); + m_Image->scaleImageTo(m_pGOMan->getGraphics(),rec); @@ -1256,7 +1256,7 @@ /* the resolution of symbols in libgoffice must be forced because when creating the guru window, libglade needs foo_canvas_new. There might