[SCM] libav/experimental: Remove get-orig-source rule, it has no meaning anymore.
fabian-guest at users.alioth.debian.org
fabian-guest at users.alioth.debian.org
Mon Oct 1 08:57:06 UTC 2012
The following commit has been merged in the experimental branch:
commit ba0544eb3f81e90c7ab0f05a7f41629659272f35
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date: Mon Oct 1 11:01:22 2012 +0200
Remove get-orig-source rule, it has no meaning anymore.
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
deleted file mode 100644
index 9cf8a87..0000000
--- a/debian/get-orig-source.sh
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-#
-# Script to create a 'pristine' tarball for the debian ffmpeg source package
-# Copyright (C) 2008, 2009, 2010 Reinhard Tartler
-#
-# 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.
-
-set -eu
-
-usage() {
- cat >&2 <<EOF
-usage: $0 [-dh]
- -h : display help
- -d : date of svn snapshot
- -o : output tarball name
- -c : path to cleanup script
-EOF
-}
-
-debug () {
- $DEBUG && echo "DEBUG: $*" >&2
-}
-
-error () {
- echo "$1" >&2
- exit 1;
-}
-
-set +e
-PARAMS=`getopt hd: "$@"`
-if test $? -ne 0; then usage; exit 1; fi;
-set -e
-
-eval set -- "$PARAMS"
-
-DEBUG=false
-SVNDATE=
-
-while test $# -gt 0
-do
- case $1 in
- -h) usage; exit 1 ;;
- -d) SVNDATE=$2; shift ;;
- --) shift ; break ;;
- *) echo "Internal error!" ; exit 1 ;;
- esac
- shift
-done
-
-# sanity checks now
-dh_testdir
-
-if [ -z $SVNDATE ]; then
- error "you need to specify an svn date. e.g. 20081230 for Dec 29. 2008"
-fi
-
-TARBALL=../ffmpeg_0.6~svn${SVNDATE}.orig.tar.gz
-PACKAGENAME=ffmpeg
-
-TMPDIR=`mktemp -d`
-trap 'rm -rf ${TMPDIR}' EXIT
-
-baseurl="svn://svn.ffmpeg.org/ffmpeg/branches/0.6"
-
-echo "fetching source from ${baseurl}"
-
-svn export -r{${SVNDATE}} \
- --ignore-externals \
- ${baseurl} \
- ${TMPDIR}/${PACKAGENAME}
-
-svn info -r{${SVNDATE}} \
- ${baseurl} \
- | awk '/^Revision/ {print $2}' \
- > ${TMPDIR}/${PACKAGENAME}/.svnrevision
-
-tar czf ${TARBALL} -C ${TMPDIR} ${PACKAGENAME}
-
-echo "Created tarball for version ${SVNDATE} in ${TARBALL}"
diff --git a/debian/rules b/debian/rules
index 1f08059..5e2ef62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,10 +97,6 @@ clean:
$(addprefix debian-extra-, $(FLAVORS)) doxy
dh_clean $(DH_INSTALL_FILES) $(wildcard formats*.txt) $(wildcard codecs*.txt)
-get-orig-source:
- dh_testdir
- sh debian/get-orig-source.sh -d $(SVN_VERSION)
-
# The trailing newline is important!
define install_flavor
$(MAKE) -C debian-$(1) install DESTDIR=$(CURDIR)/debian/tmp \
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list