mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a...
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.
This commit is contained in:
parent
c2491a1e2d
commit
c01188cb00
5 changed files with 17 additions and 5 deletions
12
ChangeLog
12
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):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit a98b370bd49bc3f3225bbd9013cda5a53789f53d
|
||||
Subproject commit dd173e2720ac21e4a47c97705d7ff32271a0ee66
|
|
@ -23,9 +23,10 @@
|
|||
#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)
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
#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)
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <libintl.h>
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
static char *_name;
|
||||
|
|
Loading…
Reference in a new issue