]> git.sesse.net Git - vlc/commitdiff
* toolbox:
authorSam Hocevar <sam@videolan.org>
Sun, 4 Jan 2004 18:18:45 +0000 (18:18 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 4 Jan 2004 18:18:45 +0000 (18:18 +0000)
    + Minor fixes to the woody packages.

toolbox

diff --git a/toolbox b/toolbox
index ba8ca109fb646f868db981cfa4df05b1c5ce89c0..fc9fc34d1a583a76a50764e58183bb200d2eb9ef 100755 (executable)
--- a/toolbox
+++ b/toolbox
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 ##  toolbox for the VLC media player
-##  $Id: toolbox,v 1.53 2003/12/22 02:24:50 sam Exp $
+##  $Id: toolbox,v 1.54 2004/01/04 18:18:45 sam Exp $
 ##
 ##  Authors: Samuel Hocevar <sam@zoy.org>
 
@@ -625,7 +625,7 @@ then
   #                  libdvdread3-dev with libdvdread2-dev
   #                  libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev
   #                  libxosd-dev (>=2.2.4-1.3) with libxosd-dev
-  #                  ttf-freefonts with ttf-thryomanes
+  #                  ttf-freefont with ttf-thryomanes
   #                  dvb-dev (>= 1.0.1-6) with dvb-dev
   #          remove libwxgtk2.4-dev
   #                 libflac-dev
@@ -633,8 +633,7 @@ then
   #                 libglib2.0-0 (workaround for mozilla-dev's bad deps)
   #                 libmatroska-dev
   #                 libspeex-dev
-  #          change Source: vlc with Source: vlc-woody
-  #                 Section: gnome with Section: graphics
+  #          change Section: gnome with Section: graphics
   #                 Section: kde with Section: kde
   #                 Section: libdevel with Section: devel
   sed -e 's/liba52-[^-]*-dev/a52dec-dev (>=0.7.3)/' \
@@ -646,7 +645,7 @@ then
       -e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \
       -e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \
       -e 's/, libxosd-dev[^,]*/, libxosd-dev/' \
-      -e 's/, ttf-freefonts[^,]*/, ttf-thryomanes/' \
+      -e 's/, ttf-freefont[^,]*/, ttf-thryomanes/' \
       -e 's/, dvb-dev[^,]*/, dvb-dev/' \
       -e 's/, libwx[^,]*//' \
       -e '/Package: wxvlc/,/^ *$/d' \
@@ -655,7 +654,6 @@ then
       -e 's/, libglib2.0-0[^,]*//' \
       -e 's/, libmatroska-dev[^,]*//' \
       -e 's/, libspeex-dev[^,]*//' \
-      -e 's/Source: vlc/Source: vlc-woody/' \
       -e 's/Section: gnome/Section: graphics/' \
       -e 's/Section: kde/Section: graphics/' \
       -e 's/Section: libdevel/Section: devel/' \
@@ -676,7 +674,7 @@ then
   chmod 0755 "$1/debian/rules"
 
   # modules/misc/freetype.c: replace the default font
-  sed -e 's,FreeSerifBold.ttf,thryomanes/thryb___.ttf,' \
+  sed -e 's,freefont/FreeSerifBold.ttf,thryomanes/thryb___.ttf,' \
       < "$1/modules/misc/freetype.c" > "$1/modules/misc/freetype.c.woody"
   mv "$1/modules/misc/freetype.c.woody" "$1/modules/misc/freetype.c"
 fi