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
f90b0e65
Commit
f90b0e65
authored
Apr 19, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs... .la again....
parent
c37a9dfc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
extras/contrib/Makefile
extras/contrib/Makefile
+2
-3
extras/contrib/change_prefix.sh
extras/contrib/change_prefix.sh
+8
-1
No files found.
extras/contrib/Makefile
View file @
f90b0e65
...
@@ -97,15 +97,14 @@ package-win32: FORCE
...
@@ -97,15 +97,14 @@ package-win32: FORCE
share/automake
*
share/gettext
*
gecko-sdk
\
share/automake
*
share/gettext
*
gecko-sdk
\
|
(
cd
tmp/
$(DISTDIR)
;
tar
xpf -
)
|
(
cd
tmp/
$(DISTDIR)
;
tar
xpf -
)
#kludge for live.com
#kludge for live.com
mkdir
-p
tmp/
usr/win32
/live.com
mkdir
-p
tmp/
$(DISTDIR)
/live.com
for
i
in
groupsock
liveMedia
UsageEnvironment
BasicUsageEnvironment;
do
\
for
i
in
groupsock
liveMedia
UsageEnvironment
BasicUsageEnvironment;
do
\
mkdir
-p
tmp/$(DISTDIR)/live.com/$$i/include;
\
mkdir
-p
tmp/$(DISTDIR)/live.com/$$i/include;
\
cp
-r
src/live/$$i/
include
tmp/$(DISTDIR)/live.com/$$i; \
cp
-r
src/live/$$i/
include
tmp/$(DISTDIR)/live.com/$$i; \
cp
src/live/$$i/lib$${i}.a
tmp/$(DISTDIR)/live.com/$$i;
\
cp
src/live/$$i/lib$${i}.a
tmp/$(DISTDIR)/live.com/$$i;
\
done;
done;
./change_prefix.sh
tmp
$(PREFIX)
/
$(DISTDIR)
./change_prefix.sh
tmp
$(PREFIX)
$(DISTDIR)
# Remove unused and potentially harmful files
# Remove unused and potentially harmful files
(cd
tmp/$(DISTDIR)/lib;
rm
-f
*.la)
(cd
tmp/$(DISTDIR)/bin;
rm
-f
*.exe;
chmod
a+x
*)
(cd
tmp/$(DISTDIR)/bin;
rm
-f
*.exe;
chmod
a+x
*)
(cd
tmp;
tar
cf
-
$(DISTDIR))
|
bzip2
-c
>
contrib-`date
+%Y%m%d`-win32-bin-gcc-`$(CC)
--version|head
-n
1|cut
-f
3
-d
' '
`-only.tar.bz2
(cd
tmp;
tar
cf
-
$(DISTDIR))
|
bzip2
-c
>
contrib-`date
+%Y%m%d`-win32-bin-gcc-`$(CC)
--version|head
-n
1|cut
-f
3
-d
' '
`-only.tar.bz2
...
...
extras/contrib/change_prefix.sh
View file @
f90b0e65
...
@@ -34,7 +34,8 @@ fi
...
@@ -34,7 +34,8 @@ fi
top_dir
=
`
cd
$1
;
pwd
`
top_dir
=
`
cd
$1
;
pwd
`
prefix
=
$2
prefix
=
$2
new_prefix
=
$3
new_prefix2
=
$3
new_prefix
=
/
$new_prefix2
if
test
-z
$prefix
-o
-z
$new_prefix
;
then
if
test
-z
$prefix
-o
-z
$new_prefix
;
then
echo
$usage
echo
$usage
...
@@ -42,11 +43,14 @@ if test -z $prefix -o -z $new_prefix; then
...
@@ -42,11 +43,14 @@ if test -z $prefix -o -z $new_prefix; then
fi
fi
cd
$top_dir
cd
$top_dir
pwd
files
=
`
find
.
-type
f
`
files
=
`
find
.
-type
f
`
for
file
in
$files
;
do
for
file
in
$files
;
do
if
test
".
`
file
$file
|
grep
Mach-O
`
"
!=
"."
;
then
if
test
".
`
file
$file
|
grep
Mach-O
`
"
!=
"."
;
then
libs
=
`
otool
-L
$file
2>/dev/null |
grep
$prefix
|
cut
-d
\
-f
1
`
libs
=
`
otool
-L
$file
2>/dev/null |
grep
$prefix
|
cut
-d
\
-f
1
`
echo
$libs
for
i
in
""
$libs
;
do
for
i
in
""
$libs
;
do
echo
$i
if
!
test
-z
$i
;
then
if
!
test
-z
$i
;
then
install_name_tool
-change
$i
\
install_name_tool
-change
$i
\
`
echo
$i
|
sed
-e
"s,
$prefix
,
$new_prefix
,"
`
\
`
echo
$i
|
sed
-e
"s,
$prefix
,
$new_prefix
,"
`
\
...
@@ -54,11 +58,14 @@ for file in $files; do
...
@@ -54,11 +58,14 @@ for file in $files; do
fi
fi
done
done
elif
test
".
`
file
$file
|
grep
\"
text
\|
shell
\"
`
"
!=
"."
;
then
elif
test
".
`
file
$file
|
grep
\"
text
\|
shell
\"
`
"
!=
"."
;
then
sed
-e
"s,
$prefix
,
$new_prefix
,g"
<
$file
>
$file
.tmp
sed
-e
"s,
$prefix
,
$new_prefix
,g"
<
$file
>
$file
.tmp
mv
-f
$file
.tmp
$file
mv
-f
$file
.tmp
$file
fi
fi
done
done
cd
$new_prefix2
/lib/
pwd
files
=
`
ls
-1
*
.la
`
files
=
`
ls
-1
*
.la
`
for
file
in
$files
;
do
for
file
in
$files
;
do
echo
$file
echo
$file
...
...
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