--- libdvdread-4.1.3.orig/config.h +++ libdvdread-4.1.3/config.h @@ -0,0 +1,2 @@ +/* Automatically generated by configure, do not edit */ +#include "version.h" --- libdvdread-4.1.3.orig/debian/copyright +++ libdvdread-4.1.3/debian/copyright @@ -0,0 +1,46 @@ +Upstream-Homepage: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/ +Maintainer-Homepage: http://daniel.debian-maintainers.org/ + +Files: * +Copyright: + (C) 2000-2001 Bjorn Englund + (C) 2000-2001 Hakan Hjort + (C) 2000-2001 Billy Biggs + (C) 2000-2001 Christian Wolff +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: debian/* +Copyright: (C) 2006-2010 Daniel Baumann +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. --- libdvdread-4.1.3.orig/debian/compat +++ libdvdread-4.1.3/debian/compat @@ -0,0 +1 @@ +7 --- libdvdread-4.1.3.orig/debian/libdvdread-dev.docs +++ libdvdread-4.1.3/debian/libdvdread-dev.docs @@ -0,0 +1,3 @@ +AUTHORS +DEVELOPMENT-POLICY.txt +TODO --- libdvdread-4.1.3.orig/debian/control +++ libdvdread-4.1.3/debian/control @@ -0,0 +1,52 @@ +Source: libdvdread +Section: graphics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Daniel Baumann +Uploaders: Daniel Baumann +Build-Depends: debhelper (>= 7.4.3~), autotools-dev, quilt (>= 0.46-7) +Standards-Version: 3.9.0 +Vcs-Browser: http://git.debian-maintainers.org/?p=daniel/libdvdread.git +Vcs-Git: git://git.debian-maintainers.org/git/daniel/libdvdread.git + +Package: libdvdread4 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: libdvdnav4 +Suggests: libdvdcss2, wget, debhelper, fakeroot, build-essential +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 + descrambling. + . + libdvdread probes for libdvdcss at runtime and if found, will use it to + decrypt sections of the DVD as necessary. libdvdcss needs to be installed from + third-party repositories (see README.Debian), it's not included in Debian. + +Package: libdvdread-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + ${misc:Depends}, libdvdread4 (= ${binary:Version}), + libdvdread-dev (= ${binary:Version}) +Description: library for reading DVDs (debug) + libdvdread provides the functionality that is required to access many DVDs. It + parses IFO files, reads NAV-blocks, and performs CSS authentication and + descrambling. + . + This package contains the debugging symbols. + +Package: libdvdread-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libdvdread4 (= ${binary:Version}), pkg-config +Recommends: libdvdnav-dev +Suggests: libdvdcss-dev +Description: library for reading DVDs (development) + libdvdread provides the functionality that is required to access many DVDs. It + parses IFO files, reads NAV-blocks, and performs CSS authentication and + descrambling. + . + This package contains the development files. --- libdvdread-4.1.3.orig/debian/libdvdread-dev.bug-script +++ libdvdread-4.1.3/debian/libdvdread-dev.bug-script @@ -0,0 +1,3 @@ +#!/bin/sh + +dpkg -l libdvdread-dev libdvdnav-dev libdvdcss-dev >&3 --- libdvdread-4.1.3.orig/debian/rules +++ libdvdread-4.1.3/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +%: + dh --with quilt ${@} + +override_dh_auto_clean: + [ ! -f config.mak ] || $(MAKE) distclean + + rm -f config.guess config.sub + +override_dh_auto_configure: + cp -f /usr/share/misc/config.guess . + cp -f /usr/share/misc/config.sub . + + ./configure2 --prefix=/usr --disable-opts --disable-strip CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +override_dh_auto_install: + dh_auto_install + + install -D -m 0755 debian/scripts/install-css.sh debian/libdvdread4/usr/share/doc/libdvdread4/install-css.sh + +override_dh_install: + dh_install --fail-missing + +override_dh_strip: + dh_strip --dbg-package=libdvdread-dbg + +override_dh_fixperms: + dh_fixperms --exclude debian/libdvdread4/usr/share/doc/libdvdread4/install-css.sh --- libdvdread-4.1.3.orig/debian/libdvdread4.bug-script +++ libdvdread-4.1.3/debian/libdvdread4.bug-script @@ -0,0 +1,3 @@ +#!/bin/sh + +dpkg -l libdvdread4 libdvdnav4 libdvdcss2 >&3 --- libdvdread-4.1.3.orig/debian/libdvdread4.README.Debian +++ libdvdread-4.1.3/debian/libdvdread4.README.Debian @@ -0,0 +1,17 @@ +libdvdread for Debian +--------------------- + +Many DVDs use CSS[0]. To play these discs, a special library is needed to decode +them, libdvdcss. Due to legal problems in some particular countries, Debian does +not distribute libdvdcss. + +If it is legal for you to use CSS in your juristiction, you can: + + * Install the packages from . + + * Manually download and compile the source code from + . + + [0] + + -- Daniel Baumann Fri, 02 Oct 2009 16:10:06 +0200 --- libdvdread-4.1.3.orig/debian/libdvdread4.docs +++ libdvdread-4.1.3/debian/libdvdread4.docs @@ -0,0 +1,2 @@ +AUTHORS +README --- libdvdread-4.1.3.orig/debian/changelog +++ libdvdread-4.1.3/debian/changelog @@ -0,0 +1,626 @@ +libdvdread (4.1.3-10ubuntu4.1) oneiric-proposed; urgency=low + + * debian/patches/102-reorder-linkage.patch: corrects the linking order + for shared library loading, thanks to Jason Pfeil (LP: #869003). + + -- Kees Cook Tue, 11 Oct 2011 08:43:22 -0700 + +libdvdread (4.1.3-10ubuntu4) oneiric; urgency=low + + * debian/patches/101-fix-msb-unicode.patch: Fixes unicode issue encountered + when playing DVDs with newer protection. Thanks to Jim "sixtyfive" + (LP: #852345) + + -- Robert BARABAS Sun, 18 Sep 2011 13:56:04 -0400 + +libdvdread (4.1.3-10ubuntu3) natty; urgency=low + + * debian/patches/100-quell-vts-tmapt-warning.patch: Stifle the "Please + send bug report - no VTS_TMAPT ??" message. Upstream indicates it's + merely a warning and not an indication of a bug that needs reported. + (LP: #374031) + + -- Bryce Harrington Thu, 04 Nov 2010 23:03:29 -0700 + +libdvdread (4.1.3-10ubuntu2) maverick; urgency=low + + * grep, sed, head are all part of essential packages. Hence no need to keep + them in 'Recommends'. (LP: #637756) + + -- Onkar Shinde Sat, 25 Sep 2010 16:38:52 +0530 + +libdvdread (4.1.3-10ubuntu1) maverick; urgency=low + + * Merge from debian unstable (LP: #605288). Remaining changes: + - Re-add missing install-css.sh. Update the script with patch by Gene Cumm + for dynamic version calculation. Add recommends grep, sed, head for this + functionality to work. + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Bhavani Shankar Wed, 14 Jul 2010 11:30:14 +0530 + +libdvdread (4.1.3-10) unstable; urgency=low + + * Updating standards version to 3.9.0. + * Adding patch from Morten Sjøgren to fix a segfault + with newer DVDs. + * Directing bug-script output to fd3 (Closes: #524126). + * Bumping version in dvd_reader.h to match original upstream (Closes: + #532438). + + -- Daniel Baumann Mon, 12 Jul 2010 20:56:17 +0200 + +libdvdread (4.1.3-9ubuntu1) maverick; urgency=low + + * Merge from debian unstable (LP: #). Remaining changes: + - Re-add missing install-css.sh. Update the script with patch by Gene Cumm + for dynamic version calculation. Add recommends grep, sed, head for this + functionality to work. + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Angel Abad Wed, 05 May 2010 04:51:11 +0100 + +libdvdread (4.1.3-9) unstable; urgency=low + + * Correcting spelling typo in previous changelog entry. + + -- Daniel Baumann Thu, 08 Apr 2010 06:06:03 +0200 + +libdvdread (4.1.3-8ubuntu1) lucid; urgency=low + + * Merge from debian testing. Remaining changes: + - Re-add missing install-css.sh. Update the script with patch by Gene Cumm + for dynamic version calculation. Add recommends grep, sed, head for this + functionality to work. (LP: #518057) + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Onkar Shinde Wed, 03 Mar 2010 06:28:51 +0000 + +libdvdread (4.1.3-8) unstable; urgency=low + + * Correcting wrong vcs-browser field. + * Adding explicit debian source version 1.0 until switch to 3.0. + * Updating year in copyright file. + * Make note about libdvdcss in package description more explicit. + * Updating to standards 3.8.4. + * Updating README.source. + * Shortening autotools handling in rules. + * Using debhelper to install bug files. + * Adding patch from Lorenz Minder to use correct + endianness on big-endian machines (Closes: #531621). + + -- Daniel Baumann Sat, 20 Feb 2010 13:02:05 +0100 + +libdvdread (4.1.3-7ubuntu1) lucid; urgency=low + + * Merge from Debian unstable, remaining changes: (LP: #501697) + - Re-add missing install-css.sh + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + - debian/patches/05-endian.patch,series: Take the patch from Debian bug + 531621. Fixes playback on big endian machines. + * Update Maintainer field to new spec. + + -- Mathieu Trudel Sat, 02 Jan 2010 22:25:14 +0100 + +libdvdread (4.1.3-7) unstable; urgency=low + + * Updating upstream url in copyright file (Closes: #540683). + * Updating maintainer field. + * Updating vcs fields. + * Bumping versioned build-depends on debhelper. + * Sorting and wrapping build-depends and depends. + * Removing shlibs file. + * Updating location of the repository for libdvdcss in README.Debian. + * Renaming directory for storing local debian additions to more + generic name. + * Adding README.source. + * Wrapping patch descriptions. + * Bumping versioned build-depends on quilt. + * Updating package to standards version 3.8.3. + * Adding maintainer homepage in copyright. + + -- Daniel Baumann Sun, 04 Oct 2009 12:10:27 +0200 + +libdvdread (4.1.3-6ubuntu1) lucid; urgency=low + + * Merge from Debian unstable, remaining changes: + - Re-add missing install-css.sh + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + - debian/patches/05-endian.patch,series: Take the patch from Debian bug + 531621. Fixes playback on big endian machines. + * Other changes were dropped as they are not relevant with new patch. + + -- Onkar Shinde Sat, 19 Dec 2009 01:06:19 +0530 + +libdvdread (4.1.3-6) unstable; urgency=low + + * Updating package to standards 3.8.2. + * Adding misc depends. + * Minimizing rules file. + * Using correct rfc-2822 date formats in changelog. + + -- Daniel Baumann Sun, 02 Aug 2009 13:08:09 +0200 + +libdvdread (4.1.3-5ubuntu2) karmic; urgency=low + + * Change obsolete --print-installation-architecture for --print-architecture + dpkg option in install-css.sh + + -- Nicolas Valcárcel Scerpella (Canonical) Sat, 03 Oct 2009 22:24:18 -0500 + +libdvdread (4.1.3-5ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: (LP: #380525) + - Use autogen.sh and configure script instead of configure2 till we figure + out why configure2 breaks the library. + - debian/control + - Add autoconf, automake, libtool to 'Build-Depends' as required by the + autogen.sh script. + - debian/rules + - Add -DHAVE_DLFCN_H to CFLAGS. + - install install-css.sh, leave perms executable. + - debian/libdvdread-dev.install + - Add .la and macro file to libdvdread-dev package. + - debian/patches/04-fix-lib-version.patch + - Correct the version of libdvdread.so file. + - Re-add missing install-css.sh + + -- Stefan Lesicnik Tue, 26 May 2009 11:03:37 +0200 + +libdvdread (4.1.3-5) unstable; urgency=low + + * Adding patch to fix symbol conflicts with other MD5 implementations + (Closes: #522512). + * Upgrading package to standards 3.8.1. + * Updating section for debug packages. + + -- Daniel Baumann Sun, 05 Apr 2009 11:46:00 +0200 + +libdvdread (4.1.3-4ubuntu2) jaunty; urgency=low + + * Use autogen.sh and configure script instead of configure2 till we figure + out why configure2 breaks the library. (LP: #342890) + * debian/control + - Add autoconf, automake, libtool to 'Build-Depends' as required by the + autogen.sh script. + * debian/rules + - Add -DHAVE_DLFCN_H to CFLAGS. Use autogen.sh instead of configure2 script. + * debian/libdvdread-dev.install + - Add .la and macro file to libdvdread-dev package. + * debian/patches/04-fix-lib-version.patch + - Correct the version of libdvdread.so file. + + -- Onkar Shinde Sat, 14 Mar 2009 01:13:32 +0530 + +libdvdread (4.1.3-4ubuntu1) jaunty; urgency=low + + * Merge from Debian unstable, remaining changes (LP: #330754): + - Re-add missing install-css.sh + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Benjamin Drung Sat, 28 Feb 2009 18:44:57 +0100 + +libdvdread (4.1.3-4) unstable; urgency=low + + * Adding patch from Erik Hovland to add DVDFileStat + (Closes: #515842). + + -- Daniel Baumann Sat, 28 Feb 2009 08:43:00 +0100 + +libdvdread (4.1.3-3ubuntu2) jaunty; urgency=low + + * debian/rules + - Correct installation path of install-css.sh. + + -- Onkar Shinde Fri, 27 Feb 2009 01:42:43 +0530 + +libdvdread (4.1.3-3ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes (LP: #330684): + - Re-add missing install-css.sh + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Onkar Shinde Wed, 18 Feb 2009 00:44:01 +0530 + +libdvdread (4.1.3-3) unstable; urgency=low + + * Uploading to unstable. + + -- Daniel Baumann Sun, 15 Feb 2009 18:16:00 +0100 + +libdvdread (4.1.3-2) experimental; urgency=low + + * Using patch-stamp rather than patch in rules file. + * Replacing obsolete dh_clean -k with dh_prep. + * Using quilt rather than dpatch. + * Removing old homepage location in control file. + * Updating year in copyright file. + * Making wording in README.Debian more precise. + * Updating rules to current state of the art. + + -- Daniel Baumann Sun, 25 Jan 2009 01:43:00 +0100 + +libdvdread (4.1.3-1) experimental; urgency=low + + * Updating vcs fields in control file. + * Merging upstream version 4.1.3. + * Rediffing 01-css.dpatch. + * Rediffing 02-kfreebsd.dpatch. + * Removing 03-udf.dpatch, went upstream. + * Bumping soname major to 4. + * Updating rules to new upstream. + * Including pkgconfig files. + * Correcting permissions of /usr/share/bug/libdvdread-dev/script. + * Updating debhelper docs file to new upstream. + * Updating cross compiling handling in rules. + + -- Daniel Baumann Tue, 09 Sep 2008 07:56:00 +0200 + +libdvdread (0.9.7-11ubuntu3) jaunty; urgency=low + + * Added build-essential to install-css.sh, so the build is more likely to + actually work. (LP: #225631) + + -- Sarah Hobbs Thu, 13 Nov 2008 22:05:14 +1100 + +libdvdread (0.9.7-11ubuntu2) intrepid; urgency=low + + * debian/scripts/install-css.sh + - Update based on patch provided by Dustin Widmann. (LP: #105963) + + -- Onkar Shinde Wed, 17 Sep 2008 01:07:14 +0530 + +libdvdread (0.9.7-11ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes (LP: #255140): + - Re-add missing install-css.sh + - debian/control: add Suggests for install-css.sh + - debian/rules: install install-css.sh, leave perms executable. + + -- Nathan Handler Tue, 05 Aug 2008 16:44:33 -0500 + +libdvdread (0.9.7-11) unstable; urgency=low + + * Adding recomments to libdvdnav-dev in libdvdread-dev. + * Removing lintian overrides cruft. + * Adding bug scripts for libdvdread3 and libdvdread-dev. + * Adding libdvdcss-dev suggests in libdvdread-dev. + * Removing libdvdread3-dev provides in libdvdread-dev, eventually not used + anymore. + * Updating to standards 3.8.0. + * Shortening long description of libdvdread-dev. + + -- Daniel Baumann Wed, 16 Jul 2008 11:34:00 +0200 + +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. + + -- Daniel Baumann Mon, 28 Apr 2008 16:14:00 +0200 + +libdvdread (0.9.7-9) unstable; urgency=low + + * Reordering rules file. + * Using wildcards in install files consistenly. + * Sanitizing dpatch series file. + * Removing watch file. + * Removing old lintian overrides. + * Adding link to wikipedia about CSS (Content Scramble System). + * Rewriting copyright file in machine-interpretable format. + * Adding recommends to libdvdnav4. + * Adding vcs fields in control file. + * Updating package to debhelper 7. + * Removing useless whitespaces from changelog file. + * Reverting config.guess and config.sub to upstream. + + -- 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. + + -- Daniel Baumann Fri, 22 Feb 2008 20:32:00 +0100 + +libdvdread (0.9.7-7) unstable; urgency=low + + * Applied change from Petr Salinger to update + kfreebsd patch (Closes: #466969). + + -- 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 + * Applied patch from Bastian Blank to adjusts the internal + knowledge of the filesize for IFO files in case their size doesn't match + with the entry in the UDF fs (Closes: #460400). + + -- Daniel Baumann Sat, 12 Jan 2008 15:16:00 +0100 + +libdvdread (0.9.7-5) unstable; urgency=low + + * Updated url to libdvdcss upstream in README.Debian (Closes: #458368). + + -- Daniel Baumann Sun, 30 Dec 2007 19:19:00 +0100 + +libdvdread (0.9.7-4) unstable; urgency=low + + * Bumped to new policy. + * Using new homepage field in control. + * Don't hide make errors in clean target of rules. + * Added fail-missing to dh_install call in rules. + + -- 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 + (Closes: #412628). + * Bumped to debhelper 5. + * Minor cleanups. + + -- 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). + + -- Daniel Baumann Thu, 02 Nov 2006 19:56:00 +0100 + +libdvdread (0.9.7-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Fri, 06 Oct 2006 23:08:00 +0200 + +libdvdread (0.9.6-5) unstable; urgency=low + + * Removed install-css.sh which is useless since we have binary packages + on debian-unofficial.org (Closes: #390544). + + -- Daniel Baumann Sun, 01 Oct 2006 22:04:00 +0200 + +libdvdread (0.9.6-4) unstable; urgency=low + + * Made install-css.sh executable as suggested by + Sarah Hobbs . + + -- Daniel Baumann Tue, 01 Aug 2006 10:27:00 +0200 + +libdvdread (0.9.6-3) unstable; urgency=low + + * Hrm, to bad... I forgot to change the email in control :( + + -- Daniel Baumann Sat, 29 Jul 2006 20:25:00 +0200 + +libdvdread (0.9.6-2) unstable; urgency=low + + * New email address. + * Bumped policy version. + * Updated README.Debian, refering to debian-unofficial.org (Closes: #374383). + + -- Daniel Baumann Sat, 29 Jul 2006 20:03:00 +0200 + +libdvdread (0.9.6-1) unstable; urgency=low + + * New upstream release: + - With libdvdread 0.9.4, the UDFFindFile symbol was exportet unintenionally. + Since then, the only software known which did depend on it, is dvdbackup. + With 0.9.5, this symbol was removed, therefore dvdbackup failed to work. + Now, in 0.9.6, there are some changes made to give dvdbackup the desired + information in a saner way (Closes: #364972, #365332, #365620). + + -- Daniel Baumann Wed, 03 May 2006 21:07:00 +0100 + +libdvdread (0.9.5-3) unstable; urgency=low + + * Added patch to export UDFFindFile (Closes: #364972). + + -- Daniel Baumann Thu, 26 Apr 2006 15:19:00 +0100 + +libdvdread (0.9.5-2) unstable; urgency=low + + * Added compatiblity Provides: for libdvdread3-dev (Closes: #364719). + + -- Daniel Baumann Fri, 25 Apr 2006 15:51:00 +0100 + +libdvdread (0.9.5-1) unstable; urgency=low + + * New upstream release: + - proper UTF-8 handling in IFO (Closes: #246165). + - uses updated libtool (Closes: #272516). + * New maintainer (Closes: #361295). + * Acknoledge NMU (Closes: #314896). + * Remade debian directory: + - added a watch file. + - renamed libdvdread3-dev to the proper name libdvdread-dev. + - using dpatch for patches management. + * Added amd64 to install-css.sh (Closes: #329725). + * Added patch to support kFreeBSD (Closes: #272499). + + -- Daniel Baumann Fri, 07 Apr 2006 21:39:00 +0200 + +libdvdread (0.9.4-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop the debconf code from the package; it's useless without a + debconf templates file to go with it. Closes: #314896. + + -- Steve Langasek Sat, 09 Jul 2005 01:58:40 -0700 + +libdvdread (0.9.4-5) unstable; urgency=low + + * Update french README, thanks to barbier@linuxfr.org. + * Fix spelling in README, thanks to Thomas Schoepf (Closes: #232360). + * Bump standards-version to 3.6.1, no change. + + -- Mikael Hedin Tue, 13 Jul 2004 14:27:30 +0200 + +libdvdread (0.9.4-4) unstable; urgency=low + + * Adjust section to libdevel. + * Remove libdvdread3.template, info is in README.Debian (Closes: #221591). + * Add text in README.Debian about possible use of css (Closes: #223961). + + -- Mikael Hedin Thu, 15 Jan 2004 16:00:55 +0100 + +libdvdread (0.9.4-3) unstable; urgency=low + + * Move text about css into README.Debian* (closes: #154659). Added a + runtime notice if libdvdcss is not found. + * Update libtool etc (closes: #190229). + + -- Mikael Hedin Tue, 29 Apr 2003 15:20:06 +0200 + +libdvdread (0.9.4-2) unstable; urgency=low + + * Removed two blank lines in changelog, it made dpkg-gencontrol upset + (closes: #186315). + + -- Mikael Hedin Thu, 27 Mar 2003 22:35:10 +0100 + +libdvdread (0.9.4-1) unstable; urgency=low + + * New upstream release + * Check if libdvdcss is installed before whining (closes: #157939). + * Suggest wget and check in the script (closes: #180488) + * Only ship the intended header files (closes: #159296). + * Added italian template from fabbione@fabbione.net, thanks. + + -- Mikael Hedin Fri, 07 Mar 2003 22:15:50 +0100 + +libdvdread2 (0.9.3-2) unstable; urgency=low + + * Use the upstream configure (enable the use of large file images). + * Copy config.* files automagic. + + -- Mikael Hedin Mon, 26 Aug 2002 19:51:47 +0200 + +libdvdread2 (0.9.3-1) unstable; urgency=low + + * New upstream version (closes: #151708). + * Adopt the package with permission from wolfie. + * Fixed typo in description (closes: #150674). + * Put info etc about css in this package instead of ogle. + + -- Mikael Hedin Sat, 27 Jul 2002 13:57:19 +0200 + +libdvdread2 (0.9.2-0.1) unstable; urgency=low + + * New upstream version (closes: #116870, #119581). + * NMU with permission from wolfie. + * Removed ldconfig from postinst and use dh_makeshlibs. + + -- Mikael Hedin Tue, 18 Dec 2001 16:08:19 +0100 + +libdvdread2 (0.9.1-5) unstable; urgency=low + + * Doh, actually close/fix 116929 (Closes: #116929) + + -- Brian Russo Thu, 01 Nov 2001 12:21:23 -1000 + +libdvdread2 (0.9.1-4) unstable; urgency=low + + * add casts to fix bugs in dvd_reader.c (Closes: #116828) + * Fix auto* more mess (Closes: #116927) + * Revert build-dep to 'regular' automake since 1.4 was epoch'ed + * (Closes: #114884) + + -- Brian Russo Sun, 28 Oct 2001 10:10:29 -1000 + +libdvdread2 (0.9.1-3) unstable; urgency=low + + * We're not worthy.. we're not worthy... + * Add automake build-dep + + -- Brian Russo Wed, 17 Oct 2001 10:03:52 -1000 + +libdvdread2 (0.9.1-2) unstable; urgency=low + + * New branch (so2) due to incompatible API/ABI (Closes: #113407) + * Use libdvdread1 for older stuff.. + * Should fix sparc problems (Closes: #110589) + * Thanks to Eduard Bloch + + -- Brian Russo Sat, 06 Oct 2001 18:41:14 -1000 + +libdvdread (0.9.1-1) unstable; urgency=low + + * New upstream version + * Added URI (Closes: #113157, #112291) + * Fixed sparc re configure.in (Closes: #110589) + * Fix binary-arch target in rules (Closes: #112248, #112979) + + -- Brian Russo Sun, 23 Sep 2001 15:21:24 -1000 + +libdvdread (0.8.0-3) unstable; urgency=low + + * Fix ia64 issue with patch supplied by tausq (see #104646). + + -- Brian Russo Tue, 28 Aug 2001 10:57:40 -1000 + +libdvdread (0.8.0-2) unstable; urgency=medium + + * Fixed make distclean problem. (closes: #103485, #103595, #104646) + * Corrected shlibs (closes: #109739) + + -- Brian Russo Sun, 26 Aug 2001 10:45:40 -1000 + +libdvdread (0.8.0-1) unstable; urgency=low + + * Initial Release. + + -- Brian Russo Sat, 30 Jun 2001 01:10:54 +1100 + --- libdvdread-4.1.3.orig/debian/libdvdread-dev.install +++ libdvdread-4.1.3/debian/libdvdread-dev.install @@ -0,0 +1,5 @@ +/usr/bin +/usr/include +/usr/lib/*.a +/usr/lib/*.so +/usr/lib/pkgconfig --- libdvdread-4.1.3.orig/debian/libdvdread4.install +++ libdvdread-4.1.3/debian/libdvdread4.install @@ -0,0 +1 @@ +/usr/lib/*.so.* --- libdvdread-4.1.3.orig/debian/README.source +++ libdvdread-4.1.3/debian/README.source @@ -0,0 +1,37 @@ +Package Repositories +-------------------- + +Backports for the current stable debian distribution as well as snapshots of +unreleased versions may be available in repositories listed on the maintainers +homepage. The current URL of the maintainer homepage can be seen in +debian/copyright. + + +Source Access +------------- + +You can obtain the sources of this package with: + + $ apt-get source ${PACKAGE} + +whereas '${PACKAGE}' has to be replaced with the actual name of the package. + +This package is maintained with the Git version control system. The current git +source tree can be obtained with: + + $ git clone ${GIT_URI} + +whereas '${GIT_URI}' has to be replaced with the actual URI for the Git +repository. The current Git URI can be seen in debian/control in the extracted +package sources. + +More information about Git can be found in the git-core package. + +This package may use the Quilt patch system to manage all modifications to the +upstream source. Changes, if any, are stored in the source package as diffs in +debian/diff and are applied during the build. Current modifications can be +applied to the source tree with: + + $ QUILT_PATCHES=debian/patches quilt push -a + +More information about Quilt can be found in the quilt package. --- libdvdread-4.1.3.orig/debian/source/format +++ libdvdread-4.1.3/debian/source/format @@ -0,0 +1 @@ +1.0 --- libdvdread-4.1.3.orig/debian/patches/101-fix-msb-unicode.patch +++ libdvdread-4.1.3/debian/patches/101-fix-msb-unicode.patch @@ -0,0 +1,58 @@ +## Description: They have added two hidden files in the VIDEO_TS +## directory. One of these files has the unicode name +## "\001v\001i\001d\001e\001o\001_\001t\001s\001.\001 i\001f\001o", or +## "video_ts.ifo" except with a binary "1" (instead of "0") as the MSB +## of each unicode character. +## +## libdvdnav processes unicode by (incorrectly) stripping off the MSB, +## leaving "video_ts.ifo". This causes problems because there are two +## versions of "VIDEO_TS.IFO" and the second hidden/unicode one points to +## bogus data. Unfortunately libdvdnav uses the second one and since it has +## the wrong signature you get the error message. +## +## I replaced the function Unicodedecode() in dvd_udf.c from the +## libdvdnav/libdvdread library in HandBrake and it seems to fix it. Still +## having problems playing back with "xine". They also seem to be doing +## something interesting with the VM commands. +## +## Origin/Author: jim (http://ubuntuforums.org/showthread.php?p=11257764) +## Bug: https://bugs.launchpad.net/ubuntu/+source/libdvdread/+bug/852345 +diff -Nurp libdvdread-patched//src/dvd_udf.c libdvdread-working//src/dvd_udf.c +--- libdvdread-patched//src/dvd_udf.c 2011-09-25 15:16:23.217153367 -0700 ++++ libdvdread-working//src/dvd_udf.c 2011-09-25 15:45:00.162766715 -0700 +@@ -331,18 +331,25 @@ static int SetUDFCache(dvd_reader_t *dev + /* This is wrong with regard to endianess */ + #define GETN(p, n, target) memcpy(target, &data[p], n) + +-static int Unicodedecode( uint8_t *data, int len, char *target ) ++static int Unicodedecode( uint8_t *source, int len, char *target ) + { +- int p = 1, i = 0; +- +- if( ( data[ 0 ] == 8 ) || ( data[ 0 ] == 16 ) ) do { +- if( data[ 0 ] == 16 ) p++; /* Ignore MSB of unicode16 */ +- if( p < len ) { +- target[ i++ ] = data[ p++ ]; ++ if (source[0] == 8 ) { ++ /* unicode8 data */ ++ uint8_t *data; ++ data = source + 1; ++ memcpy(target, data, len-1); ++ } else if (source[0] == 16) { ++ /* unicode16 data */ ++ int i; ++ for (i = 0; i < len-1; i++) { ++ /* MSB of unicode must be 0; treat non-zero as garbage and zero the filename */ ++ if (source[i*2+1] == 0) ++ target[i] = source[i*2+2]; ++ else ++ target[i] = 0; + } +- } while( p < len ); +- +- target[ i ] = '\0'; ++ } ++ target[len-1] = '\0'; + return 0; + } + --- libdvdread-4.1.3.orig/debian/patches/07-version.patch +++ libdvdread-4.1.3/debian/patches/07-version.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Descriptino: Bumping version to match original upstream (Closes: #532438). + +diff -Naurp libdvdread.orig/src/dvd_reader.h libdvdread/src/dvd_reader.h +--- libdvdread.orig/src/dvd_reader.h 2010-04-03 12:46:05.000000000 +0200 ++++ libdvdread/src/dvd_reader.h 2010-07-12 20:43:19.530887071 +0200 +@@ -41,7 +41,7 @@ + /** + * The current version. + */ +-#define DVDREAD_VERSION 904 ++#define DVDREAD_VERSION 907 + + /** + * The length of one Logical Block of a DVD. --- libdvdread-4.1.3.orig/debian/patches/102-reorder-linkage.patch +++ libdvdread-4.1.3/debian/patches/102-reorder-linkage.patch @@ -0,0 +1,17 @@ +Description: fix link order for shared library loading. +Author: Jason Pfeil +Bug-Ubuntu: https://bugs.launchpad.net/libdvdread/+bug/869003 + +Index: libdvdread-4.1.3/Makefile +=================================================================== +--- libdvdread-4.1.3.orig/Makefile 2011-10-11 08:41:37.258404360 -0700 ++++ libdvdread-4.1.3/Makefile 2011-10-11 08:42:19.418952288 -0700 +@@ -78,7 +78,7 @@ + cd $(.OBJDIR) && $(RANLIB) $@ + + ${DVDREAD_SHLIB}: version.h $(DVDREAD_SHOBJS) $(BUILDDEPS) +- cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) $(LDFLAGS) -ldl -Wl,-soname=$(DVDREAD_SHLIB).$(SHLIB_MAJOR) -o $@ $(DVDREAD_SHOBJS) ++ cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) $(LDFLAGS) -Wl,-soname=$(DVDREAD_SHLIB).$(SHLIB_MAJOR) -o $@ $(DVDREAD_SHOBJS) -ldl + + .c.so: $(BUILDDEPS) + cd $(.OBJDIR) && $(CC) -fPIC -DPIC -MD $(CFLAGS) -c -o $@ $< --- libdvdread-4.1.3.orig/debian/patches/01-libdvdcss.patch +++ libdvdread-4.1.3/debian/patches/01-libdvdcss.patch @@ -0,0 +1,22 @@ +Author: Daniel Baumann +Description: Print information about the CSS README. + +diff -Naurp libdvdread.orig/src/dvd_input.c libdvdread/src/dvd_input.c +--- libdvdread.orig/src/dvd_input.c 2008-09-06 21:55:51.000000000 +0000 ++++ libdvdread/src/dvd_input.c 2008-09-09 05:31:07.000000000 +0000 +@@ -348,7 +348,14 @@ int dvdinput_setup(void) + return 1; + + } else { +- fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n"); ++ fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n" ++ "************************************************\n" ++ "** **\n" ++ "** No css library available. See **\n" ++ "** /usr/share/doc/libdvdread4/README.Debian **\n" ++ "** for more information. **\n" ++ "** **\n" ++ "************************************************\n"); + + /* libdvdcss replacement functions */ + dvdinput_open = file_open; --- libdvdread-4.1.3.orig/debian/patches/100-quell-vts-tmapt-warning.patch +++ libdvdread-4.1.3/debian/patches/100-quell-vts-tmapt-warning.patch @@ -0,0 +1,12 @@ +diff -Nurp libdvdread-4.1.3//src/ifo_read.c libdvdread-4.1.3-patched//src/ifo_read.c +--- libdvdread-4.1.3//src/ifo_read.c 2008-09-06 14:55:51.000000000 -0700 ++++ libdvdread-4.1.3-patched//src/ifo_read.c 2010-11-04 23:01:05.036530001 -0700 +@@ -1371,7 +1371,7 @@ int ifoRead_VTS_TMAPT(ifo_handle_t *ifof + + if(ifofile->vtsi_mat->vts_tmapt == 0) { /* optional(?) */ + ifofile->vts_tmapt = NULL; +- fprintf(stderr,"Please send bug report - no VTS_TMAPT ?? \n"); ++ fprintf(stderr,"No VTS_TMAPT available - skipping.\n"); + return 1; + } + --- libdvdread-4.1.3.orig/debian/patches/06-segfault.patch +++ libdvdread-4.1.3/debian/patches/06-segfault.patch @@ -0,0 +1,16 @@ +Author: Morten Sjøgren +Description: + A seqfault was triggered in ifoFree_PTL_MAIT after the 'libdvdread: Unable to + seak PTL_MAIT table.' was triggered. + +diff -Naurp libdvdread.orig/src/ifo_read.c libdvdread/src/ifo_read.c +--- libdvdread.orig/src/ifo_read.c 2010-04-03 12:46:05.000000000 +0200 ++++ libdvdread/src/ifo_read.c 2010-07-12 20:35:03.146872784 +0200 +@@ -1303,6 +1303,7 @@ int ifoRead_PTL_MAIT(ifo_handle_t *ifofi + fprintf(stderr, "libdvdread: Unable to seak PTL_MAIT table.\n"); + free(ptl_mait->countries); + free(ptl_mait); ++ ifofile->ptl_mait = 0; + return 0; + } + info_length = (ptl_mait->nr_of_vtss + 1) * sizeof(pf_level_t); --- libdvdread-4.1.3.orig/debian/patches/03-dvdfilestat.patch +++ libdvdread-4.1.3/debian/patches/03-dvdfilestat.patch @@ -0,0 +1,243 @@ +Author: Erik Hovland +Description: + Adding DVDFileStat and dvd_stat_t, see + http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2009-February/000986.html + (Closes: #515842). + +diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c +--- libdvdread.orig/src/dvd_reader.c 2008-10-19 14:34:33.000000000 +0000 ++++ libdvdread/src/dvd_reader.c 2009-02-28 07:37:39.000000000 +0000 +@@ -889,6 +889,187 @@ void DVDCloseFile( dvd_file_t *dvd_file + } + } + ++static int DVDFileStatVOBUDF(dvd_reader_t *dvd, int title, ++ int menu, dvd_stat_t *statbuf) ++{ ++ char filename[ MAX_UDF_FILE_NAME_LEN ]; ++ uint32_t size; ++ off_t tot_size; ++ off_t parts_size[9]; ++ int nr_parts = 0; ++ int n; ++ ++ if( title == 0 ) { ++ sprintf( filename, "/VIDEO_TS/VIDEO_TS.VOB" ); ++ } else { ++ sprintf( filename, "/VIDEO_TS/VTS_%02d_%d.VOB", title, menu ? 0 : 1 ); ++ } ++ if(!UDFFindFile( dvd, filename, &size )) { ++ return -1; ++ } ++ tot_size = size; ++ nr_parts = 1; ++ parts_size[0] = size; ++ ++ if( !menu ) { ++ int cur; ++ ++ for( cur = 2; cur < 10; cur++ ) { ++ sprintf( filename, "/VIDEO_TS/VTS_%02d_%d.VOB", title, cur ); ++ if( !UDFFindFile( dvd, filename, &size ) ) { ++ break; ++ } ++ parts_size[nr_parts] = size; ++ tot_size += size; ++ nr_parts++; ++ } ++ } ++ ++ statbuf->size = tot_size; ++ statbuf->nr_parts = nr_parts; ++ for(n = 0; n < nr_parts; n++) { ++ statbuf->parts_size[n] = parts_size[n]; ++ } ++ return 0; ++} ++ ++ ++static int DVDFileStatVOBPath( dvd_reader_t *dvd, int title, ++ int menu, dvd_stat_t *statbuf ) ++{ ++ char filename[ MAX_UDF_FILE_NAME_LEN ]; ++ char full_path[ PATH_MAX + 1 ]; ++ struct stat fileinfo; ++ off_t tot_size; ++ off_t parts_size[9]; ++ int nr_parts = 0; ++ int n; ++ ++ ++ ++ if( title == 0 ) { ++ sprintf( filename, "VIDEO_TS.VOB" ); ++ } else { ++ sprintf( filename, "VTS_%02d_%d.VOB", title, menu ? 0 : 1 ); ++ } ++ if( !findDVDFile( dvd, filename, full_path ) ) { ++ return -1; ++ } ++ ++ if( stat( full_path, &fileinfo ) < 0 ) { ++ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename ); ++ return -1; ++ } ++ ++ ++ tot_size = fileinfo.st_size; ++ nr_parts = 1; ++ parts_size[0] = fileinfo.st_size; ++ ++ if( !menu ) { ++ int cur; ++ ++ for( cur = 2; cur < 10; cur++ ) { ++ ++ sprintf( filename, "VTS_%02d_%d.VOB", title, cur ); ++ if( !findDVDFile( dvd, filename, full_path ) ) { ++ break; ++ } ++ ++ if( stat( full_path, &fileinfo ) < 0 ) { ++ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename ); ++ break; ++ } ++ ++ parts_size[nr_parts] = fileinfo.st_size; ++ tot_size += parts_size[nr_parts]; ++ nr_parts++; ++ } ++ } ++ ++ statbuf->size = tot_size; ++ statbuf->nr_parts = nr_parts; ++ for(n = 0; n < nr_parts; n++) { ++ statbuf->parts_size[n] = parts_size[n]; ++ } ++ return 0; ++} ++ ++ ++int DVDFileStat(dvd_reader_t *dvd, int titlenum, ++ dvd_read_domain_t domain, dvd_stat_t *statbuf) ++{ ++ char filename[ MAX_UDF_FILE_NAME_LEN ]; ++ char full_path[ PATH_MAX + 1 ]; ++ struct stat fileinfo; ++ uint32_t size; ++ ++ /* Check arguments. */ ++ if( dvd == NULL || titlenum < 0 ) { ++ errno = EINVAL; ++ return -1; ++ } ++ ++ switch( domain ) { ++ case DVD_READ_INFO_FILE: ++ if( titlenum == 0 ) { ++ sprintf( filename, "/VIDEO_TS/VIDEO_TS.IFO" ); ++ } else { ++ sprintf( filename, "/VIDEO_TS/VTS_%02i_0.IFO", titlenum ); ++ } ++ break; ++ case DVD_READ_INFO_BACKUP_FILE: ++ if( titlenum == 0 ) { ++ sprintf( filename, "/VIDEO_TS/VIDEO_TS.BUP" ); ++ } else { ++ sprintf( filename, "/VIDEO_TS/VTS_%02i_0.BUP", titlenum ); ++ } ++ break; ++ case DVD_READ_MENU_VOBS: ++ if( dvd->isImageFile ) { ++ return DVDFileStatVOBUDF( dvd, titlenum, 1, statbuf ); ++ } else { ++ return DVDFileStatVOBPath( dvd, titlenum, 1, statbuf ); ++ } ++ break; ++ case DVD_READ_TITLE_VOBS: ++ if( titlenum == 0 ) { ++ return -1; ++ } ++ if( dvd->isImageFile ) { ++ return DVDFileStatVOBUDF( dvd, titlenum, 0, statbuf ); ++ } else { ++ return DVDFileStatVOBPath( dvd, titlenum, 0, statbuf ); ++ } ++ break; ++ default: ++ fprintf( stderr, "libdvdread: Invalid domain for file stat.\n" ); ++ errno = EINVAL; ++ return -1; ++ } ++ ++ if( dvd->isImageFile ) { ++ if( UDFFindFile( dvd, filename, &size ) ) { ++ statbuf->size = size; ++ statbuf->nr_parts = 1; ++ statbuf->parts_size[0] = size; ++ return 0; ++ } ++ } else { ++ if( findDVDFile( dvd, filename, full_path ) ) { ++ if( stat( full_path, &fileinfo ) < 0 ) { ++ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename ); ++ } else { ++ statbuf->size = fileinfo.st_size; ++ statbuf->nr_parts = 1; ++ statbuf->parts_size[0] = statbuf->size; ++ return 0; ++ } ++ } ++ } ++ return -1; ++} ++ + /* Internal, but used from dvd_udf.c */ + int UDFReadBlocksRaw( dvd_reader_t *device, uint32_t lb_number, + size_t block_count, unsigned char *data, +diff -Naurp libdvdread.orig/src/dvd_reader.h libdvdread/src/dvd_reader.h +--- libdvdread.orig/src/dvd_reader.h 2008-10-19 14:34:33.000000000 +0000 ++++ libdvdread/src/dvd_reader.h 2009-02-28 07:37:39.000000000 +0000 +@@ -115,6 +115,42 @@ typedef enum { + } dvd_read_domain_t; + + /** ++ * ++ */ ++typedef struct { ++ off_t size; /**< Total size of file in bytes */ ++ int nr_parts; /**< Number of file parts */ ++ off_t parts_size[9]; /**< Size of each part in bytes */ ++} dvd_stat_t; ++ ++/** ++ * Stats a file on the DVD given the title number and domain. ++ * The information about the file is stored in a dvd_stat_t ++ * which contains information about the size of the file and ++ * the number of parts in case of a multipart file and the respective ++ * sizes of the parts. ++ * A multipart file is for instance VTS_02_1.VOB, VTS_02_2.VOB, VTS_02_3.VOB ++ * The size of VTS_02_1.VOB will be stored in stat->parts_size[0], ++ * VTS_02_2.VOB in stat->parts_size[1], ... ++ * The total size (sum of all parts) is stored in stat->size and ++ * stat->nr_parts will hold the number of parts. ++ * Only DVD_READ_TITLE_VOBS (VTS_??_[1-9].VOB) can be multipart files. ++ * ++ * This function is only of use if you want to get the size of each file ++ * in the filesystem. These sizes are not needed to use any other ++ * functions in libdvdread. ++ * ++ * @param dvd A dvd read handle. ++ * @param titlenum Which Video Title Set should be used, VIDEO_TS is 0. ++ * @param domain Which domain. ++ * @param stat Pointer to where the result is stored. ++ * @return If successful 0, otherwise -1. ++ * ++ * int DVDFileStat(dvd, titlenum, domain, stat); ++ */ ++int DVDFileStat(dvd_reader_t *, int, dvd_read_domain_t, dvd_stat_t *); ++ ++/** + * Opens a file on the DVD given the title number and domain. + * + * If the title number is 0, the video manager information is opened --- libdvdread-4.1.3.orig/debian/patches/05-endian.patch +++ libdvdread-4.1.3/debian/patches/05-endian.patch @@ -0,0 +1,18 @@ +Author: Lorenz Minder +Description: Use correct endianess on big-endian machines (Closes: #531621). + +diff -Naurp libdvdread.orig//src/bswap.h libdvdread/src/bswap.h +--- libdvdread.orig//src/bswap.h 2009-10-02 14:14:50.000000000 +0200 ++++ libdvdread/src/bswap.h 2010-02-20 12:59:41.000000000 +0100 +@@ -20,6 +20,11 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include ++#if BYTE_ORDER == BIG_ENDIAN ++#define WORDS_BIGENDIAN ++#endif ++ + #include + + #if defined(WORDS_BIGENDIAN) --- libdvdread-4.1.3.orig/debian/patches/04-md5-symbols.patch +++ libdvdread-4.1.3/debian/patches/04-md5-symbols.patch @@ -0,0 +1,23 @@ +Author: Daniel Baumann +Description: + Fixing symbol conflicts with other MD5 implementations (Closes: #522512). + +diff -Naurp libdvdread.orig/src/md5.h libdvdread/src/md5.h +--- libdvdread.orig/src/md5.h 2008-06-01 15:16:10.000000000 +0000 ++++ libdvdread/src/md5.h 2009-04-05 09:42:30.000000000 +0000 +@@ -21,6 +21,15 @@ + #ifndef _MD5_H + #define _MD5_H 1 + ++/* Change function names to prevent symbol conflicts */ ++#define md5_init_ctx _DVD_md5_init_ctx ++#define md5_process_block _DVD_md5_process_block ++#define md5_process_bytes _DVD_md5_process_bytes ++#define md5_finish_ctx _DVD_md5_finish_ctx ++#define md5_read_ctx _DVD_md5_read_ctx ++#define md5_stream _DVD_md5_stream ++#define md5_buffer _DVD_md5_buffer ++ + #include + + #if defined HAVE_LIMITS_H || _LIBC --- libdvdread-4.1.3.orig/debian/patches/series +++ libdvdread-4.1.3/debian/patches/series @@ -0,0 +1,10 @@ +01-libdvdcss.patch +02-kfreebsd.patch +03-dvdfilestat.patch +04-md5-symbols.patch +05-endian.patch +06-segfault.patch +07-version.patch +100-quell-vts-tmapt-warning.patch +101-fix-msb-unicode.patch +102-reorder-linkage.patch --- libdvdread-4.1.3.orig/debian/patches/02-kfreebsd.patch +++ libdvdread-4.1.3/debian/patches/02-kfreebsd.patch @@ -0,0 +1,15 @@ +Author: Aurelien Jarno +Description: Adds support for Debian GNU/kFreeBSD. + +diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c +--- libdvdread.orig/src/dvd_reader.c 2008-09-06 21:55:51.000000000 +0000 ++++ libdvdread/src/dvd_reader.c 2008-09-09 05:26:20.000000000 +0000 +@@ -51,7 +51,7 @@ static inline int _private_gettimeofday( + #define lseek64 _lseeki64 + #endif + +-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__)|| defined(__DARWIN__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + #define SYS_BSD 1 + #endif + --- libdvdread-4.1.3.orig/debian/scripts/install-css.sh +++ libdvdread-4.1.3/debian/scripts/install-css.sh @@ -0,0 +1,114 @@ +#!/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. +# ------------------------------------------------------------------------- +# Addition of checking for current version. Gene Cumm +# ------------------------------------------------------------------------- + +set -e + +if [ ! -w /etc/passwd ]; then + echo "Super-user privileges are required. Please run this with 'sudo'." >&2 + exit 1 +fi + +sitert=http://packages.medibuntu.org/ +site=${sitert}pool/free/libd/libdvdcss/ +arch=$(dpkg --print-architecture) + +soname=2 +uversion=1.2.10 +uversion_old=1.2.9 +available="i386 amd64 powerpc lpia" +available_old="sparc" +version=${uversion}-0.2medibuntu1 +version_old=${uversion_old}-2medibuntu4 + +do_dyn=T +dist=$(lsb_release -cs) + +if ! type wget > /dev/null ; then + echo "Install wget and run this script again" >&2 + exit 1 +fi + +CSSTMP=$(mktemp -t -d dvdcss-XXXXXX) + +# Attempt to dymanically fetch the current version +# dep: grep sed +if [ "$do_dyn" = "T" ];then + for a in grep sed head; do + if ! type "$a" > /dev/null ; then + echo "Can not find ${a}; Needed for dymanic fetch" + do_dyn=F + fi + done +fi +if [ "$do_dyn" = "T" ];then +# List source, Karmic: http://www.medibuntu.org/sources.list.d/karmic.list +# deb http://packages.medibuntu.org/ karmic free non-free +# List http://packages.medibuntu.org/dists/karmic/free/binary-amd64/Packages + set +e # prevent this from stopping everything + wget "${sitert}dists/${dist}/free/binary-${arch}/Packages" -O "$CSSTMP"/Packages && \ + url=${sitert}$(grep "Filename: .*libdvdcss${soname}.*\.deb" "$CSSTMP"/Packages|sed 's/Filename: //'|head -n 1) && \ + wget "${url}" -O "$CSSTMP"/libdvdcss.deb && \ + dpkg -i "$CSSTMP"/libdvdcss.deb && \ + exit 0 + echo "Dynamic fetch failed; Falling back to static fetch" + set -e # undo +else + echo "Skipping dynamic fetch" +fi + +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 +for a in $available_old; do + if [ "$a" = "$arch" ]; then + wget ${site}libdvdcss${soname}_${version_old}_${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 build-essential, 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 "Attempting to install build-essential, debhelper and fakeroot..." >&2 + apt-get update && apt-get install build-essential debhelper fakeroot +fi + +if ! type dh_testdir > /dev/null || ! type fakeroot > /dev/null || +! type make > /dev/null ; then + echo "Failed to install build-essential, debhelper and fakeroot, exiting now." >&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