summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch')
-rw-r--r--dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch b/dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch
new file mode 100644
index 000000000000..eb9e6fc24af2
--- /dev/null
+++ b/dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch
@@ -0,0 +1,53 @@
+diff -Naur a/build.xml b/build.xml
+--- a/build.xml 2014-02-18 23:32:25.440819710 +0100
++++ b/build.xml 2014-02-18 23:33:26.308555686 +0100
+@@ -57,10 +57,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>
+ <format property="NOW" pattern="dd/MM/yyyy HH:mm" locale="en"/>
+@@ -138,19 +134,6 @@
+ <target name="compress" depends="package"
+ description="Package obfuscated JSpeex library" >
+ <mkdir dir="${log}"/>
+- <proguard>
+--libraryjars ${java.home}/lib/rt.jar
+--injars ${dist}/jspeex.jar
+--outjar ${dist}/jspeex-obf.jar
+--renamesourcefileattribute SourceFile
+--keepattributes InnerClasses,SourceFile
+--printmapping ${log}/jspeex-obf.map
+--overloadaggressively
+-
+--keep public class * {
+- public protected *;
+-}
+- </proguard>
+ </target>
+
+ <target name="compress-dec-nb" depends="compile-nb"
+@@ -161,18 +144,6 @@
+ <attribute name="Main-Class" value="JSpeexDec"/>
+ </manifest>
+ </jar>
+- <proguard>
+--libraryjars ${java.home}/lib/rt.jar
+--injars ${dist}/jspeex-dec-nb.jar
+--outjar ${dist}/jspeex-dec-nb-obf.jar
+--printmapping ${log}/jspeex-dec-nb-obf.map
+--overloadaggressively
+--defaultpackage ''
+-
+--keep public class JSpeexDec {
+- public static void main(java.lang.String[]);
+-}
+- </proguard>
+ </target>
+
+ <!-- ******************************************************************** -->