Changeset 09496f19392df3684c51ff5950234cafbedc11ec

Show
Ignore:
Timestamp:
07/05/03 16:47:53 (5 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1057416473 +0000
git-parent:

[1cd9bbce16fec86c505d7c1712b96ea730a56955]

git-author:
Sam Hocevar <sam@videolan.org> 1057416473 +0000
Message:
  • Makefile.am: "make dist-woody" builds a tarball suitable for a Debian
    woody package build.
  • bootstrap:
    + Remove config.h.in and config.h before running autoheader.
    + Added "set -e" for better error tracking.
    + Call autoheader and automake after autoconf so that the first build does

not need to call autoheader.

  • debian/woody-buildpackage:
    + Removed that script and put the code in toolbox.
  • debian/control:
    + Added a build-dependency on libmatroska-dev.
  • debian/rules:
    + Activated Matroska support.
    + Re-enabled dh_installchangelogs.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    r01c2108 r09496f1  
    422422 
    423423############################################################################### 
     424# Building specific source packages 
     425############################################################################### 
     426 
     427dist-woody: distdir 
     428    $(remove_distdir_woody) 
     429    mv $(distdir) $(PACKAGE)-woody-$(VERSION) 
     430    $(srcdir)/toolbox --make-woody $(PACKAGE)-woody-$(VERSION) 
     431    $(AMTAR) chof - $(PACKAGE)-woody-$(VERSION) \ 
     432      | GZIP=$(GZIP_ENV) gzip -c >$(PACKAGE)-woody-$(VERSION).tar.gz 
     433    $(remove_distdir_woody) 
     434 
     435remove_distdir_woody = \ 
     436  { test ! -d $(PACKAGE)-woody-$(VERSION) \ 
     437    || { find $(PACKAGE)-woody-$(VERSION) -type d ! -perm -200 \ 
     438           -exec chmod u+w {} ';' \ 
     439         && rm -fr $(PACKAGE)-woody-$(VERSION); }; } 
     440 
     441############################################################################### 
    424442# Building architecture-specific binary packages 
    425443############################################################################### 
  • bootstrap

    r7a0538e r09496f1  
    22 
    33##  bootstrap file for the VLC media player 
    4 ##  $Id: bootstrap,v 1.64 2003/07/04 14:56:51 sam Exp $ 
     4##  $Id: bootstrap,v 1.65 2003/07/05 14:47:53 sam Exp $ 
    55## 
    66##  Authors: Sam Hocevar <sam@zoy.org> 
     
    2121export CYGWIN 
    2222 
     23set -e 
     24 
    2325## 
    2426## Naively assume our system doesn't suck. Unfortunately it seldom doesn't. 
     
    2628AUTOMAKESUCKS=no 
    2729INSTALLSUCKS=no 
    28  
    29 ## 
    30 ## Check that our tools don't suck 
    31 ## 
    3230 
    3331## 
     
    253251 
    254252# remove autotools cruft 
    255 rm -f aclocal.m4 configure configure.ac.in config.log Modules.am 
     253rm -f aclocal.m4 configure configure.ac.in config.log Modules.am config.h config.h.in 
    256254# remove old autotools extra cruft 
    257255rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh 
     
    270268        '>=' 0.11.5 >/dev/null 2>&1; then 
    271269  # We have gettext, and a recent version! Everything is cool. 
    272   autopoint || exit 1 
     270  autopoint 
    273271  GETTEXT=yes 
    274272else 
     
    350348 
    351349# Do the rest 
    352 aclocal${amvers} -I m4 || exit 1 
    353 autoheader || exit 1 
    354  
     350aclocal${amvers} -I m4 
     351autoconf 
     352autoheader 
    355353automake${amvers} --add-missing --copy 
    356  
    357 autoconf || exit 1 
    358354 
    359355## 
     
    365361rm -f mozilla/vlcintf.h 
    366362 
    367 ## 
    368 ##  Shut up 
    369 ## 
     363# Shut up 
    370364set +x 
    371365 
     
    374368## 
    375369case "${GETTEXT}" in 
    376   yes) 
    377   ;; 
    378   no) 
    379     cat << EOF 
     370  yes) ;; 
     371  no) cat << EOF 
    380372 
    381373=========================================================== 
     
    385377EOF 
    386378  ;; 
    387   old) 
    388     cat << EOF 
     379  old) cat << EOF 
    389380 
    390381========================================================== 
     
    398389 
    399390case "$PKGCONFIG" in 
    400   yes) 
    401   ;; 
    402   no) 
    403     cat << EOF 
     391  yes) ;; 
     392  no) cat << EOF 
    404393 
    405394============================================================== 
     
    412401 
    413402case "$AUTOMAKESUCKS" in 
    414   no) 
    415   ;; 
    416   yes) 
    417     cat << EOF 
     403  no) ;; 
     404  yes) cat << EOF 
    418405 
    419406============================================================= 
     
    427414 
    428415case "$INSTALLSUCKS" in 
    429   no) 
    430   ;; 
    431   yes) 
    432     cat << EOF 
     416  no) ;; 
     417  yes) cat << EOF 
    433418 
    434419============================================================= 
  • debian/Makefile.am

    r618d4d6 r09496f1  
    2929    vlc-plugin-sdl.dirs \ 
    3030    vlc-plugin-svgalib.dirs \ 
    31     woody-buildpackage \ 
    3231    wxvlc.dirs \ 
    3332    wxvlc.menu \ 
  • debian/changelog

    r4be7e66 r09496f1  
    1 vlc (0.6.0+cvs-20030704-1) unstable; urgency=low 
     1vlc (0.6.0+cvs-20030705-1) unstable; urgency=low 
    22 
    33  * New CVS snapshot. 
     
    66      failures are missed. Thanks to LaMont Jones for pointing out the problem. 
    77  * debian/rules: 
     8    + Enabled Matroska support. 
    89    + Only build builtins in the first compile pass so that we don't mix PIC 
    910      and non-PIC code (Closes: #199968). Phew, I hope I got it right this 
     
    1314      disappeared in 0.6.0+cvs-20030703-1. 
    1415 
    15  -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Thu,  3 Jul 2003 11:25:57 +0200 
     16 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Sat,  5 Jul 2003 01:09:11 +0200 
    1617 
    1718vlc (0.6.0+cvs-20030703-1) unstable; urgency=low 
  • debian/control

    r1f4f223 r09496f1  
    33Priority: optional 
    44Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org> 
    5 Build-Depends: debhelper (>=3.0), gettext, fortune-mod, xlibs-dev, xlibs-pic, libgnome-dev, libggi2-dev, libglide2-dev [i386], libesd0-dev, libsdl1.2-dev (>=1.2.2-3.1), libqt3-mt-dev, libqt3-compat-headers, libasound2-dev (>=0.9.0beta10a), libarts1-dev, libmad0-dev, liblircclient-dev, liba52-0.7.4-dev, aalib1-dev, libdvbpsi1-dev, mozilla-dev, libidl0, libglib2.0-0, kdelibs4-dev, dvb-dev, libdv2-dev, libxosd-dev, svgalibg1-dev (>=1.4.0) [i386], libogg-dev, libvorbis-dev, libwxgtk2.4-dev, libdvdplay0-dev (>=1.0.1-2), libdvdread3-dev, libslp-dev, libflac-dev (>=1.1.0), libimlib2-dev 
     5Build-Depends: debhelper (>=3.0), gettext, fortune-mod, xlibs-dev, xlibs-pic, libgnome-dev, libggi2-dev, libglide2-dev [i386], libesd0-dev, libsdl1.2-dev (>=1.2.2-3.1), libqt3-mt-dev, libqt3-compat-headers, libasound2-dev (>=0.9.0beta10a), libarts1-dev, libmad0-dev, liblircclient-dev, liba52-0.7.4-dev, aalib1-dev, libdvbpsi1-dev, mozilla-dev, libidl0, libglib2.0-0, kdelibs4-dev, dvb-dev, libdv2-dev, libxosd-dev, svgalibg1-dev (>=1.4.0) [i386], libogg-dev, libvorbis-dev, libwxgtk2.4-dev, libdvdplay0-dev (>=1.0.1-2), libdvdread3-dev, libslp-dev, libflac-dev (>=1.1.0), libimlib2-dev, libmatroska-dev 
    66Build-Conflicts: libmpeg2-dev, libmpeg2-0-dev, libmpeg2-1-dev, libmpeg2-2-dev, libmpeg2-3-dev 
    77Standards-Version: 3.5.10 
  • debian/rules

    r4be7e66 r09496f1  
    4545    --disable-basic-skins \ 
    4646    --disable-freetype \ 
    47     --disable-mkv \ 
     47    --enable-mkv \ 
    4848    --enable-v4l \ 
    4949    $(NULL) 
     
    367367    dh_installman doc/vlc.1 -p vlc 
    368368    dh_installman doc/vlc-config.1 -p libvlc0-dev 
    369 #   dh_installchangelogs ChangeLog -p vlc 
    370     cp ChangeLog debian/vlc/usr/share/doc/vlc/changelog 
    371     for x in doc/ChangeLog-* ; do cp "doc/ChangeLog-$${x#*-}" "debian/vlc/usr/share/doc/vlc/changelog-$${x#*-}" ; done 
    372     cp debian/changelog debian/vlc/usr/share/doc/vlc/changelog.Debian 
     369    dh_installchangelogs ChangeLog -p vlc 
     370    for x in doc/ChangeLog-* ; do cp "doc/ChangeLog-$${x#*-}" "debian/vlc/usr/share/doc/vlc/changelog$${x#*-}" ; done 
    373371    dh_link -s 
    374372    dh_strip -s 
  • toolbox

    raaebbb4 r09496f1  
    22 
    33##  toolbox for the VLC media player 
    4 ##  $Id: toolbox,v 1.37 2003/07/02 20:01:51 gbazin Exp $ 
     4##  $Id: toolbox,v 1.38 2003/07/05 14:47:53 sam Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    2929  --changelog             update the CVS changelog 
    3030  --distclean             "make distclean" 
     31  --make-woody <dir>      change distdir <dir> to a woody distdir 
    3132EOF 
    3233  exit 1 
     
    7778  --distclean) 
    7879    action=distclean 
     80    ;; 
     81  --make-woody) 
     82    action=woody 
    7983    ;; 
    8084  --help) 
     
    542546fi 
    543547 
     548if test "${action}" = "woody" 
     549then 
     550  set -ex 
     551  test -d "$1" 
     552 
     553  # changelog: replace (1.2.3-4) with (1.2.3-0woody.4) 
     554  sed -e 's/^vlc (\([^)]*\)-\([^-)]*\))/vlc-woody (\1-0woody.\2)/' \ 
     555      -e 's/ unstable; / stable; /' \ 
     556      < "$1/debian/changelog" > "$1/debian/changelog.woody" 
     557  mv "$1/debian/changelog.woody" "$1/debian/changelog" 
     558 
     559  # control: replace liba52-*-dev with a52dec-dev (>=0.7.3) 
     560  #                  libdv*-dev with libdv-dev 
     561  #                  kdelibs4-dev with kdelibs-dev 
     562  #                  libqt3-mt-dev libqt3-compat-headers with libqt-dev 
     563  #                  libarts1-dev with libarts-dev 
     564  #                  libdvdread3-dev with libdvdread2-dev 
     565  #                  libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev 
     566  #          remove libwxgtk2.4-dev 
     567  #                 libflac-dev 
     568  #                 libidl0 (workaround for mozilla-dev's bad deps) 
     569  #                 libglib2.0-0 (workaround for mozilla-dev's bad deps) 
     570  #                 libmatroska-dev 
     571  #          change Source: vlc with Source: vlc-woody 
     572  #                 Section: gnome with Section: graphics 
     573  #                 Section: kde with Section: kde 
     574  #                 Section: libdevel with Section: devel 
     575  sed -e 's/liba52-[^-]*-dev/a52dec-dev (>=0.7.3)/' \ 
     576      -e 's/libdv[0-9]*-dev/libdv-dev/' \ 
     577      -e 's/kdelibs[0-9]*-dev/kdelibs-dev/' \ 
     578      -e 's/libqt[0-9]*-mt-dev/libqt-dev/' \ 
     579      -e 's/, libqt[0-9]*-compat-headers[^,]*//' \ 
     580      -e 's/libarts[0-9]*-dev/libarts-dev/' \ 
     581      -e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \ 
     582      -e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \ 
     583      -e 's/, libwx[^,]*//' \ 
     584      -e '/Package: wxvlc/,/^ *$/d' \ 
     585      -e 's/, libflac-dev[^,]*//' \ 
     586      -e 's/, libidl0[^,]*//' \ 
     587      -e 's/, libglib2.0-0[^,]*//' \ 
     588      -e 's/, libmatroska-dev[^,]*//' \ 
     589      -e 's/Source: vlc/Source: vlc-woody/' \ 
     590      -e 's/Section: gnome/Section: graphics/' \ 
     591      -e 's/Section: kde/Section: graphics/' \ 
     592      -e 's/Section: libdevel/Section: devel/' \ 
     593      < "$1/debian/control" > "$1/debian/control.woody" 
     594  mv "$1/debian/control.woody" "$1/debian/control" 
     595 
     596  # rules: remove wxwindows and skins stuff 
     597  #        remove flac support 
     598  #        remove matroska support 
     599  sed -e '/# Package: wxvlc/,/^ *$/d' \ 
     600      -e 's,--enable-wxwindows,--disable-wxwindows,' \ 
     601      -e 's,--enable-skins,--disable-skins,' \ 
     602      -e 's,--enable-flac,--disable-flac,' \ 
     603      -e 's,--enable-mkv,--disable-mkv,' \ 
     604      < "$1/debian/rules" > "$1/debian/rules.woody" 
     605  mv "$1/debian/rules.woody" "$1/debian/rules" 
     606  chmod 0755 "$1/debian/rules" 
     607fi 
     608