This is an automated email from the git hooks/post-receive script. tmancill pushed a commit to branch master in repository androidsdk-tools.
commit 601d6e07e3461603cf1277f00f6dd733bcde8c34 Author: Stefan Handschuh <[email protected]> Date: Thu Sep 13 00:59:59 2012 +0200 Initial commit. --- .gitignore | 6 ++++ debian/README.source | 22 ++++++++++++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 29 ++++++++++++++++ debian/copyright | 42 +++++++++++++++++++++++ debian/get_source.script | 47 ++++++++++++++++++++++++++ debian/libandroidsdk-androidprefs-java.install | 1 + debian/libandroidsdk-common-java.install | 1 + debian/libandroidsdk-sdklib-java.install | 1 + debian/rules | 22 ++++++++++++ debian/source/format | 1 + 12 files changed, 178 insertions(+) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..97179fd --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +CleanSpec.mk +androidprefs/ +changes.txt +common/ +sdkmanager/ + diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..d707c3a --- /dev/null +++ b/debian/README.source @@ -0,0 +1,22 @@ +The source code has been excepted from the git repository + https://android.googlesource.com/platform/sdk + +where the following files and directories have been deleted: + - all directories except: + - androidprefs + - common + - sdkmanager/libs/sdklib + - common/tests + - sdkmanager/libs/sdklib/tests + - all directories/ files in sdkmanager/libs/sdklib/src/com/android/sdklib/ except + - build + - internal/build + - util + - SdkConstants.java + - ISdkLog.java + (we don't want to update the sdk through the android package system) + - sdkmanager/libs/sdklib/sdc/com/android/sdklib/internal/build/MakeIdentity.java + (this file contains a reference to a file for which I cannot find the sources) + - all directories starting with '.' (except '.' itself) + +The script 'get_source.script' can be used to generate the source archive. \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..611f8e5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +androidsdk-tools (20+git20120808~8c05950-1) unstable; urgency=low + + * Initial release (Closes: #687057). + + -- Stefan Handschuh <[email protected]> Thu, 06 Sep 2012 21:44:53 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..62f9457 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +6 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..12f4285 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: androidsdk-tools +Section: devel +Priority: extra +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Stefan Handschuh <[email protected]> +Build-Depends: debhelper (>=9), default-jdk, cdbs +Standards-Version: 3.9.3 +Homepage: http://developer.android.com/tools/help/index.html + +Package: libandroidsdk-common-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Description: Android sdk tools common library + Common library used by other android sdk tools. + +Package: libandroidsdk-androidprefs-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Description: Android preferences library + Library for android preferences. + +Package: libandroidsdk-sdklib-java +Architecture: all +Depends: ${misc:Depends}, libandroidsdk-common-java, libandroidsdk-androidprefs-java +Description: Android sdklib + The android sdklib contains the resource assembler that compiles + the static resource files of an android project. + . + This version of the sdklib library lacks the support for the sdk manager. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..32db5e6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,42 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Developement tools for the android SDK +Source: https://android.googlesource.com/platform/sdk + +Files: * +Copyright: 2005-2012, The Android Open Source Project +License: Apache 2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the full text of the Apache License, Version 2.0 + can be found in the file `/usr/share/common-licenses/Apache-2.0'. + +Files: debian/* +Copyright: 2012, Stefan Handschuh <[email protected]> +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/get_source.script b/debian/get_source.script new file mode 100755 index 0000000..598968f --- /dev/null +++ b/debian/get_source.script @@ -0,0 +1,47 @@ +#!/bin/bash + +####################################################### +# This script fetches the latest commit of the branch # +# with the specified revision. # +####################################################### + +if [ -d androidsdk-tools -o -f androidsdk-tools ] +then + echo "The file/directory 'androidsdk-tools' exists .. aborting." + exit +fi + +REVISION=20 + +git clone -b tools_r$REVISION https://android.googlesource.com/platform/sdk androidsdk-tools +VERSION=`git --git-dir=androidsdk-tools/.git log -1 --format=%cd~%h --date=short | sed s/-//g` +echo "Version "$VERSION +echo "Deleting not needed files ..." +rm -fr `find androidsdk-tools -maxdepth 1 -type d ! -name androidsdk-tools ! -name androidprefs ! -name common ! -name sdkmanager` +rm -fr androidsdk-tools/common/tests +rm -fr androidsdk-tools/sdkmanager/libs/sdklib/tests +rm -fr androidsdk-tools/sdkmanager/app +rm -fr androidsdk-tools/sdkmanager/libs/sdkuilib +rm -fr `find androidsdk-tools/sdkmanager/libs/sdklib/src/com/android/sdklib -maxdepth 1 ! -name sdklib ! -name build ! -name util ! -name internal ! -name SdkConstants.java ! -name ISdkLog.java` +rm -fr `find androidsdk-tools/sdkmanager/libs/sdklib/src/com/android/sdklib/internal -type d ! -name internal ! -name build` +rm -fr androidsdk-tools/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/MakeIdentity.java +# rm -fr `find androidsdk-tools -name ".*"` # this might be too strict in some later versions +rm -fr androidsdk-tools/androidprefs/.classpath +rm -fr androidsdk-tools/androidprefs/.project +rm -fr androidsdk-tools/androidprefs/.gitignore +rm -fr androidsdk-tools/sdkmanager/.gitignore +rm -fr androidsdk-tools/sdkmanager/libs/sdklib/.settings +rm -fr androidsdk-tools/sdkmanager/libs/sdklib/.classpath +rm -fr androidsdk-tools/sdkmanager/libs/sdklib/.project +rm -fr androidsdk-tools/common/.classpath +rm -fr androidsdk-tools/common/.project +rm -fr androidsdk-tools/common/.settings +rm -fr androidsdk-tools/common/.gitignore +rm -fr androidsdk-tools/common/tests/.project +rm -fr androidsdk-tools/common/tests/.classpath +rm -fr androidsdk-tools/.gitignore + +echo "Packging archive into ../android-sdk-tools_$REVISION+git$VERSION.orig.tar.gz ..." +tar -czf ../androidsdk-tools_$REVISION+git$VERSION.orig.tar.gz androidsdk-tools +echo "Deleting folder 'androidsdk-tools'" +rm -Ir androidsdk-tools diff --git a/debian/libandroidsdk-androidprefs-java.install b/debian/libandroidsdk-androidprefs-java.install new file mode 100644 index 0000000..634c705 --- /dev/null +++ b/debian/libandroidsdk-androidprefs-java.install @@ -0,0 +1 @@ +androidsdk-androidprefs.jar usr/share/java/ diff --git a/debian/libandroidsdk-common-java.install b/debian/libandroidsdk-common-java.install new file mode 100644 index 0000000..47c2a23 --- /dev/null +++ b/debian/libandroidsdk-common-java.install @@ -0,0 +1 @@ +androidsdk-common.jar usr/share/java/ diff --git a/debian/libandroidsdk-sdklib-java.install b/debian/libandroidsdk-sdklib-java.install new file mode 100644 index 0000000..cd82bc3 --- /dev/null +++ b/debian/libandroidsdk-sdklib-java.install @@ -0,0 +1 @@ +androidsdk-sdklib.jar usr/share/java/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ebbda2d --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +build: + mkdir -p common/bin + javac -d common/bin $(shell find common/src -name *.java) + jar cf androidsdk-common.jar -C common/bin . + mkdir -p androidprefs/bin + javac -d androidprefs/bin $(shell find androidprefs/src -name *.java) + jar cf androidsdk-androidprefs.jar -C androidprefs/bin . + mkdir -p sdkmanager/libs/sdklib/bin + javac -cp androidsdk-common.jar:androidsdk-androidprefs.jar -d sdkmanager/libs/sdklib/bin $(shell find sdkmanager/libs/sdklib/src -name *.java) + jar cf androidsdk-sdklib.jar -C sdkmanager/libs/sdklib/bin . + +clean:: + rm -fr common/bin + rm -fr androidprefs/bin + rm -fr sdkmanager/libs/sdklib/bin + rm -fr androidsdk-common.jar + rm -fr androidsdk-androidprefs.jar + rm -fr androidsdk-sdklib.jar diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/androidsdk-tools.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

