--- kimwitu++-2.3.13.orig/man/man1/kc++.1
+++ kimwitu++-2.3.13/man/man1/kc++.1
@@ -1,6 +1,6 @@
.TH KC++ 1 "February 2008" "Kimwitu++"
.SH "NAME"
-Kimwitu++ \(en generate C++ code from Kimwitu++ input
+Kimwitu++ \- generate C++ code from Kimwitu++ input
.SH "SYNOPSIS"
.B kc++
--- kimwitu++-2.3.13.orig/doc/formatters/docbook2tex.xsl
+++ kimwitu++-2.3.13/doc/formatters/docbook2tex.xsl
@@ -108,7 +108,7 @@
\usepackage[T1]{fontenc}
\usepackage{newcent}\renewcommand\sfdefault{pvn}
\usepackage{mdwtab,booktabs,tabularx}
-\usepackage{graphicx,color,ngerman,marvosym}
+\usepackage{graphicx,color,marvosym}
\let\Rightarrow\relax% Marvosym defines \Rightarrow, which is also in euler
\usepackage{euler,xspace,soul,relsize,remreset,float,listings}
\usepackage{makeidx}
@@ -139,14 +139,6 @@
\newif\ifAppendicesBegun
\AppendicesBegunfalse
-
- \selectlanguage{english}
- \selectlanguage{ngerman}
-
- No known language given (try 'en' or 'de')
-
-
-
\floatstyle{plain}
\newfloat{example}{htb}{loe}[
chapter
--- kimwitu++-2.3.13.orig/src/Gen.boot/k.h
+++ kimwitu++-2.3.13/src/Gen.boot/k.h
@@ -19,6 +19,8 @@
#define KIMWITUVERSIONMINOR 3
#define KIMWITUVERSIONMICRO 13
+#include "config.h"
+
#include
#include
#include
@@ -1647,8 +1649,6 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
-#include "config.h"
-
extern char kimwitu_copyright[] ; // defined above
extern casestring g_progname;
extern const char* pg_line;
--- kimwitu++-2.3.13.orig/debian/kimwitu++-doc.doc-base
+++ kimwitu++-2.3.13/debian/kimwitu++-doc.doc-base
@@ -0,0 +1,16 @@
+Document: kimwitu++-doc
+Title: Kimwitu++ - A Term Processor
+Author: Toby Neumann, Michael Piefel
+Abstract: This manual documents the term processor Kimwitu++,
+ successor to Kimwitu,
+ a system that supports the construction programs that use
+ trees or terms as their main data structure.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/kimwitu++-doc/manual.html
+Files: /usr/share/doc/kimwitu++-doc/manual.html
+
+Format: PDF
+Files: /usr/share/doc/kimwitu++-doc/manual.pdf.gz
+
--- kimwitu++-2.3.13.orig/debian/copyright
+++ kimwitu++-2.3.13/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Michael Piefel on
+Mon, 29 May 2000 09:25:08 +0200.
+
+It was downloaded from http://site.informatik.hu-berlin.de/kimwitu++
+
+Upstream Author: Michael Piefel,
+
+Copyright:
+
+Copyright (C) 1988-1997 Axel Belinfante, University of Twente
+Copyright (C) 1997-2001 Michael Piefel, Humboldt-University Berlin
+
+You are free to distribute this software under the terms of the GNU
+General Public License. On Debian systems, the complete text of the
+GNU General Public License can be found in /usr/share/common-licenses/GPL file.
+
+Kimwitu++ is based on Kimwitu.
+
+Output of Kimwitu (and of works based on Kimwitu) can be used without
+restriction (even though this output may contain fragments from the
+source code of Kimwitu (or of works based on Kimwitu)), with one nota-
+ble exception (because Kimwitu is built using itself): The output
+generated by Kimwitu (and by works based on Kimwitu) from the source
+code of Kimwitu (and from the source code of works based on Kimwitu)
+is covered by the GNU General Public License.
+
+The structure-file-io reading and writing code has been derived, in part,
+from The Synthesizer Generator (tm), a product of GrammaTech, Inc,
+copyright (C) 1991, GrammaTech, Inc. Used with permission.
+
+GrammaTech and Synthesizer Generator, are tradenames of GrammaTech, Inc.,
+One Hopkins Place, Ithaca, NY 14850, (607) 273-7340.
+
--- kimwitu++-2.3.13.orig/debian/changelog
+++ kimwitu++-2.3.13/debian/changelog
@@ -0,0 +1,141 @@
+kimwitu++ (2.3.13-2) unstable; urgency=low
+
+ * Only suggest documentation (closes: #525831)
+
+ -- Michael Piefel Wed, 17 Feb 2010 17:45:22 +0100
+
+kimwitu++ (2.3.13-1) unstable; urgency=low
+
+ * New upstream: Can compile now without bison even if
+ cp -p fails (closes: #491090)
+
+ -- Michael Piefel Thu, 21 Jan 2009 17:35:20 +0100
+
+kimwitu++ (2.3.12-1) unstable; urgency=low
+
+ * Compile cleanly with g++ 4.3 (closes: #455159)
+
+ -- Michael Piefel Thu, 9 Feb 2008 15:29:20 +0100
+
+kimwitu++ (2.3.11-1) unstable; urgency=low
+
+ * New upstream version.
+ - OS detection now more liberal (closes: #415062)
+ - Fixes some C++ glitches (closes: #417292)
+ * Remove ngerman.sty from documentation and build-depend on more
+ texlive packages at the same time (closes: #409776)
+
+ -- Michael Piefel Thu, 19 Apr 2007 12:28:20 +0200
+
+kimwitu++ (2.3.10-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Michael Piefel Mon, 29 Jan 2007 16:46:04 +0100
+
+kimwitu++ (2.3.5-1) unstable; urgency=low
+
+ * New upstream version.
+ * Added more build dependencies (closes: #162432)
+ * Include the graphics in the HTML doc; funny nobody noticed before, I guess
+ I'm the only one using this package.
+
+ -- Michael Piefel Wed, 09 Jul 2003 09:44:05 +0200
+
+kimwitu++ (2.3.4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Removed all Build-Depends-Indep, as the documentation cannot be built
+ within Debian at the moment and I'm not keen on starting to package the
+ missing LaTeX packages.
+
+ -- Michael Piefel Sun, 12 Jan 2003 15:12:26 +0100
+
+kimwitu++ (2.3.0-3) unstable; urgency=low
+
+ * Added gs dependency (is that a transfig bug?) (closes: #162432)
+
+ -- Michael Piefel Fri, 27 Sep 2002 13:24:12 +0200
+
+kimwitu++ (2.3.0-2) unstable; urgency=low
+
+ * Correct doc-base entry for kimwitu++-doc (closes: #159654)
+
+ -- Michael Piefel Thu, 05 Sep 2002 10:56:13 +0200
+
+kimwitu++ (2.3.0-1) unstable; urgency=low
+
+ * New upstream version
+ * Add kimwitu++-doc package.
+
+ -- Michael Piefel Mon, 26 Aug 2002 16:29:22 +0200
+
+kimwitu++ (2.2.0-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Thu, 16 May 2002 17:33:50 +0200
+
+kimwitu++ (2.1.3-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Fri, 30 Nov 2001 13:53:55 +0100
+
+kimwitu++ (2.0.4-1) unstable; urgency=low
+
+ * New upstream version
+ * Fixed interpretation of DEB_BUILD_OPTIONS
+ * Hacked away build failure with g++ 3 (this is a g++ 3 bug)
+
+ -- Michael Piefel Thu, 2 Aug 2001 17:20:59 +0200
+
+kimwitu++ (2.0.3-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Fri, 8 Jun 2001 14:44:01 +0200
+
+kimwitu++ (2.0.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Wed, 16 May 2001 17:14:58 +0200
+
+kimwitu++ (2.0.1-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Thu, 15 Mar 2001 17:36:30 +0100
+
+kimwitu++ (1.3.8-2) unstable; urgency=low
+
+ * Added Build-Depends, informed upstream because they shouldn't exist
+ anyway (closes: #86591)
+
+ -- Michael Piefel Tue, 20 Feb 2001 11:11:53 +0100
+
+kimwitu++ (1.3.8-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Michael Piefel Wed, 14 Feb 2001 11:57:19 +0100
+
+kimwitu++ (1.3.3-3) unstable; urgency=low
+
+ * Removed dh example files for lintian cleanness
+
+ -- Michael Piefel Thu, 21 Dec 2000 17:09:12 +0100
+
+kimwitu++ (1.3.3-2) unstable; urgency=low
+
+ * Removed superfluous make target
+
+ -- Michael Piefel Thu, 21 Dec 2000 16:07:17 +0100
+
+kimwitu++ (1.3.3-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Michael Piefel Mon, 29 May 2000 09:25:08 +0200
+
--- kimwitu++-2.3.13.orig/debian/control
+++ kimwitu++-2.3.13/debian/control
@@ -0,0 +1,48 @@
+Source: kimwitu++
+Section: devel
+Priority: optional
+Maintainer: Michael Piefel
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl, transfig, ghostscript, texlive, texlive-latex-extra
+
+Package: kimwitu++
+Section: devel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: g++ | c++-compiler
+Suggests: kimwitu++-doc, bison | byacc | btyacc
+Description: A (syntax-)tree-handling tool (term processor)
+ Kimwitu++ is a system that supports the construction of programs that use
+ trees or terms as their main data structure. It allows you to define, store
+ and operate on trees with typed nodes. Each type of node has a specific number
+ of sons, and expects these sons to have specific types. The most popular
+ example of such trees are syntax trees.
+ .
+ The nodes are defined in a Yacc-like fashion. The tree can be unparsed (ie.
+ treewalk) and rewritten (ie. term substitution). Kimwitu++ gives you powerful
+ pattern matching for specifying unparse and rewrite rules.
+ .
+ Kimwitu++ is an extension to C++. It introduces Yacc-like node definitions,
+ the unparse and rewrite rules, and extensions for pattern matching within
+ functions. It will translate its input files into pure C++.
+ .
+ To build the tree you might use a parser generated with Bison, but you are
+ free to use other tools. There also exists Kimwitu (also packaged for Debian)
+ which interfaces with C instead of C++ which can also be used in C++ projects,
+ but Kimwitu++ has some extensions one might consider useful.
+
+Package: kimwitu++-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: kimwitu++
+Description: Documentation for the (syntax-)tree-handling tool Kimwitu++
+ Kimwitu++ is a system that supports the construction of programs that use
+ trees or terms as their main data structure. It allows you to define, store
+ and operate on trees with typed nodes. Each type of node has a specific number
+ of sons, and expects these sons to have specific types. The most popular
+ example of such trees are syntax trees.
+ .
+ This is the documentation for Kimwitu++ in PDF and HTML format.
+
--- kimwitu++-2.3.13.orig/debian/rules
+++ kimwitu++-2.3.13/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+# Adapted from sample debian/rules that uses debhelper, GNU copyright 1997 to 1999 by Joey Hess.
+# Copyright (C) 2001, 2007 Michael Piefel
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir src/gen.k
+
+ # Add here commands to compile the package.
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ $(MAKE)
+
+ touch build-stamp
+
+install: build
+ dh_testdir src/gen.k
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/kimwitu++.
+ $(MAKE) install DESTDIR=`pwd`/debian/kimwitu++
+
+build-doc: build-doc-stamp
+build-doc-stamp:
+ dh_testdir doc/kpp-main.xml
+
+ # Add here commands to compile the package.
+ cd doc && $(MAKE) pdf
+ cd doc && $(MAKE) -W manual.tex pdf
+ cd doc && $(MAKE) -W manual.tex pdf
+ cd doc && $(MAKE) html
+
+ touch build-doc-stamp
+
+install-doc: build-doc
+ for i in figures imagesgen; \
+ do \
+ install --directory debian/kimwitu++-doc/usr/share/doc/kimwitu++-doc/$${i}; \
+ install --mode=0644 \
+ doc/$${i}/*.png debian/kimwitu++-doc/usr/share/doc/kimwitu++-doc/$${i}; \
+ done
+
+clean:
+ dh_testdir src/gen.k
+ dh_testroot
+ rm -f build-stamp build-doc-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f doc/Makefile ] || (cd doc && $(MAKE) veryclean)
+ rm -f Makefile src/Makefile
+ rm -f config.log config.status src/config.h
+
+ dh_clean
+
+# Build architecture-independent files here.
+binary-indep: build-doc install-doc
+ dh_testdir src/gen.k
+ dh_testroot
+ dh_installdocs -i
+ dh_installchangelogs -i
+ dh_compress -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir src/gen.k
+ dh_testroot
+ dh_installdocs -a
+# dh_installman
+ dh_installchangelogs -a CHANGES
+ dh_strip -a
+ dh_compress -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- kimwitu++-2.3.13.orig/debian/kimwitu++.dirs
+++ kimwitu++-2.3.13/debian/kimwitu++.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- kimwitu++-2.3.13.orig/debian/kimwitu++-doc.docs
+++ kimwitu++-2.3.13/debian/kimwitu++-doc.docs
@@ -0,0 +1,3 @@
+doc/kc2kc++.tex
+doc/manual.pdf
+doc/manual.html
--- kimwitu++-2.3.13.orig/debian/compat
+++ kimwitu++-2.3.13/debian/compat
@@ -0,0 +1 @@
+5
--- kimwitu++-2.3.13.orig/debian/kimwitu++.docs
+++ kimwitu++-2.3.13/debian/kimwitu++.docs
@@ -0,0 +1 @@
+README