[DHG_packages] 01/03: Resurrect frown
Joachim Breitner
nomeata at moszumanska.debian.org
Mon Feb 8 12:13:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to annotated tag frown_v0.6.2.2-1
in repository DHG_packages.
commit 4c84aea8e59ae059f65e1f40868e9da6a1b0ef46
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sun Feb 7 13:03:38 2016 +0100
Resurrect frown
---
p/frown/debian/README.source | 11 +
p/frown/debian/changelog | 181 +++++
p/frown/debian/clean | 2 +
p/frown/debian/compat | 1 +
p/frown/debian/control | 97 +++
p/frown/debian/copyright | 33 +
p/frown/debian/frown-doc.doc-base | 13 +
p/frown/debian/frown-doc.install | 7 +
p/frown/debian/frown.1 | 82 +++
p/frown/debian/frown.install | 1 +
p/frown/debian/frown.manpages | 1 +
p/frown/debian/patches/01_imagen-creates-png-files | 15 +
.../patches/02_ignore-hugs-version-in-test-frown | 15 +
p/frown/debian/patches/03_update-empty.out | 22 +
p/frown/debian/patches/04_manual-typos | 51 ++
p/frown/debian/patches/05_only-build-pdf | 19 +
p/frown/debian/patches/06_utf8 | 764 +++++++++++++++++++++
p/frown/debian/patches/07_no-n-plus-k-pattern | 80 +++
p/frown/debian/patches/ghc-7.4.1-compat | 393 +++++++++++
p/frown/debian/patches/series | 8 +
p/frown/debian/rules | 34 +
p/frown/debian/source/format | 1 +
p/frown/debian/watch | 1 +
23 files changed, 1832 insertions(+)
diff --git a/p/frown/debian/README.source b/p/frown/debian/README.source
new file mode 100644
index 0000000..85ce082
--- /dev/null
+++ b/p/frown/debian/README.source
@@ -0,0 +1,11 @@
+The used patch system is dpatch.
+
+To patch the source run "debian/rules patch"
+
+To add a new patch:
+* put it under debian/patches
+* add it to debian/patches/00list
+
+To unpatch the source run "debian/rules unpatch"
+
+See /usr/share/doc/dpatch for more information.
diff --git a/p/frown/debian/changelog b/p/frown/debian/changelog
new file mode 100644
index 0000000..e52692b
--- /dev/null
+++ b/p/frown/debian/changelog
@@ -0,0 +1,181 @@
+frown (0.6.1-14.1) experimental; urgency=medium
+
+ [ Helmut Grohne ]
+ * Mark frown as Multi-Arch:foreign.
+
+ [ Joachim Breitner ]
+ * Bump standards-version to 3.9.6
+
+ -- Joachim Breitner <nomeata at debian.org> Thu, 20 Aug 2015 10:26:52 +0200
+
+frown (0.6.1-14) unstable; urgency=low
+
+ * s/^ ,$/^ .$/ in description (Closes: #675088, #675084)
+ * Bump standards version, no change
+ * Enable compat level 9
+
+ -- Joachim Breitner <nomeata at debian.org> Fri, 24 May 2013 12:49:43 +0200
+
+frown (0.6.1-13) unstable; urgency=low
+
+ * Extend TeX build-dependencies (Closes: #669547)
+
+ -- Joachim Breitner <nomeata at debian.org> Fri, 20 Apr 2012 21:25:24 +0200
+
+frown (0.6.1-12) unstable; urgency=low
+
+ * GHC 7.4.1 compatibility, Closes: #643120, I hope.
+ * Debian compat level 7, for debian/clean
+
+ -- Joachim Breitner <nomeata at debian.org> Thu, 15 Mar 2012 14:24:47 +0100
+
+frown (0.6.1-11.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "OOM on compiling any remotely valid grammer" fix logic error in
+ debian/patches/07_no-n-plus-k-pattern (Closes: #650808)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 07 Dec 2011 17:35:30 +0100
+
+frown (0.6.1-11) unstable; urgency=low
+
+ [ Marco Silva ]
+ * Use ghc instead of ghc6
+
+ [ Joachim Breitner ]
+ * Desurgar n+k patterns, not supported by ghc any more (Closes: #628317)
+
+ -- Joachim Breitner <nomeata at debian.org> Thu, 02 Jun 2011 20:33:57 +0200
+
+frown (0.6.1-10) unstable; urgency=low
+
+ * Use source format 3.0 (quilt).
+ * Fix "Package should be arch all" changing Architecture: to all
+ (Closes: #517603)
+ * debian/control: Addopt for the Debian Haskell Group.
+ * Remove old upstream homepage.
+ * debian/control: Bump Standards-Version to 3.8.4, no changes needed.
+ * Remove control.in.
+ * Fix "FTBFS on kfreebsd-amd64: lhs2TeX: ./Manual.lhs: hGetContents:
+ invalid argument (Invalid or incomplete multibyte or wide
+ character)" including patch to change the encoding to UTF-8
+ (Closes: #570868)
+ * debian/copyright: Use versioned file in common-licenses.
+
+ -- Marco Túlio Gontijo e Silva <marcot at debian.org> Fri, 05 Mar 2010 22:10:35 -0300
+
+frown (0.6.1-9) unstable; urgency=low
+
+ * debian/control:
+ - Drop all build dependencies on tetex packages as tetex is removed.
+ - Bump Standards-Version to 3.8.0
+ * debian/frown-doc.doc-base:
+ - Change the section from Programming to Programming/Haskell as
+ suggested by the doc-base manual.
+ * debian/README.source: Added.
+
+ -- Arjan Oosting <arjan at debian.org> Mon, 07 Jul 2008 09:36:42 +0200
+
+frown (0.6.1-8) unstable; urgency=low
+
+ * Fix lintian warnings:
+ - Replace apps/devel section with Programming section to fix lintian
+ warning "doc-base-unknown-section frown-guide:6 apps/devel."
+ - Split of the documentation into a separate frown-doc package to fix
+ lintian warning "arch-dep-package-has-big-usr-share 1648kB 52%"
+ * debian/control:
+ - Let the Vcs-* fields point to the trunk branch.
+ - Add doc-base to the Suggests of frown-doc.
+
+ -- Arjan Oosting <arjan at debian.org> Sun, 16 Mar 2008 22:11:28 +0100
+
+frown (0.6.1-7) unstable; urgency=low
+
+ * debian/control:
+ - Replace XS-Vcs-* fields with the new official Vcs-* fields.
+ - Add Homepage field.
+ - Bump Standards-Version to 3.7.3. No changes needed.
+
+ -- Arjan Oosting <arjan at debian.org> Tue, 08 Jan 2008 07:12:51 +0100
+
+frown (0.6.1-6) unstable; urgency=low
+
+ * debian/control:
+ - Add XS-Vcs-Browser field.
+ - Change build dependencies to prefer to build against texlive instead
+ of tetex.
+ * debian/rules: enclose paths in double quotes because directories can
+ contain spaces.
+
+ -- Arjan Oosting <arjan at debian.org> Fri, 13 Apr 2007 09:37:14 +0200
+
+frown (0.6.1-5) unstable; urgency=low
+
+ * Make frown Architecture: any as ghc6 is available on all architectures
+ now.
+ * Stop using update-haskell-control and $ghc6_* variables, as it is not
+ necessary and not using it simplifies the work for porters and for me.
+
+ -- Arjan Oosting <arjan at debian.org> Sat, 13 Jan 2007 10:25:59 +0100
+
+frown (0.6.1-4) unstable; urgency=low
+
+ * First upload to Debian archive. (Closes: #336978).
+ * debian/control.in.in:
+ - change maintainer email address.
+ - rename XS-X-Vcs-Svn field to XS-Vcs-Svn
+
+ -- Arjan Oosting <arjan at debian.org> Tue, 17 Oct 2006 04:01:36 +0200
+
+frown (0.6.1-3) unstable; urgency=low
+
+ * debian/control.in.in:
+ - ident Homepage field with two spaces. (Thanks James Westby).
+ - add ppc64 to the list of supported arches as ghc6 is available on
+ ppc64 as well.
+ - add XS-X-Vcs-Svn field pointing to subversion archive which contains
+ this package.
+ - document some of the differences with happy in the long description.
+ * debian/compat: switch to debhelper 5.
+ * debian/rules: switch from simple-patchsys to dpatch.
+
+ -- Arjan Oosting <arjanoosting at home.nl> Thu, 28 Sep 2006 01:53:20 +0200
+
+frown (0.6.1-2) unstable; urgency=low
+
+ * debian/control.in.in: bump Standards-Version to 3.7.2. No changes
+ needed.
+ * debian/copyright: add Debian packaging copyright.
+ * debian/frown.doc-base: added entry for PDF format.
+ * debian/frown.install: include the examples from the QuickStart,
+ Manual/Examples and Examples directories.
+ * debian/patches/04_manual-typos.patch: add missing backslashes before
+ LaTeX ldots command.
+ * debian/patches/05_only-build-pdf.patch: don't build and install the
+ manual in PS format.
+ * debian/rules: don't compress the pdf documentation.
+
+ -- Arjan Oosting <arjanoosting at home.nl> Wed, 17 May 2006 14:46:09 +0200
+
+frown (0.6.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/rules:
+ - rebuild manual during build.
+ - don't run tests during build yet.
+ * added patches:
+ - 01imagen-creates-png-files.patch: imagen generates png files
+ instead of gif files on a Debian system.
+ - 02ignore-hugs-version-in-test-frown.patch: ignore the version
+ header of Hugs in the output of the test cases.
+ - 03update-empty.out.patch: update the Empty example to match
+ the output given by the version of Hugs in unstable.
+ * debian/frown.doc-base: added doc-base support.
+
+ -- Arjan Oosting <arjanoosting at home.nl> Tue, 17 Jan 2006 22:29:35 +0100
+
+frown (0.6-1) unstable; urgency=low
+
+ * Initial release (Closes: #336978).
+
+ -- Arjan Oosting <arjanoosting at home.nl> Wed, 2 Nov 2005 00:24:43 +0100
diff --git a/p/frown/debian/clean b/p/frown/debian/clean
new file mode 100644
index 0000000..81d1f9c
--- /dev/null
+++ b/p/frown/debian/clean
@@ -0,0 +1,2 @@
+Manual/Manual.haux
+Manual/Manual.htoc
diff --git a/p/frown/debian/compat b/p/frown/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/p/frown/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/p/frown/debian/control b/p/frown/debian/control
new file mode 100644
index 0000000..893f756
--- /dev/null
+++ b/p/frown/debian/control
@@ -0,0 +1,97 @@
+Source: frown
+Section: devel
+Priority: optional
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Marco Túlio Gontijo e Silva <marcot at debian.org>
+Build-Depends: cdbs, debhelper (>= 9), ghc,
+ hevea, lhs2tex, texlive-latex-base, texlive-latex-recommended,
+ texlive-latex-extra, texlive-math-extra, texlive-generic-recommended
+Standards-Version: 3.9.6
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/frown
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/frown
+
+Package: frown
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: frown-doc (= ${source:Version})
+Multi-Arch: foreign
+Description: LALR(k) parser generator for Haskell 98
+ Frown is inspired by the parser generator Happy and uses a syntax
+ quite simular as the syntax used by Happy. Happy only handles LALR(1)
+ grammars while Frown can use more extensive LALR(k) grammars and the
+ parsers generated by Frown are also faster than the parsers generated
+ by Happy.
+ .
+ The salient features of Frown are:
+ - The generated parsers are time and space efficient. On the
+ downside, the parsers are quite large.
+ - Frown generates four different types of parsers. As a common
+ characteristic, the parsers are genuinely functional
+ (ie 'table-free'); the states of the underlying LR automaton are
+ encoded as mutually recursive functions. Three output formats use
+ a typed stack representation, one format due to Ross Paterson
+ (code=stackless) works even without a stack.
+ - Encoding states as functions means that each state can be treated
+ individually as opposed to a table driven-approach, which
+ necessitates a uniform treatment of states. For instance,
+ look-ahead is only used when necessary to resolve conflicts.
+ - Frown comes with debugging and tracing facilities; the standard
+ output format due to Doaitse Swierstra (code=standard) may be
+ useful for teaching LR parsing.
+ - Common grammatical patterns such as repetition of symbols can be
+ captured using rule schemata. There are several predefined rule
+ schemata.
+ - Terminal symbols are arbitrary variable-free Haskell patterns or
+ guards. Both terminal and nonterminal symbols may have an
+ arbitrary number of synthesized attributes.
+ - Frown comes with extensive documentation; several example grammars
+ are included.
+ .
+ Furthermore, Frown supports the use of monadic lexers, monadic
+ semantic actions, precedences and associativity, the generation of
+ backtracking parsers, multiple start symbols, error reporting and a
+ weak form of error correction.
+
+Package: frown-doc
+Architecture: all
+Section: doc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: doc-base
+Description: Manual of the frown parser generator for Haskell 98
+ The manual and examples of the frown LALR(k) parser generator.
+ .
+ Frown is inspired by the parser generator Happy and uses a syntax
+ quite simular as the syntax used by Happy. Happy only handles LALR(1)
+ grammars while Frown can use more extensive LALR(k) grammars and the
+ parsers generated by Frown are also faster than the parsers generated
+ by Happy.
+ .
+ The salient features of Frown are:
+ - The generated parsers are time and space efficient. On the
+ downside, the parsers are quite large.
+ - Frown generates four different types of parsers. As a common
+ characteristic, the parsers are genuinely functional
+ (ie 'table-free'); the states of the underlying LR automaton are
+ encoded as mutually recursive functions. Three output formats use
+ a typed stack representation, one format due to Ross Paterson
+ (code=stackless) works even without a stack.
+ - Encoding states as functions means that each state can be treated
+ individually as opposed to a table driven-approach, which
+ necessitates a uniform treatment of states. For instance,
+ look-ahead is only used when necessary to resolve conflicts.
+ - Frown comes with debugging and tracing facilities; the standard
+ output format due to Doaitse Swierstra (code=standard) may be
+ useful for teaching LR parsing.
+ - Common grammatical patterns such as repetition of symbols can be
+ captured using rule schemata. There are several predefined rule
+ schemata.
+ - Terminal symbols are arbitrary variable-free Haskell patterns or
+ guards. Both terminal and nonterminal symbols may have an
+ arbitrary number of synthesized attributes.
+ - Frown comes with extensive documentation; several example grammars
+ are included.
+ .
+ Furthermore, Frown supports the use of monadic lexers, monadic
+ semantic actions, precedences and associativity, the generation of
+ backtracking parsers, multiple start symbols, error reporting and a
+ weak form of error correction.
diff --git a/p/frown/debian/copyright b/p/frown/debian/copyright
new file mode 100644
index 0000000..b7f434e
--- /dev/null
+++ b/p/frown/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Arjan Oosting <arjanoosting at home.nl> on
+Wed, 2 Nov 2005 00:24:43 +0100.
+
+It was downloaded from http://www.informatik.uni-bonn.de/~ralf/frown/index.html
+
+Copyright (C) 2001-2005 Ralf Hinze
+
+Upstream Author: Ralf Hinze <ralf at informatik.uni-bonn.de>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License (version 2) as
+ published by the Free Software Foundation.
+
+ This package 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; 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 version 2 of the GNU General Public
+License can be found in `/usr/share/common-licenses/GPL-2'.
+
+Debian packaging copyright:
+
+ (C) 2005-2006 Arjan Oosting <arjanoosting at home.nl>
+
+ The Debian packaging may be redistributed and/or modified under the
+ same terms as frown itself.
diff --git a/p/frown/debian/frown-doc.doc-base b/p/frown/debian/frown-doc.doc-base
new file mode 100644
index 0000000..0ad6987
--- /dev/null
+++ b/p/frown/debian/frown-doc.doc-base
@@ -0,0 +1,13 @@
+Document: frown-guide
+Title: Frown manual
+Author: Ralf Hinze
+Abstract: Manual for the parser generator frown, a LALR(k) parser
+ generator for Haskell 98.
+Section: Programming/Haskell
+
+Format: html
+Index: /usr/share/doc/frown-doc/html/index.html
+Files: /usr/share/doc/frown-doc/html/*.html
+
+Format: PDF
+Files: /usr/share/doc/frown-doc/Manual.pdf
diff --git a/p/frown/debian/frown-doc.install b/p/frown/debian/frown-doc.install
new file mode 100644
index 0000000..3c2a9d5
--- /dev/null
+++ b/p/frown/debian/frown-doc.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/share/doc/frown-doc
+QuickStart usr/share/doc/frown-doc/examples
+Manual/Examples/*.lg usr/share/doc/frown-doc/examples/manual
+Manual/Examples/*.lhs usr/share/doc/frown-doc/examples/manual
+Examples/*.g usr/share/doc/frown-doc/examples/other
+Examples/*.lg usr/share/doc/frown-doc/examples/other
+Examples/Haskell usr/share/doc/frown-doc/examples/other
diff --git a/p/frown/debian/frown.1 b/p/frown/debian/frown.1
new file mode 100644
index 0000000..ef050d8
--- /dev/null
+++ b/p/frown/debian/frown.1
@@ -0,0 +1,82 @@
+.TH frown "1" "November 2005" "Frown :-( version 0.6" "User Commands"
+.SH NAME
+frown \- an LALR(k) parser generator for Haskell 98
+.SH SYNOPSIS
+.B frown
+[
+.IR options " ..."
+]
+.IR file ".[i]g ..."
+.SH DESCRIPTION
+.TP
+.BR \-b ", " \-\-backtrack
+generate a backtracking parser
+.TP
+.BR \-c [ compact | gvstack | stackless | standard "], " \-\-code [ =compact | gvstack | stackless | standard ]
+select output format
+.TP
+.B \-\-copying
+display details of copying
+.TP
+.BR \-d ", " \-\-debug
+emit debugging information
+.TP
+.BR \-e ", " \-\-expected
+pass a list of expected terminals to \(oqfrown\(cq
+.TP
+.BR \-g ", " \-\-ghc
+use GHC extensions
+.TP
+.BR \-h ", " \-? ", " \-\-help
+print this information
+.TP
+.BR \-i ", " \-\-info
+put additional information into generated file
+.TP
+\fB\-k\fP\fIn\fP, \fB\-\-lookahead=\fP\fIn\fP
+use \fIn\fP tokens of lookahead
+.TP
+.BR \-l ", " \-\-lexer
+use a monadic lexer (\(oqget :: M Terminal\(cq)
+.TP
+.BR \-n ", " \-\-noinline
+generate NOINLINE pragmas
+.TP
+.BR \-O ", " \-\-optimize
+optimize parser
+.TP
+\fB\-p\fP\fIn\fP, \fB\-\-pagewidth=\fP\fIn\fP
+use the specified pagewidth \fIn\fP for pretty printing
+.TP
+\fB\-\-prefix=\fP\fIstring\fP
+use the given \fIstring\fP as prefix for frown generated variables
+.TP
+.BR \-s [ mono | poly "], " \-\-signature [ =mono | poly ]
+add type signatures
+.TP
+\fB\-\-suffix=\fP\fIstring\fP
+use the given \fIstring\fP as suffix for frown generated variables
+.TP
+.BR \-t ", " \-\-trace
+insert calls to tracing routines (\(oqshift\(cq, \(oqreduce\(cq and \(oqaccept\(cq)
+.TP
+.BR \-v ", " \-\-verbose
+be verbose
+.TP
+.B \-\-version
+print version information
+.TP
+.B \-\-warranty
+display details of warranty
+.PP
+.SH COPYRIGHT
+\(co 2002 \(en 2005 Ralf Hinze
+.PP
+This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation.
+.PP
+This package 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 General Public License for more details.
+.PP
+You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+.SH AUTHOR
+This manual page was written by Arjan Oosting <arjanoosting at home.nl> for the Debian system (but may be used by others).
diff --git a/p/frown/debian/frown.install b/p/frown/debian/frown.install
new file mode 100644
index 0000000..451ddc0
--- /dev/null
+++ b/p/frown/debian/frown.install
@@ -0,0 +1 @@
+debian/tmp/usr/bin
diff --git a/p/frown/debian/frown.manpages b/p/frown/debian/frown.manpages
new file mode 100644
index 0000000..08399a3
--- /dev/null
+++ b/p/frown/debian/frown.manpages
@@ -0,0 +1 @@
+debian/frown.1
diff --git a/p/frown/debian/patches/01_imagen-creates-png-files b/p/frown/debian/patches/01_imagen-creates-png-files
new file mode 100755
index 0000000..f5a04db
--- /dev/null
+++ b/p/frown/debian/patches/01_imagen-creates-png-files
@@ -0,0 +1,15 @@
+# Description: imagen create png files
+# imagen generates png files instead of gif files on a Debian system.
+# Author: Arjan Oosting <arjanoosting at home.nl>
+diff -urNad frown~/Manual/Makefile frown/Manual/Makefile
+--- frown~/Manual/Makefile 2006-01-13 00:09:44.000000000 +0100
++++ frown/Manual/Makefile 2006-09-28 02:05:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ hacha $(file).html
+ imagen $(file)
+ mkdir -p html
+- mv index.html $(file).html $(file).css $(file)[0-9]*.html $(file)[0-9]*.gif *motif.gif html
++ mv index.html $(file).html $(file).css $(file)[0-9]*.html $(file)[0-9]*.png *motif.gif html
+
+ spell: $(file).tex
+ egrep -v '$\%' $(file).tex | $(spell) $(file).spell | sort | uniq
diff --git a/p/frown/debian/patches/02_ignore-hugs-version-in-test-frown b/p/frown/debian/patches/02_ignore-hugs-version-in-test-frown
new file mode 100755
index 0000000..4f455da
--- /dev/null
+++ b/p/frown/debian/patches/02_ignore-hugs-version-in-test-frown
@@ -0,0 +1,15 @@
+# Description: Ignore Hugs version in TestFrown
+# ignore the version header of Hugs in the output of the test cases.
+# Author: Arjan Oosting <arjanoosting at home.nl>
+diff -urNad frown~/Examples/TestFrown.lhs frown/Examples/TestFrown.lhs
+--- frown~/Examples/TestFrown.lhs 2006-01-13 00:09:44.000000000 +0100
++++ frown/Examples/TestFrown.lhs 2006-09-28 02:06:03.000000000 +0200
+@@ -45,7 +45,7 @@
+ > opts' = map ("--" ++) opts
+ > (s, _) = revBreak (== '.') g
+ > t = init s
+-> diff | flag = "| diff -q - "
++> diff | flag = "| diff -I\"|| Version: .* _\" -q - "
+ > | otherwise = "> "
+
+ NB. The `|-98|' is only needed for `|LexTerm|'.
diff --git a/p/frown/debian/patches/03_update-empty.out b/p/frown/debian/patches/03_update-empty.out
new file mode 100755
index 0000000..c4c872e
--- /dev/null
+++ b/p/frown/debian/patches/03_update-empty.out
@@ -0,0 +1,22 @@
+# Description: Update Empty.out
+# update the Empty example to match the output given by the version of Hugs in
+# unstable
+# Author: Arjan Oosting <arjanoosting at home.nl>
+diff -urNad frown~/Examples/Empty.out frown/Examples/Empty.out
+--- frown~/Examples/Empty.out 2005-12-30 00:45:09.000000000 +0100
++++ frown/Examples/Empty.out 2006-09-28 02:06:39.000000000 +0200
+@@ -3,10 +3,10 @@
+ ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
+ ||---|| ___|| World Wide Web: http://haskell.org/hugs
+ || || Report bugs to: hugs-bugs at haskell.org
+-|| || Version: March 2005 _________________________________________
++|| || Version: 20050308 _________________________________________
+
+ Hugs mode: Restart with command line option +98 for Haskell 98 mode
+
+-ERROR "Empty.hs":33 - Undefined variable "parse_1__"
+-Hugs.Base> ERROR - Undefined variable "s"
+-Hugs.Base> [Leaving Hugs]
++Type :? for help
++Main> ERROR - Undefined variable "s"
++Main> [Leaving Hugs]
diff --git a/p/frown/debian/patches/04_manual-typos b/p/frown/debian/patches/04_manual-typos
new file mode 100755
index 0000000..3fe2edd
--- /dev/null
+++ b/p/frown/debian/patches/04_manual-typos
@@ -0,0 +1,51 @@
+# Description: Manual typos
+# add missing backslashes before LaTeX ldots command.
+# Author: Arjan Oosting <arjanoosting at home.nl>
+diff -urNad frown~/Manual/Manual.lhs frown/Manual/Manual.lhs
+--- frown~/Manual/Manual.lhs 2005-12-30 00:44:36.000000000 +0100
++++ frown/Manual/Manual.lhs 2006-09-28 02:06:55.000000000 +0200
+@@ -524,7 +524,7 @@
+ source file (@Paren1.lg@\footnote{The source files of the examples are
+ located in the directory @Manual/Examples at .}) defines the language of
+ well-balanced parentheses. The specification of the grammar is
+-enclosed in special curly braces `|%{ ldots }%|'. The remainder
++enclosed in special curly braces `|%{ \ldots }%|'. The remainder
+ contains Haskell source code, that is, a module header and a function
+ declaration.
+ %
+@@ -543,7 +543,7 @@
+ By convention, the first nonterminal is also the start symbol of
+ the grammar (this default can be overwritten, see~Sec.~\ref{sec:multiple}).
+
+-Productions have the general form |n : v_1, ldots, v_k;| where |n| is
++Productions have the general form |n : v_1, \ldots, v_k;| where |n| is
+ a nonterminal and |v_1|, \ldots, |v_k| are symbols. Note that the
+ symbols are separated by commas and terminated by a semicolon. The
+ mandatory trailing semicolon helps to identify so-called
+@@ -817,7 +817,7 @@
+ pure one. It is, however, also possible to provide a monadic action
+ that \emph{computes} the value of the attribute. The computation lives
+ in the underlying parsing monad. Monadic actions are enclosed in `|{%
+-ldots }|' braces and have type |m t| where |m| is the type of the
++\ldots }|' braces and have type |m t| where |m| is the type of the
+ underlying monad and |t| is the type of attributes.
+
+ As an example, the following variant of the desktop calculator
+@@ -1381,7 +1381,7 @@
+ < | Ident "then" as "then"
+ < | Ident "else" as "else"
+ < | Ident {String};
+-< | ldots
++< | \ldots
+
+ Note that keywords are declared just by listing them before the
+ general pattern for identifiers.
+@@ -1392,7 +1392,7 @@
+ following example.
+
+ < Terminal = guard { isAlpha } as "alpha"
+-< | ldots
++< | \ldots
+
+ A guard is introduced by the keyword |guard|, followed by its Haskell
+ definition, followed by the mandatory shortcut. The shortcut can then
diff --git a/p/frown/debian/patches/05_only-build-pdf b/p/frown/debian/patches/05_only-build-pdf
new file mode 100755
index 0000000..684802e
--- /dev/null
+++ b/p/frown/debian/patches/05_only-build-pdf
@@ -0,0 +1,19 @@
+# Description: Only build pdf
+# don't build and install the manual in PS format.
+# Author: Arjan Oosting <arjanoosting at home.nl>
+diff -urNad frown~/Manual/Makefile frown/Manual/Makefile
+--- frown~/Manual/Makefile 2006-09-28 02:07:12.000000000 +0200
++++ frown/Manual/Makefile 2006-09-28 02:07:12.000000000 +0200
+@@ -69,11 +69,10 @@
+
+ .PHONY : man examples edit xdvi gv acro print spell spellupdate links clean distclean
+
+-man: $(file).ps $(file).pdf html
++man: $(file).pdf html
+
+ install: man
+ mkdir -p $(doc)
+- cp $(file).ps $(doc)
+ cp $(file).pdf $(doc)
+ cp -r html $(doc)
+
diff --git a/p/frown/debian/patches/06_utf8 b/p/frown/debian/patches/06_utf8
new file mode 100644
index 0000000..497eae3
--- /dev/null
+++ b/p/frown/debian/patches/06_utf8
@@ -0,0 +1,764 @@
+# Description: Use UTF-8 encoding
+# GHC 6.12.1 can't read a file with iso-8859-1 encoding.
+# Bug-Debian: 570868
+# Author: Marco Túlio Gontijo e Silva <marcot at debian.org>
+# Last-Update: 2010-03-05
+diff -Nudar frown~/Atom.lhs frown/Atom.lhs
+--- frown~/Atom.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Atom.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Base.lhs frown/Base.lhs
+--- frown~/Base.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Base.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Case.lhs frown/Case.lhs
+--- frown~/Case.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Case.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Compact.lhs frown/Compact.lhs
+--- frown~/Compact.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Compact.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+@@ -65,7 +65,7 @@
+
+ > {-
+
+-NEU: f�r die optimierten Reduktionen.
++NEU: für die optimierten Reduktionen.
+
+ > ntArgsOf v ctx = args (pattern v)
+ > where
+diff -Nudar frown~/Convert.lhs frown/Convert.lhs
+--- frown~/Convert.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Convert.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/COPYRIGHT frown/COPYRIGHT
+--- frown~/COPYRIGHT 2005-12-15 07:09:24.000000000 -0200
++++ frown/COPYRIGHT 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Examples/Makefile frown/Examples/Makefile
+--- frown~/Examples/Makefile 2005-12-15 07:09:23.000000000 -0200
++++ frown/Examples/Makefile 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ # Email: Ralf Hinze <ralf at cs.uni-bonn.de> #
+ # Homepage: http://www.informatik.uni-bonn.de/~ralf/ #
+ # Paper mail: Dr. Ralf Hinze #
+-# Institut f�r Informatik III #
+-# Universit�t Bonn #
+-# R�merstra�e 164 #
++# Institut für Informatik III #
++# Universität Bonn #
++# Römerstraße 164 #
+ # 53117 Bonn, Germany #
+ # #
+ ###############################################################################
+diff -Nudar frown~/Future.lhs frown/Future.lhs
+--- frown~/Future.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Future.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Generate.lhs frown/Generate.lhs
+--- frown~/Generate.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Generate.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/GParser2.lg frown/GParser2.lg
+--- frown~/GParser2.lg 2005-12-15 07:09:24.000000000 -0200
++++ frown/GParser2.lg 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/GParser.lg frown/GParser.lg
+--- frown~/GParser.lg 2005-12-15 07:09:24.000000000 -0200
++++ frown/GParser.lg 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Grammar.lhs frown/Grammar.lhs
+--- frown~/Grammar.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Grammar.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/GVStack.lhs frown/GVStack.lhs
+--- frown~/GVStack.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/GVStack.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Haskell.lhs frown/Haskell.lhs
+--- frown~/Haskell.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Haskell.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lexer2.lhs frown/Lexer2.lhs
+--- frown~/Lexer2.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Lexer2.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lexer.lhs frown/Lexer.lhs
+--- frown~/Lexer.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Lexer.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/MergeSort.lhs frown/Lib/MergeSort.lhs
+--- frown~/Lib/MergeSort.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/MergeSort.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/OrdUniqListFM.lhs frown/Lib/OrdUniqListFM.lhs
+--- frown~/Lib/OrdUniqListFM.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/OrdUniqListFM.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/OrdUniqList.lhs frown/Lib/OrdUniqList.lhs
+--- frown~/Lib/OrdUniqList.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/OrdUniqList.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/OrdUniqListSet.lhs frown/Lib/OrdUniqListSet.lhs
+--- frown~/Lib/OrdUniqListSet.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/OrdUniqListSet.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/Prettier.lhs frown/Lib/Prettier.lhs
+--- frown~/Lib/Prettier.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/Prettier.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lib/Uniq.lhs frown/Lib/Uniq.lhs
+--- frown~/Lib/Uniq.lhs 2005-12-15 07:09:23.000000000 -0200
++++ frown/Lib/Uniq.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Lookahead.lhs frown/Lookahead.lhs
+--- frown~/Lookahead.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Lookahead.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/LR0.lhs frown/LR0.lhs
+--- frown~/LR0.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/LR0.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Main.lhs frown/Main.lhs
+--- frown~/Main.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Main.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+@@ -666,7 +666,7 @@
+
+ ODER
+
+- So viele Informationen �bergeben, da� der Stack rekonstruiert werden
++ So viele Informationen übergeben, daß der Stack rekonstruiert werden
+ kann.
+
+ Experimental
+diff -Nudar frown~/Makefile frown/Makefile
+--- frown~/Makefile 2005-12-15 07:09:25.000000000 -0200
++++ frown/Makefile 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ # Email: Ralf Hinze <ralf at cs.uni-bonn.de> #
+ # Homepage: http://www.informatik.uni-bonn.de/~ralf/ #
+ # Paper mail: Dr. Ralf Hinze #
+-# Institut f�r Informatik III #
+-# Universit�t Bonn #
+-# R�merstra�e 164 #
++# Institut für Informatik III #
++# Universität Bonn #
++# Römerstraße 164 #
+ # 53117 Bonn, Germany #
+ # #
+ ###############################################################################
+diff -Nudar frown~/Makefile.dist frown/Makefile.dist
+--- frown~/Makefile.dist 2005-12-15 07:09:24.000000000 -0200
++++ frown/Makefile.dist 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ # Email: Ralf Hinze <ralf at cs.uni-bonn.de> #
+ # Homepage: http://www.informatik.uni-bonn.de/~ralf/ #
+ # Paper mail: Dr. Ralf Hinze #
+-# Institut f�r Informatik III #
+-# Universit�t Bonn #
+-# R�merstra�e 164 #
++# Institut für Informatik III #
++# Universität Bonn #
++# Römerstraße 164 #
+ # 53117 Bonn, Germany #
+ # #
+ ###############################################################################
+diff -Nudar frown~/Manual/GParser2.lg frown/Manual/GParser2.lg
+--- frown~/Manual/GParser2.lg 2005-12-15 07:09:22.000000000 -0200
++++ frown/Manual/GParser2.lg 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+--- frown~/Manual/Makefile 2005-12-15 07:09:22.000000000 -0200
++++ frown/Manual/Makefile 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ # Email: Ralf Hinze <ralf at cs.uni-bonn.de> #
+ # Homepage: http://www.informatik.uni-bonn.de/~ralf/ #
+ # Paper mail: Dr. Ralf Hinze #
+-# Institut f�r Informatik III #
+-# Universit�t Bonn #
+-# R�merstra�e 164 #
++# Institut für Informatik III #
++# Universität Bonn #
++# Römerstraße 164 #
+ # 53117 Bonn, Germany #
+ # #
+ ###############################################################################
+diff -Nudar frown~/Manual/Manual.bib frown/Manual/Manual.bib
+--- frown~/Manual/Manual.bib 2005-12-15 07:09:22.000000000 -0200
++++ frown/Manual/Manual.bib 2010-03-05 21:14:33.000000000 -0300
+@@ -188,7 +188,7 @@
+ }
+
+ @inproceedings{AlP01Gen,
+- address = {�lvsj�, Sweden},
++ address = {Älvsjö, Sweden},
+ author = {Artem Alimarine and Rinus Plasmeijer},
+ booktitle = {Proceedings of the 13th International workshop on the Implementation of Functional Languages, IFL'01},
+ editor = {Arts, Th. and Mohnen, M.},
+@@ -505,7 +505,7 @@
+ }
+
+ @techreport{BPS04XML,
+- author = {Bray, Tim and Paoli, Jean and Sperberg-McQueen, C.M. and Maler, Eve and Yergeau, Fran�ois and Cowan, John},
++ author = {Bray, Tim and Paoli, Jean and Sperberg-McQueen, C.M. and Maler, Eve and Yergeau, François and Cowan, John},
+ institution = {World Wide Web Consortium},
+ month = apr,
+ number = {\texttt{http://www.w3.org/TR/xml11}},
+@@ -1422,7 +1422,7 @@
+ }
+
+ @techreport{CHJLW01Gen,
+- author = {Clarke, Dave and Hinze, Ralf and Jeuring, Johan and L�h, Andres and {de Wit}, Jan},
++ author = {Clarke, Dave and Hinze, Ralf and Jeuring, Johan and Löh, Andres and {de Wit}, Jan},
+ institution = {Universiteit Utrecht},
+ month = nov,
+ number = {UU-CS-2001-26},
+@@ -1782,7 +1782,7 @@
+ }
+
+ @inproceedings{ClL02Gen,
+- author = {Clarke, Dave and L�h, Andres},
++ author = {Clarke, Dave and Löh, Andres},
+ booktitle = {Proceedings of the IFIP TC2 Working Conference on Generic Programming, Schloss Dagstuhl},
+ editor = {Gibbons, Jeremy and Jeuring, Johan},
+ month = jul,
+@@ -5619,7 +5619,7 @@
+ }
+
+ @techreport{LoJ05Gen,
+- author = {L�h, Andres and Jeuring, Johan},
++ author = {Löh, Andres and Jeuring, Johan},
+ institution = {Universiteit Utrecht},
+ month = jan,
+ number = {UU-CS-2005-004},
+@@ -5628,7 +5628,7 @@
+ }
+
+ @phdthesis{Loe04Gen,
+- author = {L�h, Andres},
++ author = {Löh, Andres},
+ school = {Utrecht University},
+ title = {Exploring Generic Haskell},
+ year = {2004}
+@@ -6524,7 +6524,7 @@
+ @inproceedings{NoJ03Pol,
+ author = {Norell, Ulf and Jansson, Patrik},
+ booktitle = {Implementation of Functional Languages: 15th International Workshop, IFL 2003, Edinburgh, UK, September 8-11, 2003},
+- editor = {Trinder, Phil and Michaelson, Greg and Pe�a, Ricardo},
++ editor = {Trinder, Phil and Michaelson, Greg and Peña, Ricardo},
+ month = sep,
+ pages = {168--184},
+ title = {Polytypic Programming in {Haskell}},
+@@ -6888,9 +6888,9 @@
+ }
+
+ @inproceedings{PR:99,
+- author = {Pfeifer, Holger and Rue�, Harald},
++ author = {Pfeifer, Holger and Rueß, Harald},
+ booktitle = {Proc. 12th Intl. Conf. on Theorem Proving in Higher Order Logics},
+- editor = {Bertot, Y. and Dowek, G. and Hirschowitz, A. and Paulin, C. and Th�ry, L.},
++ editor = {Bertot, Y. and Dowek, G. and Hirschowitz, A. and Paulin, C. and Théry, L.},
+ month = sep,
+ number = 1690,
+ pages = {55--72},
+diff -Nudar frown~/Manual/Manual.fmt frown/Manual/Manual.fmt
+--- frown~/Manual/Manual.fmt 2005-12-15 07:09:22.000000000 -0200
++++ frown/Manual/Manual.fmt 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Manual/Manual.lhs frown/Manual/Manual.lhs
+--- frown~/Manual/Manual.lhs 2005-12-15 07:09:22.000000000 -0200
++++ frown/Manual/Manual.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+@@ -33,7 +33,7 @@
+ \documentclass[a4paper,fleqn]{report}
+
+ \usepackage{a4wide}
+-\usepackage[latin1]{inputenc}
++\usepackage[utf8]{inputenc}
+ \usepackage{graphicx}
+ \usepackage{calc}
+ \usepackage{ulem}\normalem
+@@ -103,9 +103,9 @@
+
+ \author
+ {RALF HINZE
+-\\Institut f�r Informatik III
+-\\Universit�t Bonn
+-\\R�merstra�e 164
++\\Institut für Informatik III
++\\Universität Bonn
++\\Römerstraße 164
+ \\53117 Bonn
+ \\Germany
+ \\\texttt{ralf\symbol{64}cs.uni-bonn.de}
+@@ -338,7 +338,7 @@
+ formats. Doaitse invented the @--code=standard@ format, which was
+ historically the first format \Frown\ supported.
+
+-A big thank you goes to Andres L�h and Ross Paterson for various bug
++A big thank you goes to Andres Löh and Ross Paterson for various bug
+ reports and suggestions for improvement.
+
+ %================================ ============================================
+diff -Nudar frown~/Optimize.lhs frown/Optimize.lhs
+--- frown~/Optimize.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Optimize.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Options.lhs frown/Options.lhs
+--- frown~/Options.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Options.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Quote.lhs frown/Quote.lhs
+--- frown~/Quote.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Quote.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/SearchTree.lhs frown/SearchTree.lhs
+--- frown~/SearchTree.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/SearchTree.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Stackless.lhs frown/Stackless.lhs
+--- frown~/Stackless.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Stackless.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Standard.lhs frown/Standard.lhs
+--- frown~/Standard.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Standard.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+@@ -68,7 +68,7 @@
+
+ > {-
+
+-NEU: f�r die optimierten Reduktionen.
++NEU: für die optimierten Reduktionen.
+
+ > ntArgsOf v ctx = args (pattern v)
+ > where
+diff -Nudar frown~/Stdenv.lg frown/Stdenv.lg
+--- frown~/Stdenv.lg 2005-12-15 07:09:24.000000000 -0200
++++ frown/Stdenv.lg 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+diff -Nudar frown~/Stdenv.lhs frown/Stdenv.lhs
+--- frown~/Stdenv.lhs 2005-12-15 07:09:24.000000000 -0200
++++ frown/Stdenv.lhs 2010-03-05 21:14:33.000000000 -0300
+@@ -21,9 +21,9 @@
+ % Email: Ralf Hinze <ralf at cs.uni-bonn.de> %
+ % Homepage: http://www.informatik.uni-bonn.de/~ralf/ %
+ % Paper mail: Dr. Ralf Hinze %
+-% Institut f�r Informatik III %
+-% Universit�t Bonn %
+-% R�merstra�e 164 %
++% Institut für Informatik III %
++% Universität Bonn %
++% Römerstraße 164 %
+ % 53117 Bonn, Germany %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/p/frown/debian/patches/07_no-n-plus-k-pattern b/p/frown/debian/patches/07_no-n-plus-k-pattern
new file mode 100644
index 0000000..d41ac05
--- /dev/null
+++ b/p/frown/debian/patches/07_no-n-plus-k-pattern
@@ -0,0 +1,80 @@
+Index: frown-0.6.1/SearchTree.lhs
+===================================================================
+--- frown-0.6.1.orig/SearchTree.lhs 2011-06-02 20:28:02.000000000 +0200
++++ frown-0.6.1/SearchTree.lhs 2011-06-02 20:28:43.000000000 +0200
+@@ -60,10 +60,10 @@
+ > fromOrdList avs = fst (build (Prelude.length avs) avs)
+ > where
+ > build 0 x = (Leaf, x)
+-> build (n + 1) x = (Node l a v r, z)
+-> where m = n `div` 2
++> build n x = (Node l a v r, z)
++> where m = (n-1) `div` 2
+ > (l, (a, v) : y) = build m x
+-> (r, z) = build (n - m) y
++> (r, z) = build (n - 1 - m) y
+
+ > fromList_C :: (Ord a) => (v -> v -> v) -> [(a, v)] -> FM a v
+ > fromList_C combine = fromOrdList . group . mergeSortBy (\ (a1, _) (a2, _) -> a1 <= a2)
+@@ -99,4 +99,4 @@
+
+
+ > unsafeLookup :: (Ord a, Show a) => FM a v -> a -> v
+-> unsafeLookup fm a = fromMaybe (error ("unsafeLookup: key not found: " ++ show a)) (lookup fm a)
+\ No newline at end of file
++> unsafeLookup fm a = fromMaybe (error ("unsafeLookup: key not found: " ++ show a)) (lookup fm a)
+Index: frown-0.6.1/Base.lhs
+===================================================================
+--- frown-0.6.1.orig/Base.lhs 2011-06-02 20:29:02.000000000 +0200
++++ frown-0.6.1/Base.lhs 2011-06-02 20:30:17.000000000 +0200
+@@ -166,13 +166,13 @@
+
+ > revTake :: Int -> RevList a -> RevList a
+ > revTake 0 _ = Nil
+-> revTake (_n + 1) Nil = Nil
+-> revTake (n + 1) (as :> a) = revTake n as :> a
++> revTake _n Nil = Nil
++> revTake n (as :> a) = revTake (n-1) as :> a
+
+ > revDrop :: Int -> RevList a -> RevList a
+ > revDrop 0 as = as
+-> revDrop (_n + 1) Nil = Nil
+-> revDrop (n + 1) (as :> _a) = revDrop n as
++> revDrop _n Nil = Nil
++> revDrop n (as :> _a) = revDrop (n-1) as
+
+ %-------------------------------------------------------------------------------
+ \subsection{Formatting text}
+Index: frown-0.6.1/Lexer2.lhs
+===================================================================
+--- frown-0.6.1.orig/Lexer2.lhs 2011-06-02 20:30:37.000000000 +0200
++++ frown-0.6.1/Lexer2.lhs 2011-06-02 20:30:59.000000000 +0200
+@@ -139,7 +139,7 @@
+ > nested :: Int -> String -> (String, String)
+ > nested _ [] = ([], [])
+ > nested 0 ('-' : '}' : s) = ([], '-':'}':s)
+-> nested (n+1) ('-' : '}' : s) = '-' <| '}' <| nested n s
++> nested n ('-' : '}' : s) = '-' <| '}' <| nested (n - 1) s
+ > nested n ('{' : '-' : s) = '{' <| '-' <| nested (n + 1) s
+ > nested n (c : s) = c <| nested n s
+
+@@ -156,4 +156,4 @@
+
+ > isSymbol, isIdChar :: Char -> Bool
+ > isSymbol c = c `elem` "!@#$%&*+./<=>?\\^|:-~"
+-> isIdChar c = isAlphaNum c || c `elem` "_'"
+\ No newline at end of file
++> isIdChar c = isAlphaNum c || c `elem` "_'"
+Index: frown-0.6.1/Future.lhs
+===================================================================
+--- frown-0.6.1.orig/Future.lhs 2011-06-02 20:31:44.000000000 +0200
++++ frown-0.6.1/Future.lhs 2011-06-02 20:32:01.000000000 +0200
+@@ -60,7 +60,7 @@
+
+ > prune :: Int -> Future -> Future
+ > prune 0 (Future _ts) = fromList []
+-> prune (n + 1) (Future ts) = fromList [ (a, prune n us) | (a, us) <- FM.toList ts ]
++> prune n (Future ts) = fromList [ (a, prune (n-1) us) | (a, us) <- FM.toList ts ]
+
+ > domain :: Future -> Set Symbol
+ > domain (Future f) = Set.fromList (map fst (FM.toList f))
diff --git a/p/frown/debian/patches/ghc-7.4.1-compat b/p/frown/debian/patches/ghc-7.4.1-compat
new file mode 100644
index 0000000..94b6540
--- /dev/null
+++ b/p/frown/debian/patches/ghc-7.4.1-compat
@@ -0,0 +1,393 @@
+Index: frown-0.6.1/Main.lhs
+===================================================================
+--- frown-0.6.1.orig/Main.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Main.lhs 2012-03-15 14:21:07.000000000 +0100
+@@ -53,11 +53,12 @@
+ > import Prettier hiding ( string, concat )
+ > import qualified Prettier as PP
+ > import qualified SearchTree as ST
+-> import Monad ( when )
+-> import Directory
+-> import IO
+-> import System
++> import Control.Monad ( when )
++> import System.Directory
++> import System.IO
+ > import System.Console.GetOpt
++> import System.Exit
++> import System.Environment
+
+ %-------------------------------= --------------------------------------------
+ \section{The main program}
+@@ -689,4 +690,4 @@
+ | let add op = ADDOP (op :: Addop)
+ | let id s = IDENT (s :: String);
+
+- |add op| serves as an abbreviation for |ADDOP op|.
+\ No newline at end of file
++ |add op| serves as an abbreviation for |ADDOP op|.
+Index: frown-0.6.1/Base.lhs
+===================================================================
+--- frown-0.6.1.orig/Base.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Base.lhs 2012-03-15 14:20:13.000000000 +0100
+@@ -36,9 +36,9 @@
+ > where
+ >
+ > import Prettier
+-> import Monad ( MonadPlus(..) )
+-> import IO
+-> import System
++> import Control.Monad ( MonadPlus(..) )
++> import System.Exit
++> import System.IO
+
+ %-------------------------------------------------------------------------------
+ \subsection{List utilities}
+Index: frown-0.6.1/Case.lhs
+===================================================================
+--- frown-0.6.1.orig/Case.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Case.lhs 2012-03-15 14:16:03.000000000 +0100
+@@ -45,10 +45,10 @@
+ > import MergeSort
+ > import Base
+ > import Options
+-> import Maybe
+-> import IO
+-> import Monad
+-> import List ( partition )
++> import Data.Maybe
++> import System.IO
++> import Control.Monad
++> import Data.List ( partition )
+ > import Prelude hiding ( lookup )
+
+ %-------------------------------= --------------------------------------------
+@@ -347,4 +347,4 @@
+ > actions' :: Symbol -> Past -> Past
+ > actions' x (Node es ts) = Node [ a{ future = f } | a <- es
+ > , Just f <- [lookup (future a) x] ]
+-> [ (e, actions' x t) | (e, t) <- ts ]
+\ No newline at end of file
++> [ (e, actions' x t) | (e, t) <- ts ]
+Index: frown-0.6.1/Compact.lhs
+===================================================================
+--- frown-0.6.1.orig/Compact.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Compact.lhs 2012-03-15 14:19:05.000000000 +0100
+@@ -49,9 +49,9 @@
+ > import Base
+ > import Generate
+ > import MergeSort
+-> import Char
+-> import IO
+-> import Maybe
++> import Data.Char
++> import System.IO
++> import Data.Maybe
+ > import Prelude hiding ( lookup )
+
+ %-------------------------------= --------------------------------------------
+@@ -444,4 +444,4 @@
+
+ > wrap s = prefix opts ++ s ++ suffix opts
+ > wrap_var s = var (wrap s)
+-> wrap_con s = con (wrap s)
+\ No newline at end of file
++> wrap_con s = con (wrap s)
+Index: frown-0.6.1/Convert.lhs
+===================================================================
+--- frown-0.6.1.orig/Convert.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Convert.lhs 2012-03-15 14:16:45.000000000 +0100
+@@ -42,13 +42,13 @@
+ > import OrdUniqListSet ( Set, MinView(Empty, Min) ) -- for nhc98
+ > import Atom hiding ( string )
+ > import Haskell hiding ( Empty, Decl, guard )
+-> import Maybe
+-> import List
++> import Data.Maybe
++> import Data.List
+ > import Base
+ > import Prettier hiding ( concat, intersperse )
+ > import qualified Prettier as PP
+-> import Monad
+-> import IO hiding ( isEOF )
++> import Control.Monad
++> import System.IO hiding ( isEOF )
+ > import Options
+
+ > newEOF :: Ident
+@@ -361,4 +361,4 @@
+ > | terminal w = w
+ > | otherwise = case lookup w bindings of
+ > Just w' -> w' { attributes = attributes w }
+-> Nothing -> updateArgs w (map substitute (arguments w))
+\ No newline at end of file
++> Nothing -> updateArgs w (map substitute (arguments w))
+Index: frown-0.6.1/GParser2.hs
+===================================================================
+--- frown-0.6.1.orig/GParser2.hs 2005-12-15 10:09:24.000000000 +0100
++++ frown-0.6.1/GParser2.hs 2012-03-15 14:20:37.000000000 +0100
+@@ -47,9 +47,9 @@
+ import qualified Base
+ import Prettier ( Pretty )
+ import Options
+- import Char
+- import List
+- import IO
++ import Data.Char hiding ( isSymbol )
++ import Data.List
++ import System.IO
+
+
+
+@@ -2258,4 +2258,4 @@
+ where verb = verbose opts
+
+ run :: (Monad m) => Lex m Answer -> (String -> m Answer)
+- run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp))
+\ No newline at end of file
++ run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp))
+Index: frown-0.6.1/GParser2.lg
+===================================================================
+--- frown-0.6.1.orig/GParser2.lg 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/GParser2.lg 2012-03-15 14:18:08.000000000 +0100
+@@ -47,9 +47,9 @@
+ > import qualified Base
+ > import Prettier ( Pretty )
+ > import Options
+-> import Char
+-> import List
+-> import IO
++> import Data.Char
++> import Data.List
++> import System.IO
+
+ % - - - - - - - - - - - - - - - = - - - - - - - - - - - - - - - - - - - - - - -
+ \subsection{Abstract syntax}
+@@ -481,4 +481,4 @@
+ > where verb = verbose opts
+ >
+ > run :: (Monad m) => Lex m Answer -> (String -> m Answer)
+-> run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp))
+\ No newline at end of file
++> run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp))
+Index: frown-0.6.1/GVStack.lhs
+===================================================================
+--- frown-0.6.1.orig/GVStack.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/GVStack.lhs 2012-03-15 14:18:51.000000000 +0100
+@@ -45,10 +45,10 @@
+ > import Options
+ > import Base
+ > import Generate
+-> import IO
+-> import Monad
+-> import Char
+-> import List ( maximumBy )
++> import System.IO
++> import Control.Monad
++> import Data.Char
++> import Data.List ( maximumBy )
+ > import Prelude hiding ( lookup )
+
+ %-------------------------------= --------------------------------------------
+Index: frown-0.6.1/Generate.lhs
+===================================================================
+--- frown-0.6.1.orig/Generate.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Generate.lhs 2012-03-15 14:12:58.000000000 +0100
+@@ -43,7 +43,7 @@
+ > import OrdUniqListSet ( Set )
+ > import Base
+ > --import Char ( toLower, toUpper )
+-> import List ( intersperse )
++> import Data.List ( intersperse )
+
+ Symbols.
+
+Index: frown-0.6.1/Haskell.lhs
+===================================================================
+--- frown-0.6.1.orig/Haskell.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Haskell.lhs 2012-03-15 14:14:23.000000000 +0100
+@@ -35,7 +35,7 @@
+ > import Atom hiding ( string )
+ > import qualified Atom
+ > import Prettier
+-> import Char
++> import Data.Char
+ > import Prelude hiding ( concat )
+
+ %-------------------------------= --------------------------------------------
+Index: frown-0.6.1/LR0.lhs
+===================================================================
+--- frown-0.6.1.orig/LR0.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/LR0.lhs 2012-03-15 14:13:48.000000000 +0100
+@@ -45,7 +45,7 @@
+ > import Base hiding ( list )
+ > import qualified Base
+ > import Prelude hiding ( null )
+-> import IO
++> import System.IO
+ > import Options
+
+ %-------------------------------= --------------------------------------------
+@@ -269,4 +269,4 @@
+ productions such as |Start# : Start, EOF;|.
+
+ > errorState :: State
+-> errorState = State 0 (Set.empty :\/ Set.empty)
+\ No newline at end of file
++> errorState = State 0 (Set.empty :\/ Set.empty)
+Index: frown-0.6.1/Lexer2.lhs
+===================================================================
+--- frown-0.6.1.orig/Lexer2.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Lexer2.lhs 2012-03-15 14:14:43.000000000 +0100
+@@ -35,9 +35,9 @@
+ > module Lexer2
+ > where
+ > import Prelude
+-> import Char
+-> import IO
+-> import Monad
++> import Data.Char
++> import System.IO
++> import Control.Monad
+ > import Base
+ > import Options
+
+Index: frown-0.6.1/Lib/OrdUniqListFM.lhs
+===================================================================
+--- frown-0.6.1.orig/Lib/OrdUniqListFM.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Lib/OrdUniqListFM.lhs 2012-03-15 14:14:08.000000000 +0100
+@@ -64,8 +64,8 @@
+ > import qualified OrdUniqList as OUL
+ > import MergeSort ( mergeSort )
+ > import Prettier hiding ( empty )
+-> import qualified List
+-> import Maybe ( fromMaybe )
++> import qualified Data.List as List
++> import Data.Maybe ( fromMaybe )
+
+ > infixl 9 !
+ > infixl 9 //
+@@ -292,4 +292,4 @@
+ @prefixLookup@ returns the list of all completions of the given list.
+
+ prefixLookup :: Ord a => FM [a] b -> [a] -> [([a], b)]
+- prefixLookup (FM f) s = [ b | Assoc b@(a, _)<-f, s `isPrefixOf` a ]
+\ No newline at end of file
++ prefixLookup (FM f) s = [ b | Assoc b@(a, _)<-f, s `isPrefixOf` a ]
+Index: frown-0.6.1/Lib/OrdUniqListSet.lhs
+===================================================================
+--- frown-0.6.1.orig/Lib/OrdUniqListSet.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Lib/OrdUniqListSet.lhs 2012-03-15 14:19:55.000000000 +0100
+@@ -59,8 +59,8 @@
+ > import qualified Prelude
+ > import qualified OrdUniqList as OUL
+ > import Prettier hiding ( empty )
+-> import qualified List
+-> import Monad
++> import qualified Data.List as List
++> import Control.Monad
+
+ %-------------------------------------------------------------------------------
+ \subsection{Type definitions and instance declarations}
+Index: frown-0.6.1/Lookahead.lhs
+===================================================================
+--- frown-0.6.1.orig/Lookahead.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Lookahead.lhs 2012-03-15 14:16:21.000000000 +0100
+@@ -42,9 +42,9 @@
+ > import qualified Prettier as PP
+ > import Base
+ > import Options
+-> import IO
+-> import Maybe
+-> import Monad ( when )
++> import System.IO
++> import Data.Maybe
++> import Control.Monad ( when )
+
+ %-------------------------------= --------------------------------------------
+ \section{Grouping of actions}
+Index: frown-0.6.1/Options.lhs
+===================================================================
+--- frown-0.6.1.orig/Options.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Options.lhs 2012-03-15 14:12:01.000000000 +0100
+@@ -33,8 +33,8 @@
+ > where
+ > import Base
+ > import System.Console.GetOpt
+-> import Char
+-> import IO
++> import Data.Char
++> import System.IO
+
+ %-------------------------------= --------------------------------------------
+ \section{Command line options}
+@@ -149,4 +149,4 @@
+ > | otherwise = Signature False
+
+ > (<<) :: String -> String -> Bool
+-> s << t = map toLower s `isPrefix` map toLower t
+\ No newline at end of file
++> s << t = map toLower s `isPrefix` map toLower t
+Index: frown-0.6.1/SearchTree.lhs
+===================================================================
+--- frown-0.6.1.orig/SearchTree.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/SearchTree.lhs 2012-03-15 14:11:29.000000000 +0100
+@@ -32,7 +32,7 @@
+ > , length, lookup, unsafeLookup )
+ > where
+ > import MergeSort ( mergeSortBy )
+-> import Maybe ( fromMaybe )
++> import Data.Maybe ( fromMaybe )
+ > import Prelude hiding ( length, lookup )
+ > import qualified Prelude
+
+Index: frown-0.6.1/Stackless.lhs
+===================================================================
+--- frown-0.6.1.orig/Stackless.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Stackless.lhs 2012-03-15 14:12:44.000000000 +0100
+@@ -47,10 +47,10 @@
+ > import Base
+ > import Generate
+ > import MergeSort
+-> import Char
+-> import Maybe
+-> import IO
+-> import Monad
++> import Data.Char
++> import Data.Maybe
++> import System.IO
++> import Control.Monad
+ > import Prelude hiding ( lookup )
+
+ Characteristics.
+@@ -311,4 +311,4 @@
+
+ > wrap s = prefix opts ++ s ++ suffix opts
+ > wrap_var s = var (wrap s)
+-> wrap_con s = con (wrap s)
+\ No newline at end of file
++> wrap_con s = con (wrap s)
+Index: frown-0.6.1/Standard.lhs
+===================================================================
+--- frown-0.6.1.orig/Standard.lhs 2012-03-15 13:09:04.000000000 +0100
++++ frown-0.6.1/Standard.lhs 2012-03-15 14:19:39.000000000 +0100
+@@ -47,9 +47,9 @@
+ > import Options
+ > import Base
+ > import Generate
+-> import Char
+-> import IO
+-> import Maybe
++> import Data.Char
++> import System.IO
++> import Data.Maybe
+ > import Prelude hiding ( lookup )
+
+ Characteristics.
+@@ -293,4 +293,4 @@
+
+ > wrap s = prefix opts ++ s ++ suffix opts
+ > wrap_var s = var (wrap s)
+-> wrap_con s = con (wrap s)
+\ No newline at end of file
++> wrap_con s = con (wrap s)
diff --git a/p/frown/debian/patches/series b/p/frown/debian/patches/series
new file mode 100644
index 0000000..1822442
--- /dev/null
+++ b/p/frown/debian/patches/series
@@ -0,0 +1,8 @@
+01_imagen-creates-png-files
+02_ignore-hugs-version-in-test-frown
+03_update-empty.out
+04_manual-typos
+05_only-build-pdf
+06_utf8
+07_no-n-plus-k-pattern
+ghc-7.4.1-compat
diff --git a/p/frown/debian/rules b/p/frown/debian/rules
new file mode 100755
index 0000000..8c89f72
--- /dev/null
+++ b/p/frown/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_COMPRESS_EXCLUDE = .pdf
+DEB_MAKE_BUILD_TARGET = frown man
+DEB_MAKE_INSTALL_TARGET = install PREFIX="$(DEB_DESTDIR)usr" doc="$(DEB_DESTDIR)usr/share/doc/frown-doc"
+DEB_MAKE_CLEAN_TARGET = distclean
+# DEB_MAKE_CHECK_TARGET = test
+
+clean::
+ dh_testdir
+ rm -f Manual/Manual.pdf Manual/Manual.ps Manual/Manual.dvi Manual/Manual.tex
+ rm -rf Manual/html Manual/Manual[0-9]*.png Manual/*_motif.gif
+
+common-install-prehook-arch::
+ dh_testdir
+ mkdir -p debian/tmp/usr/bin
+
+common-install-prehook-indep::
+ dh_testdir
+ mkdir -p debian/tmp/usr/bin
+
+binary-post-install/frown::
+ dh_testdir
+ rm debian/frown/usr/share/doc/frown/README
+
+binary-post-install/frown-doc::
+ rm debian/frown-doc/usr/share/doc/frown-doc/README
+ rm debian/frown-doc/usr/share/doc/frown-doc/examples/manual/Sessions.lhs
+ rm debian/frown-doc/usr/share/doc/frown-doc/examples/manual/TestFrown.lhs
+
+.PHONY: update-debian-control
diff --git a/p/frown/debian/source/format b/p/frown/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/frown/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/frown/debian/watch b/p/frown/debian/watch
new file mode 100644
index 0000000..0b24c8f
--- /dev/null
+++ b/p/frown/debian/watch
@@ -0,0 +1 @@
+# IGNORE: dead upstream
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list