--- ffprobe-0.svn20090707.orig/debian/changelog +++ ffprobe-0.svn20090707/debian/changelog @@ -0,0 +1,5 @@ +ffprobe (0.svn20090707-0ubuntu1) karmic; urgency=low + + * Initial release (LP: #403065). + + -- Alessio Treglia Tue, 18 Aug 2009 09:40:36 +0200 --- ffprobe-0.svn20090707.orig/debian/ffprobe.menu +++ ffprobe-0.svn20090707/debian/ffprobe.menu @@ -0,0 +1,4 @@ +?package(ffprobe): needs="text"\ + section="Applications/Video"\ + title="FFprobe"\ + command="/usr/bin/ffprobe" --- ffprobe-0.svn20090707.orig/debian/control +++ ffprobe-0.svn20090707/debian/control @@ -0,0 +1,25 @@ +Source: ffprobe +Section: video +Priority: extra +Maintainer: Alessio Treglia +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.0.50), autoconf, perl, libavformat-dev, + libavutil-dev, libavcodec-dev, texi2html, libavfilter-dev, libavdevice-dev, + zlib1g-dev, quilt (>= 0.46-7) +Homepage: http://sourceforge.net/projects/ffprobe/ + +Package: ffprobe +Architecture: any +Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, gnuplot, + libstatistics-descriptive-perl +Description: multimedia streams analyzer + FFprobe is a simple multimedia streams analyzer with a command-line + interface based on the FFmpeg project libraries. + . + It may be used to print informations about the format and header of a + multimedia file or stream, the multimedia streams and each single packet + or frame. + . + FFprobe may be used both as a standalone application or in combination with + a textual filter, which is supposed to perform more sophisticated elaboration + (e.g. statistics elaboration or plotting). --- ffprobe-0.svn20090707.orig/debian/ffprobe.manpages +++ ffprobe-0.svn20090707/debian/ffprobe.manpages @@ -0,0 +1,2 @@ +debian/plot-vframes-bitrate.1 +debian/plot-vframes-sizes.1 --- ffprobe-0.svn20090707.orig/debian/watch +++ ffprobe-0.svn20090707/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/ffprobe/ffprobe-(.*)\.tar\.gz --- ffprobe-0.svn20090707.orig/debian/compat +++ ffprobe-0.svn20090707/debian/compat @@ -0,0 +1 @@ +7 --- ffprobe-0.svn20090707.orig/debian/copyright +++ ffprobe-0.svn20090707/debian/copyright @@ -0,0 +1,56 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: FFprobe +Maintainer: Stefano Sabatini +Source: https://sourceforge.net/svn/?group_id=205703 + +Files: * +Copyright: 2007, Stefano Sabatini +License: LGPL-2.1 + +Files: src/cmdutils.* +Copyright: 2000-2003, Fabrice Bellard +License: LGPL-2.1 + +Files: doc/texi2pod.pl +Copyright: 1999, 2000, 2001 Free Software Foundation, Inc. +License: GPL-2 + +Files: debian/* +Copyright: 2009, Alessio Treglia +License: LGPL-2.1 + +License: LGPL-2.1 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +X-Comment: On Debian systems the full text of the GNU Lesser General Public + License can be found in the `/usr/share/common-licenses/LGPL-2.1' file. + +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. + +X-Comment: On Debian systems the full text of the GNU Lesser General Public + License can be found in the `/usr/share/common-licenses/GPL-2' file. --- ffprobe-0.svn20090707.orig/debian/rules +++ ffprobe-0.svn20090707/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') +SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"." '{ print $$2 }' | sed 's/svn//' ) +TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz +PACKAGE = ffprobe + +%: + dh --with quilt $@ + +override_dh_auto_clean: + [ ! -f Makefile ] || $(MAKE) distclean + rm -f Makedefs Makefile ltmain.sh configure src/Makefile stamp-h + rm -f debian/plot-vframes-* + +override_dh_auto_build: + cp tools/plot-vframes-bitrate.pl debian/plot-vframes-bitrate + cp tools/plot-vframes-sizes.pl debian/plot-vframes-sizes + pod2man tools/plot-vframes-bitrate.pl debian/plot-vframes-bitrate.1 + pod2man tools/plot-vframes-sizes.pl debian/plot-vframes-sizes.1 + dh_auto_build + +override_dh_auto_configure: + autoconf + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man + echo "#define FFPROBE_VERSION \"SVN-r$(SVN_REVISION)\"" > src/version.h + +override_dh_auto_install: + $(MAKE) prefix=$(CURDIR)/debian/ffprobe/usr install + +get-orig-source: + rm -rf get-orig-source $(TARBALL) + mkdir get-orig-source + svn export -r $(SVN_REVISION) \ + https://ffprobe.svn.sourceforge.net/svnroot/ffprobe/trunk \ + get-orig-source/$(PACKAGE)-$(SRC_VERSION) + GZIP=--best tar czf ../$(TARBALL) -C \ + get-orig-source $(PACKAGE)-$(SRC_VERSION) + rm -rf get-orig-source + echo " "$(TARBALL)" created!" --- ffprobe-0.svn20090707.orig/debian/ffprobe.install +++ ffprobe-0.svn20090707/debian/ffprobe.install @@ -0,0 +1,2 @@ +debian/plot-vframes-bitrate usr/bin +debian/plot-vframes-sizes usr/bin --- ffprobe-0.svn20090707.orig/debian/README.source +++ ffprobe-0.svn20090707/debian/README.source @@ -0,0 +1,25 @@ +How to obtain an updated source tarball +--------------------------------------- + +We use the current date as revision number: + +FFPROBE_SVN_REV=`date +%Y%m%d` + +Change to a temporary directory: + +cd /tmp + +Retrieve the sources from upstream's trunk repository: + +svn export \ + https://ffprobe.svn.sourceforge.net/svnroot/ffprobe/trunk \ + ./ffprobe-$(FFPROBE_SVN_REV) + +Then, create the tarball: + +tar cf ffprobe_$(FFPROBE_SVN_REV).orig.tar ffprobe-$(FFPROBE_SVN_REV) +gzip -9fn ffprobe_$(FFPROBE_SVN_REV).orig.tar +rm -rf ffprobe-$(FFPROBE_SVN_REV) + +A gzipped tarball will be created into the current working directory and we +can place it wherever we want. --- ffprobe-0.svn20090707.orig/debian/patches/series +++ ffprobe-0.svn20090707/debian/patches/series @@ -0,0 +1,2 @@ +01-fix_shebangs.diff +02-plot-vframes-sizes.pl_doc.diff --- ffprobe-0.svn20090707.orig/debian/patches/01-fix_shebangs.diff +++ ffprobe-0.svn20090707/debian/patches/01-fix_shebangs.diff @@ -0,0 +1,22 @@ +Description: Fix scripts shebang lines. +Author: Alessio Treglia +Index: ffprobe-0.svn20090707/tools/plot-vframes-bitrate.pl +=================================================================== +--- ffprobe-0.svn20090707.orig/tools/plot-vframes-bitrate.pl 2009-08-11 08:03:18.464542090 +0200 ++++ ffprobe-0.svn20090707/tools/plot-vframes-bitrate.pl 2009-08-11 08:03:34.044541930 +0200 +@@ -1,4 +1,4 @@ +-#! /usr/bin/env perl ++#!/usr/bin/env perl + + use warnings; + use strict; +Index: ffprobe-0.svn20090707/tools/plot-vframes-sizes.pl +=================================================================== +--- ffprobe-0.svn20090707.orig/tools/plot-vframes-sizes.pl 2009-08-11 08:03:22.424541407 +0200 ++++ ffprobe-0.svn20090707/tools/plot-vframes-sizes.pl 2009-08-11 08:03:40.308541714 +0200 +@@ -1,4 +1,4 @@ +-#! /usr/bin/env perl ++#!/usr/bin/env perl + + use warnings; + use strict; --- ffprobe-0.svn20090707.orig/debian/patches/02-plot-vframes-sizes.pl_doc.diff +++ ffprobe-0.svn20090707/debian/patches/02-plot-vframes-sizes.pl_doc.diff @@ -0,0 +1,32 @@ +Description: Fix plot-vframes-sizes documentation. +Author: Alessio Treglia +Index: ffprobe-0.svn20090707/tools/plot-vframes-sizes.pl +=================================================================== +--- ffprobe-0.svn20090707.orig/tools/plot-vframes-sizes.pl 2009-08-11 08:17:10.480542383 +0200 ++++ ffprobe-0.svn20090707/tools/plot-vframes-sizes.pl 2009-08-11 08:18:28.088542179 +0200 +@@ -150,11 +150,11 @@ + + =head1 NAME + +-plot-video-frames-stats.pl - Uses ffprobe and gnuplot to print a representation of the video frames in a multimedia file ++plot-vframes-sizes - Uses ffprobe and gnuplot to print a representation of the video frames in a multimedia file + + =head1 SYNOPSIS + +-plot-video-frames.pl ++plot-vframes-sizes + + =head1 OPTIONS + +@@ -173,9 +173,9 @@ + + Use it as follows: + ffprobe -frames file.in > file.stats +- plot-video-frames-stats.pl file.stats ++ plot-vframes-sizes file.stats + + or simply: +- ffprobe -frames file.in | plot-video-frames-stats.pl ++ ffprobe -frames file.in | plot-vframes-sizes + + =cut