r2377 - in branches/xml-im-exporter/feature/debian: . debian doc

Marcus Better marcusb-guest at costa.debian.org
Wed Sep 6 12:03:42 UTC 2006


Author: marcusb-guest
Date: 2006-09-06 12:03:41 +0000 (Wed, 06 Sep 2006)
New Revision: 2377

Added:
   branches/xml-im-exporter/feature/debian/debian/
   branches/xml-im-exporter/feature/debian/debian/README.Debian
   branches/xml-im-exporter/feature/debian/debian/changelog
   branches/xml-im-exporter/feature/debian/debian/compat
   branches/xml-im-exporter/feature/debian/debian/control
   branches/xml-im-exporter/feature/debian/debian/copyright
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.doc-base
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.docs
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.dirs
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.docs
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.install
   branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.links
   branches/xml-im-exporter/feature/debian/debian/rules
   branches/xml-im-exporter/feature/debian/debian/svn-deblayout
Removed:
   branches/xml-im-exporter/feature/debian/doc/javadoc/
Modified:
   branches/xml-im-exporter/feature/debian/build.xml
Log:
Debianized.


Modified: branches/xml-im-exporter/feature/debian/build.xml
===================================================================
--- branches/xml-im-exporter/feature/debian/build.xml	2006-09-05 19:43:33 UTC (rev 2376)
+++ branches/xml-im-exporter/feature/debian/build.xml	2006-09-06 12:03:41 UTC (rev 2377)
@@ -129,7 +129,7 @@
       author="true"
       windowtitle="XML Im-/Exporter API"
       doctitle="XML Im-/Exporter"
-      link="http://java.sun.com/j2se/1.4/docs/api/"
+      link="/usr/share/doc/classpath-doc/api"
       bottom="Copyright © 2002-2004 Oliver Zeigermann. All Rights Reserved."
       classpathref="classpath"/>
   </target>

Added: branches/xml-im-exporter/feature/debian/debian/README.Debian
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/README.Debian	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/README.Debian	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,12 @@
+XML Im-/Exporter for Debian
+===========================
+
+The Debian source package differs from the original source in that the
+following parts have been removed:
+
+ - precompiled jar files
+ - Javascript documentation
+
+All of these are regenerated during the build process.
+
+ -- Marcus Better <marcus at better.se>, Tue,  5 Sep 2006 21:36:01 +0200

Added: branches/xml-im-exporter/feature/debian/debian/changelog
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/changelog	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/changelog	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,5 @@
+xml-im-exporter (1.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #386173)
+
+ -- Marcus Better <marcus at better.se>  Tue,  5 Sep 2006 13:22:11 +0200

Added: branches/xml-im-exporter/feature/debian/debian/compat
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/compat	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/compat	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+5

Added: branches/xml-im-exporter/feature/debian/debian/control
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/control	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/control	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,29 @@
+Source: xml-im-exporter
+Section: libs
+Priority: optional
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Marcus Better <marcus at better.se>
+Build-Depends: debhelper (>= 5.0.0), ant
+Build-Depends-Indep: java-gcj-compat-dev, junit, classpath-doc
+Standards-Version: 3.7.2
+
+Package: libxml-im-exporter-java
+Architecture: all
+Depends: classpath-common | java1-runtime | java2-runtime
+Suggests: libxml-im-exporter-java-doc
+Description: Java library for handling XML documents
+ XML Im-/Exporter is a low level library to assist in the process of
+ importing and exporting XML in Java programs. It is designed with
+ performance and simplicity in mind.
+ .
+ Homepage: http://xml-im-exporter.sourceforge.net
+
+Package: libxml-im-exporter-java-doc
+Section: doc
+Architecture: all
+Depends: classpath-doc
+Suggests: libxml-im-exporter-java
+Description: API documentation for libxml-im-exporter-java
+ XML Im-/Exporter is a low level library to assist in the process of
+ importing and exporting XML in Java programs. This package contains
+ the JavaDoc API documentation.

Added: branches/xml-im-exporter/feature/debian/debian/copyright
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/copyright	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/copyright	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,56 @@
+This package was debianized by Marcus Better <marcus at better.se> on
+Tue,  5 Sep 2006 13:22:11 +0200
+
+It was downloaded from http://xml-im-exporter.sourceforge.net .
+
+XML Im-/Exporter is Copyright (C) 2002-2004 Oliver Zeigermann
+<oliver at zeigermann.de>, and released under the follwing license:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:
+
+    * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+    * 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.
+
+    * Neither the name of the Oliver Zeigermann nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
+    CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT OWNER OR
+    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, ORTORT (INCLUDING NEGLIGENCE OR
+    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is Copyright (C) 2006 Marcus Better
+<marcus at better.se>, and is licensed under the GNU Lesser General
+Public License version 2.1.
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License version 2.1.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+On Debian systems, the complete text of the GNU Lesser General Public
+License can be found in `/usr/share/common-licenses/LGPL-2.1'.

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.doc-base
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.doc-base	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.doc-base	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,8 @@
+Document: xml-im-exporter-doc
+Title: XML Im-/Exporter API documentation
+Abstract: JavaDoc documentation for the XML Im-/Exporter
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libxml-im-exporter-java-doc/javadoc/index.html
+Files: /usr/share/doc/libxml-im-exporter-java-doc/javadoc/*

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.docs
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.docs	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java-doc.docs	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+build/javadoc

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.dirs
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.dirs	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.dirs	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+usr/share/java

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.docs
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.docs	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.docs	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+doc/index.html

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.install
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.install	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.install	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+lib/xml-im-exporter1.1.jar	/usr/share/java

Added: branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.links
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.links	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/libxml-im-exporter-java.links	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1 @@
+usr/share/java/xml-im-exporter1.1.jar	/usr/share/java/xml-im-exporter.jar

Added: branches/xml-im-exporter/feature/debian/debian/rules
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/rules	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/rules	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+JAVA_HOME	:= /usr/lib/jvm/java-gcj
+DEB_JARS_BASE	:= /usr/share/java
+JAVACMD  	:= $(JAVA_HOME)/bin/java
+
+DEB_JARS  := ant ant-launcher
+
+DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
+		if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
+		if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \
+		if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \
+		if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \
+		done; \
+		if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
+
+DEB_ANT_ARGS	:= -Dlib.ext=/usr/share/java
+ANT_INVOKE	:= $(JAVACMD) -classpath $(DEB_CLASSPATH) \
+		org.apache.tools.ant.Main $(DEB_ANT_ARGS)
+
+PKGNAME		:= libxml-im-exporter-java
+INSTALLDIR	:= $(CURDIR)/debian/$(PKGNAME)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(ANT_INVOKE) jar javadocs
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean
+	$(ANT_INVOKE) scrub
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	dh_install
+	dh_installchangelogs
+	dh_installdocs
+	mv $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/index.html \
+	   $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/README.html
+	dh_installexamples
+	dh_installman
+	dh_link
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: branches/xml-im-exporter/feature/debian/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/xml-im-exporter/feature/debian/debian/svn-deblayout
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/svn-deblayout	                        (rev 0)
+++ branches/xml-im-exporter/feature/debian/debian/svn-deblayout	2006-09-06 12:03:41 UTC (rev 2377)
@@ -0,0 +1,2 @@
+buildArea=../../build-area
+origDir=..




More information about the pkg-java-commits mailing list