[SCM] swh-lv2/master: Drop old repacking script.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Nov 4 04:57:59 UTC 2015


The following commit has been merged in the master branch:
commit 1152801d5f034b4379a62ee79c8657105f04f84b
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Nov 4 05:53:30 2015 +0100

    Drop old repacking script.

diff --git a/debian/get-git-source.sh b/debian/get-git-source.sh
deleted file mode 100755
index 47be60b..0000000
--- a/debian/get-git-source.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-BASE_REL=$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9.]\+\)+.*/\1/p')
-OLDDIR=${PWD}
-GOS_DIR=${OLDDIR}/get-orig-source
-GIT_COMMIT='git log --no-color -1 --oneline | cut -d" " -f1'
-GIT_DATE='git log --no-color -1 --date=iso | sed -ne "s/Date:\s\+\(.*\).*/\1/p" | cut -d" " -f1 | tr -d "-"'
-
-if [ -z ${BASE_REL} ]; then
-	echo 'Please run this script from the sources root directory.'
-	exit 1
-fi
-
-
-rm -rf ${GOS_DIR}
-mkdir ${GOS_DIR} && cd ${GOS_DIR}
-git clone http://github.com/swh/lv2.git swh-lv2
-cd swh-lv2/
-SWH_LV2_GIT_COMMIT=$(eval "${GIT_COMMIT}")
-SWH_LV2_GIT_DATE=$(eval "${GIT_DATE}")
-cd .. && tar cjf \
-	${OLDDIR}/swh-lv2_${BASE_REL}+${SWH_LV2_GIT_DATE}.git${SWH_LV2_GIT_COMMIT}.orig.tar.bz2 \
-	swh-lv2 --exclude-vcs --exclude=util/gsm
-rm -rf ${GOS_DIR}

-- 
swh-lv2 packaging



More information about the pkg-multimedia-commits mailing list