--- libjaxp1.2-java-1.2.01.orig/debian/control +++ libjaxp1.2-java-1.2.01/debian/control @@ -0,0 +1,33 @@ +Source: libjaxp1.2-java +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Stefan Gybas , Matthias Klose +Build-Depends: cdbs, debhelper (>= 4.1.0), java-gcj-compat-dev (>= 1.0.65-6) +Standards-Version: 3.7.2 + +Package: libjaxp1.2-java +Architecture: all +Section: libs +Depends: gij | java-gcj-compat | java1-runtime | java2-runtime +Recommends: libjaxp1.2-java-gcj +Description: Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX) + xml-apis.jar from the Apache XML Commons project is used by the Xerces-J XML + parser and Xalan-J XSLT processor and specifies these APIs: + * Document Object Model (DOM) level 2 + * Simple API for XML (SAX) 2.0.1 + * Java APIs for XML Processing (JAXP) 1.2.01 + * Transformation API for XML (TrAX) 1.2.01 + . + These classes are also used in Sun's reference implementation. A GPL'ed + implementation of these APIs can be found in the libgnujaxp-java package. + . + Sun's JAXP home page: http://java.sun.com/xml/jaxp/index.jsp + +Package: libjaxp1.2-java-gcj +Architecture: any +Section: libs +Depends: libjaxp1.2-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX) + xml-apis.jar from the Apache XML Commons project is used by the Xerces-J XML + parser and Xalan-J XSLT processor and specifies these APIs --- libjaxp1.2-java-1.2.01.orig/debian/libjaxp1.2-java.docs +++ libjaxp1.2-java-1.2.01/debian/libjaxp1.2-java.docs @@ -0,0 +1 @@ +README.*.txt --- libjaxp1.2-java-1.2.01.orig/debian/compat +++ libjaxp1.2-java-1.2.01/debian/compat @@ -0,0 +1 @@ +4 --- libjaxp1.2-java-1.2.01.orig/debian/changelog +++ libjaxp1.2-java-1.2.01/debian/changelog @@ -0,0 +1,16 @@ +libjaxp1.2-java (1.2.01-2) unstable; urgency=low + + * Merge from Ubuntu: + - Build a libjaxp1.2-java-gcj package. libjaxp1.2-java recommends + libjaxp1.2-java-gcj. + - Build depend on java-gcj-compat-dev, depend on java-gcj-compat. + - Add gij as alternative dependency. + + -- Matthias Klose Wed, 3 Jan 2007 12:18:31 +0100 + +libjaxp1.2-java (1.2.01-1) unstable; urgency=low + + * Initial release + * This package provides the SAX classes in a small package (closes: #151713) + + -- Stefan Gybas Tue, 17 Feb 2004 22:55:22 +0100 --- libjaxp1.2-java-1.2.01.orig/debian/copyright +++ libjaxp1.2-java-1.2.01/debian/copyright @@ -0,0 +1,61 @@ +This package was debianized by Stefan Gybas on 17-Feb-2004. +The source was downloaded from http://www.apache.de/dist/xml/xerces-j/ + +The Debian orig.tar.gz contains a repacked version of +xml-commons-external-1.2.01-src.zip from Xerces-J-tools.2.6.1.tar.gz. + +Copyright: + +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2001-2002 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * . + */ --- libjaxp1.2-java-1.2.01.orig/debian/rules +++ libjaxp1.2-java-1.2.01/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# debian/rules file for libjaxp1.2-java (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk + +include /usr/share/gcj/debian_defaults +ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) + with_gcj_native := yes +endif + +JAVA_HOME:=/usr/lib/jvm/java-gcj + +clean:: + rm -rf build debian/build-stamp + +build/libjaxp1.2-java:: debian/build-stamp +debian/build-stamp: + mkdir -p build/license + + # An alternative would be to build the classes using GCJ + #gcj -C -O2 -d build `find javax org -name \*.java` + #jikes -bootclasspath /usr/share/classpath/glibj.zip -d build `find javax org -name \*.java` + $(JAVA_HOME)/bin/javac -d build `find javax org -name \*.java` + cp LICENSE.*.txt README.*.txt build/license + cd build && $(JAVA_HOME)/bin/jar -c -m ../manifest.commons -f jaxp-1.2.jar javax license org + touch debian/build-stamp + +ifeq ($(with_gcj_native),yes) +install/libjaxp1.2-java-gcj:: binary-install/libjaxp1.2-java + dh_nativejava -plibjaxp1.2-java-gcj +endif --- libjaxp1.2-java-1.2.01.orig/debian/libjaxp1.2-java.install +++ libjaxp1.2-java-1.2.01/debian/libjaxp1.2-java.install @@ -0,0 +1 @@ +build/jaxp-1.2.jar /usr/share/java