JavaSound SPI services missing from JAR file

Bug #586379 reported by David Huggins-Daines
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjflac-java (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libjflac-java

jFLAC has the ability to act as a plug-in for the JavaSound API, making FLAC decoding work transparently with other Java software that uses audio input. However, the requisite files are not included in the JAR file built by the Debian package. This is really simple to fix, just make this change to debian/build.xml:

diff -u libjflac-java-1.3/debian/build.xml libjflac-java-1.3/debian/build.xml
--- libjflac-java-1.3/debian/build.xml
+++ libjflac-java-1.3/debian/build.xml
@@ -15,7 +15,12 @@
   </target>

   <target name="jar" description="o Create the jar" depends="compile">
- <jar jarfile="${jar.name}" basedir="${class.dir}"/>
+ <jar jarfile="${jar.name}" basedir="${class.dir}">
+ <service type="javax.sound.sampled.spi.AudioFileReader"
+ provider="org.kc7bfi.jflac.sound.spi.FlacAudioFileReader"/>
+ <service type="javax.sound.sampled.spi.FormatConversionProvider"
+ provider="org.kc7bfi.jflac.sound.spi.FlacFormatConversionProvider"/>
+ </jar>
   </target>

    <target name="install" depends="jar">

I've published an updated version of the package to my PPA: https://launchpad.net/~dhuggins/+archive/cmusphinx

Is there some way to automatically notify the Debian maintainers too, or do I have to report a bug manually?

(probably the package should also be updated to use Maven for building, but I don't know how to do that)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.