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
e9bce288
Commit
e9bce288
authored
Sep 29, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix zsh completion
parent
510b8c25
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
206 additions
and
367 deletions
+206
-367
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+203
-365
extras/analyser/zsh_completion.sh
extras/analyser/zsh_completion.sh
+3
-2
No files found.
extras/analyser/zsh.cpp
View file @
e9bce288
This diff is collapsed.
Click to expand it.
extras/analyser/zsh_completion.sh
View file @
e9bce288
...
@@ -27,7 +27,7 @@ export VLC_PLUGIN_PATH
...
@@ -27,7 +27,7 @@ export VLC_PLUGIN_PATH
function
find_libvlc
{
function
find_libvlc
{
[
-z
"
$SUFFIX
"
]
&&
return
0
# linking will fail if lib isn't found
[
-z
"
$SUFFIX
"
]
&&
return
0
# linking will fail if lib isn't found
for
i
in
$BUILDDIR
/
src/.libs/libvlc.
$SUFFIX
$BUILDDIR
/src
/libvlc.
$SUFFIX
;
do
for
i
in
$BUILDDIR
/
lib/.libs/libvlc.
$SUFFIX
$BUILDDIR
/lib
/libvlc.
$SUFFIX
;
do
[
-e
$i
]
&&
LIBVLC
=
$i
&&
return
0
[
-e
$i
]
&&
LIBVLC
=
$i
&&
return
0
done
done
return
1
return
1
...
@@ -54,6 +54,7 @@ if ! find_libvlccore; then
...
@@ -54,6 +54,7 @@ if ! find_libvlccore; then
fi
fi
export
LD_LIBRARY_PATH
=
$BUILDDIR
/src/.libs
export
LD_LIBRARY_PATH
=
$BUILDDIR
/src/.libs
CXXFLAGS
=
"
$CXXFLAGS
-g -O0"
if
[
-e
../../extras/contrib/config.mak
-a
!
"
`
grep
HOST ../../extras/contrib/config.mak 2>/dev/null|awk
'{print $3}'
`
"
!=
"
$HOST
"
]
;
then
if
[
-e
../../extras/contrib/config.mak
-a
!
"
`
grep
HOST ../../extras/contrib/config.mak 2>/dev/null|awk
'{print $3}'
`
"
!=
"
$HOST
"
]
;
then
CXXFLAGS
=
"-I../../extras/contrib/include"
CXXFLAGS
=
"-I../../extras/contrib/include"
...
@@ -77,7 +78,7 @@ Please press enter to verify that all the VLC modules are shown"
...
@@ -77,7 +78,7 @@ Please press enter to verify that all the VLC modules are shown"
./zsh_gen
-vv
--list
./zsh_gen
-vv
--list
echo
"
echo
"
If they are shown, press enter to see if you can debug the problem
If they are shown, press enter to see if you can debug the problem
It will be reproduced by running
\"
./zsh_gen -vv
v
\"
"
It will be reproduced by running
\"
./zsh_gen -vv
\"
"
read
i
read
i
./zsh_gen
--plugin-path
=
$BUILDDIR
-vv
./zsh_gen
--plugin-path
=
$BUILDDIR
-vv
exit
1
exit
1
...
...
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