Replace gst-i18n-*.h with gi18n-lib.h
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 25 Mar 2022 13:59:23 +0000 (09:59 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Apr 2022 18:01:06 +0000 (18:01 +0000)
commitb99ecc78ca02e0072dda3f26c689576fa8de7275
treed5e8110982ebeffa743858d7c70357b62bd4d206
parent50b58aa9744d5ae5c4d000760e379f168cc6272b
Replace gst-i18n-*.h with gi18n-lib.h

GLib guarantees libintl is always present, using proxy-libintl as
last resort. There is no need to mock gettex API any more.

This fix static build on Windows because G_INTL_STATIC_COMPILATION must
be defined before including libintl.h, and glib does it for us as part
as including glib.h.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2028>
167 files changed:
subprojects/gst-plugins-bad/ext/curl/gstcurlelement.c
subprojects/gst-plugins-bad/ext/curl/gstcurlhttpsrc.c
subprojects/gst-plugins-bad/ext/dash/gstdashdemux.c
subprojects/gst-plugins-bad/ext/ladspa/gstladspa.c
subprojects/gst-plugins-bad/ext/openal/gstopenal.c
subprojects/gst-plugins-bad/ext/openal/gstopenalelement.c
subprojects/gst-plugins-bad/ext/opencv/gsttemplatematch.cpp
subprojects/gst-plugins-bad/ext/resindvd/resindvdbin.c
subprojects/gst-plugins-bad/ext/resindvd/resindvdsrc.c
subprojects/gst-plugins-bad/ext/rtmp/gstrtmpsrc.c
subprojects/gst-plugins-bad/ext/smoothstreaming/gstmssdemux.c
subprojects/gst-plugins-bad/ext/smoothstreaming/gstsmoothstreaming-plugin.c
subprojects/gst-plugins-bad/ext/sndfile/gstsf.c
subprojects/gst-plugins-bad/ext/sndfile/gstsfdec.c
subprojects/gst-plugins-bad/ext/sndfile/gstsfelement.c
subprojects/gst-plugins-bad/ext/sndfile/gstsfsink.c
subprojects/gst-plugins-bad/ext/sndfile/gstsfsrc.c
subprojects/gst-plugins-bad/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
subprojects/gst-plugins-bad/gst/aiff/aiffparse.c
subprojects/gst-plugins-bad/gst/aiff/gstaiffelement.c
subprojects/gst-plugins-bad/gst/asfmux/gstasfmux.c
subprojects/gst-plugins-bad/gst/asfmux/gstasfparse.c
subprojects/gst-plugins-bad/gst/camerabin2/camerabingeneral.c
subprojects/gst-plugins-bad/gst/camerabin2/gstcamerabin2.c
subprojects/gst-plugins-bad/gst/camerabin2/gstdigitalzoom.c
subprojects/gst-plugins-bad/gst/camerabin2/gstviewfinderbin.c
subprojects/gst-plugins-bad/gst/camerabin2/gstwrappercamerabinsrc.c
subprojects/gst-plugins-bad/gst/dvdspu/gstdvdspu.c
subprojects/gst-plugins-bad/gst/midi/midi.c
subprojects/gst-plugins-bad/gst/mpegtsdemux/mpegtsbase.c
subprojects/gst-plugins-bad/gst/transcode/gsttranscodebin.c
subprojects/gst-plugins-bad/gst/transcode/gsttranscodeelement.c
subprojects/gst-plugins-bad/sys/dvb/gstdvb.c
subprojects/gst-plugins-bad/sys/dvb/gstdvbelement.c
subprojects/gst-plugins-bad/sys/dvb/gstdvbsrc.c
subprojects/gst-plugins-bad/sys/dvb/parsechannels.c
subprojects/gst-plugins-base/ext/alsa/gstalsaelement.c
subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c
subprojects/gst-plugins-base/ext/alsa/gstalsasink.c
subprojects/gst-plugins-base/ext/alsa/gstalsasrc.c
subprojects/gst-plugins-base/ext/cdparanoia/gstcdparanoiasrc.c
subprojects/gst-plugins-base/ext/gl/gstgltestsrc.c
subprojects/gst-plugins-base/ext/ogg/gstoggdemux.c
subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiobasesrc.c
subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiocdsrc.c
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglbasesrc.c
subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c
subprojects/gst-plugins-base/gst-libs/gst/pbutils/missing-plugins.c
subprojects/gst-plugins-base/gst-libs/gst/pbutils/pbutils.c
subprojects/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.c
subprojects/gst-plugins-base/gst-libs/gst/tag/lang.c
subprojects/gst-plugins-base/gst-libs/gst/tag/tags.c
subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c
subprojects/gst-plugins-base/gst/encoding/gstencodingelements.c
subprojects/gst-plugins-base/gst/playback/gstdecodebin2.c
subprojects/gst-plugins-base/gst/playback/gstparsebin.c
subprojects/gst-plugins-base/gst/playback/gstplaybackelement.c
subprojects/gst-plugins-base/gst/playback/gstplaybackplugin.c
subprojects/gst-plugins-base/gst/playback/gstplaybin2.c
subprojects/gst-plugins-base/gst/playback/gstplaybin3.c
subprojects/gst-plugins-base/gst/playback/gstplaysink.c
subprojects/gst-plugins-base/gst/playback/gstplaysinkaudioconvert.c
subprojects/gst-plugins-base/gst/playback/gstplaysinkconvertbin.c
subprojects/gst-plugins-base/gst/playback/gstplaysinkvideoconvert.c
subprojects/gst-plugins-base/gst/playback/gsturidecodebin.c
subprojects/gst-plugins-base/gst/playback/gsturidecodebin3.c
subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c
subprojects/gst-plugins-base/gst/tcp/gstmultifdsink.c
subprojects/gst-plugins-base/gst/tcp/gstmultihandlesink.c
subprojects/gst-plugins-base/gst/tcp/gstmultisocketsink.c
subprojects/gst-plugins-base/gst/tcp/gstsocketsrc.c
subprojects/gst-plugins-base/gst/tcp/gsttcpclientsink.c
subprojects/gst-plugins-base/gst/tcp/gsttcpclientsrc.c
subprojects/gst-plugins-base/gst/tcp/gsttcpserversink.c
subprojects/gst-plugins-base/gst/tcp/gsttcpserversrc.c
subprojects/gst-plugins-base/tools/gst-device-monitor.c
subprojects/gst-plugins-base/tools/gst-play.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmssdemux.c
subprojects/gst-plugins-good/ext/flac/gstflacdec.c
subprojects/gst-plugins-good/ext/flac/gstflacelement.c
subprojects/gst-plugins-good/ext/jack/gstjackaudiosink.c
subprojects/gst-plugins-good/ext/jack/gstjackaudiosrc.c
subprojects/gst-plugins-good/ext/jpeg/gstjpegdec.c
subprojects/gst-plugins-good/ext/lame/gstlamemp3enc.c
subprojects/gst-plugins-good/ext/lame/plugin.c
subprojects/gst-plugins-good/ext/libpng/gstpngdec.c
subprojects/gst-plugins-good/ext/pulse/gstpulseelement.c
subprojects/gst-plugins-good/ext/pulse/pulsesink.c
subprojects/gst-plugins-good/ext/shout2/gstshout2.c
subprojects/gst-plugins-good/ext/soup/gstsoup.c
subprojects/gst-plugins-good/ext/soup/gstsoupelement.c
subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c
subprojects/gst-plugins-good/ext/twolame/gsttwolamemp2enc.c
subprojects/gst-plugins-good/ext/wavpack/gstwavpackelement.c
subprojects/gst-plugins-good/gst/apetag/gstapedemux.c
subprojects/gst-plugins-good/gst/avi/gstavidemux.c
subprojects/gst-plugins-good/gst/avi/gstavielement.c
subprojects/gst-plugins-good/gst/avi/gstavimux.c
subprojects/gst-plugins-good/gst/icydemux/gsticydemux.c
subprojects/gst-plugins-good/gst/id3demux/gstid3demux.c
subprojects/gst-plugins-good/gst/isomp4/gstisomp4element.c
subprojects/gst-plugins-good/gst/isomp4/isomp4-plugin.c
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c
subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsrc.c
subprojects/gst-plugins-good/gst/rtsp/gstrtspelement.c
subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
subprojects/gst-plugins-good/gst/wavparse/gstwavparse.c
subprojects/gst-plugins-good/sys/oss/gstossaudio.c
subprojects/gst-plugins-good/sys/oss/gstossaudioelement.c
subprojects/gst-plugins-good/sys/oss/gstosshelper.c
subprojects/gst-plugins-good/sys/oss/gstosssink.c
subprojects/gst-plugins-good/sys/oss/gstosssrc.c
subprojects/gst-plugins-good/sys/oss4/oss4-audio.c
subprojects/gst-plugins-good/sys/oss4/oss4-sink.c
subprojects/gst-plugins-good/sys/oss4/oss4-source.c
subprojects/gst-plugins-good/sys/osxaudio/gstosxaudioringbuffer.c
subprojects/gst-plugins-good/sys/rpicamsrc/gstrpicamsrcdeviceprovider.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2element.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2fwhtenc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2h263enc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2h264enc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2h265enc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2jpegenc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2mpeg4enc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2radio.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2sink.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2src.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2transform.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2videodec.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2videoenc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2vp8enc.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2vp9enc.c
subprojects/gst-plugins-good/sys/v4l2/v4l2_calls.c
subprojects/gst-plugins-good/sys/ximage/gstximagesrc.c
subprojects/gst-plugins-ugly/ext/cdio/gstcdiocddasrc.c
subprojects/gst-plugins-ugly/ext/dvdread/dvdreadsrc.c
subprojects/gst-plugins-ugly/gst/asfdemux/gstasf.c
subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c
subprojects/gst-plugins-ugly/gst/asfdemux/gstasfelement.c
subprojects/gstreamer/docs/gst-hotdoc-plugins-scanner.c
subprojects/gstreamer/gst/gst.c
subprojects/gstreamer/gst/gstelement.c
subprojects/gstreamer/gst/gsterror.c
subprojects/gstreamer/gst/gstpipeline.c
subprojects/gstreamer/gst/gstregistry.c
subprojects/gstreamer/gst/gsttaglist.c
subprojects/gstreamer/gst/gsturi.c
subprojects/gstreamer/gst/gstutils.c
subprojects/gstreamer/gst/parse/grammar.y.in
subprojects/gstreamer/libs/gst/base/gstbasesink.c
subprojects/gstreamer/libs/gst/base/gstbasesrc.c
subprojects/gstreamer/libs/gst/base/gstbasetransform.c
subprojects/gstreamer/plugins/elements/gstcapsfilter.c
subprojects/gstreamer/plugins/elements/gstdownloadbuffer.c
subprojects/gstreamer/plugins/elements/gstfdsink.c
subprojects/gstreamer/plugins/elements/gstfilesink.c
subprojects/gstreamer/plugins/elements/gstfilesrc.c
subprojects/gstreamer/plugins/elements/gstidentity.c
subprojects/gstreamer/plugins/elements/gstqueue.c
subprojects/gstreamer/plugins/elements/gstqueue2.c
subprojects/gstreamer/plugins/elements/gsttypefindelement.c
subprojects/gstreamer/tools/tools.h