Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c145241b
Commit
c145241b
authored
Oct 20, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some obsolete code
parent
7104644b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
79 deletions
+19
-79
toolbox
toolbox
+19
-79
No files found.
toolbox
View file @
c145241b
...
@@ -31,7 +31,6 @@ recognized flags are:
...
@@ -31,7 +31,6 @@ recognized flags are:
--update-po update translation files
--update-po update translation files
--update-includes generate various include files
--update-includes generate various include files
--update-version generate src/misc/version.c
--update-version generate src/misc/version.c
--update-glade generate and fix Glade code
--update-glade2 generate and fix Glade 2 code
--update-glade2 generate and fix Glade 2 code
--update-flexml generate and fix flexml and flex code
--update-flexml generate and fix flexml and flex code
--distclean "make distclean" on steroids
--distclean "make distclean" on steroids
...
@@ -82,9 +81,6 @@ case "$1" in
...
@@ -82,9 +81,6 @@ case "$1" in
--update-flexml
)
--update-flexml
)
action
=
flexml
action
=
flexml
;;
;;
--update-glade
|
--fix-glade
)
action
=
glade
;;
--update-glade2
|
--update-glade-2
|
--fix-glade2
)
--update-glade2
|
--update-glade-2
|
--fix-glade2
)
action
=
glade2
action
=
glade2
;;
;;
...
@@ -631,91 +627,35 @@ EOF
...
@@ -631,91 +627,35 @@ EOF
exit
0
exit
0
fi
fi
##
## Fix glade-generated files
##
if
test
"
${
action
}
"
=
"glade"
then
for
file
in
modules/gui/gtk/gnome.glade modules/gui/gtk/gtk.glade modules/gui/familiar/familiar.glade
do
echo
"generating code from
$file
"
glade
-w
$file
||
exit
1
done
for
file
in
modules/gui/gtk/gnome_interface.c modules/gui/gtk/gtk_interface.c modules/gui/familiar/interface.c
do
echo
"fixing
$file
"
if
grep
"DO NOT EDIT THIS FILE"
$file
>
/dev/null 2>&1
then
rm
-f
$file
.
$$
.bak
cat
>
$file
.
$$
.bak
<<
EOF
/* This file was created automatically by glade and fixed by bootstrap */
#include <vlc/vlc.h>
EOF
sed
-e
1,7d
\
-e
's#_(\(".:..:.."\))#\1#'
\
-e
's#_(\("[a-z0-9]*://[^"]*"\))#\1#'
\
-e
's#_("---")#"---"#'
\
-e
's#_("--")#"--"#'
\
-e
's#_(\("/dev/[^"]*"\))#"\1"#'
\
-e
's#_(\("./."\))#\1#'
\
<
$file
>>
$file
.
$$
.bak
mv
-f
$file
.
$$
.bak
$file
fi
done
for
file
in
modules/gui/gtk/gtk_support.h modules/gui/familiar/support.h
do
echo
"fixing
$file
"
if
grep
"DO NOT EDIT THIS FILE"
$file
>
/dev/null 2>&1
then
rm
-f
$file
.
$$
.bak
sed
-e
's/DO NOT EDIT.*/Created by glade, fixed by bootstrap/'
\
-e
's,<config.h>,<vlc/vlc.h>,'
\
-e
's,#if.*ENABLE_NLS.*,#if 0 /* Disabled by bootstrap */,'
\
-e
's,#else,/* & */,'
\
<
$file
>
$file
.
$$
.bak
mv
-f
$file
.
$$
.bak
$file
fi
done
exit
0
fi
##
##
## Fix glade2-generated files
## Fix glade2-generated files
##
##
if
test
"
${
action
}
"
=
"glade2"
if
test
"
${
action
}
"
=
"glade2"
then
then
for
file
in
modules/gui/gtk2/gnome2.glade modules/gui/gtk2/gtk2.glade modules/gui/pda/pda.glade
file
=
"modules/gui/pda/pda.glade"
do
echo
"generating code from
$file
"
echo
"generating code from
$file
"
glade-2
-w
"
$file
"
||
exit
1
glade-2
-w
$file
||
exit
1
done
for
file
in
modules/gui/pda/pda_interface.c
file
=
"modules/gui/pda/pda_interface.c"
do
echo
"fixing
$file
"
echo
"fixing
$file
"
if
grep
"DO NOT EDIT THIS FILE"
"
$file
"
>
/dev/null 2>&1
if
grep
"DO NOT EDIT THIS FILE"
$file
>
/dev/null 2>&1
then
then
rm
-f
--
"
$file
.
$$
.bak"
rm
-f
$file
.
$$
.bak
cat
>
"
$file
.
$$
.bak"
<<
EOF
cat
>
$file
.
$$
.bak
<<
EOF
/* This file was created automatically by glade2 and fixed by bootstrap */
/* This file was created automatically by glade2 and fixed by bootstrap */
#include <vlc/vlc.h>
#include <vlc/vlc.h>
EOF
EOF
sed
-e
1,7d
\
sed
-e
1,7d
\
-e
's#_(\(".:..:.."\))#\1#'
\
-e
's#_(\(".:..:.."\))#\1#'
\
-e
's#_(\("[a-z0-9]*://[^"]*"\))#\1#'
\
-e
's#_(\("[a-z0-9]*://[^"]*"\))#\1#'
\
-e
's#_("---")#"---"#'
\
-e
's#_("---")#"---"#'
\
-e
's#_("--")#"--"#'
\
-e
's#_("--")#"--"#'
\
-e
's#_(\("/dev/[^"]*"\))#\1#'
\
-e
's#_(\("/dev/[^"]*"\))#\1#'
\
-e
's#_(\("./."\))#\1#'
\
-e
's#_(\("./."\))#\1#'
\
<
$file
>>
$file
.
$$
.bak
<
"
$file
"
>>
"
$file
.
$$
.bak"
mv
-f
$file
.
$$
.bak
$file
mv
-f
"
$file
.
$$
.bak"
"
$file
"
fi
fi
done
exit
0
exit
0
fi
fi
...
...
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