[SCM] intel-vaapi-driver/master: Remove get-orig-source target

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Wed Oct 1 12:36:14 UTC 2014


The following commit has been merged in the master branch:
commit f5da4c907219f9cb23a49259792752dd3dba6c66
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Wed Oct 1 13:46:32 2014 +0200

    Remove get-orig-source target

diff --git a/debian/intel-get-orig-source b/debian/intel-get-orig-source
deleted file mode 100755
index 71dad1d..0000000
--- a/debian/intel-get-orig-source
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# This script is used to download the upstream source for libva and
-# generate it into an orig source tarball for Debian.
-
-# Common variables used to ease maintenance of this script
-I965_VERSION="1.0.15"
-I965_TARBALL="intel-driver-$I965_VERSION.tar.gz"
-I965_ORIG_TARBALL="intel-driver_$I965_VERSION.orig.tar.gz"
-USAGE="\n\
-This script is used to generate the orig tarball used in building\n\
-Debian packages for intel-driver-$I965_VERSION.\n\
-Usage: i965-get-orig-source [OPTION]\n\
-\n\
- -h, --help                 Display this help message.\n"
-
-while [ "$#" -gt "0" ]
-do
-    case "$1" in
-        -h|--help|*)
-            echo "${USAGE}"
-            exit 1
-            ;;
-    esac
-done
-
-make_current_tarball() {
-    # Download the tarball if it's not available in the current directory
-    [ -f $I965_TARBALL ] || \
-        wget -c http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/$I965_TARBALL
-
-    # Extract tarball and run 'autoreconf -vif'
-    echo "Extracting tarball and running 'autoreconf -vif'"
-    tar -zxf $I965_TARBALL
-    cd intel-driver-$I965_VERSION
-    autoreconf -vif
-    cd ..
-
-    # Remove temp files and other cruft from source tarball
-    # The find command snippet here was taken from debhelper's dh_clean command
-    # with some modification to delete more unneeded files.
-    echo "Removing temp files and other cruft from source tarball"
-    find intel-driver-$I965_VERSION \( \( -type f -a \
-        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-        -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-        -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-        -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
-        -o -name config.status -o -name config.cache -o -name config.log \
-        \) -exec rm -f "{}" \; \) -o \
-        \( -type d -a -name autom4te.cache -prune -exec rm -rf "{}" \; \) \)
-    rm intel-driver-$I965_VERSION/.gitignore
-    rm intel-driver-$I965_VERSION/.cvsignore
-    rm -rf intel-driver-$I965_VERSION/debian.upstream
-    rm -rf intel-driver-$I965_VERSION/debian
-
-    # Remove empty directories
-    echo "Removing empty directories"
-    find intel-driver-$I965_VERSION -type d -empty -delete
-
-    # Repack tarball to final orig tarball
-    echo "Creating orig tarball"
-    tar --exclude-vcs -zcf "$I965_ORIG_TARBALL" "intel-driver-$I965_VERSION/"
-}
-
-make_current_tarball
diff --git a/debian/rules b/debian/rules
index 832597e..3310ea8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,3 @@ override_dh_installchangelogs:
 
 override_dh_auto_build:
 	dh_auto_build -- V=1
-
-get-orig-source:
-	$(dir $_)intel-get-orig-source

-- 
intel-vaapi-driver packaging



More information about the pkg-multimedia-commits mailing list