compile and install the locales

Original commit message from CVS:
compile and install the locales
This commit is contained in:
Steve Lhomme 2004-08-11 19:50:41 +00:00
parent 6730b41a8c
commit 5c22178afd
4 changed files with 27 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
* win32/config.h:
* win32/GStreamer.vcproj:
compile and install the locales
2004-08-11 Steve Lhomme <steve.lhomme@free.fr> 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
* gst/gstvalue.c: * gst/gstvalue.c:

View file

@ -57,8 +57,12 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="del gst.def CommandLine="del gst.def
mkdir c:\gstreamer
mkdir c:\gstreamer\bin
copy /Y $(TargetPath) c:\gstreamer\bin copy /Y $(TargetPath) c:\gstreamer\bin
"/> for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do msgfmt -o ..\po\%%i.mo ..\po\%%i.po
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do mkdir c:\gstreamer\locale\%%i
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do copy /Y ..\po\%%i.mo c:\gstreamer\locale\%%i\gstreamer-0.8.mo"/>
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h
@ -133,8 +137,12 @@ type gstreamer-dbg.def &gt;&gt; gst.def
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="del gst.def CommandLine="del gst.def
mkdir c:\gstreamer
mkdir c:\gstreamer\bin
copy /Y $(TargetPath) c:\gstreamer\bin copy /Y $(TargetPath) c:\gstreamer\bin
"/> for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do msgfmt -o ..\po\%%i.mo ..\po\%%i.po
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do mkdir c:\gstreamer\locale\%%i
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do copy /Y ..\po\%%i.mo c:\gstreamer\locale\%%i\gstreamer-0.8.mo"/>
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h

View file

@ -20,7 +20,7 @@
#define GST_LICENSE "LGPL" #define GST_LICENSE "LGPL"
/* Define the location where the catalogs will be installed */ /* Define the location where the catalogs will be installed */
#define LOCALEDIR ".\locale" #define LOCALEDIR GST_CACHE_DIR"\\locale"
/* package origin */ /* package origin */
#define GST_ORIGIN "http://gstreamer.net" #define GST_ORIGIN "http://gstreamer.net"

View file

@ -57,8 +57,12 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="del gst.def CommandLine="del gst.def
mkdir c:\gstreamer
mkdir c:\gstreamer\bin
copy /Y $(TargetPath) c:\gstreamer\bin copy /Y $(TargetPath) c:\gstreamer\bin
"/> for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do msgfmt -o ..\po\%%i.mo ..\po\%%i.po
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do mkdir c:\gstreamer\locale\%%i
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do copy /Y ..\po\%%i.mo c:\gstreamer\locale\%%i\gstreamer-0.8.mo"/>
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h
@ -133,8 +137,12 @@ type gstreamer-dbg.def &gt;&gt; gst.def
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="del gst.def CommandLine="del gst.def
mkdir c:\gstreamer
mkdir c:\gstreamer\bin
copy /Y $(TargetPath) c:\gstreamer\bin copy /Y $(TargetPath) c:\gstreamer\bin
"/> for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do msgfmt -o ..\po\%%i.mo ..\po\%%i.po
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do mkdir c:\gstreamer\locale\%%i
for %%i in (af az ca cs en_GB fr nl sq sr sv tr uk) do copy /Y ..\po\%%i.mo c:\gstreamer\locale\%%i\gstreamer-0.8.mo"/>
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h CommandLine="copy $(ProjectDir)\gstconfig.h $(ProjectDir)\..\gst\gstconfig.h