From b3179e503f740651ae16cced2f6cfe8e83d2c8a0 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 3 Aug 2004 00:37:05 +0000 Subject: This alternative Debian directory was never used, so I'm removing it with the consent of Attila, who originally added it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12940 b3059339-0415-0410-9bf9-f77b7e298cf2 --- debian-build/.cvsignore | 6 -- debian-build/00README | 5 - debian-build/README.debian | 16 --- debian-build/TODO.Debian | 12 --- debian-build/changelog | 176 -------------------------------- debian-build/config | 99 ------------------ debian-build/control | 31 ------ debian-build/copyright | 8 -- debian-build/dirs | 4 - debian-build/files | 1 - debian-build/menu | 1 - debian-build/mplayer.postinst.debhelper | 10 -- debian-build/mplayer.postrm.debhelper | 9 -- debian-build/mplayer.prerm.debhelper | 5 - debian-build/mplayer.substvars | 3 - debian-build/postinst | 87 ---------------- debian-build/postinst.templates | 31 ------ debian-build/postrm | 9 -- debian-build/rules | 172 ------------------------------- debian-build/templates | 54 ---------- 20 files changed, 739 deletions(-) delete mode 100644 debian-build/.cvsignore delete mode 100644 debian-build/00README delete mode 100644 debian-build/README.debian delete mode 100644 debian-build/TODO.Debian delete mode 100644 debian-build/changelog delete mode 100644 debian-build/config delete mode 100644 debian-build/control delete mode 100644 debian-build/copyright delete mode 100644 debian-build/dirs delete mode 100644 debian-build/files delete mode 100644 debian-build/menu delete mode 100644 debian-build/mplayer.postinst.debhelper delete mode 100644 debian-build/mplayer.postrm.debhelper delete mode 100644 debian-build/mplayer.prerm.debhelper delete mode 100644 debian-build/mplayer.substvars delete mode 100755 debian-build/postinst delete mode 100644 debian-build/postinst.templates delete mode 100644 debian-build/postrm delete mode 100755 debian-build/rules delete mode 100644 debian-build/templates diff --git a/debian-build/.cvsignore b/debian-build/.cvsignore deleted file mode 100644 index 9143fbaa95..0000000000 --- a/debian-build/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -files -mplayer -mplayer.postinst.debhelper -mplayer.postrm.debhelper -mplayer.prerm.debhelper -mplayer.substvars diff --git a/debian-build/00README b/debian-build/00README deleted file mode 100644 index eefb8bc27b..0000000000 --- a/debian-build/00README +++ /dev/null @@ -1,5 +0,0 @@ -This is the debian/ directory for building mplayer packages for binary -binary distribution. It's based on the debian/ directory Dariush Pietrzak made. -Replace the normal debian/ with this and run dpkg-buildpackage. - -IMPORTANT: THIS IS NOT YET FINISHED AND DOESNT WORK AT THE MOMENT diff --git a/debian-build/README.debian b/debian-build/README.debian deleted file mode 100644 index 190211b2a1..0000000000 --- a/debian-build/README.debian +++ /dev/null @@ -1,16 +0,0 @@ -mplayer for Debian ----------------------- - - Most options are autodetected or configured during compilation thus - users are supposed to build this package themselves. - - Recommended method is running "fakeroot debian/rules binary" in the top - directory - - In case you would like to pass some parameters to ./configure, set variable - DEB_BUILD_OPTIONS like that: - - eyck@ghost$ DEB_BUILD_OPTIONS="--enable-streaming" fakeroot debian/rules binary - - -Dariush Pietrzak Sat Jan 5 20:28:23 CET 2002 diff --git a/debian-build/TODO.Debian b/debian-build/TODO.Debian deleted file mode 100644 index 5a0fa2a491..0000000000 --- a/debian-build/TODO.Debian +++ /dev/null @@ -1,12 +0,0 @@ -- create packages of mp_font (TTF? BITMAP? AND HOW?), depend/recommend them. -- create package for win32codecs (WHY?) -- global configuration - ( /etc/mplayer/mplayer.conf - /etc/mplayer/codecs.conf - /usr/lib/mplayer/font ) -- OBSOLETED: fibmap_mplayer - figure out what to do with suid. -- OBSOLETED: create package with odivx and make this one depend/recommend it -- OBSOLETED: Add script for copying *.dlls from users windows directory, -or figure out some other way of satisfying other dependencies -like *.dlls and fonts. -In other words - automate win32dll.zip installation. diff --git a/debian-build/changelog b/debian-build/changelog deleted file mode 100644 index 90ba958b89..0000000000 --- a/debian-build/changelog +++ /dev/null @@ -1,176 +0,0 @@ -mplayer (0.90rc2-0) unstable; urgency=low - - * new release. - - -- Gabucino Mon, 16 Dec 2002 22:03:55 +0100 - -mplayer (0.90rc1-0) unstable; urgency=low - - * new release. - * now compiled with --enable-runtime-cpudetection for safety reasons. - Disable it for slightly better performance, but the package will run only - on the CPU the build machine had. - * updated package description - - -- Gabucino Sun, 24 Nov 2002 17:01:12 +0100 - -mplayer (0.90pre9-0) unstable; urgency=low - - * new release. - - -- Dariush Pietrzak Mon, 21 Oct 2002 22:30:06 +0200 - -mplayer (0.90pre8-0) unstable; urgency=low - - * new release, fix version, we are not at 0.90, we're still at preX - - -- Dariush Pietrzak Thu, 19 Sep 2002 09:50:43 +0200 - -mplayer (0.90-4) unstable; urgency=low - - * Fix package building by adding BINDIR. - - -- Diego Biurrun Wed, 4 Sep 2002 00:49:03 +0200 - -mplayer (0.90-3) unstable; urgency=low - - * Remove configuration files on purge. - - -- Diego Biurrun Sun, 1 Sep 2002 11:03:13 +0200 - -mplayer (0.90-2) unstable; urgency=low - - * Use the confdir we compile with in the helper scripts - (/etc/mplayer/mplayer.conf instead of /etc/mplayer). - - -- Diego Biurrun Tue, 27 Aug 2002 11:18:50 +0200 - -mplayer (0.90-1) unstable; urgency=low - - * 0.90 release including latest alsa9 fixes - - -- Dariush Pietrzak Wed, 3 Jul 2002 23:32:49 +0200 - -mplayer (0.90pre5-1) unstable; urgency=low - - * rc1 to become 0.90 - - -- Dariush Pietrzak Fri, 7 Jun 2002 15:31:20 +0200 - -mplayer (0.90pre4-1) unstable; urgency=low - - * new pre-release - - -- Dariush Pietrzak Mon, 13 May 2002 08:06:34 +0200 - -mplayer (0.90pre3-1) unstable; urgency=low - - * new pre-release - * gtk bug fixed. - - -- Dariush Pietrzak Tue, 30 Apr 2002 11:32:43 +0200 - -mplayer (0.90pre2-1) unstable; urgency=low - - * new release. - - -- Dariush Pietrzak Sun, 21 Apr 2002 12:49:35 +0200 - -mplayer (0.60-3) unstable; urgency=low - - * install xvidix correctly - - -- Dariush Pietrzak Sun, 17 Mar 2002 16:38:54 +0100 - -mplayer (0.60-2) unstable; urgency=low - - * This is meaningless, just to mark that more then 2 months have passed - since last release and lots of thing in mplayer have changed. - - -- Dariush Pietrzak Thu, 7 Mar 2002 00:34:20 +0100 - -mplayer (0.60-1) unstable; urgency=low - - * Post 0.60 release. - * Changed installation - make install now handles codecs.conf, manpages - * and fontdir, so we now use make install for those. - - -- Dariush Pietrzak Fri, 4 Jan 2002 11:28:54 +0100 - -mplayer (0.60pre2-1) unstable; urgency=low - - * 0.60 pre2 release - - -- Dariush Pietrzak Fri, 28 Dec 2001 22:12:54 +0100 - -mplayer (0.60pre1-1) unstable; urgency=low - - * 0.60 pre-release. - - -- Dariush Pietrzak Tue, 25 Dec 2001 00:47:36 +0100 - -mplayer (0.50-3) unstable; urgency=low - - * debian/rules: improve install routine; will include mencore if it is - built - * debian/control: remove invalid source recommends - * debian/copyright: mention that binary distribution is not allowed - * debian/rules: install /usr/share/mplayer/codecs.conf; this should - probably be a config file - * turn on fbdev option - - -- Adam Di Carlo Sat, 15 Dec 2001 03:33:44 -0500 - -mplayer (0.50-2) unstable; urgency=low - - * gui added to package/menu - - -- Dariush Pietrzak Wed, 7 Nov 2001 11:31:46 +0100 - -mplayer (0.50-1) unstable; urgency=low - - * 0.50 released. - - -- Dariush Pietrzak Fri, 12 Oct 2001 13:26:03 +0200 - -mplayer (0.18-4) unstable; urgency=low - - * Changes to debian packaging suggested Josip Rodin - - -- Dariush Pietrzak Wed, 22 Aug 2001 22:40:58 +0200 - -mplayer (0.18-3) unstable; urgency=low - - * fixed templates. - - -- Dariush Pietrzak Sat, 28 Jul 2001 09:45:45 +0200 - -mplayer (0.18-2) unstable; urgency=low - - * modified debian scripts - - -- Dariush Pietrzak Fri, 27 Jul 2001 09:25:52 +0200 - -mplayer (0.18-1) unstable; urgency=low - - * lots of changes in mplayer - - -- Dariush Pietrzak Mon, 25 Jun 2001 15:59:18 +0200 - -mplayer (0.17a-2) unstable; urgency=low - - * mplayer.conf file, automatic menu files update - - -- Dariush Pietrzak Sun, 20 May 2001 22:50:41 +0200 - -mplayer (0.17a-1) unstable; urgency=low - - * Version change, debian scripts update (rm), maintainer switch - - -- Dariush Pietrzak Thu, 17 May 2001 13:25:12 +0200 - -mplayer (0.11pre-1) unstable; urgency=low - - * Initial release. - - -- * TeLeNiEkO * Mon, 26 Feb 2001 12:24:04 +0100 diff --git a/debian-build/config b/debian-build/config deleted file mode 100644 index 5a342d139c..0000000000 --- a/debian-build/config +++ /dev/null @@ -1,99 +0,0 @@ -#!/usr/bin/perl -w - -# Script to configure mplayer -# based on etherconf by John Goerzen - -use Debconf::Client::ConfModule qw(:all); - - -my $version = version(2.0); -title('MPlayer Configuration'); -my $PRIORITY = 'high'; -#TODO: 'medium' -my $next = 'mainmenu'; -my $isediting = 0; - -my @nextargs = (); - -checkupgrade(); # Find out if we have to upgrade. -mainloop(letsgo()); - -sub checkupgrade { - open(MCFG, "; - return 1 if ($line =~ /mplayer DEBCONF AREA/); - exit(0) if (input($PRIORITY, 'mplayer/replace-existing-files') eq "question skipped"); - go(); - if (get('mplayer/replace-existing-files') eq 'false') { - input($PRIORITY, 'mplayer/replace-existing-files-bail'); - go(); - exit(); - } - close MCFG; -} - -sub mainloop { - $next = shift @_; - do { - my @retval = &$next(@nextargs); - # if ($retval[0] eq 'BACK') { - # $retval[0] = $backups{$next}; - # } - ($next, @nextargs) = @retval; - } while ($next ne 'Exit'); -} - -sub letsgo { -#useless! - return "configure"; -} - -sub configure { - subst("mplayer/voutput", "vochoices", "xv, xmga, mga, x11, gl, sdl, xvidix"); - # db_subst mplayer/output vo xc,xmga,mga,x11,gl,sdl - exit(0) if (input($PRIORITY, "mplayer/voutput") eq "question skipped"); - go(); - exit 0 unless (get("mplayer/voutput") eq 'true'); - #return 'audioout'; - return 'mainmenu'; -} - -sub mainmenu { - go(); # To catch spare things from before - my @choices = ( - 'Video Output: ' . scalar(get("mplayer/voutput"))); - #, - $choices = join(', ', @choices); - $isediting = 1; - - subst('mplayer/mainmenu', 'choices', $choices); - input($PRIORITY, 'mplayer/mainmenu'); - go(); - - my $selection = get('mplayer/mainmenu'); - if ($selection =~ /^Exit/) { - return 'Exit'; - } - - # Set to redisplay. - fset('mplayer/mainmenu', 'isdefault', 'true'); - - $_ = $selection; - - return 'configure' if /^Video/; -# return 'aoutput' if /^Aoutput/; - return 'Exit'; -} - -sub editreturn { - my @args = @_; - return 'mainmenu' if $isediting; - return @args; -} - -sub editfix { - my $template = shift @_; - if ($isediting) { - fset($template, 'isdefault', 'true'); - } -} diff --git a/debian-build/control b/debian-build/control deleted file mode 100644 index 615c5875ff..0000000000 --- a/debian-build/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: mplayer -Section: misc -Priority: optional -Maintainer: Dariush Pietrzak -Standards-Version: 3.2.1 -Build-Depends: libglib-dev, libgtk-dev, xlibs-dev, libpng-dev, zlib1g-dev, debhelper (>= 2) - -Package: mplayer -Architecture: any -Depends: ${shlibs:Depends},debconf,libconfhelper-perl -Description: The Ultimate Movie Player - MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86 - CPUs, see the ports section). It plays most MPEG, VOB, AVI, OGG/OGM, VIVO, - ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files, - supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can - watch VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies too (and you don't - need the avifile library at all!). - . - Another big feature of MPlayer is the wide range of supported output drivers. - It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you - can also use GGI and SDL (and this way all their drivers) and some lowlevel - card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64, Permedia3) too! - Most of them supports software or hardware scaling, so you can enjoy movies in - fullscreen. - . - MPlayer supports displaying through some hardware MPEG decoder boards, such as - the DVB and DXR3/Hollywood+. - . - And what about the nice big antialiased shaded subtitles (10 supported types) - with European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic, Korean - fonts, and the onscreen display (OSD)? diff --git a/debian-build/copyright b/debian-build/copyright deleted file mode 100644 index 70645ee1b5..0000000000 --- a/debian-build/copyright +++ /dev/null @@ -1,8 +0,0 @@ -This package was debianized by * TeLeNiEkO * telenieko@telenieko.com on -Mon, 26 Feb 2001 12:24:04 +0100. - -Original source can be found at: http://www.mplayerHQ.hu/homepage/ - -Copyrighted by various authors. Licensed under the terms of GNU GPL. -See /usr/share/common-licenses/GPL for details. - diff --git a/debian-build/dirs b/debian-build/dirs deleted file mode 100644 index c2d7eef0c8..0000000000 --- a/debian-build/dirs +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin -usr/share/man/man1 -usr/share/mplayer -usr/lib/mplayer diff --git a/debian-build/files b/debian-build/files deleted file mode 100644 index ec159ff08f..0000000000 --- a/debian-build/files +++ /dev/null @@ -1 +0,0 @@ -mplayer_0.90rc2-0_i386.deb misc optional diff --git a/debian-build/menu b/debian-build/menu deleted file mode 100644 index cd10901372..0000000000 --- a/debian-build/menu +++ /dev/null @@ -1 +0,0 @@ -?package(mplayer):command=/usr/bin/gmplayer section="Apps/Viewers" needs=X11 title=gmplayer diff --git a/debian-build/mplayer.postinst.debhelper b/debian-build/mplayer.postinst.debhelper deleted file mode 100644 index a730400ef8..0000000000 --- a/debian-build/mplayer.postinst.debhelper +++ /dev/null @@ -1,10 +0,0 @@ -# Automatically added by dh_installdocs -if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/mplayer -a -d /usr/share/doc/mplayer ]; then - ln -sf ../share/doc/mplayer /usr/doc/mplayer - fi -fi -# End automatically added section -# Automatically added by dh_installmenu -if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi -# End automatically added section diff --git a/debian-build/mplayer.postrm.debhelper b/debian-build/mplayer.postrm.debhelper deleted file mode 100644 index a47233a400..0000000000 --- a/debian-build/mplayer.postrm.debhelper +++ /dev/null @@ -1,9 +0,0 @@ -# Automatically added by dh_installdebconf -if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_purge -fi -# End automatically added section -# Automatically added by dh_installmenu -if [ -x /usr/bin/update-menus ]; then update-menus ; fi -# End automatically added section diff --git a/debian-build/mplayer.prerm.debhelper b/debian-build/mplayer.prerm.debhelper deleted file mode 100644 index 006d722be8..0000000000 --- a/debian-build/mplayer.prerm.debhelper +++ /dev/null @@ -1,5 +0,0 @@ -# Automatically added by dh_installdocs -if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/mplayer ]; then - rm -f /usr/doc/mplayer -fi -# End automatically added section diff --git a/debian-build/mplayer.substvars b/debian-build/mplayer.substvars deleted file mode 100644 index 100c9d5376..0000000000 --- a/debian-build/mplayer.substvars +++ /dev/null @@ -1,3 +0,0 @@ -misc:Depends=debconf (>= 0.5) -perl:Depends=perl -shlibs:Depends=aalib1 (>= 1.2), libaudiofile0 (>= 0.2.3-4), libc6 (>= 2.2.5-13), libesd0 (>= 0.2.23-1) | libesd-alsa0 (>= 0.2.23-1), libggi2 (>= 1:2.0.1-2), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libjpeg62, libmad0 (>= 0.14.2b), libncurses5 (>= 5.2.20020112a-1), libogg0 (>= 1.0.0), libpng2 (>=1.0.12), libsdl1.2debian (>> 1.2.3), libungif4g (>= 4.1.0b1), libvorbis0 (>= 1.0.0), svgalibg1, xlibmesa3 | libgl1, xlibs (>> 4.1.0), zlib1g (>= 1:1.1.4) diff --git a/debian-build/postinst b/debian-build/postinst deleted file mode 100755 index 85fc11e227..0000000000 --- a/debian-build/postinst +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/perl -w - -# mplayer postinst - -require ConfHelper; - -use Debconf::Client::ConfModule qw(:all); -use IO::Handle; -use Fcntl; -my $version = version(1.0); -my @savedolddata = (); -my $didupgrade = 0; - -dealwithupgrades(); - -my $mcfg = new ConfHelper('mplayer', "/etc/mplayer/mplayer.conf"); -$mcfg->setconfarea(" -#MPlayer config file generated by .deb package. -#ffactor = 0.9 -#fs = yes -"); - -########################################################################### - -debug("Configuring video output driver..."); - -my $dcarea = <<"EOF"; -# MPlayer video output driver, configured by mplayer.deb -EOF - - $dcarea .= "vo=" . scalar(get("mplayer/voutput")); - $dcarea .= "\n"; - -$mcfg->setconfarea($dcarea); - -if ($didupgrade) { - $mcfg->setotherarea_DANGEROUS(@savedolddata); -} - -#%################################### - -exit unless (get("mplayer/configure") eq 'true'); -exit unless (fget("mplayer/configure", "isdefault") eq 'false'); - -#%################################## -get("mplayer/cfgnote"); - - - -sub dealwithupgrades { - open(OLDCONF, "hasconfarea()); - undef $mconf; - - if ((get('mplayer/replace-existing-files') eq 'true') && - (fget('mplayer/replace-existing-files', 'isdefault') eq 'false')) { - print STDERR "Upgrading...\n"; -#? saveolddata("/etc/network/interfaces", "pppconf"); - $didupgrade = 1; - for my $file ("/etc/mplayer/mplayer.conf" - #, "/etc/mplayer/fonts/sth - ) { - debug("Deleting $file"); - unlink $file; - } - } else { - print STDERR "Upgrade refused, exiting.\n"; - exit 0; - } -} - -# Gets any debconf area for other packages and saves it off. - -sub saveolddata { - my ($file, $package) = @_; - my $conf = new ConfHelper($package, $file); - push(@savedolddata, $conf->{startline} . "\n"); - push(@savedolddata, $conf->getconfarea()); - push(@savedolddata, $conf->{endline} . "\n"); -} - -sub debug { - print STDERR @_, "\n"; -} diff --git a/debian-build/postinst.templates b/debian-build/postinst.templates deleted file mode 100644 index 61f7eacc0b..0000000000 --- a/debian-build/postinst.templates +++ /dev/null @@ -1,31 +0,0 @@ -Template: mplayer/output -Type: select -Choices: ${vo} -Default: xv -Description: Which Video Output driver would you like? - MPlayer can use very wide range of video output drivers: - ( order aproximately by speed: ) - * mga, xmga - direct hardware access on MGA cards (G200/400/450), needs /dev/mga_vid - this driver can work without X and display video on secondary head of matrox cards - * xv - XVideo extensions of X 4.x ( hardware scaling, bilinear filtering ) - * sdl - SDL library, it can also use hardware scaling, filtering etc - * dga, fsdga - DGA extension. - * fsbdev - framebuffer device ( watching movies on text console ) - * x11 - simple x11 output. - Please choose carefully because it has tramendous effect on speed. - -Template: mplayer/overwrite -Type: boolean -Default: false -Description: Overwrite /etc/mplayer/mplayer.conf ? - Should I overwrite your current /etc/mplayer/mplayer.conf with the one created on the fly based on your answers? - -Template: mplayer/cfgnote -Type: note -Description: Create your ~/.mplayer/conf file. - Remember to read documentation and edit your ~/.mplayer/conf - (or /etc/mplayer/mplayer.conf) file. This binary depends heavily on - your hardware - which means that it needs tweaking for every single - machine it's installed to. And it also it means that it will use - your setup very effectively. Look at /usr/share/doc/mplayer - end diff --git a/debian-build/postrm b/debian-build/postrm deleted file mode 100644 index de8ea2fa46..0000000000 --- a/debian-build/postrm +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ]; then - if [ -d /etc/mplayer/ ]; then - rm -rf /etc/mplayer/ - fi -fi diff --git a/debian-build/rules b/debian-build/rules deleted file mode 100755 index 54d14d38ce..0000000000 --- a/debian-build/rules +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/make -f -# Made with the aid of debmake, by Christoph Lameter, -# based on the sample debian/rules file for GNU hello by Ian Jackson. -#export DH_VERBOSE=1 -# This is the debhelper compatability version to use. -export DH_COMPAT=3 - -package := mplayer -prefix := $(shell pwd)/debian/$(package) - -arch := $(shell dpkg --print-architecture) - -ifeq ($(arch),powerpc) - arch-conf += --disable-mp1e -endif - -COMMON_CONFIG = --prefix=/usr \ - --confdir=/etc/mplayer \ - --enable-runtime-cpudetection \ - --enable-termcap \ - --disable-iconv \ - --disable-setlocale \ - --disable-lirc \ - --disable-tv-v4l \ - --disable-tv-bsdbt848 \ - --enable-rtc \ - --disable-dvdnav \ - --disable-dvdread \ - --enable-mpdvdkit \ - --disable-css \ - --disable-cdparanoia \ - --disable-freetype \ - --disable-gif \ - --disable-png \ - --disable-jpeg \ - --disable-liblzo \ - --enable-win32 \ - --disable-xanim \ - --disable-xvid \ - --disable-divx4linux \ - --disable-libfame \ - --enable-vorbis \ - --disable-faad \ - --disable-libdv \ - --disable-mad \ - --disable-sdl \ - --disable-aa \ - --disable-ggi \ - --disable-directx \ - --disable-dvb \ - --disable-dxr2 \ - --disable-dxr3 \ - --disable-directfb \ - --disable-zr \ - --disable-real \ - --disable-arts \ - --disable-esd \ - --disable-alsa \ - --disable-mencoder - -VARIANTS = nongui-nonx-oss gui-x-oss - -CONFIG_nongui-nonx-oss = --disable-gui \ - --disable-gl \ - --disable-dga \ - --enable-vesa \ - --enable-svga \ - --enable-mga \ - --disable-xmga \ - --disable-xv \ - --disable-vm \ - --disable-xinerama \ - --disable-x11 \ - --enable-fbdev - -CONFIG_gui-x-oss = --enable-gui \ - --enable-gl \ - --enable-dga \ - --enable-vesa \ - --disable-svga \ - --enable-mga \ - --enable-xmga \ - --enable-xv \ - --enable-vm \ - --enable-xinerama \ - --enable-x11 \ - --enable-fbdev - -configure: configure-stamp -configure-stamp: $(foreach v,$(VARIANTS),configure-stamp-$(v)) - -configure-stamp-%: - dh_testdir - # Add here commands to configure the package. - $(checkdir) - ./configure $(COMMON_CONIG) $(CONFIG_$(*)) $(DEB_BUILD_OPTIONS) - touch $@ - -build: build-stamp -build-stamp: - dh_testdir - - # commands to compile the package. - ${MAKE} - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # commands to clean up after the build process. - -$(MAKE) distclean - dh_clean - -# Build architecture-independent files here. -binary-indep: build -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # commands to install the package into debian/ - $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install - dh_link usr/bin/mplayer usr/bin/gmplayer \ - usr/share/man/man1/mplayer.1.gz usr/share/man/man1/gmplayer.1.gz - - - dh_installdebconf - dh_installdocs --exclude=CVS DOCS/* - dh_installexamples etc/example.conf - dh_installmenu -# dh_installmime - dh_installinfo - dh_installchangelogs - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_makeshlibs - dh_installdeb - dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - - - -#binary-arch: checkroot build -# $(checkdir) -# -rm -rf debian/tmp -# install -d debian/tmp -# cd debian/tmp && install -d `cat ../dirs` - - -# Must have debmake installed for this to work. Otherwise please copy -# /usr/bin/debstd into the debian directory and change debstd to debian/debstd -# debstd -# dpkg-gencontrol -isp -# chown -R root.root debian/tmp -# chmod -R go=rX debian/tmp -# dpkg --build debian/tmp .. - -binary: binary-indep binary-arch - -.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/debian-build/templates b/debian-build/templates deleted file mode 100644 index 93f0c0c990..0000000000 --- a/debian-build/templates +++ /dev/null @@ -1,54 +0,0 @@ -Template: mplayer/replace-existing-files -Type: boolean -Default: true -Description: Upgrade existing system? - It looks like you've configured your mplayer already. - If you'd like to configure it with this program, I'll have - to delete the old configuration. Do you want to continue - configuration with this program? If you say "yes", I'll go ahead - and delete your old configuration and you can create it anew with - this program. - -Template: mplayer/replace-existing-files-bail -Type: note -Description: Files not replaced - I'm going to exit now since you don't want me to replace your - existing files. If you change your mind later, you can run - dpkg-reconfigure mplayer. - -Template: mplayer/mainmenu -Type: select -Choices: ${choices}, Exit -Description: MPlayer Main Menu - From this menu, you can modify any of the settings for your device. - Simply select the item you'd like to change to modify it. - When you are done, select Exit. - -Template: mplayer/voutput -Type: select -Default: x11 -Choices: ${vochoices} -Description: MPlayer Video Output - MPlayer can use very wide range of video output drivers: - ( order aproximately by speed: ) - * mga, xmga - direct hardware access on MGA cards (G200/400/450), needs /dev/mga_vid - this driver can work without X and display video on secondary head of matrox cards - * xv - XVideo extensions of X 4.x ( hardware scaling, bilinear filtering ) - * sdl - SDL library, it can also use hardware scaling, filtering etc - * ggi - GGI library, it can also use hardware scaling, filtering etc - * dga, fsdga - DGA extension. - * fsbdev - framebuffer device ( watching movies on text console ) - * x11 - simple x11 output. - . - Please choose carefully because this will have a tremendous effect on speed. - -Template: mplayer/cfgnote -Type: note -Description: Create your ~/.mplayer/conf file. - Remember to read documentation and edit your ~/.mplayer/conf - (or /etc/mplayer.conf) file. This binary depends heavily on - your hardware - which means that it needs tweaking for every single - machine it's installed to. And it also it means that it will use - your setup very effectively. Look at /usr/share/doc/mplayer - end - -- cgit v1.2.3