Package: mplayer
Version: 1.0~rc1-12etch1
Severity: normal

binary_codecs.sh is a script that comes with the mplayer package to let the
user download and install a pack of binary codecs. This script downloads a 
list of mirrors, and then tries to decide which are the best mirrors. 

1) It tries to do it using netselect, but if netselect isn't installed it tries
   with fping, and if fping isn't installed a message says "if you install
   netselect...". Maybe that message should be said even if fping is installed.
2) *This* is the bug. If there's no netselect but there's fping, fping is used
   to determine the best five mirrors (by order). The problem is that the
   output doesn't give the full path to the pack we want to download, but only
   the mirror. Thus, this script *fails* to anyone that has fping but not
   netselect.

The following patch solves the second issue, please apply it.

--- /usr/share/mplayer/scripts/binary_codecs.sh.old     2007-09-19 
19:50:35.000000000 +0100
+++ /usr/share/mplayer/scripts/binary_codecs.sh 2007-09-19 21:23:49.000000000 
+0100
@@ -33,9 +33,8 @@
       echo  Choosing best mirrors using netselect....
       netselect  -s 5  $( cat mirrors ) | awk '{print $2}' > bestsites
     elif which fping > /dev/null ; then
-      fping -C 1   $( sed   's#.*//##;s#/.*##' mirrors ) 2>&1 | \
-        egrep -v 'bytes.*loss' | sort -n -k3  | \
-        grep -v ': *-' |  awk '/:/{print $1}' | head -5 > bestsites
+      for i in `fping -C 1   $( sed   's#.*//##;s#/.*##' mirrors ) 2>&1 | 
egrep -v 'bytes.*loss' | \
+        sort -n -k3  | grep -v ': *-'|  awk '/:/{print $1}' |  head -5`; do 
grep $i mirrors ; done> bestsites
     else
       echo "(If you install 'netselect', it will select the best mirror for 
you"
       echo "  you may wish to stop this script and rerun after installation)"

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mplayer depends on:
ii  debconf [debconf-2 1.5.11                Debian configuration management sy
ii  libasound2         1.0.13-2              ALSA library
ii  libatk1.0-0        1.12.4-3              The ATK accessibility toolkit
ii  libaudiofile0      0.2.6-6               Open-source version of SGI's audio
ii  libc6              2.3.6.ds1-13etch2     GNU C Library: Shared libraries
ii  libcaca0           0.99.beta11.debian-2  colour ASCII art library
ii  libcairo2          1.2.4-4               The Cairo 2D vector graphics libra
ii  libcdparanoia0     3.10+debian~pre0-4    audio extraction tool for sampling
ii  libconfhelper-perl 0.12.5                Library for editing configuration 
ii  libcucul0          0.99.beta11.debian-2  low-level Unicode character drawin
ii  libdirectfb-0.9-25 0.9.25.1-5            direct frame buffer graphics - sha
ii  libdvdread3        0.9.7-2               library for reading DVDs
ii  libesd-alsa0 [libe 0.2.36-3              Enlightened Sound Daemon (ALSA) - 
ii  libfontconfig1     2.4.2-1.2             generic font configuration library
ii  libfreetype6       2.2.1-5+etch1         FreeType 2 font engine, shared lib
ii  libgl1-mesa-glx [l 6.5.1-0.6             A free implementation of the OpenG
ii  libglib2.0-0       2.12.4-2              The GLib library of C routines
ii  libgtk2.0-0        2.8.20-7              The GTK+ graphical user interface 
ii  libjpeg62          6b-13                 The Independent JPEG Group's JPEG 
ii  liblircclient0     0.8.0-9.2             LIRC client library
ii  liblzo1            1.08-3                data compression library (old vers
ii  libmad0            0.15.1b-2.1           MPEG audio decoder library
ii  libncurses5        5.5-5                 Shared libraries for terminal hand
ii  libogg0            1.1.3-2               Ogg Bitstream Library
ii  libpango1.0-0      1.14.8-5              Layout and rendering of internatio
ii  libpng12-0         1.2.15~beta5-1        PNG library - runtime
ii  libsdl1.2debian    1.2.11-8              Simple DirectMedia Layer
ii  libspeex1          1.1.12-3              The Speex Speech Codec
ii  libsvga1           1:1.4.3-24            console SVGA display libraries
ii  libtheora0         0.0.0.alpha7.dfsg-1.1 The Theora Video Compression Codec
ii  libungif4g         4.1.4-4               shared library for GIF images
ii  libx11-6           2:1.0.3-7             X11 client-side library
ii  libxcursor1        1.1.7-4               X cursor management library
ii  libxext6           1:1.0.1-2             X11 miscellaneous extension librar
ii  libxfixes3         1:4.0.1-5             X11 miscellaneous 'fixes' extensio
ii  libxi6             1:1.0.1-4             X11 Input extension library
ii  libxinerama1       1:1.0.1-4.1           X11 Xinerama extension library
ii  libxrandr2         2:1.1.0.2-5           X11 RandR extension library
ii  libxrender1        1:0.9.1-3             X Rendering Extension client libra
ii  libxv1             1:1.0.2-1             X11 Video extension library
ii  libxvmc1           1:1.0.2-2             X11 Video extension library
ii  libxxf86dga1       2:1.0.1-2             X11 Direct Graphics Access extensi
ii  libxxf86vm1        1:1.0.1-2             X11 XFree86 video mode extension l
ii  mplayer-skin-blue  1.6-1                 blue skin for mplayer
ii  zlib1g             1:1.2.3-13            compression library - runtime

mplayer recommends no packages.

-- debconf information:
  mplayer/replace-existing-files-bail:
  mplayer/replace-existing-files: true
  mplayer/no-ttfont:
* mplayer/install_codecs:
  mplayer/voutput: autodetect
  mplayer/rtc: false
  mplayer/ttfont: Sans
* mplayer/cfgnote:
* mplayer/dvd_device: /dev/cdrom



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to