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 @@ -58,6 +58,7 @@ # Installing package $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + install -D -m 0755 debian/scripts/install-css.sh debian/libdvdread3/usr/share/doc/libdvdread3/install-css.sh # Installing lintian overrides set -e; for LINTIAN in debian/lintian/*; \ do \ @@ -76,7 +77,7 @@ dh_link dh_strip 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-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 @@ -22,6 +31,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 @@ -31,6 +49,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 (>= 5), dpatch, autotools-dev Standards-Version: 3.7.3 Homepage: http://www.dtek.chalmers.se/groups/dvd/ @@ -10,7 +11,7 @@ Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -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