[SCM] jinput - Java Game Controller API branch, master, updated. upstream/20100502+dfsg-6-g2cebd51

Gabriele Giacone gg0-guest at alioth.debian.org
Sun May 2 17:44:13 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "jinput - Java Game Controller API".

The branch, master has been updated
       via  2cebd51e030543d37c397cd91463df0046b2a3d6 (commit)
       via  9a0edc54a739b25586c39ba3f19cba03ee0f8df8 (commit)
       via  85b3887e749c3b4066c17f643161162206428d9f (commit)
      from  83b1283e746a033ca983566c032b708785b91e89 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2cebd51e030543d37c397cd91463df0046b2a3d6
Merge: 85b3887e749c3b4066c17f643161162206428d9f 9a0edc54a739b25586c39ba3f19cba03ee0f8df8
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Sun May 2 19:24:45 2010 +0200

    Merge commit 'upstream/20100502+dfsg'

commit 85b3887e749c3b4066c17f643161162206428d9f
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Sun May 2 19:23:39 2010 +0200

    added get-orig-source target,updated version name

-----------------------------------------------------------------------

Summary of changes:
 build.xml            |   62 +++++++++++++++++++++++++++++++++++++++++++++++++-
 debian/README.source |    2 +-
 debian/changelog     |    4 +-
 debian/rules         |   15 ++++++++++++
 4 files changed, 79 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 0d7898f..c74489e 100644
--- a/build.xml
+++ b/build.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 
-<project name="Sun Games Initiative Client Technologies" basedir="." default="all">
+<project name="Sun Games Initiative Client Technologies" basedir="." default="all" xmlns:artifact="urn:maven-artifact-ant">
     <target name="init">
         <!-- If we are running in windows, set dx8 property to true -->
         <condition property="windows" >
@@ -237,4 +237,64 @@
 			</tarfileset>
 		</tar>
 	</target>
+	
+	<target name="install" description="Installs jinput in to local mvn repo">
+		<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.0.jar" />
+	    <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"
+	             classpathref="maven-ant-tasks.classpath"/>
+		
+		<artifact:pom id="jinputpom" groupId="net.java.games" artifactId="jinput" version="2.0.2-SNAPSHOT">
+		</artifact:pom>
+		<artifact:writepom pomRefId="jinputpom" file="dist/pom.xml"/>
+		
+		<artifact:pom id="jinputpomfile" file="dist/pom.xml" />
+		
+		<delete file="dist/jinput-windows-natives.zip"/>
+		<zip destfile="dist/jinput-windows-natives.zip">
+			<fileset dir="dist/">
+				<include name="**/*.dll"/>
+			</fileset>
+		</zip>
+		
+		<delete file="dist/jinput-linux-natives.zip"/>
+		<zip destfile="dist/jinput-linux-natives.zip">
+			<fileset dir="dist/">
+				<include name="**/*.so"/>
+			</fileset>
+		</zip>
+		
+		<delete file="dist/jinput-osx-natives.jar"/>
+		<zip destfile="dist/jinput-osx-natives.zip" >
+			<fileset dir="dist/">
+				<include name="**/*.jnilib"/>
+			</fileset>
+		</zip>
+		
+		<artifact:install file="dist/jinput.jar">
+			<pom refid="jinputpomfile" />
+			<attach file="dist/jinput-windows-natives.zip" classifier="windows-natives" type="zip"/>
+			<attach file="dist/jinput-linux-natives.zip" classifier="linux-natives" type="zip"/>
+			<attach file="dist/jinput-osx-natives.zip" classifier="osx-natives" type="zip"/>
+		</artifact:install>
+	</target>
+	
+	<target name="mvndeploy" depends="install" description="Installs jinput in to local mvn repo">
+		<artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"/>
+		
+		<artifact:pom id="jinputpom" groupId="net.java.games" artifactId="jinput" version="2.0.1">
+		</artifact:pom>
+		<artifact:writepom pomRefId="jinputpom" file="dist/pom.xml"/>
+		
+		<artifact:pom id="jinputpomfile" file="dist/pom.xml" />
+		
+		<artifact:deploy file="dist/jinput.jar">
+		    <remoteRepository url="${repository.url}">
+				<authentication username="${repository.username}" password="${repository.password}"/>
+		    </remoteRepository>
+			<pom refid="jinputpomfile" />
+			<attach file="dist/jinput-windows-natives.zip" classifier="windows-natives" type="zip"/>
+			<attach file="dist/jinput-linux-natives.zip" classifier="linux-natives" type="zip"/>
+			<attach file="dist/jinput-osx-natives.zip" classifier="osx-natives" type="zip"/>
+		</artifact:deploy>
+	</target>
 </project>
diff --git a/debian/README.source b/debian/README.source
index 06b3860..bd330a2 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -6,5 +6,5 @@ Information about jinput
  To comply with DFSG, the following binary files have been removed from
  upstream tarball:
 
-    lib/jutils.jar
+    lib/maven-ant-tasks-2.1.0.jar
 
diff --git a/debian/changelog b/debian/changelog
index 23d7fc2..a63a2ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-jinput (2.0.1~cvs20100404+dfsg-1) unstable; urgency=low
+jinput (20100502+dfsg-1) unstable; urgency=low
 
   * Initial release. (Closes: #509689)
 
- -- Gabriele Giacone <1o5g4r8o at gmail.com>  Sat, 01 May 2010 16:19:47 +0200
+ -- Gabriele Giacone <1o5g4r8o at gmail.com>  Sun, 02 May 2010 19:09:21 +0200
diff --git a/debian/rules b/debian/rules
index 76630c5..3691e34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
 
+NAME    := jinput
+VERSION := $(shell dpkg-parsechangelog| sed -n '/^Version/{s/Version: \(.*\)-[0-9]*$$/\1/;s/+dfsg//p}')
+CVSDATE := $(shell echo $(VERSION)|sed -n 's/\(....\)\(..\)\(..\)/\1-\2-\3/p')
+TMPDIR  := tmp-orig-tar
+TAR     := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz
+
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
@@ -20,3 +26,12 @@ override_dh_auto_clean:
 	rm -rf lib coreAPI/build.number
 	find plugins -name 'net_java_games_input_*.h' -delete
 	ant clean
+
+get-orig-source:
+	-rm $(TAR)
+	cvs -d :pserver:guest at cvs.dev.java.net:/cvs export -D $(CVSDATE) -d $(TMPDIR) $(NAME)
+	echo "The following files will not be included in Debian tarball:"
+	cd $(TMPDIR) && find . \( -name '*.class' -o -name '*.jar' \) -print
+	cd $(TMPDIR) && ZIP=--best tar --exclude-vcs --exclude *.jar --exclude *.class -zcf $(TAR) .
+	rm -rf $(TMPDIR)
+


hooks/post-receive
-- 
jinput - Java Game Controller API



More information about the pkg-java-commits mailing list