Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f84a3bf3
Commit
f84a3bf3
authored
Apr 07, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use char outside ascii in shell script.
parent
dc723a84
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
51 deletions
+51
-51
msvc/libvlc.dsp.in
msvc/libvlc.dsp.in
+2
-2
msvc/libvlc.vcproj.in
msvc/libvlc.vcproj.in
+3
-3
msvc/plugins.dsp.in
msvc/plugins.dsp.in
+16
-16
msvc/plugins.vcproj.in
msvc/plugins.vcproj.in
+7
-7
msvc/vlc.dsp.in
msvc/vlc.dsp.in
+1
-1
msvc/vlc.vcproj.in
msvc/vlc.vcproj.in
+2
-2
toolbox
toolbox
+20
-20
No files found.
msvc/libvlc.dsp.in
View file @
f84a3bf3
...
@@ -83,11 +83,11 @@ LIB32=link.exe -lib
...
@@ -83,11 +83,11 @@ LIB32=link.exe -lib
# Begin Group "Source Files"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
SOURCES
ZSOURCESZ
# End Group
# End Group
# Begin Group "Header Files"
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
HEADERS
ZHEADERSZ
# End Group
# End Group
# End Target
# End Target
# End Project
# End Project
msvc/libvlc.vcproj.in
View file @
f84a3bf3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
ProjectType=
"Visual C++"
ProjectType=
"Visual C++"
Version=
"7.10"
Version=
"7.10"
Name=
"liblvc"
Name=
"liblvc"
ProjectGUID=
"{
GUID
}"
ProjectGUID=
"{
ZGUIDZ
}"
RootNamespace=
"libvlc"
RootNamespace=
"libvlc"
Keyword=
"Win32Proj"
>
Keyword=
"Win32Proj"
>
<Platforms>
<Platforms>
...
@@ -102,10 +102,10 @@
...
@@ -102,10 +102,10 @@
</References>
</References>
<Files>
<Files>
<Filter
Name=
"Source Files"
Filter=
"c;cpp"
>
<Filter
Name=
"Source Files"
Filter=
"c;cpp"
>
SOURCES
ZSOURCESZ
</Filter>
</Filter>
<Filter
Name=
"Header Files"
Filter=
"h;hpp"
>
<Filter
Name=
"Header Files"
Filter=
"h;hpp"
>
HEADERS
ZHEADERSZ
</Filter>
</Filter>
</Files>
</Files>
<Globals>
<Globals>
...
...
msvc/plugins.dsp.in
View file @
f84a3bf3
# Microsoft Developer Studio Project File - Name="plugin_
PLUGIN
" - Package Owner=<4>
# Microsoft Developer Studio Project File - Name="plugin_
ZPLUGINZ
" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=plugin_
PLUGIN
- Win32 Debug
CFG=plugin_
ZPLUGINZ
- Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE
!MESSAGE NMAKE /f "plugin_
PLUGIN
.mak".
!MESSAGE NMAKE /f "plugin_
ZPLUGINZ
.mak".
!MESSAGE
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE
!MESSAGE NMAKE /f "plugin_
PLUGIN.mak" CFG="plugin_PLUGIN
- Win32 Debug"
!MESSAGE NMAKE /f "plugin_
ZPLUGINZ.mak" CFG="plugin_ZPLUGINZ
- Win32 Debug"
!MESSAGE
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE
!MESSAGE "plugin_
PLUGIN
- Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "plugin_
ZPLUGINZ
- Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "plugin_
PLUGIN
- Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "plugin_
ZPLUGINZ
- Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!MESSAGE
# Begin Project
# Begin Project
...
@@ -28,7 +28,7 @@ CFG=plugin_
...
@@ -28,7 +28,7 @@ CFG=plugin_
CPP=cl.exe
CPP=cl.exe
RSC=rc.exe
RSC=rc.exe
!IF "$(CFG)" == "plugin_
PLUGIN
- Win32 Release"
!IF "$(CFG)" == "plugin_
ZPLUGINZ
- Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Use_Debug_Libraries 0
...
@@ -49,10 +49,10 @@ BSC32=bscmake.exe
...
@@ -49,10 +49,10 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /out:"plugins\lib
PLUGIN
_plugin.dll"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /out:"plugins\lib
ZPLUGINZ
_plugin.dll"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /opt:ref /out:"plugins\lib
PLUGIN
_plugin.dll"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /opt:ref /out:"plugins\lib
ZPLUGINZ
_plugin.dll"
!ELSEIF "$(CFG)" == "plugin_
PLUGIN
- Win32 Debug"
!ELSEIF "$(CFG)" == "plugin_
ZPLUGINZ
- Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Use_Debug_Libraries 1
...
@@ -73,23 +73,23 @@ BSC32=bscmake.exe
...
@@ -73,23 +73,23 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib
PLUGIN_plugin.pdb" /out:"plugins\libPLUGIN
_plugin.dll"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib
ZPLUGINZ_plugin.pdb" /out:"plugins\libZPLUGINZ
_plugin.dll"
# SUBTRACT BASE LINK32 /pdb:none
# SUBTRACT BASE LINK32 /pdb:none
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib
PLUGIN_plugin.pdb" /out:"plugins\libPLUGIN
_plugin.dll"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib
ZPLUGINZ_plugin.pdb" /out:"plugins\libZPLUGINZ
_plugin.dll"
# SUBTRACT LINK32 /pdb:none
# SUBTRACT LINK32 /pdb:none
!ENDIF
!ENDIF
# Begin Target
# Begin Target
# Name "plugin_
PLUGIN
- Win32 Release"
# Name "plugin_
ZPLUGINZ
- Win32 Release"
# Name "plugin_
PLUGIN
- Win32 Debug"
# Name "plugin_
ZPLUGINZ
- Win32 Debug"
# Begin Group "Source Files"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
SOURCES
ZSOURCESZ
# End Group
# End Group
...
@@ -97,7 +97,7 @@ LINK32=link.exe
...
@@ -97,7 +97,7 @@ LINK32=link.exe
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
HEADERS
ZHEADERSZ
# End Group
# End Group
...
...
msvc/plugins.vcproj.in
View file @
f84a3bf3
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
<VisualStudioProject
<VisualStudioProject
ProjectType=
"Visual C++"
ProjectType=
"Visual C++"
Version=
"7.10"
Version=
"7.10"
Name=
"
PLUGIN
"
Name=
"
ZPLUGINZ
"
ProjectGUID=
"{
GUID
}"
ProjectGUID=
"{
ZGUIDZ
}"
RootNamespace=
"
PLUGIN
"
RootNamespace=
"
ZPLUGINZ
"
Keyword=
"Win32Proj"
>
Keyword=
"Win32Proj"
>
<Platforms>
<Platforms>
<Platform
<Platform
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
AdditionalIncludeDirectories=
".;..\include"
AdditionalIncludeDirectories=
".;..\include"
PreprocessorDefinitions=
"WIN32;_DEBUG;__VLC__;__PLUGIN__;MODULE_NAME=
PLUGIN
"
PreprocessorDefinitions=
"WIN32;_DEBUG;__VLC__;__PLUGIN__;MODULE_NAME=
ZPLUGINZ
"
MinimalRebuild=
"TRUE"
MinimalRebuild=
"TRUE"
BasicRuntimeChecks=
"3"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"3"
RuntimeLibrary=
"3"
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<Tool
<Tool
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
AdditionalIncludeDirectories=
".;..\include"
AdditionalIncludeDirectories=
".;..\include"
PreprocessorDefinitions=
"WIN32;NDEBUG;__VLC__;__PLUGIN__;MODULE_NAME=
PLUGIN
"
PreprocessorDefinitions=
"WIN32;NDEBUG;__VLC__;__PLUGIN__;MODULE_NAME=
ZPLUGINZ
"
RuntimeLibrary=
"4"
RuntimeLibrary=
"4"
UsePrecompiledHeader=
"3"
UsePrecompiledHeader=
"3"
WarningLevel=
"3"
WarningLevel=
"3"
...
@@ -115,10 +115,10 @@
...
@@ -115,10 +115,10 @@
</References>
</References>
<Files>
<Files>
<Filter
Name=
"Source Files"
Filter=
"c;cpp"
>
<Filter
Name=
"Source Files"
Filter=
"c;cpp"
>
SOURCES
ZSOURCESZ
</Filter>
</Filter>
<Filter
Name=
"Header Files"
Filter=
"h;hpp"
>
<Filter
Name=
"Header Files"
Filter=
"h;hpp"
>
HEADERS
ZHEADERSZ
</Filter>
</Filter>
</Files>
</Files>
<Globals>
<Globals>
...
...
msvc/vlc.dsp.in
View file @
f84a3bf3
...
@@ -86,7 +86,7 @@ LINK32=link.exe
...
@@ -86,7 +86,7 @@ LINK32=link.exe
# Begin Group "Source Files"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
SOURCES
ZSOURCESZ
# End Group
# End Group
# Begin Group "Resource Files"
# Begin Group "Resource Files"
...
...
msvc/vlc.vcproj.in
View file @
f84a3bf3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
ProjectType=
"Visual C++"
ProjectType=
"Visual C++"
Version=
"7.10"
Version=
"7.10"
Name=
"vlc"
Name=
"vlc"
ProjectGUID=
"{
GUID
}"
ProjectGUID=
"{
ZGUIDZ
}"
Keyword=
"Win32Proj"
>
Keyword=
"Win32Proj"
>
<Platforms>
<Platforms>
<Platform
<Platform
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
</References>
</References>
<Files>
<Files>
<Filter
Name=
"Source Files"
Filter=
"cpp;c"
>
<Filter
Name=
"Source Files"
Filter=
"cpp;c"
>
SOURCES
ZSOURCESZ
</Filter>
</Filter>
<Filter
Name=
"Resource Files"
Filter=
"rc"
>
<Filter
Name=
"Resource Files"
Filter=
"rc"
>
<File
RelativePath=
"..\share\vlc_win32_rc.rc"
></File>
<File
RelativePath=
"..\share\vlc_win32_rc.rc"
></File>
...
...
toolbox
View file @
f84a3bf3
...
@@ -178,7 +178,7 @@ then
...
@@ -178,7 +178,7 @@ then
do
do
printf
"."
printf
"."
# Top of the project file
# Top of the project file
perl
-pe
'if(/
§SOURCES§
/){last;}'
<
${
target
}
.in
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ
/){last;}'
<
${
target
}
.in
>
${
target
}
# The source files
# The source files
for
file
in
`
for
i
in
${
LIBVLC_SOURCES
}
;
do
echo
$i
;
done
|
grep
-v
"/.*/"
`
for
file
in
`
for
i
in
${
LIBVLC_SOURCES
}
;
do
echo
$i
;
done
|
grep
-v
"/.*/"
`
do
do
...
@@ -275,7 +275,7 @@ EOF
...
@@ -275,7 +275,7 @@ EOF
EOF
EOF
done
done
# The headers
# The headers
perl
-e
'while(<>){if(/
§SOURCES§/){last;}}while(<>){if(/§HEADERS§
/){last;}print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ
/){last;}print $_}'
<
${
target
}
.in
>>
${
target
}
for
file
in
${
LIBVLC_HEADERS
}
for
file
in
${
LIBVLC_HEADERS
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
...
@@ -298,7 +298,7 @@ EOF
...
@@ -298,7 +298,7 @@ EOF
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
# End Group
${
M
}
# End Group
${
M
}
EOF
EOF
perl
-e
'while(<>){if(/
§HEADERS§
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZHEADERSZ
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
done
done
# plugins files
# plugins files
...
@@ -319,7 +319,7 @@ EOF
...
@@ -319,7 +319,7 @@ EOF
source
=
"
${
msdir
}
/plugins.
${
suf
}
.in"
source
=
"
${
msdir
}
/plugins.
${
suf
}
.in"
target
=
"
${
msdir
}
/plugin_
${
mod
}
.
${
suf
}
"
target
=
"
${
msdir
}
/plugin_
${
mod
}
.
${
suf
}
"
printf
"."
printf
"."
perl
-pe
'if(/
§SOURCES§/){last;} s/§PLUGIN§
/'
${
mod
}
'/g'
<
${
source
}
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ/){last;} s/ZPLUGINZ
/'
${
mod
}
'/g'
<
${
source
}
>
${
target
}
for
cfile
in
${
cfiles
}
for
cfile
in
${
cfiles
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
...
@@ -336,8 +336,8 @@ SOURCE="..\\modules\\`echo ${dir}/${cfile} | sed 's,/,\\\\,g'`"${M}
...
@@ -336,8 +336,8 @@ SOURCE="..\\modules\\`echo ${dir}/${cfile} | sed 's,/,\\\\,g'`"${M}
EOF
EOF
done
done
# sed is really nicer for this... unfortunately it's broken under cygwin
# sed is really nicer for this... unfortunately it's broken under cygwin
# sed -ne '1,/
§SOURCES§/d; /§HEADERS§
/,$d; p' < ${source} >> ${target}
# sed -ne '1,/
ZSOURCESZ/d; /ZHEADERSZ
/,$d; p' < ${source} >> ${target}
perl
-e
'while(<>){if(/
§SOURCES§/){last;}}while(<>){if(/§HEADERS§
/){last;}print $_}'
<
${
source
}
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ
/){last;}print $_}'
<
${
source
}
>>
${
target
}
for
hfile
in
${
hfiles
}
for
hfile
in
${
hfiles
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
...
@@ -346,8 +346,8 @@ SOURCE="..\\modules\\`echo ${dir}/${hfile} | sed 's,/,\\\\,g'`"${M}
...
@@ -346,8 +346,8 @@ SOURCE="..\\modules\\`echo ${dir}/${hfile} | sed 's,/,\\\\,g'`"${M}
# End Source File
${
M
}
# End Source File
${
M
}
EOF
EOF
done
done
# sed -ne '1,/
§HEADERS§
/d; p' < ${source} >> ${target}
# sed -ne '1,/
ZHEADERSZ
/d; p' < ${source} >> ${target}
perl
-e
'while(<>){if(/
§HEADERS§
/){last;}}while(<>){print $_}'
<
${
source
}
>>
${
target
}
perl
-e
'while(<>){if(/
ZHEADERSZ
/){last;}}while(<>){print $_}'
<
${
source
}
>>
${
target
}
done
done
done
done
done
done
...
@@ -357,7 +357,7 @@ EOF
...
@@ -357,7 +357,7 @@ EOF
do
do
printf
"."
printf
"."
# Top of the project file
# Top of the project file
perl
-pe
'if(/
§SOURCES§
/){last;}'
<
${
target
}
.in
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ
/){last;}'
<
${
target
}
.in
>
${
target
}
# The source files
# The source files
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
# Begin Source File
${
M
}
# Begin Source File
${
M
}
...
@@ -365,7 +365,7 @@ SOURCE="..\\src\\vlc.c"${M}
...
@@ -365,7 +365,7 @@ SOURCE="..\\src\\vlc.c"${M}
# End Source File
${
M
}
# End Source File
${
M
}
EOF
EOF
# Bottom of the project file - handles resource files too
# Bottom of the project file - handles resource files too
perl
-e
'while(<>){if(/
§SOURCES§
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
done
done
echo
" done."
echo
" done."
...
@@ -415,20 +415,20 @@ then
...
@@ -415,20 +415,20 @@ then
printf
"."
printf
"."
# Top of the project file
# Top of the project file
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
perl
-pe
'if(/
§SOURCES§/){last;} s/§GUID§
/'
${
guid
}
'/g'
<
${
target
}
.in
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ/){last;} s/ZGUIDZ
/'
${
guid
}
'/g'
<
${
target
}
.in
>
${
target
}
# The source files
# The source files
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
<File RelativePath="..
\\
src
\\
vlc.c"></File>
${
M
}
<File RelativePath="..
\\
src
\\
vlc.c"></File>
${
M
}
EOF
EOF
# Bottom of the project file - handles resource files too
# Bottom of the project file - handles resource files too
perl
-e
'while(<>){if(/
§SOURCES§
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
# libvlc files
# libvlc files
target
=
msvc/libvlc.vcproj
target
=
msvc/libvlc.vcproj
printf
"."
printf
"."
# Top of the project file
# Top of the project file
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
perl
-pe
'if(/
§SOURCES§/){last;} s/§GUID§
/'
${
guid
}
'/g'
<
${
target
}
.in
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ/){last;} s/ZGUIDZ
/'
${
guid
}
'/g'
<
${
target
}
.in
>
${
target
}
# The source files
# The source files
for
file
in
`
for
i
in
${
LIBVLC_SOURCES
}
;
do
echo
$i
;
done
|
grep
-v
"/.*/"
`
for
file
in
`
for
i
in
${
LIBVLC_SOURCES
}
;
do
echo
$i
;
done
|
grep
-v
"/.*/"
`
do
do
...
@@ -463,7 +463,7 @@ EOF
...
@@ -463,7 +463,7 @@ EOF
EOF
EOF
done
done
# The headers
# The headers
perl
-e
'while(<>){if(/
§SOURCES§/){last;}}while(<>){if(/§HEADERS§
/){last;}print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ
/){last;}print $_}'
<
${
target
}
.in
>>
${
target
}
for
file
in
${
LIBVLC_HEADERS
}
for
file
in
${
LIBVLC_HEADERS
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
...
@@ -482,7 +482,7 @@ EOF
...
@@ -482,7 +482,7 @@ EOF
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
</Filter>
${
M
}
</Filter>
${
M
}
EOF
EOF
perl
-e
'while(<>){if(/
§HEADERS§
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
perl
-e
'while(<>){if(/
ZHEADERSZ
/){last;}}while(<>){print $_}'
<
${
target
}
.in
>>
${
target
}
# plugins files
# plugins files
for
dir
in
`
sed
-ne
's,modules/\(.*\)/Makefile,\1,p'
${
srcdir
}
/configure.ac
`
for
dir
in
`
sed
-ne
's,modules/\(.*\)/Makefile,\1,p'
${
srcdir
}
/configure.ac
`
...
@@ -502,7 +502,7 @@ EOF
...
@@ -502,7 +502,7 @@ EOF
target
=
"
${
msdir
}
/plugin_
${
mod
}
.vcproj"
target
=
"
${
msdir
}
/plugin_
${
mod
}
.vcproj"
printf
"."
printf
"."
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
guid
=
`
perl
-e
'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'
`
perl
-pe
'if(/
§SOURCES§/){last;} s/§PLUGIN§/'
${
mod
}
'/g'
<
${
source
}
|
sed
's,§GUID§
,'
${
guid
}
','
>
${
target
}
perl
-pe
'if(/
ZSOURCESZ/){last;} s/ZPLUGINZ/'
${
mod
}
'/g'
<
${
source
}
|
sed
's,ZGUIDZ
,'
${
guid
}
','
>
${
target
}
for
cfile
in
${
cfiles
}
for
cfile
in
${
cfiles
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
...
@@ -510,16 +510,16 @@ EOF
...
@@ -510,16 +510,16 @@ EOF
EOF
EOF
done
done
# sed is really nicer for this... unfortunately it's broken under cygwin
# sed is really nicer for this... unfortunately it's broken under cygwin
# sed -ne '1,/
§SOURCES§/d; /§HEADERS§
/,$d; p' < ${source} >> ${target}
# sed -ne '1,/
ZSOURCESZ/d; /ZHEADERSZ
/,$d; p' < ${source} >> ${target}
perl
-e
'while(<>){if(/
§SOURCES§/){last;}}while(<>){if(/§HEADERS§
/){last;}print $_}'
<
${
source
}
>>
${
target
}
perl
-e
'while(<>){if(/
ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ
/){last;}print $_}'
<
${
source
}
>>
${
target
}
for
hfile
in
${
hfiles
}
for
hfile
in
${
hfiles
}
do
do
cat
>>
${
target
}
<<
EOF
cat
>>
${
target
}
<<
EOF
<File RelativePath="..
\\
modules
\\
`echo
${
dir
}
/
${
hfile
}
| sed 's,/,
\\\\
,g'`"></File>
${
M
}
<File RelativePath="..
\\
modules
\\
`echo
${
dir
}
/
${
hfile
}
| sed 's,/,
\\\\
,g'`"></File>
${
M
}
EOF
EOF
done
done
# sed -ne '1,/
§HEADERS§
/d; p' < ${source} >> ${target}
# sed -ne '1,/
ZHEADERSZ
/d; p' < ${source} >> ${target}
perl
-e
'while(<>){if(/
§HEADERS§
/){last;}}while(<>){print $_}'
<
${
source
}
>>
${
target
}
perl
-e
'while(<>){if(/
ZHEADERSZ
/){last;}}while(<>){print $_}'
<
${
source
}
>>
${
target
}
done
done
done
done
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment