Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs In directory vz-cvs-3.sog:/tmp/cvs-serv16176
Added Files: stax.info xmlbeans.info xmlbeans.patch Log Message: sync. w/ 10.!4/stable, 10.4-EOL/unstable, validated on powerpc-darwin8 --- NEW FILE: xmlbeans.info --- Package: xmlbeans Version: 2.2.0 Revision: 2 Type: java(1.5) Source: mirror:apache:%n/source/%n-%v-src.tgz Source-MD5: 876997b12c591cae606c6db6b9f2aafd SourceDirectory: %n-%v BuildDepends: fink (>= 0.24.12-1), system-java-dev (>= 1.5) Depends: system-java (>= 1.5), saxon-b (>= 8.6.1), xerces-j, xalan-j, stax PatchFile: %n.patch PatchFile-MD5: 30cbefb2d670314d6d519bb1f9421dee CompileScript: << #!/bin/sh -ex ant ant docs << InstallScript: << #!/bin/sh -ex # Scripts mkdir -p %i/bin cp bin/dumpxsb %i/bin cp bin/inst2xsd %i/bin cp bin/scomp %i/bin cp bin/sdownload %i/bin cp bin/sfactor %i/bin cp bin/svalidate %i/bin cp bin/validate %i/bin cp bin/xpretty %i/bin cp bin/xsd2inst %i/bin cp bin/xsdtree %i/bin cp bin/xstc %i/bin # Fix permissions ("other" mode did not have executable bit set) find %i/bin -type f -print0 | xargs -0 chmod 755 # Documentation mkdir -p %i/share/doc/%n/docs cp -R docs/* %i/share/doc/%n/docs/ # Samples mkdir -p %i/share/doc/%n/samples cp -R samples/* %i/share/doc/%n/samples/ # Fix permissions find %i/share/doc/%n -type d -print0 | xargs -0 chmod 755 find %i/share/doc/%n -type f -print0 | xargs -0 chmod 644 # The jam source JAR (not binary) mkdir -p %i/share/%n/jam cp external/lib/jam* %i/share/%n/jam # Fix permissions find %i/share/%n -type d -print0 | xargs -0 chmod 755 find %i/share/%n -type f -print0 | xargs -0 chmod 644 << JarFiles: build/lib/xbean.jar build/lib/xbean_xpath.jar build/lib/xmlpublic.jar DocFiles: LICENSE.txt NOTICE.txt README.txt Homepage: http://xmlbeans.apache.org/ Maintainer: Trevor Harmon <tre...@vocaro.com> Description: XML processing tool for Java DescDetail: << XMLBeans is a tool that allows you to access the full power of XML in a Java friendly way. The idea is that you can take advantage of the richness and features of XML and XML Schema and have these features mapped as naturally as possible to the equivalent Java language and typing constructs. XMLBeans uses XML Schema to compile Java interfaces and classes that you can then use to access and modify XML instance data. Using XMLBeans is similar to using any other Java interface/class, you will see things like getFoo or setFoo just as you would expect when working with Java. While a major use of XMLBeans is to access your XML instance data with strongly typed Java classes there are also API's that allow you access to the full XML infoset (XMLBeans keeps XML Infoset fidelity) as well as to allow you to reflect into the XML schema itself through an XML Schema Object model. << DescUsage: << For the extension feature using plain .java files, the jam-0.1.0-src.jar file can be found in the %p/share/%n/jam directory. << DescPackaging: << saxon-b is required for XPath/XQuery. xerces-j is required for Resolver (http://xml.apache.org/commons/components/resolver/). xalan-j is required for JAXP. stax is required for JSR-173. The purpose of the Piccolo JARs in external/lib is unclear. They are currently not included in the Fink package. The patch changes the build file in the following ways: * Alters the "version" target so that svn-client and ant-optional are not needed. * Alters the "saxon8.jar" target to prevent the unnecessary attempt to download saxonb8-6-1.zip. * Alters the "javadoc" target so that links to external JavaDoc packages are removed. This is unfortunate, but it's necessary to comply with the Fink policy that the Internet not be accessed during build. The patch also alters the helper scripts (in %p/bin) so that the XMLBEANS_LIB and XMLBEANS_HOME environment variables don't need to be set. << License: BSD --- NEW FILE: stax.info --- Package: stax Version: 1.2.0 Revision: 2 Type: java(1.5) Source: http://dist.codehaus.org/%n/distributions/%n-src-%v_rc1-dev.zip Source-MD5: e12dab65656f4f9df420e562cc00a776 NoSourceDirectory: true Depends: system-java (>= 1.5) BuildDepends: ant-base, system-java-dev (>= 1.5) CompileScript: << #!/bin/sh -ex ant ri_bin_dist javadoc << InstallScript: << #!/bin/sh -ex # Javadocs mkdir -p %i/share/doc/%n/javadoc cp -R build/javadoc/* %i/share/doc/%n/javadoc find %i/share/doc/%n -type d -print0 | xargs -0 chmod 755 find %i/share/doc/%n -type f -print0 | xargs -0 chmod 644 << JarFiles: build/%n-api-1.0.jar build/%n-%v_rc1-dev.jar DocFiles: ASF2.0.txt Homepage: http://stax.codehaus.org/ Maintainer: Trevor Harmon <tre...@vocaro.com> Description: The Streaming API for XML DescDetail: << StAX is a standard XML processing API that allows you to stream XML data from and to your application. It's a standard pull parser implementation for the Java platform. << License: BSD --- NEW FILE: xmlbeans.patch --- diff -ur xmlbeans-2.2.0.orig/bin/dumpxsb xmlbeans-2.2.0/bin/dumpxsb --- xmlbeans-2.2.0.orig/bin/dumpxsb 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/dumpxsb 2006-09-24 12:45:23.000000000 -0700 @@ -18,16 +18,4 @@ #XSB file dumper #Prints the contents of an xsb file in human-readmble form -echo `dirname $0` - -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.tool.XsbDumper "$@" +java org.apache.xmlbeans.impl.tool.XsbDumper "$@" diff -ur xmlbeans-2.2.0.orig/bin/inst2xsd xmlbeans-2.2.0/bin/inst2xsd --- xmlbeans-2.2.0.orig/bin/inst2xsd 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/inst2xsd 2006-09-24 12:45:36.000000000 -0700 @@ -18,14 +18,4 @@ #Instance to Schema tool #Builds xsd files from xml instance files. -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd "$@" +java org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd "$@" diff -ur xmlbeans-2.2.0.orig/bin/scomp xmlbeans-2.2.0/bin/scomp --- xmlbeans-2.2.0.orig/bin/scomp 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/scomp 2006-09-24 12:47:20.000000000 -0700 @@ -18,14 +18,4 @@ #Schema compiler #Builds XBean types from xsd files. -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar:$JAVA_HOME/lib/tools.jar:$XMLBEANS_LIB/resolver.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -Xmx256m -classpath "$cp" org.apache.xmlbeans.impl.tool.SchemaCompiler "$@" +java -Xmx256m org.apache.xmlbeans.impl.tool.SchemaCompiler "$@" diff -ur xmlbeans-2.2.0.orig/bin/sdownload xmlbeans-2.2.0/bin/sdownload --- xmlbeans-2.2.0.orig/bin/sdownload 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/sdownload 2006-09-24 12:47:20.000000000 -0700 @@ -18,14 +18,4 @@ #Schema downloader #Tool to download Schema files -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.tool.SchemaResourceManager "$@" +java org.apache.xmlbeans.impl.tool.SchemaResourceManager "$@" diff -ur xmlbeans-2.2.0.orig/bin/sfactor xmlbeans-2.2.0/bin/sfactor --- xmlbeans-2.2.0.orig/bin/sfactor 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/sfactor 2006-09-24 12:47:20.000000000 -0700 @@ -20,15 +20,5 @@ ## Factors redundant definitions out of a set of schemas and ## uses imports instead. -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar:$XMLBEANS_LIB/resolver.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -Xmx256m -classpath "$cp" org.apache.xmlbeans.impl.tool.FactorImports "$@" +java -Xmx256m org.apache.xmlbeans.impl.tool.FactorImports "$@" diff -ur xmlbeans-2.2.0.orig/bin/svalidate xmlbeans-2.2.0/bin/svalidate --- xmlbeans-2.2.0.orig/bin/svalidate 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/svalidate 2006-09-24 12:47:20.000000000 -0700 @@ -19,14 +19,4 @@ # # Validates an instance against a schema. -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar:$XMLBEANS_LIB/jsr173_1.0_ri.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.tool.StreamInstanceValidator "$@" +java org.apache.xmlbeans.impl.tool.StreamInstanceValidator "$@" diff -ur xmlbeans-2.2.0.orig/bin/validate xmlbeans-2.2.0/bin/validate --- xmlbeans-2.2.0.orig/bin/validate 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/validate 2006-09-24 12:47:20.000000000 -0700 @@ -19,14 +19,4 @@ # # Validates an instance against a schema. -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -exec java -classpath "$cp" org.apache.xmlbeans.impl.tool.InstanceValidator "$@" +java org.apache.xmlbeans.impl.tool.InstanceValidator "$@" diff -ur xmlbeans-2.2.0.orig/bin/xpretty xmlbeans-2.2.0/bin/xpretty --- xmlbeans-2.2.0.orig/bin/xpretty 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/xpretty 2006-09-24 12:47:20.000000000 -0700 @@ -17,14 +17,4 @@ #Invokes pretty printer -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.tool.PrettyPrinter "$@" +java org.apache.xmlbeans.impl.tool.PrettyPrinter "$@" diff -ur xmlbeans-2.2.0.orig/bin/xsd2inst xmlbeans-2.2.0/bin/xsd2inst --- xmlbeans-2.2.0.orig/bin/xsd2inst 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/xsd2inst 2006-09-24 12:47:20.000000000 -0700 @@ -17,14 +17,4 @@ #Schema to instance tool -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.xsd2inst.SchemaInstanceGenerator "$@" +java org.apache.xmlbeans.impl.xsd2inst.SchemaInstanceGenerator "$@" diff -ur xmlbeans-2.2.0.orig/bin/xsdtree xmlbeans-2.2.0/bin/xsdtree --- xmlbeans-2.2.0.orig/bin/xsdtree 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/xsdtree 2006-09-24 12:47:20.000000000 -0700 @@ -17,14 +17,4 @@ # Invokes type hierarchy printer -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -Xmx256m -classpath "$cp" org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter "$@" +java -Xmx256m org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter "$@" diff -ur xmlbeans-2.2.0.orig/bin/xstc xmlbeans-2.2.0/bin/xstc --- xmlbeans-2.2.0.orig/bin/xstc 2006-05-05 10:28:16.000000000 -0700 +++ xmlbeans-2.2.0/bin/xstc 2006-09-24 12:54:03.000000000 -0700 @@ -17,14 +17,4 @@ # Invokes XSTC -if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi - -cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar:$XMLBEANS_LIB/resolver.jar - -case "`uname`" in - CYGWIN*) - cp=`cygpath -w -p $cp` - ;; -esac - -java -classpath "$cp" org.apache.xmlbeans.impl.tool.XSTCTester "$@" +java org.apache.xmlbeans.impl.tool.XSTCTester "$@" Only in xmlbeans-2.2.0/: build diff -ur xmlbeans-2.2.0.orig/build.xml xmlbeans-2.2.0/build.xml --- xmlbeans-2.2.0.orig/build.xml 2006-06-09 12:01:23.000000000 -0700 +++ xmlbeans-2.2.0/build.xml 2006-09-24 13:01:49.000000000 -0700 @@ -100,19 +100,6 @@ <target name="saxon8.jar" depends="check.saxon8.jar, dirs" unless="saxon8.jar.exists"> - <!-- other saxon urls - http://voxel.dl.sourceforge.net/sourceforge/saxon/saxonb8-1.zip - --> - <get dest="external/lib/saxonb8-6-1.zip" - src="http://easynews.dl.sourceforge.net/sourceforge/saxon/saxonb8-6-1.zip" - verbose="true" usetimestamp="true" ignoreerrors="true"/> - <unzip src="external/lib/saxonb8-6-1.zip" dest="external/lib/"> - <patternset> - <include name="saxon8.jar"/> - <include name="saxon8-dom.jar"/> - </patternset> - </unzip> - <copy file="external/lib/saxon8.jar" tofile="build/lib/saxon8.jar"/> <!-- saxon8-dom.jar is used to register DOMObjectModel for use in @@ -200,23 +187,7 @@ </target> <target name="version"> - <!-- svn must be on the path --> - <echo message="Trying to get revision number from Subversion..."/> - <exec executable="svn" output="build/private/svninfo.properties" failifexecutionfails="false"> - <arg line="info ${basedir}"/> - </exec> - <replaceregexp file="build/private/svninfo.properties" - match="Last Changed Rev: (.*)" - replace="svn.last.rev=r\1" - byline="true"/> - <property file="build/private/svninfo.properties"/> - - <!-- just in case svn info or regexp failed --> - <condition property="svn.last.rev" value="unknown"> - <not><isset property="svn.last.rev"/></not> - </condition> - - <property name="version.full" value="${version.base}-${svn.last.rev}"/> + <property name="version.full" value="${version.base}-unknown"/> <property name="manifest.comment" value="Apache XmlBeans version ${version.full}"/> <echo message="${manifest.comment}"/> @@ -294,10 +265,6 @@ <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" destdir="${docs.dir}/reference" windowtitle="XMLBeans ${version.base} Documentation" source="${javac.source}" stylesheetfile="docs/stylesheet.css"> - <link href="http://xmlbeans.apache.org/${version.base}/docs/reference/index.html"/> - <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/> - <link href="http://java.sun.com/j2ee/1.4/docs/api/"/> - <link href="http://xml.apache.org/xerces-j/apiDocs/"/> <classpath> <pathelement location="build/ar/xbean.jar"/> </classpath> ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs