Changeset 5bd101d9fe322eac543860a0119983be9fa0d7bf

Show
Ignore:
Timestamp:
05/14/06 13:41:55 (2 years ago)
Author:
Christophe Mutricy <xtophe@videolan.org>
git-committer:
Christophe Mutricy <xtophe@videolan.org> 1147606915 +0000
git-parent:

[47902e37d9e3bd16c9d66d0e529250bf40b6a4de]

git-author:
Christophe Mutricy <xtophe@videolan.org> 1147606915 +0000
Message:

toolbox: remove debian and woody references

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • toolbox

    rd31fa07 r5bd101d  
    44##  $Id$ 
    55## 
    6 ##  Copyright (C) 2005  the VideoLAN team 
     6##  Copyright (C) 2002-2006  the VideoLAN team 
    77## 
    88##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    3636  --distclean             "make distclean" on steroids 
    3737  --dist-contrib          add the contrib dir to MAKE_DIST 
    38   --make-woody <dir>      change distdir <dir> to a woody distdir 
    3938EOF 
    4039  exit 1 
     
    9190  --distclean) 
    9291    action=distclean 
    93     ;; 
    94   --make-woody) 
    95     action=woody 
    9692    ;; 
    9793  --add-include) 
     
    732728  set -x 
    733729  # a naive sanity check to make sure we are in a VLC tree 
    734   test -f vlc.spec.mdk -a -f debian/rules || exit 1 
     730  test -f vlc.spec.mdk -a -f vlc.win32.nsi.in || exit 1 
    735731  # let's rock! 
    736732  find . -type f '(' -name '*.[oa]' -o -name '*.so' -o -name '*.sl' -o -name '*.dylib' -o -name '*.dll' -o -name .dirstamp -o '(' '(' ! -path '\./doc/developer/Makefile\.in' ')' -a -name Makefile.in ')' -o -name 'stamp-h*' -o -name '*~' -o -name '*.bak' -o -name '*.moc.cpp' ')' -exec rm -f '{}' ';' 
    737733  (cd autotools && find . -name '[a-z]*' -maxdepth 1 -exec rm -f '{}' ';') 
    738   (cd debian && find . -type d '(' -name '[a-z]*' ! -name 'patches' ')' -maxdepth 1 -exec rm -Rf '{}' ';') 
    739734  find msvc -type f -name '*.dsp' -exec rm -f '{}' ';' 
    740735  find evc -type f -name '*.vcp' -exec rm -f '{}' ';' 
     
    780775fi 
    781776 
    782 ## 
    783 ##  Build a woody-friendly package 
    784 ## 
    785 if test "${action}" = "woody" 
    786 then 
    787   set -ex 
    788   test -d "$1" 
    789  
    790   # changelog: replace (1.2.3-4) with (1.2.3-0woody.4) 
    791   sed -e 's/^vlc (\([^)]*\)-\([^-)]*\))/vlc-woody (\1-0woody.\2)/' \ 
    792       -e 's/ unstable; / stable; /' \ 
    793       < "$1/debian/changelog" > "$1/debian/changelog.woody" 
    794   mv "$1/debian/changelog.woody" "$1/debian/changelog" 
    795  
    796   # control: replace liba52-*-dev with a52dec-dev (>=0.7.3) 
    797   #                  libdv*-dev with libdv-dev 
    798   #                  kdelibs4-dev with kdelibs-dev 
    799   #                  libqt3-mt-dev libqt3-compat-headers with libqt-dev 
    800   #                  libarts1-dev with libarts-dev 
    801   #                  libdvdread3-dev with libdvdread2-dev 
    802   #                  libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev 
    803   #                  libxosd-dev (>=2.2.4-1.3) with libxosd-dev 
    804   #                  ttf-freefont with ttf-thryomanes 
    805   #                  dvb-dev (>= 1.0.1-6) with dvb-dev 
    806   #          remove libwxgtk2.4-dev 
    807   #                 libidl0 (workaround for mozilla-dev's bad deps) 
    808   #                 libglib2.0-0 (workaround for mozilla-dev's bad deps) 
    809   #                 gcc-3.2 (workaround for an ICE in gcc-3.3) 
    810   #          change Section: gnome with Section: graphics 
    811   #                 Section: kde with Section: kde 
    812   #                 Section: libdevel with Section: devel 
    813   sed -e 's/liba52-[^-]*-dev/a52dec-dev (>=0.7.3)/' \ 
    814       -e 's/libdv[0-9]*-dev/libdv-dev/' \ 
    815       -e 's/kdelibs[0-9]*-dev/kdelibs-dev/' \ 
    816       -e 's/libqt[0-9]*-mt-dev/libqt-dev/' \ 
    817       -e 's/, libqt[0-9]*-compat-headers[^,]*//' \ 
    818       -e 's/libarts[0-9]*-dev/libarts-dev/' \ 
    819       -e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \ 
    820       -e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \ 
    821       -e 's/, libxosd-dev[^,]*/, libxosd-dev/' \ 
    822       -e 's/, ttf-freefont[^,]*/, ttf-thryomanes/' \ 
    823       -e 's/, dvb-dev[^,]*/, dvb-dev/' \ 
    824       -e 's/, libwx[^,]*//' \ 
    825       -e '/Package: wxvlc/,/^ *$/d' \ 
    826       -e 's/, libidl0[^,]*//' \ 
    827       -e 's/, libglib2.0-0[^,]*//' \ 
    828       -e 's/, gcc-3.2[^,]*//' \ 
    829       -e 's/Section: gnome/Section: graphics/' \ 
    830       -e 's/Section: kde/Section: graphics/' \ 
    831       -e 's/Section: libdevel/Section: devel/' \ 
    832       < "$1/debian/control" > "$1/debian/control.woody" 
    833   mv "$1/debian/control.woody" "$1/debian/control" 
    834  
    835   # rules: remove wxwindows and skins stuff 
    836   sed -e '/# Package: wxvlc/,/^ *$/d' \ 
    837       -e 's,--enable-wxwindows,--disable-wxwindows,' \ 
    838       -e 's,--enable-skins,--disable-skins,' \ 
    839       < "$1/debian/rules" > "$1/debian/rules.woody" 
    840   mv "$1/debian/rules.woody" "$1/debian/rules" 
    841   chmod 0755 "$1/debian/rules" 
    842  
    843   # modules/misc/freetype.c: replace the default font 
    844   sed -e 's,freefont/FreeSerifBold.ttf,thryomanes/thryb___.ttf,' \ 
    845       < "$1/modules/misc/freetype.c" > "$1/modules/misc/freetype.c.woody" 
    846   mv "$1/modules/misc/freetype.c.woody" "$1/modules/misc/freetype.c" 
    847 fi 
    848