Aaron Larson <[EMAIL PROTECTED]> writes:
> DA> Well, this is a compile failure in goffice, which admittedly hasn't
> DA> been tested in all potential configurations. It looks like the code
> DA> is not properly acquiring the HAVE_GETTEXT setting, or something, but
> DA> I'd need to know how you configured first.
>
> DA> It certainly looks like the problem is in foo-canvas-i18n.h
>
> DA> -derek
OOPS, that last patch was definitely wrong. (Serves me right for not
testing it before I send it out). Can you try THIS patch instead of
that last one and let me know if it works for you?
Thanks!
-derek
Index: lib/goffice-0.0.4/goffice/cut-n-paste/foocanvas/foo-canvas-i18n.h
===================================================================
--- lib/goffice-0.0.4/goffice/cut-n-paste/foocanvas/foo-canvas-i18n.h (revision 13293)
+++ lib/goffice-0.0.4/goffice/cut-n-paste/foocanvas/foo-canvas-i18n.h (working copy)
@@ -34,37 +34,6 @@
#define __LIBFOO_CANVAS_I18N_H__
#include <glib.h>
+#include <glib/gi18n.h>
-G_BEGIN_DECLS
-
-#if !defined(__LIBFOO_CANVAS_I18NP_H__)
-
-#ifdef ENABLE_NLS
-# include <libintl.h>
-# ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN
-# undef _
-# define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String)
-# else
-# define _(String) gettext (String)
-# endif
-# ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-# else
-# define N_(String) (String)
-# endif
-#else
-/* Stubs that do something close enough. */
-# define textdomain(String) (String)
-# define gettext(String) (String)
-# define dgettext(Domain,Message) (Message)
-# define dcgettext(Domain,Message,Type) (Message)
-# define bindtextdomain(Domain,Directory) (Domain)
-# define _(String) (String)
-# define N_(String) (String)
-#endif
-
-#endif
-
-G_END_DECLS
-
#endif /* __LIBFOO_CANVAS_I18N_H__ */
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel