[Restricted-changes] r138 - in dists/trunk: . lame/debian/patches mjpegtools mjpegtools/debian mjpegtools/debian/bug mjpegtools/debian/lintian mjpegtools/debian/patches

fabian-guest at alioth.debian.org fabian-guest at alioth.debian.org
Thu Jul 26 09:25:29 UTC 2007


Author: fabian-guest
Date: 2007-07-26 09:25:29 +0000 (Thu, 26 Jul 2007)
New Revision: 138

Added:
   dists/trunk/mjpegtools/
   dists/trunk/mjpegtools/debian/
   dists/trunk/mjpegtools/debian/bug/
   dists/trunk/mjpegtools/debian/bug/libmjpegtools-dev
   dists/trunk/mjpegtools/debian/bug/libmjpegtools0
   dists/trunk/mjpegtools/debian/bug/mjpegtools
   dists/trunk/mjpegtools/debian/bug/mjpegtools-dbg
   dists/trunk/mjpegtools/debian/changelog
   dists/trunk/mjpegtools/debian/compat
   dists/trunk/mjpegtools/debian/control
   dists/trunk/mjpegtools/debian/copyright
   dists/trunk/mjpegtools/debian/libmjpegtools-dev.install
   dists/trunk/mjpegtools/debian/libmjpegtools0.install
   dists/trunk/mjpegtools/debian/lintian/
   dists/trunk/mjpegtools/debian/lintian/libmjpegtools-dev
   dists/trunk/mjpegtools/debian/lintian/libmjpegtools0
   dists/trunk/mjpegtools/debian/lintian/mjpegtools
   dists/trunk/mjpegtools/debian/lintian/mjpegtools-dbg
   dists/trunk/mjpegtools/debian/mjpegtools.install
   dists/trunk/mjpegtools/debian/patches/
   dists/trunk/mjpegtools/debian/patches/00list
   dists/trunk/mjpegtools/debian/patches/01-debian-directory.dpatch
   dists/trunk/mjpegtools/debian/patches/02-include-cassert.dpatch
   dists/trunk/mjpegtools/debian/patches/03-libquicktime.dpatch
   dists/trunk/mjpegtools/debian/patches/04-pkg-config.dpatch
   dists/trunk/mjpegtools/debian/rules
   dists/trunk/mjpegtools/debian/watch
Modified:
   dists/trunk/lame/debian/patches/01-debian-directory.dpatch
Log:
First mjpegtools draft


Modified: dists/trunk/lame/debian/patches/01-debian-directory.dpatch
===================================================================
--- dists/trunk/lame/debian/patches/01-debian-directory.dpatch	2007-07-25 21:21:48 UTC (rev 137)
+++ dists/trunk/lame/debian/patches/01-debian-directory.dpatch	2007-07-26 09:25:29 UTC (rev 138)
@@ -4,6 +4,7 @@
 ## DP: Rebuild upstream tarball without debian directory.
 
 @DPATCH@
+
 diff -Naur lame-3.97+debian.orig/Makefile.am lame-3.97+debian/Makefile.am
 --- lame-3.97+debian.orig/Makefile.am	2005-08-21 17:32:07.000000000 +0000
 +++ lame-3.97+debian/Makefile.am	2007-01-07 11:37:53.000000000 +0000

Added: dists/trunk/mjpegtools/debian/bug/libmjpegtools-dev
===================================================================
--- dists/trunk/mjpegtools/debian/bug/libmjpegtools-dev	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/bug/libmjpegtools-dev	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+Send-To: Debian Restricted <restricted-devel at lists.alioth.debian.org>

Added: dists/trunk/mjpegtools/debian/bug/libmjpegtools0
===================================================================
--- dists/trunk/mjpegtools/debian/bug/libmjpegtools0	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/bug/libmjpegtools0	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+Send-To: Debian Restricted <restricted-devel at lists.alioth.debian.org>

Added: dists/trunk/mjpegtools/debian/bug/mjpegtools
===================================================================
--- dists/trunk/mjpegtools/debian/bug/mjpegtools	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/bug/mjpegtools	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+Send-To: Debian Restricted <restricted-devel at lists.alioth.debian.org>

Added: dists/trunk/mjpegtools/debian/bug/mjpegtools-dbg
===================================================================
--- dists/trunk/mjpegtools/debian/bug/mjpegtools-dbg	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/bug/mjpegtools-dbg	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+Send-To: Debian Restricted <restricted-devel at lists.alioth.debian.org>

Added: dists/trunk/mjpegtools/debian/changelog
===================================================================
--- dists/trunk/mjpegtools/debian/changelog	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/changelog	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,5 @@
+mjpegtools (1.8.0+debian-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Fabian Greffrath <fabian at debian-unofficial.org>  Sun,  1 Jul 2007 00:00:00 +0200

Added: dists/trunk/mjpegtools/debian/compat
===================================================================
--- dists/trunk/mjpegtools/debian/compat	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/compat	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+5

Added: dists/trunk/mjpegtools/debian/control
===================================================================
--- dists/trunk/mjpegtools/debian/control	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/control	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,59 @@
+Source: mjpegtools
+Section: restricted/graphics
+Priority: optional
+Maintainer: Debian Restricted <restricted-devel at lists.alioth.debian.org>
+Uploaders: Fabian Greffrath <fabian at debian-unofficial.org>, Daniel Baumann <daniel at debian.org>
+Build-Depends: debhelper (>= 5), dpatch, autotools-dev, libdv4-dev, libjpeg62-dev, libpng12-dev, libquicktime-dev (>= 2:1.0.0), zlib1g-dev
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/debian-restricted/dists/trunk/mjpegtools/
+
+Package: mjpegtools
+Section: restricted/graphics
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: video capture, editing, playback, and compression
+ The mjpeg programs are a set of tools that can do recording of videos and
+ playback, simple cut-and-paste editing and the MPEG compression of audio and
+ video under Linux.
+ .
+  Homepage: <http://mjpeg.sourceforge.net/>
+
+Package: mjpegtools-dbg
+Section: restricted/devel
+Priority: extra
+Architecture: any
+Depends: mjpegtools (= ${binary:Version}), libmjpegtools0 (= ${binary:Version}), libmjpegtools-dev (= ${binary:Version})
+Description: video capture, editing, playback, and compression (debug)
+ The mjpeg programs are a set of tools that can do recording of videos and
+ playback, simple cut-and-paste editing and the MPEG compression of audio and
+ video under Linux.
+ .
+  Homepage: <http://mjpeg.sourceforge.net/>
+ .
+ This package contains the debug symbols.
+
+Package: libmjpegtools0
+Section: restricted/libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: video capture, editing, playback, and compression (library)
+ The mjpeg programs are a set of tools that can do recording of videos and
+ playback, simple cut-and-paste editing and the MPEG compression of audio and
+ video under Linux.
+ .
+  Homepage: <http://mjpeg.sourceforge.net/>
+ .
+ This package contains the shared library.
+
+Package: libmjpegtools-dev
+Section: restricted/libdevel
+Architecture: any
+Depends: libmjpegtools0 (= ${binary:Version})
+Description: video capture, editing, playback, and compression (development)
+ The mjpeg programs are a set of tools that can do recording of videos and
+ playback, simple cut-and-paste editing and the MPEG compression of audio and
+ video under Linux.
+ .
+  Homepage: <http://mjpeg.sourceforge.net/>
+ .
+ This package contains the development files.

Added: dists/trunk/mjpegtools/debian/copyright
===================================================================
--- dists/trunk/mjpegtools/debian/copyright	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/copyright	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,46 @@
+This package was debianized by Fabian Greffrath <fabian at debian-unofficial.org> on
+Sun, 1 Jul 2007 00:00:00 +0200.
+
+It was downloaded from <http://sourceforge.net/projects/mjpeg/>
+
+Upstream Authors:
+
+	Andrew Stevens <andrew.stevens at nexgo.de>
+	Bernhard Praschinger <shadowlord at utanet.at>
+	Gernot Ziegler <gz at lysator.liu.se>
+	James Klicman <james at klicman.org>
+	Kawamata/Hitoshi <hitoshi.kawamata at nifty.ne.jp>
+	Matthew Marjanovic <maddog at mir.com>
+	Mike Bernson <mike at mlb.org>
+	Philipp Zabel <pzabel at gmx.de>
+	Rainer Johanni <Rainer at Johanni.de>
+	Ronald Bultje <rbultje at ronald.bitfreak.net>
+	Scott Moser <smoser at brickies.net>
+	Shawn Sulma <lavtools at athos.cx>
+	Stefan Fendt <stefan at lionfish.ping.de>
+	Xavier Biquard <biquard at free.fr>
+
+Copyright:
+
+	FIXME!
+	See the individual source files for the exact terms.
+	FIXME!
+
+License:
+
+	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 St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+The Debian packaging is (C) 2007, Fabian Greffrath <fabian at debian-unofficial.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: dists/trunk/mjpegtools/debian/libmjpegtools-dev.install
===================================================================
--- dists/trunk/mjpegtools/debian/libmjpegtools-dev.install	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/libmjpegtools-dev.install	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,5 @@
+/usr/include/*
+/usr/lib/*.a
+/usr/lib/*.so
+/usr/lib/*.la
+/usr/lib/pkgconfig/*

Added: dists/trunk/mjpegtools/debian/libmjpegtools0.install
===================================================================
--- dists/trunk/mjpegtools/debian/libmjpegtools0.install	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/libmjpegtools0.install	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+/usr/lib/*.so.*

Added: dists/trunk/mjpegtools/debian/lintian/libmjpegtools-dev
===================================================================
--- dists/trunk/mjpegtools/debian/lintian/libmjpegtools-dev	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/lintian/libmjpegtools-dev	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+libmjpegtools-dev: unknown-section restricted/libdevel

Added: dists/trunk/mjpegtools/debian/lintian/libmjpegtools0
===================================================================
--- dists/trunk/mjpegtools/debian/lintian/libmjpegtools0	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/lintian/libmjpegtools0	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+libmjpegtools0: unknown-section restricted/libs

Added: dists/trunk/mjpegtools/debian/lintian/mjpegtools
===================================================================
--- dists/trunk/mjpegtools/debian/lintian/mjpegtools	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/lintian/mjpegtools	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+mjpegtools: unknown-section restricted/graphics

Added: dists/trunk/mjpegtools/debian/lintian/mjpegtools-dbg
===================================================================
--- dists/trunk/mjpegtools/debian/lintian/mjpegtools-dbg	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/lintian/mjpegtools-dbg	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1 @@
+mjpegtools-dbg: unknown-section restricted/devel

Added: dists/trunk/mjpegtools/debian/mjpegtools.install
===================================================================
--- dists/trunk/mjpegtools/debian/mjpegtools.install	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/mjpegtools.install	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,2 @@
+/usr/bin/*
+/usr/share/*

Added: dists/trunk/mjpegtools/debian/patches/00list
===================================================================
--- dists/trunk/mjpegtools/debian/patches/00list	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/patches/00list	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,4 @@
+01-debian-directory
+02-include-cassert
+03-libquicktime
+04-pkg-config

Added: dists/trunk/mjpegtools/debian/patches/01-debian-directory.dpatch
===================================================================
--- dists/trunk/mjpegtools/debian/patches/01-debian-directory.dpatch	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/patches/01-debian-directory.dpatch	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,75 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 01-debian-directory.dpatch by Fabian Greffrath <fabian at debian-unofficial.org>
+##
+## DP: Rebuild upstream tarball without debian directory.
+
+ at DPATCH@
+
+diff -Naru mjpegtools-1.8.0.orig/configure mjpegtools-1.8.0/configure
+--- mjpegtools-1.8.0.orig/configure	2005-09-19 04:00:01.000000000 +0200
++++ mjpegtools-1.8.0/configure	2007-07-26 10:45:36.000000000 +0200
+@@ -27274,7 +27274,7 @@
+ 	;;
+ esac
+ 
+-                                                                                                                                                                                              ac_config_files="$ac_config_files Makefile debian/Makefile debian/control docs/Makefile lavtools/Makefile yuvdenoise/Makefile yuvdeinterlace/Makefile y4munsharp/Makefile yuvfilters/Makefile mpeg2enc/Makefile aenc/Makefile mplex/Makefile scripts/Makefile utils/Makefile utils/altivec/Makefile utils/mmxsse/Makefile y4mdenoise/Makefile mjpegtools.pc mjpegtools.spec"
++                                                                                                                                                                                              ac_config_files="$ac_config_files Makefile docs/Makefile lavtools/Makefile yuvdenoise/Makefile yuvdeinterlace/Makefile y4munsharp/Makefile yuvfilters/Makefile mpeg2enc/Makefile aenc/Makefile mplex/Makefile scripts/Makefile utils/Makefile utils/altivec/Makefile utils/mmxsse/Makefile y4mdenoise/Makefile mjpegtools.pc mjpegtools.spec"
+ 
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+@@ -27938,8 +27938,6 @@
+   case "$ac_config_target" in
+   # Handling of arguments.
+   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+-  "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
+-  "debian/control" ) CONFIG_FILES="$CONFIG_FILES debian/control" ;;
+   "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
+   "lavtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES lavtools/Makefile" ;;
+   "yuvdenoise/Makefile" ) CONFIG_FILES="$CONFIG_FILES yuvdenoise/Makefile" ;;
+diff -Naru mjpegtools-1.8.0.orig/configure.ac mjpegtools-1.8.0/configure.ac
+--- mjpegtools-1.8.0.orig/configure.ac	2005-09-19 03:58:48.000000000 +0200
++++ mjpegtools-1.8.0/configure.ac	2007-07-26 10:46:09.000000000 +0200
+@@ -565,8 +565,6 @@
+ dnl **********************************************************************
+ AC_CONFIG_FILES([
+      Makefile
+-     debian/Makefile
+-     debian/control
+      docs/Makefile
+      lavtools/Makefile
+      yuvdenoise/Makefile
+diff -Naru mjpegtools-1.8.0.orig/Makefile.am mjpegtools-1.8.0/Makefile.am
+--- mjpegtools-1.8.0.orig/Makefile.am	2005-09-19 03:55:51.000000000 +0200
++++ mjpegtools-1.8.0/Makefile.am	2007-07-26 10:43:09.000000000 +0200
+@@ -20,8 +20,7 @@
+ 	yuvfilters \
+ 	yuvdeinterlace \
+ 	y4mdenoise \
+-	y4munsharp \
+-	debian
++	y4munsharp
+ 
+ #
+ # Add any non autoconf'd files here, extra readmes and other misc 
+diff -Naru mjpegtools-1.8.0.orig/Makefile.in mjpegtools-1.8.0/Makefile.in
+--- mjpegtools-1.8.0.orig/Makefile.in	2005-09-19 03:59:57.000000000 +0200
++++ mjpegtools-1.8.0/Makefile.in	2007-07-26 10:45:03.000000000 +0200
+@@ -266,8 +266,7 @@
+ 	yuvfilters \
+ 	yuvdeinterlace \
+ 	y4mdenoise \
+-	y4munsharp \
+-	debian
++	y4munsharp
+ 
+ 
+ #
+@@ -542,7 +541,7 @@
+ distdir: $(DISTFILES)
+ 	$(am__remove_distdir)
+ 	mkdir $(distdir)
+-	$(mkdir_p) $(distdir)/. $(distdir)/debian
++	$(mkdir_p) $(distdir)/.
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \


Property changes on: dists/trunk/mjpegtools/debian/patches/01-debian-directory.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/mjpegtools/debian/patches/02-include-cassert.dpatch
===================================================================
--- dists/trunk/mjpegtools/debian/patches/02-include-cassert.dpatch	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/patches/02-include-cassert.dpatch	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,18 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## mjpegtools-1.8.0-gcc41.patch from Gentoo (modified)
+##
+## DP: Fix compilation errors with gcc4.1 by adding the include of cassert.
+
+ at DPATCH@
+
+diff -Naru mjpegtools-1.8.0.orig/y4mdenoise/Region2D.hh mjpegtools-1.8.0/y4mdenoise/Region2D.hh
+--- mjpegtools-1.8.0.orig/y4mdenoise/Region2D.hh	2004-07-18 08:43:01.000000000 +0200
++++ mjpegtools-1.8.0/y4mdenoise/Region2D.hh	2007-07-26 11:05:31.000000000 +0200
+@@ -16,6 +16,7 @@
+ 
+ #include "Status_t.h"
+ #include <iostream>
++#include <cassert>
+ 
+ 
+ 


Property changes on: dists/trunk/mjpegtools/debian/patches/02-include-cassert.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/mjpegtools/debian/patches/03-libquicktime.dpatch
===================================================================
--- dists/trunk/mjpegtools/debian/patches/03-libquicktime.dpatch	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/patches/03-libquicktime.dpatch	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## mjpegtools-1.8.0-libquicktime.patch from Gentoo
+##
+## DP: Fix compilation against latest libquicktime (>= 0.9.9).
+
+ at DPATCH@
+
+diff -Naru mjpegtools-1.8.0.orig/lavtools/lav_io.c mjpegtools-1.8.0/lavtools/lav_io.c
+--- mjpegtools-1.8.0.orig/lavtools/lav_io.c	2005-08-27 13:47:20.000000000 +0200
++++ mjpegtools-1.8.0/lavtools/lav_io.c	2007-07-26 11:16:20.000000000 +0200
+@@ -1367,7 +1367,7 @@
+          break;
+ #ifdef HAVE_LIBQUICKTIME
+       case 'q':
+-         res = fileno(((quicktime_t *)lav_file->qt_fd)->stream);
++         res = lqt_fileno((quicktime_t *)lav_file->qt_fd);
+          break;
+ #endif
+       default:


Property changes on: dists/trunk/mjpegtools/debian/patches/03-libquicktime.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/mjpegtools/debian/patches/04-pkg-config.dpatch
===================================================================
--- dists/trunk/mjpegtools/debian/patches/04-pkg-config.dpatch	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/patches/04-pkg-config.dpatch	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## mjpegtools-1.8.0-pkg-config.patch from Gentoo
+##
+## DP: Add PKG_PROG_PKG_CONFIG in global scope.
+
+ at DPATCH@
+
+diff -Naru mjpegtools-1.8.0.orig/configure.ac mjpegtools-1.8.0/configure.ac
+--- mjpegtools-1.8.0.orig/configure.ac	2005-09-19 03:58:48.000000000 +0200
++++ mjpegtools-1.8.0/configure.ac	2007-07-26 12:47:24.000000000 +0200
+@@ -233,6 +233,8 @@
+       have_jpeg=true ],,)
+ fi
+ 
++PKG_PROG_PKG_CONFIG
++
+ have_libquicktime=false
+ if test x$with_libquicktime != xno ; then
+   PKG_CHECK_MODULES(LIBQUICKTIME, [libquicktime >= 0.9.4],


Property changes on: dists/trunk/mjpegtools/debian/patches/04-pkg-config.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/mjpegtools/debian/rules
===================================================================
--- dists/trunk/mjpegtools/debian/rules	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/rules	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: patch-stamp configure
+	dh_testdir
+
+	# Configuring package
+	./configure --prefix=/usr --infodir=\$${prefix}/share/info --mandir=\$${prefix}/share/man
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+
+	# Building package
+	$(MAKE)
+
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Cleaning package
+	-$(MAKE) --ignore-errors distclean
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Installing package
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+	# Installing bug control
+	for BUG in debian/bug/*; \
+	do \
+		install -D -m 0644 $$BUG debian/`basename $$BUG`/usr/share/bug/`basename $$BUG`/control || exit 1; \
+	done
+
+	# Installing lintian overrides
+	for LINTIAN in debian/lintian/*; \
+	do \
+		install -D -m 0644 $$LINTIAN debian/`basename $$LINTIAN`/usr/share/lintian/overrides/`basename $$LINTIAN` || exit 1; \
+	done
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installinfo
+	dh_install --sourcedir=debian/tmp
+	dh_installmenu
+	dh_link
+	dh_strip --dbg-package=mjpegtools-dbg
+	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


Property changes on: dists/trunk/mjpegtools/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/mjpegtools/debian/watch
===================================================================
--- dists/trunk/mjpegtools/debian/watch	                        (rev 0)
+++ dists/trunk/mjpegtools/debian/watch	2007-07-26 09:25:29 UTC (rev 138)
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/mjpeg/mjpegtools-(.*)\.tar\.bz2




More information about the Restricted-changes mailing list