Package: libjaudiotagger-java
Version: 1.0.8-1
Severity: wishlist
Tags: patch

Hi,

I've prepared a new release of libjaudiotagger-java for upstream 1.0.9.
It's targeted and needed by jajuk upstream release 1.7.1.

Can you please review this ?

  * New upstream release
  * debian/watch: Use java.net repository (which contains new releases!)
  * debian/control:
    - Build-Depends on default-jdk-builddep
    - Bump Standards-Version to 3.8.1 (no changes needed)
    - Change section to "java"
  * debian/rules: use default-java as JAVA_HOME
  * debina/orig-tar.{sh|excludes}: strip audio and others binary files from 
ZIP
  * debian/build.xml:
    - compile with "nowarn" to keep build log readable
    - exclude LogFormatter from build (use com.sun classes)
  * debian/ant.properties: new source directory is "src" in orig.tar.gz
  * Add myself as Uploaders


You'll find the patch attached or you can find my work on pkg-java SVN 
repository (r8161)

Cheers,
-- 
Damien Raude-Morvan / www.drazzib.com


-- 
Damien Raude-Morvan / www.drazzib.com

Index: debian/control
===================================================================
--- debian/control	(révision 8159)
+++ debian/control	(copie de travail)
@@ -1,18 +1,18 @@
 Source: libjaudiotagger-java
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org>
-Uploaders: Varun Hiremath <va...@debian.org>, Torsten Werner <twer...@debian.org>
+Uploaders: Varun Hiremath <va...@debian.org>, Torsten Werner <twer...@debian.org>, Damien Raude-Morvan <draz...@drazzib.com>
 Build-Depends: debhelper (>= 6), cdbs
-Build-Depends-Indep: java-gcj-compat-dev, ant
-Standards-Version: 3.8.0
+Build-Depends-Indep: default-jdk-builddep, ant
+Standards-Version: 3.8.1
 Homepage: https://jaudiotagger.dev.java.net/
 Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/libjaudiotagger-java/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjaudiotagger-java/
 
 Package: libjaudiotagger-java
 Architecture: all
-Depends: java-gcj-compat | java2-runtime
+Depends: ${misc:Depends}, java-gcj-compat | java2-runtime
 Description: library for editing tags like ID3 in audio files such as MP3s
  Jaudiotagger is the Audio Tagging library used for tagging data in
  audio files. It currently supports Mp4 (Mp4, M4p, M4a), Mp3 (id3v1,
Index: debian/watch
===================================================================
--- debian/watch	(révision 8159)
+++ debian/watch	(copie de travail)
@@ -1,3 +1,4 @@
 version=3
-http://repository.jboss.org/maven2/org/jaudiotagger/jaudiotagger/([\d\.]*)/jaudiotagger-([\d\.]*)-sources.jar \
+https://jaudiotagger.dev.java.net/servlets/ProjectDocumentList?folderID=5855 \
+       /files/documents/(?:.*)/(?:.*)/jaudiotaggerv([\d\.]*).zip \
        debian debian/orig-tar.sh
Index: debian/changelog
===================================================================
--- debian/changelog	(révision 8159)
+++ debian/changelog	(copie de travail)
@@ -1,3 +1,21 @@
+libjaudiotagger-java (1.0.9-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * debian/watch: Use java.net repository (which contains new releases!)
+  * debian/control:
+    - Build-Depends on default-jdk-builddep
+    - Bump Standards-Version to 3.8.1 (no changes needed)
+    - Change section to "java"
+  * debian/rules: use default-java as JAVA_HOME
+  * debina/orig-tar.{sh|excludes}: strip audio and others binary files from ZIP
+  * debian/build.xml:
+    - compile with "nowarn" to keep build log readable
+    - exclude LogFormatter from build (use com.sun classes)
+  * debian/ant.properties: new source directory is "src" in orig.tar.gz
+  * Add myself as Uploaders
+
+ -- Damien Raude-Morvan <draz...@drazzib.com>  Wed, 01 Apr 2009 01:25:30 +0200
+
 libjaudiotagger-java (1.0.8-1) unstable; urgency=low
 
   * Initial Release (Closes: #506476)
Index: debian/rules
===================================================================
--- debian/rules	(révision 8159)
+++ debian/rules	(copie de travail)
@@ -3,7 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME		:= /usr/lib/jvm/java-gcj/
+JAVA_HOME		:= /usr/lib/jvm/default-java
 DEB_ANT_BUILDFILE	:= debian/build.xml
 DEB_ANT_BUILD_TARGET	:= jar
 DEB_JARS		:= 
Index: debian/ant.properties
===================================================================
--- debian/ant.properties	(révision 8159)
+++ debian/ant.properties	(copie de travail)
@@ -1,4 +1,4 @@
 project.name=jaudiotagger
 class.dir=build
-source.dir=.
+source.dir=src
 jar=jaudiotagger.jar
Index: debian/orig-tar.sh
===================================================================
--- debian/orig-tar.sh	(révision 8159)
+++ debian/orig-tar.sh	(copie de travail)
@@ -5,9 +5,9 @@
 TAR=libjaudiotagger-java_$2.orig.tar.gz
 
 # clean up upstream sources
-mkdir $DIR
-(cd $DIR; jar xf ../$3)
-GZIP=--best tar czf $TAR $DIR
+unzip $3
+mv jaudiotaggerv* $DIR
+GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
 rm -rf $DIR $3
 
 # move to directory 'tarballs'
Index: debian/build.xml
===================================================================
--- debian/build.xml	(révision 8159)
+++ debian/build.xml	(copie de travail)
@@ -9,7 +9,8 @@
   <target name="compile" description="o Compile the source files">
     <mkdir dir="${class.dir}"/>
     <javac srcdir="${source.dir}" destdir="${class.dir}"
-      debug="true" source="1.5"/>
+      debug="true" source="1.5" nowarn="true"
+      excludes="**/LogFormatter.java"/>
   </target>
 
   <target name="jar" description="o Create the jar" depends="compile">

Reply via email to