Subject: gumeric14 build error (was: CVS commit: pkgsrc/devel/libgsf)
To: Matthias Drochner <drochner@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 09/05/2005 07:43:57
On Fri, Aug 26, 2005 at 04:22:38PM +0000, Matthias Drochner wrote:
> 
> Module Name:	pkgsrc
> Committed By:	drochner
> Date:		Fri Aug 26 16:22:38 UTC 2005
> 
> Modified Files:
> 	pkgsrc/devel/libgsf: Makefile PLIST distinfo
> 
> Log Message:
> update to 1.12.2
> changes:
> -made GSF_CLASS_FULL and GSF_DYNAMIC_CLASS_FULL really full (add
>  _finalize and class_finalize arguments).
> -Handle 0x8000 and 0x8001 codepages.
> -bugfixes
> 
> also fix installation of gconf schema

Unfortunally this update seems to break gumeric14:

gog-axis.c:1683:72: macro "GSF_CLASS_FULL" requires 10 arguments, but only 7 given
gog-axis.c:1686: error: syntax error before "GogAxisType"
gog-axis.c:1536: warning: `gog_axis_class_init' defined but not used
gog-axis.c:1622: warning: `gog_axis_init' defined but not used
gog-axis.c:1674: warning: `gog_axis_dataset_init' defined but not used
gmake[7]: *** [gog-axis.lo] Error 1  
gmake[7]: Leaving directory `/pkgsrc/math/gnumeric14/work.i386/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
gmake[6]: *** [all-recursive] Error 1

GSF_CLASS_FULL is defined in:
/usr/pkg/include/libgsf-1/gsf/gsf-impl-utils.h

Hmmm,

http://cvs.gnome.org/viewcvs/gnumeric/src/cut-n-paste-code/goffice/graph/gog-axis.c?r1=1.106.2.1&r2=1.106.2.2&only_with_tag=gnumeric-1-4&makepatch=1&diff_format=u

Buts that not enough because of that changelog:

2005-08-14  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: needs libgsf-1.12.2
	* plugins/corba/corba-workbook.c: updated to new GSF_CLASS_FULL signature.
	* src/command-context-stderr.c: ditto.
	* src/cut-n-paste-code/goffice/graph/gog-axis.c: ditto.
	* src/cut-n-paste-code/goffice/graph/gog-error-bar.c: ditto.
	* src/cut-n-paste-code/goffice/graph/gog-label.c: ditto.
	* src/cut-n-paste-code/goffice/graph/gog-series.c: ditto.
	* src/cut-n-paste-code/goffice/graph/gog-style.c: ditto.
	* src/gnm-so-filled.c: ditto.
	* src/gnm-so-line.c: ditto.
	* src/io-context-gtk.c: ditto.
	* src/io-context.c: ditto.
	* src/sheet-filter.c: ditto.
	* src/sheet-object-cell-comment.c: ditto.
	* src/sheet-object-graph.c: ditto.
	* src/sheet-object-image.c: ditto.
	* src/sheet-object-widget.c: ditto.
	* src/widgets/gnumeric-expr-entry.c: ditto.
	* src/workbook-control-gui.c: ditto.

So there are more patches needed.

Bernd