Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=a1208c8f910fe19348998391d07ac5397581dd85

commit a1208c8f910fe19348998391d07ac5397581dd85
Author: Marius Cirsta <[email protected]>
Date:   Sun Jun 24 04:26:07 2012 +0000

bcel-5.2-2-x86_64

* rebuild with openjava
* removed unneeded deps

diff --git a/source/devel-extra/bcel/FrugalBuild 
b/source/devel-extra/bcel/FrugalBuild
index 8de0691..be3ee2b 100644
--- a/source/devel-extra/bcel/FrugalBuild
+++ b/source/devel-extra/bcel/FrugalBuild
@@ -10,10 +10,10 @@ groups=('devel-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.apache.org/dist/jakarta/bcel/source/|grep 
gz$|sed -n 's/.*-\(.*\)-s.*/\1/;$ p'"
source=(http://www.apache.org/dist/jakarta/bcel/source/bcel-$pkgver-src.tar.gz \
-       bcel-5.2-system-regexp.diff)
-signatures=($source.asc '')
-Finclude java
-depends=(${depends[@]} 'jakarta-regexp')
+       bcel-5.2-system-regexp.diff \
+       encoding.patch)
+signatures=($source.asc '' '')
+Finclude openjava

build()
{
diff --git a/source/devel-extra/bcel/encoding.patch 
b/source/devel-extra/bcel/encoding.patch
new file mode 100644
index 0000000..9c9b4d7
--- /dev/null
+++ b/source/devel-extra/bcel/encoding.patch
@@ -0,0 +1,33 @@
+Description: Fix encoding of source files for Java 7 compatibility
+Author: James Page <[email protected]>
+Forwarded: not-needed
+
+Index: bcel/build.xml
+===================================================================
+--- bcel.orig/build.xml        2011-12-05 14:50:45.203906796 +0000
++++ bcel/build.xml     2011-12-05 14:51:00.535956116 +0000
+@@ -39,7 +39,7 @@
+   <target name="compile" description="o Compile the code" depends="get-deps">
+     <mkdir dir="${classesdir}">
+     </mkdir>
+-    <javac destdir="${classesdir}" deprecation="true" debug="true" 
optimize="false" excludes="**/package.html">
++    <javac destdir="${classesdir}" deprecation="true" debug="true" 
optimize="false" excludes="**/package.html" encoding="ISO-8859-1">
+       <src>
+         <pathelement location="src/java">
+         </pathelement>
+@@ -100,7 +100,7 @@
+     </property>
+     <property name="title" value="jakarta-bcel 5.2 API">
+     </property>
+-    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" 
version="true" sourcepath="src/java" packagenames="org.apache.bcel.*">
++    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" 
version="true" sourcepath="src/java" packagenames="org.apache.bcel.*" 
encoding="ISO-8859-1">
+       <classpath>
+         <path refid="build.classpath">
+         </path>
+@@ -116,4 +116,4 @@
+     <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+     </unjar>
+   </target>
+-</project>
+\ No newline at end of file
++</project>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to