Commit d04b152b authored by Sam Hocevar's avatar Sam Hocevar

. disabled SDL parachute to let the vlc dump a core instead of staying stuck

 . patched 2 debian bugs
    (see http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=vlc)
 . improved the snapshot generation
parent 3ea3f9ff
......@@ -16,7 +16,6 @@ OPTIMS=@OPTIMS@
SYS=@SYS@
PLUGINS=@PLUGINS@
SNAPSHOTDIR=vlc-@VLC_VERSION@
INSTALL=@INSTALL@
ARCH=@ARCH@
prefix=@prefix@
......@@ -441,23 +440,34 @@ show:
# ugliest of all, but I have no time to do it -- sam
snapshot:
rm -rf /tmp/vlc-@VLC_VERSION@ /tmp/vlc-@VLC_VERSION@-nocss
rm -rf /tmp/vlc-@VLC_VERSION@ /tmp/vlc-@VLC_VERSION@nocss
# copy archive in /tmp
find include src plugins -type d | while read i ; \
find -type d | while read i ; \
do mkdir -p /tmp/vlc-@VLC_VERSION@/$$i ; \
done
find /tmp/vlc-@VLC_VERSION@ -type d -name CVS | xargs rmdir
for i in debian doc lib share ; \
do mkdir /tmp/vlc-@VLC_VERSION@/$$i ; \
find debian -mindepth 1 -type d | grep -v CVS | while read i ; \
do rmdir $$i ; \
done
# CVS entries
find . -type f | grep CVS | while read i ; \
do cp $$i /tmp/vlc-@VLC_VERSION@/$$i ; \
done
# .c .h .in .cpp
find include src plugins -type f -name '*.[chi]*' | while read i ; \
do cp $$i /tmp/vlc-@VLC_VERSION@/$$i ; \
done
# copy misc files
cp vlc.spec AUTHORS COPYING ChangeLog INSTALL README TODO \
Makefile.in Makefile.dep configure configure.in install-sh \
config.sub config.guess todo.pl \
/tmp/vlc-@VLC_VERSION@/
for file in control vlc-gnome.menu vlc.copyright vlc.docs changelog \
rules vlc.1 vlc.dirs vlc.menu ; do \
cp debian/$$file /tmp/vlc-@VLC_VERSION@/debian/ ; done
for file in default8x16.psf default8x9.psf gvlc.png vlc.png ; do \
cp share/$$file /tmp/vlc-@VLC_VERSION@/share/ ; done
# build css-enabled archives
(cd /tmp ; tar cf vlc-@VLC_VERSION@.tar vlc-@VLC_VERSION@ ; \
bzip2 -f -9 < vlc-@VLC_VERSION@.tar \
> vlc-@VLC_VERSION@.tar.bz2 ; \
......@@ -473,16 +483,21 @@ snapshot:
elsif (!$$i || /^#/) { print $$_; }' \
< $$x | grep -vi css >| /tmp/vlc-@VLC_VERSION@/$$x ; \
done
(cd /tmp ; mv vlc-@VLC_VERSION@ vlc-@VLC_VERSION@-nocss ; \
tar cf vlc-@VLC_VERSION@-nocss.tar vlc-@VLC_VERSION@-nocss ; \
bzip2 -f -9 < vlc-@VLC_VERSION@-nocss.tar \
> vlc-@VLC_VERSION@-nocss.tar.bz2 ; \
gzip -f -9 vlc-@VLC_VERSION@-nocss.tar )
mv /tmp/vlc-@VLC_VERSION@-nocss.tar.gz \
/tmp/vlc-@VLC_VERSION@-nocss.tar.bz2 ..
rm -f /tmp/vlc-@VLC_VERSION@/debian/changelog
sed 's/\(^vlc ([^-]*\)-/\1nocss-/' < debian/changelog \
> /tmp/vlc-@VLC_VERSION@/debian/changelog
# build nocss archives
(cd /tmp ; mv vlc-@VLC_VERSION@ vlc-@VLC_VERSION@nocss ; \
tar cf vlc-@VLC_VERSION@nocss.tar vlc-@VLC_VERSION@nocss ; \
bzip2 -f -9 < vlc-@VLC_VERSION@nocss.tar \
> vlc-@VLC_VERSION@nocss.tar.bz2 ; \
gzip -f -9 vlc-@VLC_VERSION@nocss.tar )
mv /tmp/vlc-@VLC_VERSION@nocss.tar.gz \
/tmp/vlc-@VLC_VERSION@nocss.tar.bz2 ..
# clean up
rm -rf /tmp/vlc-@VLC_VERSION@-nocss
rm -rf /tmp/vlc-@VLC_VERSION@nocss
plugins: $(PLUGINS:%=lib/%.so)
......
vlc (0.2.50-1) unstable; urgency=low
* Only build vlc-glide under x86 (Closes: #84046).
* Switched PentiumPro optimization off (Closes: #83707).
-- Samuel Hocevar <sam@zoy.org> Mon, 5 Feb 2001 20:49:15 +0100
vlc (0.2.50-1) unstable; urgency=low
* Unstable release.
......
......@@ -32,7 +32,7 @@ Description: GGI plugin for the VideoLAN Client
This is a GGI plugin for the VideoLAN Client.
Package: vlc-glide
Architecture: any
Architecture: i386
Depends: vlc (= ${Source-Version}), libglide2
Description: Glide plugin for the VideoLAN Client
VideoLAN is a free MPEG, MPEG2 and DVD software solution.
......
......@@ -12,11 +12,20 @@ build: build-stamp
build-stamp:
dh_testdir
if [ $(DEB_BUILD_ARCH) = i386 ]; then \
./configure --prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-gnome --enable-fb --with-glide --with-ggi \
--with-sdl --enable-esd --enable-alsa
--with-sdl --enable-esd --enable-alsa --disable-ppro ; \
else \
./configure --prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-gnome --enable-fb --with-ggi \
--with-sdl --enable-esd --enable-alsa ; \
fi
$(MAKE)
touch build-stamp
......
......@@ -107,7 +107,7 @@ static int aout_Probe( probedata_t *p_data )
SDL_AudioSpec desired, obtained;
/* Start AudioSDL */
if( SDL_Init(SDL_INIT_AUDIO) != 0 )
if( SDL_Init(SDL_INIT_AUDIO | SDL_INIT_NOPARACHUTE) != 0 )
{
intf_DbgMsg( "aout: SDL_Init failed (%s)", SDL_GetError() );
return( 0 );
......
......@@ -95,7 +95,8 @@ int vout_SDLCreate( vout_thread_t *p_vout, char *psz_display,
p_vout->p_sys->p_overlay = NULL;
/* Initialize library */
if( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTTHREAD) < 0 )
if( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTTHREAD | SDL_INIT_NOPARACHUTE)
< 0 )
{
intf_ErrMsg( "error: can't initialize SDL library: %s",
SDL_GetError() );
......
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