[Pkg-haskell-commits] r1108 - in /packages/frown/trunk/debian: changelog control dirs frown-doc.doc-base frown-doc.install frown.doc-base frown.install rules

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Mar 16 22:42:16 UTC 2008


Author: arjan
Date: Sun Mar 16 22:42:16 2008
New Revision: 1108

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=1108
Log:
 r2697 at nebula:  arjan | 2008-03-16 22:10:38 +0100
 * 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.

Added:
    packages/frown/trunk/debian/frown-doc.doc-base
      - copied, changed from r674, packages/frown/trunk/debian/frown.doc-base
    packages/frown/trunk/debian/frown-doc.install
      - copied, changed from r674, packages/frown/trunk/debian/frown.install
Removed:
    packages/frown/trunk/debian/dirs
    packages/frown/trunk/debian/frown.doc-base
Modified:
    packages/frown/trunk/debian/changelog
    packages/frown/trunk/debian/control
    packages/frown/trunk/debian/frown.install
    packages/frown/trunk/debian/rules

Modified: packages/frown/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/changelog?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/changelog (original)
+++ packages/frown/trunk/debian/changelog Sun Mar 16 22:42:16 2008
@@ -1,3 +1,16 @@
+frown (0.6.1-8~pre1) 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 17:30:10 +0100
+
 frown (0.6.1-7) unstable; urgency=low
 
   * debian/control:

Modified: packages/frown/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/control?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/control (original)
+++ packages/frown/trunk/debian/control Sun Mar 16 22:42:16 2008
@@ -7,13 +7,14 @@
  texlive-latex-recommended | tetex-extra, 
  texlive-latex-extra | tetex-extra, texlive-math-extra | tetex-extra
 Standards-Version: 3.7.3
-Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/frown
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/frown
+Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/frown/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk
 Homepage: http://www.informatik.uni-bonn.de/~ralf/frown/index.html
 
 Package: frown
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: frown-doc (= ${source:Version})
 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)
@@ -51,3 +52,46 @@
  backtracking parsers, multiple start symbols, error reporting and a
  weak form of error correction.
 
+Package: frown-doc
+Architecture: any
+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.

Copied: packages/frown/trunk/debian/frown-doc.doc-base (from r674, packages/frown/trunk/debian/frown.doc-base)
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/frown-doc.doc-base?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/frown.doc-base (original)
+++ packages/frown/trunk/debian/frown-doc.doc-base Sun Mar 16 22:42:16 2008
@@ -3,11 +3,11 @@
 Author: Ralf Hinze
 Abstract: Manual for the parser generator frown, a LALR(k) parser
  generator for Haskell 98.
-Section: apps/devel
+Section: Programming
 
 Format: html
-Index: /usr/share/doc/frown/html/index.html
-Files: /usr/share/doc/frown/html/*.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/Manual.pdf
+Files: /usr/share/doc/frown-doc/Manual.pdf

Copied: packages/frown/trunk/debian/frown-doc.install (from r674, packages/frown/trunk/debian/frown.install)
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/frown-doc.install?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/frown.install (original)
+++ packages/frown/trunk/debian/frown-doc.install Sun Mar 16 22:42:16 2008
@@ -1,6 +1,7 @@
-QuickStart		usr/share/doc/frown/examples
-Manual/Examples/*.lg	usr/share/doc/frown/examples/manual
-Manual/Examples/*.lhs	usr/share/doc/frown/examples/manual
-Examples/*.g		usr/share/doc/frown/examples/other
-Examples/*.lg		usr/share/doc/frown/examples/other
-Examples/Haskell	usr/share/doc/frown/examples/other
+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

Modified: packages/frown/trunk/debian/frown.install
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/frown.install?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/frown.install (original)
+++ packages/frown/trunk/debian/frown.install Sun Mar 16 22:42:16 2008
@@ -1,6 +1,1 @@
-QuickStart		usr/share/doc/frown/examples
-Manual/Examples/*.lg	usr/share/doc/frown/examples/manual
-Manual/Examples/*.lhs	usr/share/doc/frown/examples/manual
-Examples/*.g		usr/share/doc/frown/examples/other
-Examples/*.lg		usr/share/doc/frown/examples/other
-Examples/Haskell	usr/share/doc/frown/examples/other
+debian/tmp/usr/bin

Modified: packages/frown/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/frown/trunk/debian/rules?rev=1108&op=diff
==============================================================================
--- packages/frown/trunk/debian/rules (original)
+++ packages/frown/trunk/debian/rules Sun Mar 16 22:42:16 2008
@@ -6,7 +6,7 @@
 
 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"
+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 
 
@@ -15,9 +15,17 @@
 	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
+
 binary-post-install/frown::
+	dh_testdir
 	rm debian/frown/usr/share/doc/frown/README
-	rm debian/frown/usr/share/doc/frown/examples/manual/Sessions.lhs
-	rm debian/frown/usr/share/doc/frown/examples/manual/TestFrown.lhs
+
+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




More information about the Pkg-haskell-commits mailing list