ikvm stable port information

Package: ikvm
Version: 0.42.0.3
Revision: 1
Architecture: i386, powerpc
Description: Java implementation for .Net
Type: java(1.5)
License: BSD
Maintainer: Benjamin Reed

Depends: <<
mono (>= 2.6.1-1),
pkgconfig (>= 0.23-1)
<<
BuildDepends: <<
ecj,
fink (>= 0.29.7-1),
glib2-dev (>= 2.18.4-1),
libgettext8-dev,
mono-dev (>= 2.6.1-1),
nant (>= 0.86-0)
<<
Suggests: monodevelop

Source: mirror:sourceforge:%n/%n-%v.zip
Source-MD5: c784e20fba577cff0c636f6c89ed62c3
Source2: mirror:sourceforge:%n/openjdk6-b16-stripped.zip
Source2-MD5: c7f13c808e195df27c9bdc1f8f1090c1
PatchFile: %n.patch
PatchFile-MD5: 8e22e5e12afa6ca27f7a8c0d512c10ef

SetCPPFLAGS: -I%p/include
SetLIBS: -L%p/lib
SetMAKEFLAGS: -j1
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
NoSetMAKEFLAGS: true
CompileScript: <<
#!/bin/sh -ex

nant -t:mono-2.0
<<

InstallScript: <<
#!/bin/sh -ex

install -d -m 755 %i/lib/%N %i/bin %i/lib/pkgconfig
install -c -m 755 bin/*.exe bin/*.dll %i/lib/%N/

for script in ikvm ikvmc ikvmstub; do
cat < %i/bin/$script
#!/bin/sh

%p/bin/mono %p/lib/%N/${script}.exe "\$@"
END
chmod 755 %i/bin/$script
done

cat << END > %i/lib/pkgconfig/%N.pc
prefix=%p
exec_prefix=\${prefix}
libdir=\${prefix}/lib

Name: IKVM.NET
Description: An implementation of Java for Mono and the Microsoft .NET Framework.
Version: %v
Libs: -r:\${libdir}/ikvm/IKVM.Runtime.dll -r:\${libdir}/ikvm/IKVM.GNU.Classpath.dll
END
<<
DocFiles: LICENSE THANKYOU website/*.txt

Homepage: http://www.mono-project.com/
DescDetail: <<
IKVM.NET is an implementation of Java for Mono and the Microsoft
.NET Framework. It includes the following components:

* A Java Virtual Machine implemented in .NET
* A .NET implementation of the Java class libraries
* Tools that enable Java and .NET interoperability
<<

ikvm stable port .patch

diff -Nurd ikvm-0.42.0.3/native/native.build ikvm-0.42.0.3-patched/native/native.build
--- ikvm-0.42.0.3/native/native.build 2009-06-26 08:53:10.000000000 -0400
+++ ikvm-0.42.0.3-patched/native/native.build 2010-02-19 09:52:34.000000000 -0500
@@ -9,7 +9,7 @@



-
+



diff -Nurd ikvm-0.42.0.3/openjdk/sun/java2d/pipe/ShapeSpanIterator.java ikvm-0.42.0.3-patched/openjdk/sun/java2d/pipe/ShapeSpanIterator.java
--- ikvm-0.42.0.3/openjdk/sun/java2d/pipe/ShapeSpanIterator.java 2009-05-03 21:13:54.000000000 -0400
+++ ikvm-0.42.0.3-patched/openjdk/sun/java2d/pipe/ShapeSpanIterator.java 2010-02-19 09:52:23.000000000 -0500
@@ -53,25 +53,21 @@

}

- @Override
public long getNativeIterator(){
// TODO Auto-generated method stub
return 0;
}

- @Override
public void intersectClipBox(int lox, int loy, int hix, int hiy){
// TODO Auto-generated method stub

}

- @Override
public boolean nextSpan(int[] spanbox){
// TODO Auto-generated method stub
return false;
}

- @Override
public void skipDownTo(int y){
// TODO Auto-generated method stub

diff -Nurd ikvm-0.42.0.3/openjdk/sun/print/Win32PrintService.java ikvm-0.42.0.3-patched/openjdk/sun/print/Win32PrintService.java
--- ikvm-0.42.0.3/openjdk/sun/print/Win32PrintService.java 2009-10-02 20:16:20.000000000 -0400
+++ ikvm-0.42.0.3-patched/openjdk/sun/print/Win32PrintService.java 2010-02-19 09:56:45.000000000 -0500
@@ -45,63 +45,54 @@
}


- @Override
public void addPrintServiceAttributeListener(PrintServiceAttributeListener listener){
// TODO Auto-generated method stub

}


- @Override
public DocPrintJob createPrintJob(){
// TODO Auto-generated method stub
return null;
}


- @Override
public T getAttribute(Class category){
// TODO Auto-generated method stub
return null;
}


- @Override
public PrintServiceAttributeSet getAttributes(){
// TODO Auto-generated method stub
return null;
}


- @Override
public Object getDefaultAttributeValue(Class category){
// TODO Auto-generated method stub
return null;
}


- @Override
public String getName(){
// TODO Auto-generated method stub
return null;
}


- @Override
public ServiceUIFactory getServiceUIFactory(){
// TODO Auto-generated method stub
return null;
}


- @Override
public Class[] getSupportedAttributeCategories(){
// TODO Auto-generated method stub
return null;
}


- @Override
public Object getSupportedAttributeValues(Class category, DocFlavor flavor,
AttributeSet attributes){
// TODO Auto-generated method stub
@@ -109,42 +100,36 @@
}


- @Override
public DocFlavor[] getSupportedDocFlavors(){
// TODO Auto-generated method stub
return null;
}


- @Override
public AttributeSet getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes){
// TODO Auto-generated method stub
return null;
}


- @Override
public boolean isAttributeCategorySupported(Class category){
// TODO Auto-generated method stub
return false;
}


- @Override
public boolean isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes){
// TODO Auto-generated method stub
return false;
}


- @Override
public boolean isDocFlavorSupported(DocFlavor flavor){
// TODO Auto-generated method stub
return false;
}


- @Override
public void removePrintServiceAttributeListener(PrintServiceAttributeListener listener){
// TODO Auto-generated method stub

ikvm _unstable_ port .patch