Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

VLC 1.0.1 DEBs for Lenny

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
drinkmilk
Posts: 6
Joined: 2009-08-11 09:21

VLC 1.0.1 DEBs for Lenny

#1 Post by drinkmilk »

This is the follow-up of this thread.

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
also rm vlc-1.0.1/debian/mozilla-plugin-vlc.* (though I am not sure it's necessary)

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


spacken
Posts: 3
Joined: 2009-08-19 20:43

Re: VLC 1.0.1 DEBs for Lenny

#3 Post by spacken »

Hey is it possoble to provide these packages for 64bit lennys? I tryed the packages in my i386 machine and they work pretty well. I need them to use sopcast.

drinkmilk
Posts: 6
Joined: 2009-08-11 09:21

Re: VLC 1.0.1 DEBs for Lenny

#4 Post by drinkmilk »

sorry man, but that's not in my plans. Applying the instructions should work without problems though.

spacken
Posts: 3
Joined: 2009-08-19 20:43

Re: VLC 1.0.1 DEBs for Lenny

#5 Post by spacken »

Alright! thanks anyway for the i386 DEBs. I think I won't be able to build them on my own. Maybe someone else is able to. Otherwise I have to wait a little more...

serpens
Posts: 3
Joined: 2009-12-02 19:18

Re: VLC 1.0.1 DEBs for Lenny

#6 Post by serpens »

Problem:
DebianXPS:/home/frank/Descàrregues# dpkg -i libvlccore2_1.0.3-1_i386.deb
S'està seleccionant el paquet libvlccore2 prèviament no seleccionat.
(S'està llegint la base de dades ... hi ha 150258 fitxers i directoris instal·lats actualment.)
S'està desempaquetant libvlccore2 (de libvlccore2_1.0.3-1_i386.deb) ...
dpkg: problemes de dependències impedeixen la configuració de libvlccore2:
libvlccore2 depèn de vlc-data (= 1.0.3-1); tot i així:
El paquet vlc-data no està instal·lat.
libvlccore2 depèn de libc6 (>= 2.8); tot i així:
La versió del paquet «libc6» al sistema és 2.7-18.
dpkg: s'ha produït un error en processar libvlccore2 (--install):
problemes de dependències - es deixa sense configurar
S'han trobat errors en processar:
libvlccore2
DebianXPS:/home/frank/Descàrregues#
and libvlccore2 depends of libc6 >=2.7 and debian lenny repositories haven't this!!! any solution??? THANKS!


serpens
Posts: 3
Joined: 2009-12-02 19:18

Re: VLC 1.0.1 DEBs for Lenny

#8 Post by serpens »

shadowking wrote:Mepis community repo (lenny) have 0.9.9a and it works.

http://mepislovers.org/forums/showthread.php?t=21224
http://main.mepis-deb.org/mepiscr/repo/pool/main/v/vlc/
Thanks!! It works!

lindylex
Posts: 123
Joined: 2007-05-23 12:50

Re: VLC 1.0.1 DEBs for Lenny

#9 Post by lindylex »

On my Debian Lenny I had to install these packages along with all the .deb you provided for VLC to install without complaints.

sudo aptitude install libtar libsdl-image1.2 libenca0 libdvbpsi5 libebml0 liblua5.1-0 libmatroska0 libmpeg2-4 libspeexdsp1

serpens, I have it. I use Debian Lenny and this is the content of my repository files.

Code: Select all

 cat /etc/apt/sources.list
deb http://debian.lcs.mit.edu/debian/ lenny main non-free contrib
deb-src http://debian.lcs.mit.edu/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://www.debian-multimedia.org lenny main

#This here to install Opera Browser
deb http://deb.opera.com/opera lenny non-free

deb http://www.backports.org/debian lenny-backports main contrib non-free

deb http://www.pvv.ntnu.no/~knuta/xmms/lenny ./
deb-src http://www.pvv.ntnu.no/~knuta/xmms/lenny ./

Thanks, Lindylex

sir fer
Posts: 923
Joined: 2008-09-10 18:49
Location: Auckland

Re: VLC 1.0.1 DEBs for Lenny

#10 Post by sir fer »

Absolutely brilliant!

I had to apt-get -f install to drag in some dependencies but otherwise it works perfectly. 8)

Thanks so much drinkmilk

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: VLC 1.0.1 DEBs for Lenny

#11 Post by stevepusser »

Now that gdebi is finally working correctly in Lenny, that's a nice little GUI for installing standalone deb files. A nice feature is that it detects and preinstalls dependencies before installing the deb file, or lets you know if it can't get them from your repositories.

I'll have to ask Marcos if he wants to try to backport 1.04 for the Mepis community repo. Now that someone else has broached Mepis community repos, if you want to also try to temporarily add our main, main testing, restricted, and restricted testing repositories, plus debian-multimedia, we also have some new builds of mplayer, mencoder, and mplayer-mt, plus SMPlayer, that are built upon Lenny core libraries (libc6, for example) plus support libraries such as libx264 built on Lenny core libraries. Mplayer-mt is really nice for multicore machines and playback of h.264 video, you get about 1.6 times more output on a dual-core machine (multithreading has overhead). I'm not just saying that cuz I packaged them....

Instructions for adding the repos are here, or there is a little deb package in post 4 that will also add them (but most are commented out to start with)

http://www.mepislovers.org/forums/showt ... hp?t=21816
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: VLC 1.0.1 DEBs for Lenny

#12 Post by stevepusser »

I am currently trying to backport 1.05 for the Mepis 8 (mostly Lenny) community repository, and have found that most of the libraries do not really need to be updated to build with Lenny. The exceptions are libpulse (which we don't really use much in Mepis, so I disabled it and the plugin) and libschroedinger, which I added from Lenny-backports, along with the newer liboil0.3 it requires. There's also an updated libpulse in backports, if you really need it. If I get it to build, I'll put a link to the /debian folder I used to build it; it should work in Lenny, though live555 may be iffy...disable that if you need to. I used a liblivemedia-dev package from the Mepis community repo that was dated in 2008 that worked.

OK, build just finished successfully. Plays back avi, ogv, flv, mp4 files . Don't know about transcoding...the /debian folder is here: (75 K): https://sites.google.com/site/stevosfil ... folder.zip
MX Linux packager and developer

Post Reply