From fdd9c09bc34d0a20ccccc1fa62bca82b74f56563 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 15 Oct 2002 13:43:24 +0000 Subject: [PATCH] r3030: *** empty log message *** --- debian/changelog | 6 +++ debian/cl-xmlutils.doc-base | 10 +++++ debian/control | 14 ++++++ debian/copyright | 90 +++++++++++++++++++++++++++++++++++++ debian/postinst | 46 +++++++++++++++++++ debian/prerm | 42 +++++++++++++++++ debian/rules | 84 ++++++++++++++++++++++++++++++++++ debian/xmlutils.asd | 38 ++++++++++++++++ index.html | 17 +++++++ 9 files changed, 347 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/cl-xmlutils.doc-base create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/postinst create mode 100755 debian/prerm create mode 100755 debian/rules create mode 100644 debian/xmlutils.asd create mode 100644 index.html diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..04ba082 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +cl-xmlutils (1.0-1) unstable; urgency=low + + * Initial Release + + -- Kevin M. Rosenberg Tue, 15 Oct 2002 07:42:14 -0600 + diff --git a/debian/cl-xmlutils.doc-base b/debian/cl-xmlutils.doc-base new file mode 100644 index 0000000..27a3aaa --- /dev/null +++ b/debian/cl-xmlutils.doc-base @@ -0,0 +1,10 @@ +Document: cl-xmlutils +Title: CL-XMLUtils Manual +Author: Franz, Inc. +Abstract: This manual describes the + use the XMLUtils Common Lisp library. +Section: programming + +Format: HTML +Index: /usr/share/doc/cl-xmlutils/index.html +Files: /usr/share/doc/cl-xmlutils/*.html diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4f589c1 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: cl-xmlutils +Section: devel +Priority: optional +Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: debhelper (>= 4.0.0) +Standards-Version: 3.5.7.0 + +Package: cl-xmlutils +Architecture: all +Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37), cl-acl-compat +Description: XML & HTML parsing functions for Common Lisp programs + xmlutils is Franz, Inc. open-source xml & html parsing library. + This package is based on acl-compat for use on non-AllegroCL implemenations. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..985d900 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,90 @@ +This package was debianized by Kevin M. Rosenberg on +Fri, 20 Sep 2002 01:08:33 -0600. + +It was downloaded from http://opensource.franz.com/xmlutils/ +Upstream Author(s): Franz Inc. + +Changes compared to upstream: + - Added .asd file for use with Common Lisp Controller + +Copyright: + +copyright (c) 1986-2000 Franz Inc, Berkeley, CA - All rights reserved. + +This code is free software; you can redistribute it and/or modify it +under the terms of the version 2.1 of the GNU Lesser General Public +License as published by the Free Software Foundation, as clarified by +the Franz preamble to the LGPL found in +http://opensource.franz.com/preamble.html. The preambled is copied below. + +This code 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. + +The GNU Lessor General Public License can be found in your Debian file +system in /usr/share/common-licenses/LGPL. + +Preamble to the Gnu Lesser General Public License +------------------------------------------------- +Copyright (c) 2000 Franz Incorporated, Berkeley, CA 94704 + +The concept of the GNU Lesser General Public License version 2.1 +("LGPL") has been adopted to govern the use and distribution of +above-mentioned application. However, the LGPL uses terminology that +is more appropriate for a program written in C than one written in +Lisp. Nevertheless, the LGPL can still be applied to a Lisp program if +certain clarifications are made. This document details those +clarifications. Accordingly, the license for the open-source Lisp +applications consists of this document plus the LGPL. Wherever there +is a conflict between this document and the LGPL, this document takes +precedence over the LGPL. + +A "Library" in Lisp is a collection of Lisp functions, data and +foreign modules. The form of the Library can be Lisp source code (for +processing by an interpreter) or object code (usually the result of +compilation of source code or built with some other +mechanisms). Foreign modules are object code in a form that can be +linked into a Lisp executable. When we speak of functions we do so in +the most general way to include, in addition, methods and unnamed +functions. Lisp "data" is also a general term that includes the data +structures resulting from defining Lisp classes. A Lisp application +may include the same set of Lisp objects as does a Library, but this +does not mean that the application is necessarily a "work based on the +Library" it contains. + +The Library consists of everything in the distribution file set before +any modifications are made to the files. If any of the functions or +classes in the Library are redefined in other files, then those +redefinitions ARE considered a work based on the Library. If +additional methods are added to generic functions in the Library, +those additional methods are NOT considered a work based on the +Library. If Library classes are subclassed, these subclasses are NOT +considered a work based on the Library. If the Library is modified to +explicitly call other functions that are neither part of Lisp itself +nor an available add-on module to Lisp, then the functions called by +the modified Library ARE considered a work based on the Library. The +goal is to ensure that the Library will compile and run without +getting undefined function errors. + +It is permitted to add proprietary source code to the Library, but it +must be done in a way such that the Library will still run without +that proprietary code present. Section 5 of the LGPL distinguishes +between the case of a library being dynamically linked at runtime and +one being statically linked at build time. Section 5 of the LGPL +states that the former results in an executable that is a "work that +uses the Library." Section 5 of the LGPL states that the latter +results in one that is a "derivative of the Library", which is +therefore covered by the LGPL. Since Lisp only offers one choice, +which is to link the Library into an executable at build time, we +declare that, for the purpose applying the LGPL to the Library, an +executable that results from linking a "work that uses the Library" +with the Library is considered a "work that uses the Library" and is +therefore NOT covered by the LGPL. + +Because of this declaration, section 6 of LGPL is not applicable to +the Library. However, in connection with each distribution of this +executable, you must also deliver, in accordance with the terms and +conditions of the LGPL, the source code of Library (or your derivative +thereof) that is incorporated into this executable. + diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..7e6ef7c --- /dev/null +++ b/debian/postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for cl-xmlutils +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=xmlutils + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + /usr/sbin/register-common-lisp-source ${LISP_PKG} + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..174cc5f --- /dev/null +++ b/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for cl-xmlutils +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=xmlutils + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + /usr/sbin/unregister-common-lisp-source ${LISP_PKG} + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5a7288e --- /dev/null +++ b/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + +pkg := xmlutils +debpkg := cl-xmlutils + + +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-xmlutils := $(clc-source)/$(pkg) + +doc-dir := usr/share/doc/$(debpkg) + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + # Add here commands to compile the package. + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + # Add here commands to clean up after the build process. + rm -f debian/cl-xmlutils.postinst.* debian/cl-xmlutils.prerm.* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + # Add here commands to install the package into debian/xmlutils. + dh_installdirs $(clc-systems) $(clc-xmlutils) $(doc-dir) + dh_install debian/xmlutils.asd phtml.cl pxmls[0-3].cl build.cl $(clc-xmlutils) + dh_install $(shell echo *.html) $(doc-dir) + dh_link $(clc-xmlutils)/xmlutils.asd $(clc-systems)/xmlutils.asd + +# Build architecture-independent files here. +binary-indep: build install + + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples pxml-test.cl phtml-test.cl +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + diff --git a/debian/xmlutils.asd b/debian/xmlutils.asd new file mode 100644 index 0000000..9338bd0 --- /dev/null +++ b/debian/xmlutils.asd @@ -0,0 +1,38 @@ +;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION +;;;; +;;;; Name: xmlutils.asd +;;;; Purpose: ASDF definition file for Xmlutils +;;;; Programmer: Kevin M. Rosenberg +;;;; Date Started: Sep 2002 +;;;; +;;;; $Id: xmlutils.asd,v 1.1 2002/10/15 13:43:24 kevin Exp $ +;;;; +;;;; This file, part of cl-xmlutils, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; +;;;; cl-xmlutils users are granted the rights to distribute and use this software +;;;; as governed by the terms of the GNU Lesser General Public License +;;;; (http://www.gnu.org/licenses/lgpl.html) +;;;; ************************************************************************* + +(in-package :asdf) + +(defsystem :xmlutils + :name "cl-xmlutils" + :author "Franz, Inc" + :maintainer "Kevin M. Rosenberg " + :licence "GNU Lesser General Public License" + :description "Franz's Test Harness Package" + :long-description "Xmlutils provides a library for parsing HTML and XML documents." + + :perform (load-op :after (op xmlutils) + (pushnew :xmlutils cl:*features*)) + + :components + ((:file "xmlutils"))) + +(when (ignore-errors (find-class 'load-compiled-op)) + (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :xmlutils)))) + (pushnew :xmlutils cl:*features*))) + diff --git a/index.html b/index.html new file mode 100644 index 0000000..4ca07e6 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + +XMLUtils Documentation Index + + + + +

XMLUtils Documentaton Index

+ +Documentation for the HTML and +XML libraries. + + + + -- 2.34.1