GNOME Bugzilla – Bug 316085
MinGW compilation: GetText related issues
Last modified: 2005-10-21 16:31:36 UTC
I have some issues with gettext, it might be a problem with my version of this library. Still, some weird things happen 1) In my config.h I have ended up #undef ENABLE_NLS #define GETTEXT_PACKAGE "gstreamer-0.9" (NLS disabled GETTEXT enabled) this confuses the header gst/gst-i18n-lib.h since this header then tries to redefine GETTEXT_PACKAGE macro. This ends with error. I think that my gsttext library is broken so I have decided to undefine GETTEXT_PACKAGE macro in config.h Still, I had two problems: 2) None of gstreamer opptions work unless I delete the line {NULL, NUL, POPT_ARG_INTL_DOMAIN, GETTEXT_PACKAGE, 0, NULL, NULL}, from gstreamer_options (function gst_init_get_popt_table, file gst/gst.c) 3) ngettext is undefined in gst-register
I have tried it once more and config.h parameters #define ENABLE_NLS 1 #define GETTEXT_PACKAGE "gstreamer-0.9" work too. So the only problem is with the combination #undef ENABLE_NLS #define GETTEXT_PACKAGE "gstreamer-0.9" (these macros are probably meant to be both defined or undefined) The problem with gettext in popt remains, but this is probably popt issue. It is really a nightmare to compile popt for windows.
All these issues are fixed: 1) See CVS commit date: 2005-10-11 16:05:16 +0000; author: thomasvs; state: Exp; lines: +1 -1; commitid: 1f94434be2904567; 2) popt dependency removed 3) gst-register removed Thanks
Forget to close the bug...