[SCM] cantata/master: Drop obsolete repack script

stuart at users.alioth.debian.org stuart at users.alioth.debian.org
Sun Dec 24 12:51:50 UTC 2017


The following commit has been merged in the master branch:
commit cbf1bc6d234a34db8389d77a1c395e9e83872524
Author: Stuart Prescott <stuart at debian.org>
Date:   Sun Dec 24 18:52:20 2017 +1100

    Drop obsolete repack script

diff --git a/debian/repack b/debian/repack
deleted file mode 100755
index 8de408f..0000000
--- a/debian/repack
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# Repackage upstream source to exclude non-distributable files.
-# Should be called as "repack sh --upstream-source <version> <file>
-# (for example, via uscan).
-
-set -e
-set -u
-
-if [ $# -ne 3 ]; then
-        echo "Usage: $0 --upstream-source <version> <file>"
-        exit 1
-fi
-
-OPT_VERSION=$2
-OPT_FILE=$3
-TMPDIR=`mktemp -d`
-trap "rm -rf $TMPDIR" QUIT INT EXIT
-
-echo "Repackaging $OPT_FILE"
-
-orig_file_path=$(readlink --canonicalize $OPT_FILE)
-package_name=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
-dfsg_directory=${package_name}_${OPT_VERSION}.ds1
-dfsg_file_path=$(dirname ${orig_file_path})/${dfsg_directory}.orig.tar.xz
-
-bzcat "${orig_file_path}" | \
-tar --wildcards \
-    --delete '*/3rdparty/qjson/*' \
-    --delete '*/3rdparty/qtsingleapplication/*' \
-    --delete '*/3rdparty/solid-lite/*' | \
-xz -c > $dfsg_file_path
-
-echo "File $OPT_FILE repackaged successfully to $dfsg_file_path"
\ No newline at end of file

-- 
cantata packaging



More information about the pkg-multimedia-commits mailing list