[pkg-java] r4404 - in trunk: . libjmac-java libjmac-java/debian
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Mon Oct 15 06:17:32 UTC 2007
Author: varun-guest
Date: 2007-10-15 06:17:31 +0000 (Mon, 15 Oct 2007)
New Revision: 4404
Added:
trunk/libjmac-java/
trunk/libjmac-java/debian/
trunk/libjmac-java/debian/build.xml
trunk/libjmac-java/debian/changelog
trunk/libjmac-java/debian/compat
trunk/libjmac-java/debian/control
trunk/libjmac-java/debian/copyright
trunk/libjmac-java/debian/docs
trunk/libjmac-java/debian/orig-tar.exclude
trunk/libjmac-java/debian/orig-tar.sh
trunk/libjmac-java/debian/rules
trunk/libjmac-java/debian/watch
Log:
* Initial inject of libjmac-java to pkg-java svn
Property changes on: trunk/libjmac-java/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/libjmac-java/debian/build.xml
===================================================================
--- trunk/libjmac-java/debian/build.xml (rev 0)
+++ trunk/libjmac-java/debian/build.xml 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir=".." default="jar" name="JMAC">
+
+ <!-- make sure we have all the dirs we need -->
+ <target name="init" description="==> initialization" >
+ <property name="jars" value="${basedir}/jars"/>
+ <property name="builddir" value="${basedir}/classes"/>
+ <property name="jmacdecoder" value="${jars}/jmacdecoder.jar"/>
+ <property name="jmac" value="${jars}/jmac.jar"/>
+ <property name="jmacplayer" value="${jars}/jmacplayer.jar"/>
+ <property name="tritonuslib" value="${lib}/tritonus_share.jar"/>
+ <property name="jmacspi" value="${jars}/jmacspi.jar"/>
+ <property name="jmactritonusspi" value="${jars}/jmactritonusspi.jar"/>
+ <property name="jmacspi15" value="${jars}/jmacspi15.jar"/>
+ </target>
+
+ <target name="clean" description="Clean up" depends="init">
+ <delete dir="${builddir}"/>
+ <delete dir="${jars}"/>
+ </target>
+
+ <!-- build JMAC classes -->
+ <target name="java-compile" depends="init" description="==> compiles all JMAC java classes">
+ <mkdir dir="${builddir}/core/classes" />
+ <mkdir dir="${builddir}/spi/classes" />
+ <mkdir dir="${builddir}/spi15/classes" />
+ <mkdir dir="${builddir}/test/classes" />
+
+ <javac srcdir="${basedir}/core/src"
+ destdir="${builddir}/core/classes"
+ debug="true"
+ optimize="true"
+ includes="**/*.java"
+ encoding="UTF-8"
+ fork="true"
+ executable="/usr/bin/ecj"
+ source="1.5">
+ </javac>
+
+ <javac srcdir="${basedir}/test/src"
+ destdir="${builddir}/test/classes"
+ debug="true"
+ optimize="true"
+ includes="**/*.java"
+ encoding="UTF-8"
+ fork="true"
+ executable="/usr/bin/ecj"
+ source="1.5">
+ <classpath>
+ <pathelement path="${builddir}/core/classes"/>
+ </classpath>
+ </javac>
+
+ <javac srcdir="${basedir}/spi/src"
+ destdir="${builddir}/spi/classes"
+ debug="true"
+ optimize="true"
+ includes="davaguine/jmac/spi/*.java,davaguine/jmac/spi/tritonus/*.java"
+ encoding="UTF-8"
+ fork="true"
+ executable="/usr/bin/ecj"
+ source="1.5">
+ <classpath>
+ <pathelement path="${builddir}/core/classes"/>
+ </classpath>
+ </javac>
+
+ <javac srcdir="${basedir}/spi/src"
+ destdir="${builddir}/spi15/classes"
+ debug="true"
+ optimize="true"
+ includes="davaguine/jmac/spi/*.java,davaguine/jmac/spi/jdk15/*.java"
+ excludes="davaguine/jmac/spi/APEAudioFileFormat.java,
+ davaguine/jmac/spi/APEAudioFileReader.java,
+ davaguine/jmac/spi/APEAudioFormat.java"
+ encoding="UTF-8"
+ fork="true"
+ executable="/usr/bin/ecj"
+ source="1.5">
+ <classpath>
+ <pathelement path="${builddir}/core/classes"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <!-- build jarfiles of classes -->
+ <target name="jar" depends="java-compile" description="==> jars all JMAC Core java classes">
+ <mkdir dir="${jars}" />
+
+ <jar jarfile="${jmacdecoder}"
+ basedir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class"/>
+
+ <jar jarfile="${jmac}"
+ basedir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class,
+ davaguine/jmac/encoder/*.class,davaguine/jmac/core/*.class">
+ <manifest>
+ <attribute name="Class-Path" value="."/>
+ <attribute name="Main-Class" value="davaguine.jmac.core.jmacu"/>
+ </manifest>
+ </jar>
+
+ <jar jarfile="${jmacplayer}"
+ basedir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class,
+ davaguine/jmac/player/*.class"/>
+
+ <delete includeEmptyDirs="yes">
+ <fileset dir="${builddir}/spi/classes">
+ <include name="META-INF/services/*"/>
+ </fileset>
+ </delete>
+
+ <copy todir="${builddir}/spi/classes">
+ <fileset dir="${basedir}/spi/src/spi" >
+ <include name="META-INF/services/javax.sound.sampled.spi.AudioFileReader"/>
+ <include name="META-INF/services/javax.sound.sampled.spi.FormatConversionProvider"/>
+ </fileset>
+ </copy>
+
+ <jar jarfile="${jmacspi}">
+ <fileset dir="${builddir}/spi/classes"
+ includes="davaguine/jmac/spi/*.class,META-INF/services/*"
+ excludes="davaguine/jmac/spi/APEPropertiesHelper.class"/>
+ <fileset dir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class" />
+ </jar>
+
+ <delete includeEmptyDirs="yes">
+ <fileset dir="${builddir}/spi/classes">
+ <include name="META-INF/services/*"/>
+ </fileset>
+ </delete>
+
+ <copy todir="${builddir}/spi/classes">
+ <fileset dir="${basedir}/spi/src/spi/tritonus" >
+ <include name="META-INF/services/javax.sound.sampled.spi.AudioFileReader"/>
+ <include name="META-INF/services/javax.sound.sampled.spi.FormatConversionProvider"/>
+ </fileset>
+ </copy>
+
+ <jar jarfile="${jmactritonusspi}">
+ <fileset dir="${builddir}/spi/classes"
+ includes="davaguine/jmac/spi/APEAudioFileFormatType.class,
+ davaguine/jmac/spi/APEEncoding.class,davaguine/jmac/spi/APEPropertiesHelper.class,
+ davaguine/jmac/spi/tritonus/*.class,META-INF/services/*" />
+ <fileset dir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class" />
+ </jar>
+
+ <delete includeEmptyDirs="yes">
+ <fileset dir="${builddir}/spi15/classes">
+ <include name="META-INF/services/*"/>
+ </fileset>
+ </delete>
+
+ <copy todir="${builddir}/spi15/classes">
+ <fileset dir="${basedir}/spi/src/spi/jdk15" >
+ <include name="META-INF/services/javax.sound.sampled.spi.AudioFileReader"/>
+ <include name="META-INF/services/javax.sound.sampled.spi.FormatConversionProvider"/>
+ </fileset>
+ </copy>
+
+ <jar jarfile="${jmacspi15}">
+ <fileset dir="${builddir}/spi15/classes"
+ includes="davaguine/jmac/spi/jdk15/*.class,davaguine/jmac/spi/*.class,
+ META-INF/services/*"
+ excludes="davaguine/jmac/spi/APEAudioFileFormat.class,
+ davaguine/jmac/spi/APEAudioFileReader.class,
+ davaguine/jmac/spi/APEAudioFormat.class"/>
+ <fileset dir="${builddir}/core/classes"
+ includes="davaguine/jmac/decoder/*.class,davaguine/jmac/info/*.class,
+ davaguine/jmac/prediction/*.class,davaguine/jmac/tools/*.class" />
+ </jar>
+ </target>
+
+</project>
Added: trunk/libjmac-java/debian/changelog
===================================================================
--- trunk/libjmac-java/debian/changelog (rev 0)
+++ trunk/libjmac-java/debian/changelog 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,17 @@
+libjmac-java (1.74-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.
+ * Remove debian/install and install jar from debian/rules and create
+ symbolic link.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Mon, 15 Oct 2007 11:51:41 +0530
+
+libjmac-java (1.74-1) unstable; urgency=low
+
+ * Initial release (Closes: #435839)
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Fri, 03 Aug 2007 18:22:40 +0530
Added: trunk/libjmac-java/debian/compat
===================================================================
--- trunk/libjmac-java/debian/compat (rev 0)
+++ trunk/libjmac-java/debian/compat 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1 @@
+5
Added: trunk/libjmac-java/debian/control
===================================================================
--- trunk/libjmac-java/debian/control (rev 0)
+++ trunk/libjmac-java/debian/control 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,20 @@
+Source: libjmac-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)
+Build-Depends-Indep: ant, ecj, java-gcj-compat-dev, libtritonus-java
+Standards-Version: 3.7.2
+Homepage: http://jmac.sourceforge.net/
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjmac-java
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjmac-java
+
+Package: libjmac-java
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime
+Description: Open Source Java Monkey's Audio Decoder/Encoder/JavaSound SPI
+ JMAC is a Java implementation of Monkey's Audio Compression
+ decoder. JMAC is a Java library that decodes, converts and plays
+ Monkey's Audio files (.MAC, .APL, .APE) in real time. JMAC doesn't
+ need JMF. It runs under J2SE.
Added: trunk/libjmac-java/debian/copyright
===================================================================
--- trunk/libjmac-java/debian/copyright (rev 0)
+++ trunk/libjmac-java/debian/copyright 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,29 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Fri, 03 Aug 2007 18:22:40 +0530.
+
+It was downloaded from http://sourceforge.net/projects/jmac/
+
+Upstream Author: Dmitry Vagin <davagin at udm.ru>
+
+Copyright:
+(C) 2003 Sun Microsystems, Inc.
+(C) 1996 Netscape Communications Corporation.
+(C) 2000-2004 Matthew T. Ashland
+(C) 1991-2, RSA Data Security, Inc. Created 1991.
+
+License:
+ 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.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/libjmac-java/debian/docs
===================================================================
--- trunk/libjmac-java/debian/docs (rev 0)
+++ trunk/libjmac-java/debian/docs 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1 @@
+readme.txt
Added: trunk/libjmac-java/debian/orig-tar.exclude
===================================================================
--- trunk/libjmac-java/debian/orig-tar.exclude (rev 0)
+++ trunk/libjmac-java/debian/orig-tar.exclude 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,5 @@
+*/MD5.h
+*/bin*
+*/core/nativesrc/include/*
+*/distributables*
+*/lib*
Added: trunk/libjmac-java/debian/orig-tar.sh
===================================================================
--- trunk/libjmac-java/debian/orig-tar.sh (rev 0)
+++ trunk/libjmac-java/debian/orig-tar.sh 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+UDIR=jmac-$2
+DDIR=libjmac-java-$2.orig
+
+# clean up the upstream tarball
+tar -x -z -f $3
+mv $UDIR $DDIR
+tar -c -z -f $3 -X debian/orig-tar.exclude $DDIR
+rm -rf $DDIR $UDIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $3 $origDir
+ echo "moved $3 to $origDir"
+fi
+
+exit 0
Property changes on: trunk/libjmac-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libjmac-java/debian/rules
===================================================================
--- trunk/libjmac-java/debian/rules (rev 0)
+++ trunk/libjmac-java/debian/rules 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_BUILD_TARGET := jar
+DEB_JARS := tritonus_share
+
+install/libjmac-java::
+ for i in jmac jmacdecoder jmacplayer jmacspi \
+ jmacspi15 jmactritonusspi; do \
+ install -m 644 -D jars/$$i.jar \
+ $(DEB_DESTDIR)/usr/share/java/$$i-$(DEB_UPSTREAM_VERSION).jar; \
+ dh_link /usr/share/java/$$i-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/$$i.jar; done
+
+get-orig-source:
+ -uscan --upstream-version 0 --rename
Property changes on: trunk/libjmac-java/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libjmac-java/debian/watch
===================================================================
--- trunk/libjmac-java/debian/watch (rev 0)
+++ trunk/libjmac-java/debian/watch 2007-10-15 06:17:31 UTC (rev 4404)
@@ -0,0 +1,3 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/jmac/ \
+ jmac-(.*)\.tar\.gz debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list