diff options
-rw-r--r-- | debian/README.Debian | 58 | ||||
-rw-r--r-- | debian/changelog | 9 | ||||
-rw-r--r-- | debian/control | 34 | ||||
-rw-r--r-- | debian/copyright | 26 | ||||
-rw-r--r-- | debian/dirs | 2 | ||||
-rw-r--r-- | debian/docs | 12 | ||||
-rw-r--r-- | debian/postinst | 49 | ||||
-rw-r--r-- | debian/postrm | 36 | ||||
-rw-r--r-- | debian/preinst | 36 | ||||
-rw-r--r-- | debian/prerm | 36 | ||||
-rwxr-xr-x | debian/rules | 93 |
11 files changed, 391 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..567790c86 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,58 @@ +xine-lib for Debian +------------------- + +This library is (part of) the official successor of the xine video player. +Xine used to ship as two binary packages, one main player and an extra DVD +plugin, so you could replace that with one that supports CSS. +With this version, a better Plugin architecture is introduced, so you can have +several DVD plugins in parallel. +Unfortunately, there is no Debian package for any CSS capable, 0.5 compatible +plugin yet. + +You can build one from source, though. +Two of the most famous plugins are: +http://www.geocities.com/captain_css/ (stable, plays most DVDs, simple setup) +http://dvd.sf.net (tries to support navigation, still fails on many DVDs) + +If this all sounds strange to you, or maybe you're looking for Debian packaged +plugins, just read the DVD story that came with xine: + + +The CSS plugin story... +======================= + +Xine, as supported by upstream supports reading DVDs via an input plugin +(available as package xine-dvd in Debian). But this plugin is restricted to +non-encrypted DVDs, ie. a very small fraction of the DVDs currently +available... + +This is due to some legal uncertainties surrounding the CSS ("Content +Scrambling System") descrambling code: Lots of people think that it's no +problem (ie. "fair use") to use CSS descrambling software to watch DVDs with +any player they like, but this has not been proven in court yet... + +Currently, there is no "official" css plugin for xine, but unofficial +ones is available from several sites. One of these packages, the "captain_css" +plugin, has even been packaged for Debian. it is available in some apt-gettable +archives, so you can easily install it after adding one (or more) of these +lines to your /etc/apt/sources.list : + +deb http://samfundet.no/debian woody css +deb ftp://ftp.dodds.net/debian woody css + +DISCLAIMER: This is an absolutely incomplete list, provided just for your + convenience. Please notify the maintainer of this package + at <xine@packages.debian.org> if you know of any other sources! + +If you want to get the plugin manually, you can use one of these sites: +(the disclaimer still applies) + +original source: +http://members.nbci.com/captain_css/ + +debian packages: +http://samfundet.no/debian/dists/woody/css/ +ftp://ftp.dodds.net/debian/dists/woody/css/ + + + -- Siggi Langauf <siggi@debian.org>, Sun, 5 Aug 2001 20:26:31 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..9328834a9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +xine-lib (0.5.0-1) unstable; urgency=low + + * Initial Release of the new xine-lib/xine-ui based xine. + + -- Siggi Langauf <siggi@debian.org> Sun, 5 Aug 2001 20:26:31 +0200 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..1e2eb7099 --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: xine-lib +Section: devel +Priority: optional +Maintainer: Siggi Langauf <siggi@debian.org> +Build-Depends: debhelper (>> 2.0.0), aalib1-dev (>= 1.4p5-2), libasound1-dev (>=0.5.9), xlibs-dev (>> 4.1) +Standards-Version: 3.2.1 + +Package: libxine-dev +Architecture: any +Depends: libxine0 (= ${Source-Version}), libc6-dev +Description: the xine video player library, development packages + This contains development files (headers, documentation and the like) + for the xine library (libxine). + . + Libxine provides the complete infrastructure for a video/media player. + It supports MPEG 1/2 and (with suitable W*ndows DLLs) AVI/DivX videos + out of the box, so you can use it to play DVDs, (S)VCDs and most video + files out there. Building a GUI (or text based) frontend around this should + be quite easy. The xine-ui package provides one for your convenience, + so you can just start watching your VCDs ;-) + +Package: libxine0 +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: xine (<< 0.5.0), xine-dvd (<< 0.5.0), xine-dvd-css (<< 0.5.0) +Replaces: xine-dvd +Description: the xine video player library, binary files + This contains the xine library (libxine). Libxine provides the complete + infrastructure for a video/media player. + It supports MPEG 1/2 and (with suitable W*ndows DLLs) AVI/DivX videos + out of the box, so you can use it to play DVDs, (S)VCDs and most video + files out there. Building a GUI (or text based) frontend around this should + be quite easy. The xine-ui package provides one for your convenience, + so you can just start watching your VCDs ;-) diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..9622ecfca --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Siggi Langauf <siggi@debian.org> on +Sun, 5 Aug 2001 20:26:31 +0200. + +It was downloaded from http://xine.sf.net + +Upstream Author(s): Günter Bartsch and lots of others (see AUTHORS file) + + +Copyright (C) 2000,2001 the xine project + +xine 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. + +xine 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + +On Debian systems, the full text of the GPL can be found in +/usr/share/common-licenses/GPL diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 000000000..44188162e --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/docs b/debian/docs new file mode 100644 index 000000000..e80a7eb0e --- /dev/null +++ b/debian/docs @@ -0,0 +1,12 @@ +AUTHORS +README +TODO +doc/FAQ +doc/FAQ_es +doc/MRL.txt +doc/README.dxr3 +doc/README.xinerc +doc/dataflow.dia +doc/xine-lib-API + + diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..5714dc0f5 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,49 @@ +#! /bin/sh +# postinst script for xine-lib +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + + +exit 0 + + diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..5b9cc6c35 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for xine-lib +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 000000000..d43a07985 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,36 @@ +#! /bin/sh +# preinst script for xine-lib +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 000000000..8be8456bc --- /dev/null +++ b/debian/prerm @@ -0,0 +1,36 @@ +#! /bin/sh +# prerm script for xine-lib +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..ae0c55d65 --- /dev/null +++ b/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# adapted for xine-lib 2001 by Siggi Langauf + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +# shared library versions, option 1 +#version=0.5.0 +#major=0 +# option 2, assuming created lib in src/xine-engine/.libs/dlibxine.so.<version> +version=`ls src/xine-engine/.libs/libxine.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls src/xine-engine/.libs/libxine.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr --mandir=\$${prefix}/share/man + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/xine-lib. + $(MAKE) install prefix=$(CURDIR)/debian/libxine-dev/usr + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testversion 2 + dh_testdir + dh_testroot + # + # build libxine${major} package by moving files from libxine-dev + # + dh_movefiles --sourcedir=debian/libxine-dev -plibxine$(major) \ + usr/lib/libxine.so.$(major) \ + usr/lib/libxine.so.$(version) \ + usr/lib/xine/plugins/*.so \ + usr/share/xine + +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu + dh_installmanpages + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |