Commit a666bc56 authored by Sam Hocevar's avatar Sam Hocevar

* toolbox:

    + Minor fixes to the woody packages.
parent 13f5cc43
#! /bin/sh #! /bin/sh
## toolbox for the VLC media player ## 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> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -625,7 +625,7 @@ then ...@@ -625,7 +625,7 @@ then
# libdvdread3-dev with libdvdread2-dev # libdvdread3-dev with libdvdread2-dev
# libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev # libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev
# libxosd-dev (>=2.2.4-1.3) with libxosd-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 # dvb-dev (>= 1.0.1-6) with dvb-dev
# remove libwxgtk2.4-dev # remove libwxgtk2.4-dev
# libflac-dev # libflac-dev
...@@ -633,8 +633,7 @@ then ...@@ -633,8 +633,7 @@ then
# libglib2.0-0 (workaround for mozilla-dev's bad deps) # libglib2.0-0 (workaround for mozilla-dev's bad deps)
# libmatroska-dev # libmatroska-dev
# libspeex-dev # libspeex-dev
# change Source: vlc with Source: vlc-woody # change Section: gnome with Section: graphics
# Section: gnome with Section: graphics
# Section: kde with Section: kde # Section: kde with Section: kde
# Section: libdevel with Section: devel # Section: libdevel with Section: devel
sed -e 's/liba52-[^-]*-dev/a52dec-dev (>=0.7.3)/' \ sed -e 's/liba52-[^-]*-dev/a52dec-dev (>=0.7.3)/' \
...@@ -646,7 +645,7 @@ then ...@@ -646,7 +645,7 @@ then
-e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \ -e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \
-e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \ -e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \
-e 's/, libxosd-dev[^,]*/, libxosd-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/, dvb-dev[^,]*/, dvb-dev/' \
-e 's/, libwx[^,]*//' \ -e 's/, libwx[^,]*//' \
-e '/Package: wxvlc/,/^ *$/d' \ -e '/Package: wxvlc/,/^ *$/d' \
...@@ -655,7 +654,6 @@ then ...@@ -655,7 +654,6 @@ then
-e 's/, libglib2.0-0[^,]*//' \ -e 's/, libglib2.0-0[^,]*//' \
-e 's/, libmatroska-dev[^,]*//' \ -e 's/, libmatroska-dev[^,]*//' \
-e 's/, libspeex-dev[^,]*//' \ -e 's/, libspeex-dev[^,]*//' \
-e 's/Source: vlc/Source: vlc-woody/' \
-e 's/Section: gnome/Section: graphics/' \ -e 's/Section: gnome/Section: graphics/' \
-e 's/Section: kde/Section: graphics/' \ -e 's/Section: kde/Section: graphics/' \
-e 's/Section: libdevel/Section: devel/' \ -e 's/Section: libdevel/Section: devel/' \
...@@ -676,7 +674,7 @@ then ...@@ -676,7 +674,7 @@ then
chmod 0755 "$1/debian/rules" chmod 0755 "$1/debian/rules"
# modules/misc/freetype.c: replace the default font # 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" < "$1/modules/misc/freetype.c" > "$1/modules/misc/freetype.c.woody"
mv "$1/modules/misc/freetype.c.woody" "$1/modules/misc/freetype.c" mv "$1/modules/misc/freetype.c.woody" "$1/modules/misc/freetype.c"
fi fi
......
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