[SCM] eclipse-linuxtools packaging branch, master, updated. debian/1.2.1-1-6-g6f79323

Jakub Adam jakub.adam at tieto.com
Tue May 21 10:50:58 UTC 2013


The following commit has been merged in the master branch:
commit c5402b4d4e369a207a9fbcd728e0e0eae1c15c70
Author: Jakub Adam <jakub.adam at tieto.com>
Date:   Tue May 21 11:42:55 2013 +0200

    Add d/get-orig-source

diff --git a/debian/changelog b/debian/changelog
index 775270b..1b227e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eclipse-linuxtools (1.2.1-2) UNRELEASED; urgency=low
+
+  * Add d/get-orig-source.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Tue, 21 May 2013 11:41:41 +0200
+
 eclipse-linuxtools (1.2.1-1) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..2d0df3d
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,45 @@
+#!/bin/bash
+set -e
+
+NAME=eclipse-linuxtools
+VERSION=1.2.1
+DEB_VERSION=${VERSION}+dfsg
+
+ECLIPSE_GIT_WEB=http://git.eclipse.org/c
+
+rm -rf ${NAME}-${DEB_VERSION}
+
+VERSION_UNDERSCORE=$(echo $VERSION | sed "s/\./_/g")
+REPO_NAME=org.eclipse.linuxtools
+
+TARBALL=${REPO_NAME}-${VERSION}.tar.bz2
+
+wget "$ECLIPSE_GIT_WEB/linuxtools/$REPO_NAME.git/snapshot/$TARBALL"
+tar xf $TARBALL
+rm -f $TARBALL
+
+mv ${REPO_NAME}-${VERSION} ${NAME}-${DEB_VERSION}
+cd ${NAME}-${DEB_VERSION}
+
+find -type f -name .gitignore -delete
+
+# binaries
+find -type f -name a.out -delete
+find -type f -name *.libhover -delete
+
+# GFDL invariant section - not DFSG compliant
+rm -f libhover/org.eclipse.linuxtools.cdt.libhover.glibc/data/glibc-*.xml
+
+# generated files
+rm -f lttng/org.eclipse.linuxtools.ctf.parser/src/org/eclipse/linuxtools/ctf/parser/CTFLexer.java
+rm -f lttng/org.eclipse.linuxtools.ctf.parser/src/org/eclipse/linuxtools/ctf/parser/CTFParser.java
+
+# remove empty directories
+find . -depth -type d -empty -delete
+
+cd ..
+
+echo "Creating tarball '${NAME}_${DEB_VERSION}.orig.tar.xz'..."
+tar -cJf ../${NAME}_${DEB_VERSION}.orig.tar.xz $NAME-$DEB_VERSION
+
+rm -rf ${NAME}-${DEB_VERSION}

-- 
eclipse-linuxtools packaging



More information about the pkg-java-commits mailing list