diff -u libdvdread-0.9.7/debian/rules libdvdread-0.9.7/debian/rules --- libdvdread-0.9.7/debian/rules +++ libdvdread-0.9.7/debian/rules @@ -50,6 +50,7 @@ dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + install -D -m 0755 debian/scripts/install-css.sh debian/libdvdread3/usr/share/doc/libdvdread3/install-css.sh binary: binary-arch @@ -61,7 +62,7 @@ dh_install --fail-missing --sourcedir=debian/tmp dh_strip --dbg-package=libdvdread-dbg dh_compress - dh_fixperms + dh_fixperms --exclude debian/libdvdread3/usr/share/doc/libdvdread3/install-css.sh dh_makeshlibs dh_installdeb dh_shlibdeps diff -u libdvdread-0.9.7/debian/changelog libdvdread-0.9.7/debian/changelog --- libdvdread-0.9.7/debian/changelog +++ libdvdread-0.9.7/debian/changelog @@ -1,3 +1,12 @@ +libdvdread (0.9.7-10ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. (LP: #225621) Remaining Ubuntu changes: + - Re-add missing install-css.sh + - debian/control: adjust Maintainer field, add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Stefan Ebner Sun, 04 May 2008 00:36:12 +0200 + libdvdread (0.9.7-10) unstable; urgency=low * Adding debug package. @@ -21,6 +30,15 @@ -- Daniel Baumann Mon, 28 Apr 2008 16:08:00 +0200 +libdvdread (0.9.7-8ubuntu1) hardy; urgency=low + + * Merge from Debian unstable. (LP: #195014) Remaining Ubuntu changes: + - Re-add missing install-css.sh + - debian/control: adjust Maintainer field, add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Stefan Ebner Sun, 24 Feb 2008 11:43:03 +0100 + libdvdread (0.9.7-8) unstable; urgency=low * Applied change from Bastian Blank to improve udf patch. @@ -34,6 +52,15 @@ -- Daniel Baumann Fri, 22 Feb 2008 10:21:00 +0100 +libdvdread (0.9.7-6ubuntu1) hardy; urgency=low + + * Merge from Debian unstable. (LP: #192383) Remaining Ubuntu changes: + - Re-add missing install-css.sh + - debian/control: adjust Maintainer field, add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Stefan Ebner Sat, 16 Feb 2008 15:02:46 +0100 + libdvdread (0.9.7-6) unstable; urgency=low * Maintainer upload from the Zürich BSP @@ -58,6 +85,15 @@ -- Daniel Baumann Sun, 23 Dec 2007 11:33:00 +0100 +libdvdread (0.9.7-3ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Re-add missing install-css.sh + - debian/control: adjust Maintainer field, add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Brian Murray Tue, 1 May 2007 11:40:41 -0700 + libdvdread (0.9.7-3) unstable; urgency=medium * Improved wording in README.Debian as suggested by Filipus Klutiero @@ -67,6 +103,15 @@ -- Daniel Baumann Tue, 26 Feb 2007 08:09:00 +0100 +libdvdread (0.9.7-2ubuntu1) feisty; urgency=low + + * Re-add missing install-css.sh, after fixing flaws from Debian #390544, + (LP: #77097). + * debian/control: adjust Maintainer field, add Suggests for install-css.sh + * debian/rules: install install-css.sh, leave perms executable. + + -- Kees Cook Fri, 30 Mar 2007 11:55:29 -0700 + libdvdread (0.9.7-2) unstable; urgency=medium * Fixed typo in README.Debian (Closes: #396733). diff -u libdvdread-0.9.7/debian/control libdvdread-0.9.7/debian/control --- libdvdread-0.9.7/debian/control +++ libdvdread-0.9.7/debian/control @@ -1,7 +1,8 @@ Source: libdvdread Section: graphics Priority: optional -Maintainer: Daniel Baumann +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Daniel Baumann Build-Depends: debhelper (>= 7), dpatch, autotools-dev Standards-Version: 3.7.3 Homepage: http://www.dtek.chalmers.se/groups/dvd/ @@ -13,7 +14,7 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libdvdnav4 -Suggests: libdvdcss2 +Suggests: libdvdcss2, wget, debhelper, fakeroot Description: library for reading DVDs libdvdread provides the functionality that is required to access many DVDs. It parses IFO files, reads NAV-blocks, and performs CSS authentication and only in patch2: unchanged: --- libdvdread-0.9.7.orig/debian/scripts/install-css.sh +++ libdvdread-0.9.7/debian/scripts/install-css.sh @@ -0,0 +1,66 @@ +#!/bin/sh +# Shell script to install libdvdcss under Debian GNU Linux +# Many DVDs use css for encryption. To play these discs, a special library +# is needed to decode them, libdvdcss. Due to legal problems, Debian and most +# Linux distibutions cannot distribute libdvdcss +# Use this shell script to install the libdvdcss under DEBIAN GNU/Linux +# -------------------------------------------------------------------------- +# Refer url for more info: +# Copyright info - http://www.dtek.chalmers.se/~dvd/ +# ------------------------------------------------------------------------- +# This script is part of nixCraft shell script collection (NSSC) +# Visit http://bash.cyberciti.biz/ for more information. +# ------------------------------------------------------------------------- + +set -e + +if [ ! -w /etc/passwd ]; then + echo "Super-user privileges are required. Please run this with 'sudo'." >&2 + exit 1 +fi + +site=http://www.dtek.chalmers.se/groups/dvd/deb/ +arch=$(dpkg --print-installation-architecture) + +soname=2 +uversion=1.2.5 +#available="alpha hppa i386 ia64 powerpc s390 sparc" +available="i386" +version=${uversion}-1 + +if ! type wget > /dev/null ; then + echo "Install wget and run this script again" >&2 + exit 1 +fi + +CSSTMP=$(mktemp -t -d dvdcss-XXXXXX) +for a in $available; do + if [ "$a" = "$arch" ]; then + wget ${site}libdvdcss${soname}_${version}_${arch}.deb -O "$CSSTMP"/libdvdcss.deb + dpkg -i "$CSSTMP"/libdvdcss.deb + exit $? + fi +done + +echo "No prebuilt binary available. Will try to build and install it." +echo "You need to have debhelper and fakeroot installed." +echo "If not, interrupt now, install them and rerun this script." +echo "" +echo "This is higly experimental, look out for what happens below." +echo "If you want to stop, interrupt now (control-c), else press" +echo "return to proceed" +read dum + +if ! type dh_testdir > /dev/null || ! type fakeroot > /dev/null; then + echo "Install debhelper and fakeroot, then run this script again" >&2 + exit 1 +fi + +cd "$CSSTMP" +wget ${site}libdvdcss_${uversion}.orig.tar.gz +wget ${site}libdvdcss_${version}.diff.gz +wget ${site}libdvdcss_${version}.dsc +dpkg-source -x libdvdcss_${version}.dsc +cd libdvdcss-${uversion} +fakeroot ./debian/rules binary +dpkg -i ../libdvdcss${soname}_${version}_${arch}.deb