The attached patch will make the inclusion of gettext.h unconditional in gst/gst...
authorPeter Kjellerstedt <pkj@axis.com>
Mon, 3 Jul 2006 14:14:48 +0000 (14:14 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 3 Jul 2006 14:14:48 +0000 (14:14 +0000)
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/gst-i18n-app.h:
* gst/gst-i18n-lib.h:
* tools/gst-inspect.c: (print_signal_info):
The attached patch will make the inclusion of gettext.h unconditional in
gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
libintl.h in tools/gst-inspect.c.
This allows use of --disable-nls again and fixes #344642.

ChangeLog
common
gst/gst-i18n-app.h
gst/gst-i18n-lib.h
tools/gst-inspect.c

index fd1ae47..dd42b46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2006-07-03  Wim Taymans  <wim@fluendo.com>
+
+       Patch by: Peter Kjellerstedt <pkj at axis dot com>
+
+       * gst/gst-i18n-app.h:
+       * gst/gst-i18n-lib.h:
+       * tools/gst-inspect.c: (print_signal_info):
+       The attached patch will make the inclusion of gettext.h unconditional in
+       gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
+       libintl.h in tools/gst-inspect.c.
+       This allows use of --disable-nls again and fixes #344642.
+
 2006-07-03  Edward Hervey  <edward@fluendo.com>
 
        * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
diff --git a/common b/common
index a98b370..dd173e2 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit a98b370bd49bc3f3225bbd9013cda5a53789f53d
+Subproject commit dd173e2720ac21e4a47c97705d7ff32271a0ee66
index 4223909..65e27ba 100644 (file)
 #ifndef __GST_I18N_APP_H__
 #define __GST_I18N_APP_H__
 
-#ifdef ENABLE_NLS
 #include "gettext.h" /* included with gettext distribution and copied */
 
+#ifdef ENABLE_NLS
+
 /* we want to use shorthand _() for translating and N_() for marking */
 #define _(String) gettext (String)
 #define N_(String) gettext_noop (String)
index 60a5f9f..3bd3bc1 100644 (file)
 #error You must include config.h before including this header.
 #endif
 
-#ifdef ENABLE_NLS
-
 #include "gettext.h" /* included with gettext distribution and copied */
 
+#ifdef ENABLE_NLS
+
 /* we want to use shorthand _() for translating and N_() for marking */
 #define _(String) dgettext (GETTEXT_PACKAGE, String)
 #define N_(String) gettext_noop (String)
index e161bcb..1fedc8f 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <string.h>
 #include <locale.h>
-#include <libintl.h>
 #include <glib/gprintf.h>
 
 static char *_name;