Commit 197edbff authored by Sam Hocevar's avatar Sam Hocevar

* ./debian/rules: we now build the static objects twice: once the normal

    way before we link them with VLC, and once with -fPIC so that they can
    be linked to the Mozilla plugin. Don't worry, it's Debian-specific, and
    we don't need it on x86.
parent 9447bce6
vlc (0.5.3-2) unstable; urgency=low vlc (0.5.3-2) unstable; urgency=low
* Changed the libvlc0-dev section to libdevel. * Changed the libvlc0-dev section to libdevel.
* We now build the static objects twice: once the normal way before we
link them with VLC, and once with -fPIC so that they can be linked to
the Mozilla plugin.
* Updated extras/faad/config.{sub,guess}.
-- Samuel Hocevar <sam@zoy.org> Fri, 11 Apr 2003 21:14:07 +0200 -- Samuel Hocevar <sam@zoy.org> Fri, 14 Apr 2003 15:14:07 +0200
vlc (0.5.3-1) unstable; urgency=low vlc (0.5.3-1) unstable; urgency=low
......
...@@ -36,7 +36,7 @@ Conflicts: vlc-gnome (<< 0.5.0) ...@@ -36,7 +36,7 @@ Conflicts: vlc-gnome (<< 0.5.0)
Replaces: vlc-gnome (<< 0.5.0) Replaces: vlc-gnome (<< 0.5.0)
Provides: vlc-gui Provides: vlc-gui
Description: GNOME frontend for VLC Description: GNOME frontend for VLC
This plugin adds a Gnome interface to the VLC media player. To activate This plugin adds a GNOME interface to the VLC media player. To activate
it, use the `--intf gnome' flag or run the `gnome-vlc' program. it, use the `--intf gnome' flag or run the `gnome-vlc' program.
Package: vlc-gnome Package: vlc-gnome
...@@ -52,8 +52,8 @@ Depends: vlc (= ${Source-Version}), ${shlibs:Depends} ...@@ -52,8 +52,8 @@ Depends: vlc (= ${Source-Version}), ${shlibs:Depends}
Conflicts: vlc-gnome (<= 0.2.63-2), vlc-gtk (<< 0.5.0) Conflicts: vlc-gnome (<= 0.2.63-2), vlc-gtk (<< 0.5.0)
Replaces: vlc-gnome (<= 0.2.63-2), vlc-gtk (<< 0.5.0) Replaces: vlc-gnome (<= 0.2.63-2), vlc-gtk (<< 0.5.0)
Provides: vlc-gui Provides: vlc-gui
Description: Gtk+ frontend for VLC Description: GTK+ frontend for VLC
This plugin adds a Gtk+ interface to the VLC media player. To activate This plugin adds a GTK+ interface to the VLC media player. To activate
it, use the `--intf gtk' flag or run the `gvlc' program. it, use the `--intf gtk' flag or run the `gvlc' program.
Package: vlc-gtk Package: vlc-gtk
......
...@@ -87,7 +87,7 @@ build-stamp: ...@@ -87,7 +87,7 @@ build-stamp:
cd extras/ffmpeg \ cd extras/ffmpeg \
&& ./configure \ && ./configure \
&& cd libavcodec \ && cd libavcodec \
&& make; \ && $(MAKE); \
fi fi
# Check that we have an faad tree in here (can be a symlink) # Check that we have an faad tree in here (can be a symlink)
...@@ -101,12 +101,36 @@ build-stamp: ...@@ -101,12 +101,36 @@ build-stamp:
&& touch `find . -name Makefile.in` \ && touch `find . -name Makefile.in` \
&& ./configure --disable-shared \ && ./configure --disable-shared \
&& cd libfaad \ && cd libfaad \
&& make; \ && $(MAKE); \
fi fi
# Configure VLC and build it # Configure VLC
./configure --mandir=$${prefix}/share/man \ ./configure --mandir=$${prefix}/share/man \
--infodir=$${prefix}/share/info $(CONFIG_FLAGS) --infodir=$${prefix}/share/info $(CONFIG_FLAGS)
# Build only VLC, with the non-PIC libs
$(MAKE) vlc
ifneq ($(DEB_BUILD_ARCH),i386)
# Hackety hackety hack
if test ! -d CVS; then \
cd extras/ffmpeg/libavcodec \
&& $(MAKE) clean \
&& rm -f Makefile.pic \
&& sed 's/^CFLAGS *=/&-fPIC -DPIC /' <Makefile >Makefile.pic \
&& $(MAKE) -f Makefile.pic \
&& rm -f Makefile.pic; \
fi
# HACKETY HACKETY HACK
if test ! -d CVS; then \
cd extras/faad/libfaad \
&& $(MAKE) clean \
&& $(MAKE) AM_CFLAGS=-fPIC; \
fi
endif
# Build all the rest, with the PIC libs
$(MAKE) $(MAKE)
touch build-stamp touch build-stamp
...@@ -118,10 +142,10 @@ clean: ...@@ -118,10 +142,10 @@ clean:
# Check that we have an ffmpeg tree in here (can be a symlink) # Check that we have an ffmpeg tree in here (can be a symlink)
test -d extras/ffmpeg test -d extras/ffmpeg
-if test ! -d CVS; then cd extras/ffmpeg && make distclean; fi -if test ! -d CVS; then cd extras/ffmpeg && $(MAKE) distclean; fi
# Check that we have an faad tree in here (can be a symlink) # Check that we have an faad tree in here (can be a symlink)
test -d extras/faad test -d extras/faad
-if test ! -d CVS; then cd extras/faad && make distclean; fi -if test ! -d CVS; then cd extras/faad && $(MAKE) distclean; fi
# Remove spurious autotools stuff # Remove spurious autotools stuff
rm -f config.log confdefs.h rm -f config.log confdefs.h
......
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