[libjspeex-java] 01/12: * Initial inject of libjspeex-java to pkg-java svn.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri May 27 07:41:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjspeex-java.
commit 01eb79add03b1bc0648b9d9674f0abab2aebab4c
Author: Varun Hiremath <varun at debian.org>
Date: Mon Oct 15 05:52:53 2007 +0000
* Initial inject of libjspeex-java to pkg-java svn.
---
debian/README.Debian-source | 13 ++++++++++
debian/changelog | 19 ++++++++++++++
debian/compat | 1 +
debian/control | 20 +++++++++++++++
debian/copyright | 48 ++++++++++++++++++++++++++++++++++++
debian/doc-base | 9 +++++++
debian/docs | 2 ++
debian/orig-tar.sh | 21 ++++++++++++++++
debian/patches/disable_proguard.diff | 19 ++++++++++++++
debian/patches/series | 1 +
debian/rules | 16 ++++++++++++
debian/watch | 2 ++
12 files changed, 171 insertions(+)
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..c035e1b
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,13 @@
+libjspeex-java
+==============
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the
+debian/orig-tar.sh file.
+
+-- Varun Hiremath <varunhiremath at gmail.com> Mon, 27 Aug 2007 19:02:53 +0530
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3f01848
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+libjspeex-java (0.9.7-2) unstable; urgency=low
+
+ * Move the package to pkg-java svn.
+ * Switch from kaffe to java-gcj-compat-dev.
+ * debian/control:
+ + Set Maintainer to Debian Java Maintainers and add myself to Uploaders.
+ + Add XS-Vcs-{Svn,Browser} headers.
+ + Set Priority to optional from extra.
+ * Add debian/README.Debian-source file.
+ * Remove debian/install and install jar from debian/rules and create
+ symbolic link.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Tue, 28 Aug 2007 00:44:29 +0530
+
+libjspeex-java (0.9.7-1) unstable; urgency=low
+
+ * Initial release (Closes: #421717)
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Tue, 24 Apr 2007 15:25:18 +0530
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..95ea31c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: libjspeex-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), quilt
+Build-Depends-Indep: ant, junit, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://jspeex.sourceforge.net
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjspeex-java
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjspeex-java
+
+Package: libjspeex-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Java Implementation of Speex
+ JSpeex is a Java port of the Speex speech codec (Open Source/Free
+ Software patent-free audio compression format designed for
+ speech). It provides both the decoder and the encoder in pure Java,
+ as well as a JavaSound SPI.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9406dcc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,48 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 15:25:18 +0530.
+
+It was downloaded from http://sourceforge.net/projects/jspeex/
+
+Upstream Author:
+Marc Gimpel <mgimpel at horizonwimba.com>
+James Lawrence
+
+Based on code by:
+David Rowe
+Jean-Marc Valin
+
+Copyright:
+(c) 1999-2004 Wimba S.A
+(C) 2002 Jean-Marc Valin
+
+License (BSD like):
+
+ 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 Xiph.org Foundation 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 FOUNDATION 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 (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..fe76331
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,9 @@
+Document: libjspeex-java
+Title: Java Implementation of Speex
+Author: Marc Gimpel, James Lawrence
+Abstract: JSpeex is a Java port of the Speex speech codec.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjspeex-java/index.html
+Files: /usr/share/doc/libjspeex-java/*.html
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3c7f7bc
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+doc/javadoc/*
+README
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..3edec9d
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+TAR=libjspeex-java_$2.orig.tar.gz
+DIR=libjspeex-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv jspeex $DIR
+tar -c -z -f $TAR --exclude '*.jar' $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $3 to $origDir"
+fi
+
+exit 0
diff --git a/debian/patches/disable_proguard.diff b/debian/patches/disable_proguard.diff
new file mode 100644
index 0000000..d9f4480
--- /dev/null
+++ b/debian/patches/disable_proguard.diff
@@ -0,0 +1,19 @@
+--- libjspeex-java-0.9.7.orig/build.xml 2007-04-24 16:16:41.000000000 +0530
++++ libjspeex-java-0.9.7/build.xml 2007-04-24 17:14:43.000000000 +0530
+@@ -58,8 +58,6 @@
+ <property name="version" value="0.9.7"/>
+
+ <!-- Define additional tasks -->
+- <taskdef name="proguard" classname="proguard.ant.ProGuardTask"
+- classpath="${lib}/proguard3.2.jar" />
+
+ <target name="init" description="Initialise ant" depends="clean">
+ <tstamp>
+@@ -88,6 +86,7 @@
+ <fileset dir="${lib}">
+ <include name="**/*.jar"/>
+ </fileset>
++ <fileset file="/usr/share/ant/lib/junit.jar"/>
+ </classpath>
+ <include name="*.java"/>
+ <include name="org/xiph/speex/**/*.java"/>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fabd9e3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_proguard.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..52811e4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET := package javadoc
+
+install/libjspeex-java::
+ install -m 644 -D dist/jspeex.jar $(DEB_DESTDIR)/usr/share/java/jspeex-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/jspeex-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/jspeex.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..10138ae
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jspeex/ jspeex-(.*)\.zip debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjspeex-java.git
More information about the pkg-java-commits
mailing list