Commit 16cf721d authored by Christophe Massiot's avatar Christophe Massiot

* Re-enabled package-* Makefile rules,

* Worked around automake stack overflow bug on Darwin.
parent c3cd2873
...@@ -482,6 +482,93 @@ share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc ...@@ -482,6 +482,93 @@ share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
$(WINDRES) --include-dir share -i $< -o $@ $(WINDRES) --include-dir share -i $< -o $@
endif endif
###############################################################################
# Building architecture-specific binary packages
###############################################################################
# XXX: this rule is probably only useful to you if you have exactly
# the same setup as me. Contact sam@zoy.org if you need to use it.
#
# Check that tmp isn't in the way
package-win32:
@if test -e tmp; then \
echo "Error: please remove ./tmp, it is in the way"; false; \
else \
echo "OK."; mkdir tmp; \
fi
# Create installation script
cp install-win32 tmp/nsi
# Copy relevant files
cp vlc.exe tmp/
$(STRIP) tmp/vlc.exe
cp INSTALL.win32 tmp/INSTALL.txt ; unix2dos tmp/INSTALL.txt
for file in AUTHORS COPYING ChangeLog README FAQ TODO ; \
do cp $$file tmp/$${file}.txt ; \
unix2dos tmp/$${file}.txt ; done
mkdir tmp/plugins
for i in dummy $(PLUGIN_FILES) ; do if test "x$$i" != "xdummy" ; then \
$(INSTALL) $$i tmp/plugins/ ; \
fi ; done
# don't include these two
#rm -f tmp/plugins/gtk.so tmp/plugins/sdl.so
for i in dummy tmp/plugins/*.so ; do if test $$i != tmp/plugins/intfwin.so -a $$i != dummy ; then $(STRIP) $$i ; fi ; done
mkdir tmp/share
for file in default8x16.psf default8x9.psf ; \
do cp share/$$file tmp/share/ ; done
# Create package
wine ~/.wine/fake_windows/Program\ Files/NSIS/makensis.exe -- /DVERSION=${VERSION} /CD tmp/nsi
# Clean up
rm -Rf tmp
package-beos:
# Check that tmp isn't in the way
@if test -e tmp; then \
echo "Error: please remove ./tmp, it is in the way"; false; \
else \
echo "OK."; mkdir tmp; \
fi
# Create dir
mkdir -p tmp/vlc/share
# Copy relevant files
cp vlc tmp/vlc/
$(STRIP) tmp/vlc/vlc
xres -o tmp/vlc/vlc ./share/vlc_beos.rsrc
cp AUTHORS COPYING ChangeLog README FAQ TODO tmp/vlc/
for file in default8x16.psf default8x9.psf ; \
do cp share/$$file tmp/vlc/share/ ; done
mkdir tmp/vlc/plugins
for i in dummy $(PLUGIN_FILES) ; do if test "x$$i" != "xdummy" ; then \
$(INSTALL) $$i tmp/vlc/plugins/ ; \
fi ; done
for i in dummy tmp/vlc/plugins/*.so ; do if test $$i != dummy ; then $(STRIP) $$i ; fi ; done
# Create package
mv tmp/vlc tmp/vlc-${VERSION}
(cd tmp ; find vlc-${VERSION} | \
zip -9 -@ vlc-${VERSION}-BeOS-x86.zip )
mv tmp/vlc-${VERSION}-BeOS-x86.zip .
# Clean up
rm -Rf tmp
package-macosx:
# Check that tmp isn't in the way
@if test -e tmp; then \
echo "Error: please remove ./tmp, it is in the way"; false; \
else \
echo "OK."; mkdir tmp; \
fi
# Copy relevant files
cp -R vlc.app tmp/
$(STRIP) tmp/vlc.app/Contents/MacOS/vlc
cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf FAQ TODO tmp/
# Create disk image
./macosx-dmg 15 "vlc-${VERSION}" tmp/*
# Clean up
rm -Rf tmp
############################################################################### ###############################################################################
# Building the Mozilla plugin # Building the Mozilla plugin
############################################################################### ###############################################################################
......
#! /bin/sh #! /bin/sh
## bootstrap file for vlc, the VideoLAN Client ## bootstrap file for vlc, the VideoLAN Client
## $Id: bootstrap,v 1.34 2002/12/17 14:39:05 sam Exp $ ## $Id: bootstrap,v 1.35 2002/12/25 21:02:35 massiot Exp $
## ##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -294,6 +294,9 @@ PERLSUCKS=no ...@@ -294,6 +294,9 @@ PERLSUCKS=no
AUTOMAKESUCKS=no AUTOMAKESUCKS=no
INSTALLSUCKS=no INSTALLSUCKS=no
# Mac OS X stacksize sucks
if test x`uname -s` = xDarwin; then ulimit -s 20000; fi
## ##
## Generate the modules makefile, by parsing modules/**/Modules.am ## Generate the modules makefile, by parsing modules/**/Modules.am
## ##
......
...@@ -14,5 +14,5 @@ EXTRA_DIST = \ ...@@ -14,5 +14,5 @@ EXTRA_DIST = \
postrm.opie \ postrm.opie \
vlc.desktop \ vlc.desktop \
vlc.gpe \ vlc.gpe \
vlc.opie \ vlc.opie
$(NULL)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment