[Git][debian-gis-team/osgearth][master] Drop obsolete get-orig-source target.

Bas Couwenberg gitlab at salsa.debian.org
Sat Apr 28 15:23:07 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / osgearth


Commits:
ac2d39a1 by Bas Couwenberg at 2018-04-28T16:22:57+02:00
Drop obsolete get-orig-source target.

- - - - -


3 changed files:

- debian/changelog
- − debian/get-orig-source
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ osgearth (2.9.0+dfsg-2) UNRELEASED; urgency=medium
 
   * Update Vcs-* URLs for Salsa.
   * Bump Standards-Version to 4.1.4, no changes.
+  * Drop obsolete get-orig-source target.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 31 Mar 2018 12:35:42 +0200
 


=====================================
debian/get-orig-source deleted
=====================================
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh -x
-# Repack tarball because of data files with unknown license
-
-set -e
-
-# Remark: A new uscan that enables easier handling of removing files can be
-#         obtained via
-#   git clone git://tille@git.debian.org/git/users/tille/devscripts.git
-#         and then copy scripts/uscan.pl as uscan at the beginning of your PATH
-if uscan --help | grep -q -- --repack-compression ; then
-    echo "Use new enhanced uscan"
-    uscan --verbose --force-download --repack-compression xz
-    exit
-fi
-
-# Falling back to manually removing files
-
-PACKAGE=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-VERSION=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//'`
-UVERSION=`echo $VERSION | sed 's/\.0\$//'`
-
-uscan --verbose --force-download --no-symlink
-
-mkdir -p ../tarballs
-cd ../tarballs
-
-tar -xaf ../${PACKAGE}-${UVERSION}.tar.gz
-
-# Directory in upstream tarball can contain the project name twice
-if [ -d "${PACKAGE}-${PACKAGE}-${UVERSION}" ]; then
-	mv ${PACKAGE}-${PACKAGE}-${UVERSION} ${PACKAGE}-${UVERSION}
-fi
-
-# Remove data files with unknown license
-find ${PACKAGE}-${UVERSION}/data/ -not -name world.tif -not -path "*/resources/*" -type f -delete
-
-mv ${PACKAGE}-${UVERSION} ${PACKAGE}-${VERSION}+dfsg.orig
-
-XZ_OPT="-6v" tar --owner=root --group=root --mode=a+rX -caf ../"${PACKAGE}"_"${VERSION}"+dfsg.orig.tar.xz "${PACKAGE}-${VERSION}"+dfsg.orig
-
-rm -rf "${PACKAGE}-${VERSION}"+dfsg.orig
-


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -79,6 +79,3 @@ override_dh_shlibdeps:
 override_dh_makeshlibs:
 	dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)
 
-get-orig-source:
-	. debian/get-orig-source
-



View it on GitLab: https://salsa.debian.org/debian-gis-team/osgearth/commit/ac2d39a17a5e887c4f753c02026edd7775e4bcab

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/osgearth/commit/ac2d39a17a5e887c4f753c02026edd7775e4bcab
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180428/84c9c296/attachment-0001.html>


More information about the Pkg-grass-devel mailing list