Long story short: to install vlc 1.0.1 for Lenny, install the 14 packages that you can find there:
(libv4l-0 comes from backports.org, I backported the others from sid or testing)
Long story:
It took a lot longer than what I expected... but at least I succeeded
Thanks to the help of Soul Singin' I could build 0.9.8, but because of a UI problem which was only corrected in the 1.0 version (explained here), it was not good for me.
How I did it:
A workaround for the glibc 2.8 issue is to configure VLC with --disable-nls --disable-mozilla --disable-live555 and to modify some debian files to prevent the build of mozilla-plugin-vlc; more explainations there.
I also had to exclude localisations from vlc-data, because they were not in debian/tmp directory so 'dh_install -si --fail-missing --sourcedir=debian/tmp' in debian/rules
was failing. I did not investigate that as I dont need them.
Similarly, the same step would fail if you dont upgrade your libpulse. As I need the pulse support, I searched a solution but it would also be possible to just prevent the build of vlc-plugin-pulse and keep the official lenny's pulse libs I guess.
The patch:
Code: Select all
$ diff -u debian/rules debian/rules
--- vlc-1.0.1/debian/rules 2009-08-12 13:07:05.000000000 +0200
+++ vlc-1.0.1/debian/rules 2009-08-12 14:19:01.000000000 +0200
@@ -52,8 +52,7 @@
--enable-a52 \
--enable-aa \
--enable-dvbpsi \
- --enable-mozilla \
- --with-mozilla-pkg=iceape-plugin \
+ --disable-mozilla \
--enable-dvb \
--enable-ogg \
--enable-vorbis \
@@ -65,7 +64,7 @@
--enable-mkv \
--enable-speex \
--enable-caca \
- --enable-live555 \
+ --disable-live555 \
--enable-libmpeg2 \
--enable-fribidi \
--enable-mod \
@@ -91,6 +90,7 @@
--enable-dca \
--enable-realrtsp \
--disable-dv \
+ --disable-nls \
$(NULL)
$ diff -u debian/control debian/control
--- vlc-1.0.1.sid/debian/control 2009-08-12 13:07:05.000000000 +0200
+++ vlc-1.0.1/debian/control 2009-08-12 15:58:15.000000000 +0200
@@ -235,20 +235,6 @@
DivX, MOV, WMV, QuickTime, mp3, Ogg/Vorbis files, DVDs, VCDs, and multimedia
streams from various network sources.
-Package: mozilla-plugin-vlc
-Architecture: any
-Depends: vlc-nox (= ${binary:Version}), vlc, ${shlibs:Depends}, ${misc:Depends}
-Description: multimedia plugin for web browsers based on VLC
- This plugin adds support for MPEG, MPEG2, DVD, DivX, Ogg/Vorbis and many
- more formats to your Gecko-based web browser (Firefox, Galeon, etc.). The
- decoding process is done by VLC and the output window is embedded in a
- webpage or directly in the browser window. There is also support for
- fullscreen display and javascript control.
- .
- VLC is the VideoLAN project's media player. It plays MPEG, MPEG2, MPEG4,
- DivX, MOV, WMV, QuickTime, mp3, Ogg/Vorbis files, DVDs, VCDs, and multimedia
- streams from various network sources.
-
Package: vlc-plugin-svgalib
Architecture: amd64 i386
Depends: vlc-nox (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
I had to exclude localisations from vlc-data, because they were not in debian/tmp directory so 'dh_install -si --fail-missing --sourcedir=debian/tmp' in debian/rules
was failing. I did not investigate that as I dont need them.
$ diff -u vlc-1.0.1.sid/debian/vlc-data.install vlc-1.0.1/debian/vlc-data.install
--- debian/vlc-data.install 2009-08-12 13:07:05.000000000 +0200
+++ debian/vlc-data.install 2009-08-12 16:11:02.000000000 +0200
@@ -1,4 +1,3 @@
usr/share/doc
-usr/share/locale
usr/share/vlc
usr/share/pixmaps
For all the others packages, Soul Singing method explained at the top of this thread works without problems.
No warranty etc... But please write something here if you find problems