changeset 3632:06911836febd

Adam Di Carlo changes. see debian/changelog
author eyck
date Thu, 20 Dec 2001 17:18:48 +0000
parents 5f5189ac6a41
children e81bfc0826b1
files debian/changelog debian/control debian/copyright debian/dirs debian/rules
diffstat 5 files changed, 39 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/debian/changelog	Thu Dec 20 15:30:22 2001 +0000
+++ b/debian/changelog	Thu Dec 20 17:18:48 2001 +0000
@@ -1,3 +1,15 @@
+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 <aph@debian.org>  Sat, 15 Dec 2001 03:33:44 -0500
+
 mplayer (0.50-2) unstable; urgency=low
 
   * gui added to package/menu 
--- a/debian/control	Thu Dec 20 15:30:22 2001 +0000
+++ b/debian/control	Thu Dec 20 17:18:48 2001 +0000
@@ -4,7 +4,6 @@
 Maintainer: Dariush Pietrzak <eyck@ghost.anime.pl>
 Standards-Version: 3.2.1
 Build-Depends:c++-compiler, libglib-dev, libgtk-dev, xlibs-dev, libpng2-dev, zlib1g-dev, debhelper (>= 2)
-Recommends: libsdl1.2-dev
 
 Package: mplayer
 Architecture: any
--- a/debian/copyright	Thu Dec 20 15:30:22 2001 +0000
+++ b/debian/copyright	Thu Dec 20 17:18:48 2001 +0000
@@ -5,3 +5,7 @@
 
 Copyrighted by various authors. Licensed under the terms of GNU GPL.
 See /usr/share/common-licenses/GPL for details.
+
+This package may not be distributed in binary form.  Debian packaging
+in provided for convenience only.
+
--- a/debian/dirs	Thu Dec 20 15:30:22 2001 +0000
+++ b/debian/dirs	Thu Dec 20 17:18:48 2001 +0000
@@ -1,3 +1,4 @@
 usr/bin
 usr/sbin
-usr/share/man/man1/
+usr/share/man/man1
+usr/share/mplayer
--- a/debian/rules	Thu Dec 20 15:30:22 2001 +0000
+++ b/debian/rules	Thu Dec 20 17:18:48 2001 +0000
@@ -5,7 +5,14 @@
 # This is the debhelper compatability version to use.
 export DH_COMPAT=2
 
-package=mplayer
+package        := mplayer
+prefix := debian/$(package)
+arch   := $(shell dpkg --print-architecture)
+  
+ifeq ($(arch),powerpc)
+  arch-conf += --disable-mp1e
+endif
+
 
 configure: configure-stamp
 configure-stamp:
@@ -20,10 +27,8 @@
 build-stamp:
 	dh_testdir
 
-	# Add here commands to compile the package.
-	#$(MAKE)
-	#/usr/bin/docbook-to-man debian/etherconf.sgml > etherconf.1
-	${MAKE} mplayer
+	# commands to compile the package.
+	${MAKE} 
 
 	touch build-stamp
 
@@ -32,49 +37,34 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	# Add here commands to clean up after the build process.
-	#-$(MAKE) clean
-#	$(checkdir)
-#	-rm -f build
+	# commands to clean up after the build process.
 	-$(MAKE) distclean
-#	-rm -f `find . -name "*~"`
-#	-rm -rf debian/tmp debian/files* core debian/substvars
 	dh_clean
 
-
+# Build architecture-independent files here.
+binary-indep: build
+# We have nothing to do by default.
 
-install: build
+# Build architecture-dependent files here.
+binary-arch: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
 
-	# Add here commands to install the package into debian/<packagename>
-#	$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
-#	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-#	install -d $(CURDIR)/debian/tmp/usr/bin
+	# commands to install the package into debian/<packagename>
+	#$(MAKE) prefix=$(prefix)/usr install
 	install -m 755 -s mplayer $(CURDIR)/debian/`dh_listpackages`/usr/bin/mplayer
 	dh_link usr/bin/mplayer usr/bin/gmplayer
-
-#Do we really need this?:	
-#	       install -o root -g root -m 4755 fibmap_mplayer usr/bin/fibmap_mplayer
-	       
+	install -o root -g root -m 0644 etc/codecs.conf $(prefix)/usr/share/mplayer
 
-# 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_testdir
-	dh_testroot
 	dh_installdebconf	
 	dh_installdocs DOCS/*
 	dh_installexamples etc/example.conf
 	dh_installmenu
 #	dh_installmime
-	dh_installmanpages TVout/fbset/fb.modes.5 TVout/fbset/fbset.8
+#	dh_installmanpages TVout/fbset/fb.modes.5 TVout/fbset/fbset.8
+#       dh_installmanpages      # handled by make install above
 	dh_installinfo
 #	dh_undocumented
 	dh_installchangelogs