[pkg-java] r13225 - in trunk/trident: . debian debian/patches debian/source
Andrew Ross
rockclimb-guest at alioth.debian.org
Tue Jan 18 19:59:08 UTC 2011
Author: rockclimb-guest
Date: 2011-01-18 19:58:57 +0000 (Tue, 18 Jan 2011)
New Revision: 13225
Added:
trunk/trident/debian/
trunk/trident/debian/changelog
trunk/trident/debian/compat
trunk/trident/debian/control
trunk/trident/debian/copyright
trunk/trident/debian/javabuild
trunk/trident/debian/libtrident-java-doc.javadoc
trunk/trident/debian/libtrident-java.jlibs
trunk/trident/debian/orig-tar.sh
trunk/trident/debian/patches/
trunk/trident/debian/patches/no-android.patch
trunk/trident/debian/patches/series
trunk/trident/debian/rules
trunk/trident/debian/source/
trunk/trident/debian/source/format
trunk/trident/debian/watch
Log:
[svn-inject] Applying Debian modifications (1.3-1) to trunk
Property changes on: trunk/trident/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: trunk/trident/debian/changelog
===================================================================
--- trunk/trident/debian/changelog (rev 0)
+++ trunk/trident/debian/changelog 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,6 @@
+trident (1.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #610459)
+
+ -- Andrew Ross <ubuntu at rossfamily.co.uk> Tue, 18 Jan 2011 19:10:30 +0000
+
Added: trunk/trident/debian/compat
===================================================================
--- trunk/trident/debian/compat (rev 0)
+++ trunk/trident/debian/compat 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+7
Added: trunk/trident/debian/control
===================================================================
--- trunk/trident/debian/control (rev 0)
+++ trunk/trident/debian/control 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,38 @@
+Source: trident
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andrew Ross <ubuntu at rossfamily.co.uk>
+Build-Depends: debhelper (>= 7.0.50~), javahelper (>=0.32~), cdbs
+Build-Depends-Indep: default-jdk, default-jdk-doc, libswt-gtk-3.5-java
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/trident
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/trident/
+Homepage: http://kenai.com/projects/trident/pages/Home
+
+Package: libtrident-java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: An animation library for Java applications
+ The main goal of Trident project is to provide a general
+ purpose animation library for Java applications. Animations
+ are a natural fit for modern client applications, and
+ Trident has special built-in support for Java based UI
+ toolkits such as Swing and SWT.
+ The classes for the Android are not included.
+
+Package: libtrident-java-doc
+Section: doc
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: An animation library for Java applications (documentation)
+ The main goal of Trident project is to provide a general
+ purpose animation library for Java applications. Animations
+ are a natural fit for modern client applications, and
+ Trident has special built-in support for Java based UI
+ toolkits such as Swing and SWT.
+ .
+ This package provides the documentation.
+
Added: trunk/trident/debian/copyright
===================================================================
--- trunk/trident/debian/copyright (rev 0)
+++ trunk/trident/debian/copyright 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,94 @@
+This work was packaged for Debian by:
+
+ Andrew Ross <ubuntu at rossfamily.co.uk> on Tue, 18 Jan 2011 19:10:30 +0000.
+
+It was downloaded from http://kenai.com/projects/trident/pages/Home
+
+Upstream Author(s):
+ Kirill Grouchnikov
+
+Copyright:
+
+ Trident project:
+ Copyright (C) 2005-2010 Kirill Grouchnikov
+ TimingFramework project:
+ Copyright (C) 2006 Sun Microsystems, Inc
+
+License:
+
+ Trident project:
+ Copyright (c) 2005-2010 Trident Kirill Grouchnikov. All Rights Reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ o Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ o Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ o Neither the name of Trident Kirill Grouchnikov nor the names of
+ its contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+ TimingFramework project:
+ files:
+ org/pushingpixels/trident/interpolator/KeyInterpolators.java
+ org/pushingpixels/trident/interpolator/KeyTimes.java
+ org/pushingpixels/trident/interpolator/KeyValues.java
+ org/pushingpixels/trident/interpolator/KeyFrames.java
+
+ Copyright (c) 2006, Sun Microsystems, Inc
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of the TimingFramework project nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+The Debian packaging is:
+
+ Copyright (C) 2011 Andrew Ross <ubuntu at rossfamily.co.uk>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
+
Added: trunk/trident/debian/javabuild
===================================================================
--- trunk/trident/debian/javabuild (rev 0)
+++ trunk/trident/debian/javabuild 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+trident.jar src
Added: trunk/trident/debian/libtrident-java-doc.javadoc
===================================================================
--- trunk/trident/debian/libtrident-java-doc.javadoc (rev 0)
+++ trunk/trident/debian/libtrident-java-doc.javadoc 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+internal /usr/share/doc/libtrident-java/api
Added: trunk/trident/debian/libtrident-java.jlibs
===================================================================
--- trunk/trident/debian/libtrident-java.jlibs (rev 0)
+++ trunk/trident/debian/libtrident-java.jlibs 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+trident.jar
Added: trunk/trident/debian/orig-tar.sh
===================================================================
--- trunk/trident/debian/orig-tar.sh (rev 0)
+++ trunk/trident/debian/orig-tar.sh 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,21 @@
+#!/bin/bash -e
+
+echo $*
+
+VERSION=$2
+FILE=$3
+DIR=trident-$VERSION
+
+TAR=../trident_$VERSION.orig.tar.gz
+
+mkdir $DIR
+
+unzip $FILE -d $DIR
+
+# Some files don't have a copyright/license statement, so we remove
+# those before making our orig.tar.gz
+rm -r $DIR/src/test
+
+tar -czf $TAR $DIR
+rm -r $DIR
+rm $FILE
Property changes on: trunk/trident/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/trident/debian/patches/no-android.patch
===================================================================
--- trunk/trident/debian/patches/no-android.patch (rev 0)
+++ trunk/trident/debian/patches/no-android.patch 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,115 @@
+We don't want to use the android SDK right now, so we patch out these files. They
+could potentially be re-added at a later date if required.
+
+Index: trident-1.3/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java
+===================================================================
+--- trident-1.3.orig/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java 2011-01-17 23:14:36.289000352 +0000
++++ trident-1.3/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java 2011-01-17 23:14:40.060667623 +0000
+@@ -27,7 +27,7 @@
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-package org.pushingpixels.trident.android;
++/*package org.pushingpixels.trident.android;
+
+ import java.util.*;
+
+@@ -35,13 +35,13 @@
+ import org.pushingpixels.trident.interpolator.PropertyInterpolatorSource;
+
+ import android.graphics.*;
+-
++*/
+ /**
+ * Built-in interpolators for Android classes.
+ *
+ * @author Kirill Grouchnikov
+ */
+-public class AndroidPropertyInterpolators implements PropertyInterpolatorSource {
++/*public class AndroidPropertyInterpolators implements PropertyInterpolatorSource {
+ private Set<PropertyInterpolator> interpolators;
+
+ public static final PropertyInterpolator<Integer> COLOR_INTERPOLATOR = new ColorInterpolator();
+@@ -158,4 +158,4 @@
+ return RectF.class;
+ }
+ }
+-}
++}*/
+Index: trident-1.3/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java
+===================================================================
+--- trident-1.3.orig/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java 2011-01-17 23:14:52.399001025 +0000
++++ trident-1.3/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java 2011-01-17 23:15:01.519016085 +0000
+@@ -27,7 +27,7 @@
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-package org.pushingpixels.trident.android;
++/*package org.pushingpixels.trident.android;
+
+ import org.pushingpixels.trident.Timeline.TimelineState;
+ import org.pushingpixels.trident.callback.RunOnUIThread;
+@@ -73,4 +73,4 @@
+ this.view.invalidate(this.rect.left, this.rect.top,
+ this.rect.right, this.rect.bottom);
+ }
+-}
++}*/
+Index: trident-1.3/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java
+===================================================================
+--- trident-1.3.orig/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java 2011-01-17 23:15:09.239000983 +0000
++++ trident-1.3/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java 2011-01-17 23:15:16.469000290 +0000
+@@ -27,7 +27,7 @@
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-package org.pushingpixels.trident.android;
++/*package org.pushingpixels.trident.android;
+
+ import org.pushingpixels.trident.Timeline;
+
+@@ -78,4 +78,4 @@
+ }
+ super.playLoop(loopCount, repeatBehavior);
+ }
+-}
+\ No newline at end of file
++}*/
+Index: trident-1.3/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java
+===================================================================
+--- trident-1.3.orig/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java 2011-01-17 23:15:32.478999090 +0000
++++ trident-1.3/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java 2011-01-17 23:15:38.759834315 +0000
+@@ -27,7 +27,7 @@
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-package org.pushingpixels.trident.android;
++/*package org.pushingpixels.trident.android;
+
+ import org.pushingpixels.trident.UIToolkitHandler;
+
+@@ -48,4 +48,4 @@
+ public void runOnUIThread(Object mainTimelineObject, final Runnable runnable) {
+ ((View) mainTimelineObject).post(runnable);
+ }
+-}
++}*/
+Index: trident-1.3/src/org/pushingpixels/trident/android/TimelineAsyncTask.java
+===================================================================
+--- trident-1.3.orig/src/org/pushingpixels/trident/android/TimelineAsyncTask.java 2011-01-17 23:15:47.831501017 +0000
++++ trident-1.3/src/org/pushingpixels/trident/android/TimelineAsyncTask.java 2011-01-17 23:15:55.859035013 +0000
+@@ -27,7 +27,7 @@
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-package org.pushingpixels.trident.android;
++/*package org.pushingpixels.trident.android;
+
+ import org.pushingpixels.trident.TimelineScenario;
+
+@@ -49,4 +49,4 @@
+ public void resetDoneFlag() {
+ throw new UnsupportedOperationException();
+ }
+-}
++}*/
Added: trunk/trident/debian/patches/series
===================================================================
--- trunk/trident/debian/patches/series (rev 0)
+++ trunk/trident/debian/patches/series 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+no-android.patch
Added: trunk/trident/debian/rules
===================================================================
--- trunk/trident/debian/rules (rev 0)
+++ trunk/trident/debian/rules 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/buildvars.mk
+
+JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/swt.jar
+export JH_JAR_EXTRA=META-INF/trident-plugin.properties
+
+
+get-orig-source:
+ uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+
+%:
+ dh $@ --with javahelper
+
+
+# Don't use the packages own build system.
+override_dh_auto_build::
+
+# Move "android" folder out the way first
+override_jh_build:
+ echo $(JH_JAR_EXTRA)
+ ln -s $(DEB_SRCDIR)/src/META-INF $(DEB_SRCDIR)/META-INF
+ jh_build
+
+
+# If things haven't been moved back, do so now.
+override_dh_clean:
+ rm -f $(DEB_SRCDIR)/META-INF
+ dh_clean
+
+
Property changes on: trunk/trident/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/trident/debian/source/format
===================================================================
--- trunk/trident/debian/source/format (rev 0)
+++ trunk/trident/debian/source/format 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/trident/debian/watch
===================================================================
--- trunk/trident/debian/watch (rev 0)
+++ trunk/trident/debian/watch 2011-01-18 19:58:57 UTC (rev 13225)
@@ -0,0 +1,4 @@
+version=3
+opts=downloadurlmangle=s/directory(.*)$/download$1%252Ftrident-all.zip/,filenamemangle=s/.*version%2520(.*)%2520-%2520stable.*/trident-$1.zip/ \
+ http://kenai.com/projects/trident/downloads \
+ /projects/trident/downloads/directory/version%2520(.*)%2520-%2520stable debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list