debian/0000755000000000000000000000000012216357260007172 5ustar debian/copyright0000644000000000000000000000342212036246740011126 0ustar This package was originally debianized by Michael Weber on Sat, 26 Jun 1999 17:52:29 +0200 and then taken over by Ian Lynagh on 2003-08-30. The Debian Haskell group adopted the package in September 2009. It was downloaded from http://haskell.org/happy/happy-1.16rc2.tar.gz Upstream Author: Simon Marlow (simonmar@microsoft.com) Copyright: Copyright 2001, Simon Marlow and Andy Gill. All rights reserved. Extensions to implement Tomita's Generalized LR parsing: Copyright 2004, University of Durham, Paul Callaghan and Ben Medlock. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/docs0000644000000000000000000000002612036246740010043 0ustar ANNOUNCE README TODO debian/watch0000644000000000000000000000032612036246741010225 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|happy-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/happy \ ([\d\.]*\d)/ debian/compat0000644000000000000000000000000212147616103010365 0ustar 9 debian/happy.install0000644000000000000000000000004512036246740011702 0ustar doc/happy/* usr/share/doc/happy/html debian/control0000644000000000000000000000300012150230067010556 0ustar Source: happy Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Iain Lane Standards-Version: 3.9.4 Build-Depends: cdbs (>= 0.4.59), haskell-devscripts (>= 0.8.13), debhelper (>= 9), autoconf, docbook-utils, ghc, docbook-xsl, docbook-xml, xsltproc, libghc-mtl-dev, happy Homepage: http://www.haskell.org/happy Vcs-Darcs: http://darcs.debian.org/pkg-haskell/happy Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/happy Package: happy Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: haskell-doc, info-browser, ${haskell:Suggests} Replaces: ghc-cvs (<< 20031221) Description: Parser generator for Haskell Happy is a parser generator system for Haskell, similar to the tool `yacc' for C. Like `yacc', it takes a file containing an annotated BNF specification of a grammar and produces a Haskell module containing a parser for the grammar. . Happy is flexible: you can have several Happy parsers in the same program, and several entry points to a single grammar. Happy can work in conjunction with a lexical analyser supplied by the user (either hand-written or generated by another program), or it can parse a stream of characters directly (but this isn't practical in most cases). debian/happy.manpages0000644000000000000000000000001412036246740012023 0ustar doc/happy.1 debian/README.source0000644000000000000000000000350712036246740011356 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/rules0000755000000000000000000000271512036246741010260 0ustar #! /usr/bin/make -f # Made with the aid of dh_make, by Craig Small # debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. # Some lines taken from debmake, by Cristoph Lameter. # Largely rewritten for the Cabalised happy by Ian Lynagh in 2006. # Largely rewritten for cdbs and hlibrary.mk by Iain Lane in 2009. DEB_BUILD_DEPENDENCIES = build-arch DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/happy --docdir=/usr/share/doc/happy include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk include /usr/share/cdbs/1/rules/utils.mk clean:: [ ! -f doc/config.mk ] || $(MAKE) -C doc clean rm -f debian/get_version.o debian/get_version.hi debian/get_version rm -f doc/happy.1 # Hacks: rm -f doc/config.log doc/config.status doc/config.mk doc/configure configure/happy:: # doc/configure is not shipped, generate it cd doc && autoconf && rm -r autom4te.cache && ./configure --prefix=/usr # used in build to stick version into man page ghc --make debian/get_version.hs -o debian/get_version build/happy:: build-ghc-stamp $(MAKE) -C doc html sed -e "s#@LIBDIR@#/usr/share/happy-`debian/get_version`#g" \ -e "s#@DOCDIR@#/usr/share/doc/happy#g" \ -e "s#@VERSION@#`debian/get_version`#g" \ doc/happy.1.in > doc/happy.1 # install templates to appropriate directory binary-post-install/happy:: $(DEB_SETUP_BIN_NAME) copy --builddir=dist-ghc --destdir=debian/happy rm -f debian/happy/usr/share/doc/happy/LICENSE debian/happy.examples0000644000000000000000000000001312036246740012045 0ustar examples/* debian/doc-base0000644000000000000000000000071012036246740010570 0ustar Document: happy Title: Happy User's manual Author: Simon Marlow (simonm@microsoft.com) Abstract: Happy is a parser generator system for Haskell, similar to the tool yacc for C. Like yacc, it takes a file containing an annotated BNF specification of a grammar and produces a Haskell module containing a parser for the grammar. Section: Programming/Haskell Format: HTML Index: /usr/share/doc/happy/html/index.html Files: /usr/share/doc/happy/html/*.html debian/get_version.hs0000644000000000000000000000073012036246740012052 0ustar module Main (main) where import Data.Version ( showVersion ) import Distribution.Package import Distribution.PackageDescription import Distribution.PackageDescription.Parse ( readPackageDescription ) import Distribution.Simple.Utils import Distribution.Verbosity import Distribution.Version main :: IO () main = do fp <- findPackageDesc "." pd <- readPackageDescription normal fp putStr $ showVersion $ pkgVersion $ package $ packageDescription pd debian/changelog0000644000000000000000000003302612216357260011050 0ustar happy (1.19.0-1) unstable; urgency=low * Fix Vcs-Darcs url: http://darcs.debian.org/ instead of http://darcs.debian.org/darcs/ * New upstream release -- Joachim Breitner Wed, 18 Sep 2013 19:11:12 +0200 happy (1.18.10-2) unstable; urgency=low * Enable compat level 9 -- Joachim Breitner Fri, 24 May 2013 12:49:45 +0200 happy (1.18.10-1) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change * New upstream release -- Joachim Breitner Sat, 20 Oct 2012 00:13:49 +0200 happy (1.18.9-1) unstable; urgency=low * New upstream release * Simplify build setup a bit -- Joachim Breitner Tue, 07 Feb 2012 21:40:11 +0100 happy (1.18.6-1) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 [ Joachim Breitner ] * New upstream release -- Joachim Breitner Tue, 29 Mar 2011 13:55:39 +0530 happy (1.18.4-2) unstable; urgency=low [ Iain Lane ] * debian/rules: Remove doc/configure in clean, forgotten before and caused package to be unclean. [ Marco TĂșlio Gontijo e Silva ] * debian/control: Change Priority: to extra. * debian/watch: Use format that works for --download-current-version. * debian/watch: Add .tar.gz to downloaded filename. * debian/watch: Include package name in downloaded .tar.gz. * debian/watch: Remove spaces, since they're not allowed by uscan. * debian/control: Bump Standards-Version: to 3.8.4, no changes needed. * debian/control: Bump version of Build-Depends: on haskell-devscripts to 0.7 and remove versioned Build-Depends: on ghc6. * Use 3.0 (quilt) format. -- Marco TĂșlio Gontijo e Silva Sun, 21 Feb 2010 07:31:12 -0300 happy (1.18.4-1) unstable; urgency=low * New upstream release 1.18.4 - New feature: EBNF-style paramterized macros, thanks to Iavor Diatchki. - Works with Cabal 1.2, 1.4 and 1.6 - A few minor bugfixes + Manpage now correctly specifies options required for -d to work (Closes: #326952) * debian/control, debian/copyright, debian/rules: Adopt for Debian Haskell Group, add myself to Uploaders and remove Ian Lynagh (Igloo). Thanks for your previous maintainership. Add VCS information. * debian/control: Update long description * debian/control: Standards-version 3.8.3 - Section: haskell - Add debian/README.source for new patchsys * debian/rules, debian/control, debian/happy.*, debian/compat: Fairly major rewrite to use cdbs and hlibrary.mk * debian/control, debian/patches/templates_path.patch, debian/rules: Add quilt patchsys and patch Setup.lhs to install templates in out/ directory. They are usually installed in the build root which means there is no easy way to install them all at once. * debian/rules, debian/control: Upstream doesn't ship doc/configure required for the doc build - use autoconf to generate it at build-time. Requires a build-dep on autoconf. -- Iain Lane Sun, 04 Oct 2009 13:31:04 +0100 happy (1.17-0.2) unstable; urgency=low * Non-maintainer upload. * Apply patch from Ruben Molina and Matt Kraai to fix FTBFS with a recent GHC6. (Closes: #516425). -- Aurelien Jarno Mon, 17 Aug 2009 18:26:15 +0200 happy (1.17-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release: (Closes: #470942) - Cabal 1.2 is now required. (Closes: #460375) - Works with upcoming GHC 6.8.1 - Fix the 'parE' bug (poor error message for errors in the grammar) - Some performance improvements to Happy itsel * debian/control: - Added Homepage field. - Bump the build dependency on ghc6 to 6.8.2 as the packages needs Cabal 1.2 to build. - Bump the Standards-Version to 3.7.3. No changes needed. - Add happy and libghc6-mtl-dev to the build dependencies. * debian/copyright: - Fix debian-copyright-file-uses-obsolete-national-encoding lintian warning. - Update debian/copyright file with info from upstream LICENSE file. * debian/doc-base: - Adjust section to Programming/Haskell * debian/get_version.hs: Updated for Cabal 1.2 * debian/rules: - Fix debian-rules-ignores-make-clean-error lintian warning. - Remove the LICENSE installed by ./setup copy -- Arjan Oosting Thu, 01 May 2008 12:05:29 +0200 happy (1.16~rc2-1) unstable; urgency=low * New upstream (release candidate) version. * Removed happy/ prefixes from various paths in debian/rules and debian/docs. * doc/configure generated by autoconf is in the Debian diff. * Build using cabal: * Various debian/rules changes. * Create debian/get_version.hs for extracting the version from the cabal file. * Requires ghc6 >= 6.4.2. * No longer tries to detect platform. Closes: #340325, #332979. * Removed autotool-dev build-dep. * Add 'XSLTPROC_OPTS = --nonet' to doc/config.mk.in. * Remove src/Parser.ly and src/AttrGrammarParser.ly before cleaning so the generated files don't get cleaned. * Set Standards-Version to 3.7.2 (no changes needed). * Removed PS and DVI stanzas from debian/doc-base as we don't build the documentation those ways. * Removed content-free postinst and prerm. -- Ian Lynagh (wibble) Thu, 26 Oct 2006 22:52:14 +0000 happy (1.15-2) unstable; urgency=low * Revert unnecessary strictification of ghc6 build-dep to make backports simpler. * Build-dep on docbook-xml so we don't need to get things from the 'net when building. -- Ian Lynagh (wibble) Tue, 13 Sep 2005 17:58:31 +0100 happy (1.15-1.1) unstable; urgency=low * NMU to make installable in unstable. * Rebuild against newer GHC6 to link to appropriate libgmp. * Remove ghc5 from build-depends in debian/control. * Updated build-depends on ghc6 to 6.4-4.1 to make sure that the package gets built with the appropriate ghc6 that includes the libgmp fix. -- John Goerzen Fri, 9 Sep 2005 06:33:04 -0500 happy (1.15-1) unstable; urgency=low * New upstream version. * Don't build ps documentation due to xmltex bug #181444 and friends. * Build-dep on xsltproc, docbook-xsl for the HTML documentation. -- Ian Lynagh (wibble) Fri, 28 Jan 2005 22:47:45 +0000 happy (1.14-1) unstable; urgency=low * New upstream version. * Change how configure/config.sub/config.guess are handled in line with /usr/share/doc/autotools-dev/README.Debian.gz. * Added mipsel and x86_64 to configure{,.ac}. Closes: #253166. * Get rid of unportable {a,b} syntax in debian/rules. * Say we replace ghc-cvs (<< 20031221) as old ghc-cvs accidentally included happy. -- Ian Lynagh (wibble) Thu, 08 Jul 2004 23:15:11 +0000 happy (1.13-0tarball-5) unstable; urgency=low * Fix pragmas (missing #) in Parser.hs as recent GHCs were barfing. -- Ian Lynagh (wibble) Sat, 03 Apr 2004 15:51:47 +0000 happy (1.13-0tarball-4) unstable; urgency=low * Add cases for various arches to configure{,.in} -- Ian Lynagh (wibble) Tue, 16 Sep 2003 11:52:10 +0000 happy (1.13-0tarball-3) unstable; urgency=low * Apply fix for repeated productions from upstream. Closes: #191610. * happy/src/happy.sh is still POSIX sh, so no need to make it use bash. -- Ian Lynagh (wibble) Tue, 09 Sep 2003 20:32:52 +0000 happy (1.13-0tarball-2) unstable; urgency=low * Tweak support for sparc Linux in configure/configure.in -- Ian Lynagh (wibble) Wed, 03 Sep 2003 02:43:34 +0000 happy (1.13-0tarball-1) unstable; urgency=low * New maintainer. * Use the tarball rather than CVS. Means flex-old and happy are no longer needed. Alter configure/configure.in to not require (f)lex. Closes: #189885. * Add support for sparc to configure/configure.in and change arch to any. Closes: #206930. * Put 4 in debian/compat and update debhelper build-dep to match. * README.Debian removed as it no longer applies. * General debian/rules tidyup. * Prefer simple changes in .diff.gz rather than a patch system, especially as the number needed has dropped (and will hopefully drop further in the future). * Allow ghc6 as an alternative to ghc5 as a build-dep. -- Ian Lynagh (wibble) Sat, 30 Aug 2003 13:21:53 +0000 happy (1.13-1.1) unstable; urgency=low * NMU. * Updated config.sub and config.guess files. * Change Build-Depends slightly so it should build from source. (Closes: Bug#189885). -- Thomas Smith Wed, 20 Aug 2003 18:39:48 -0500 happy (1.13-1) unstable; urgency=low * CVS Version from 2002-07-16 (1.13) [tag: happy-1-13] * Makefile cleanups (pwd -> CURDIR, = -> :=, etc.) * fixed messed up Parser.hs dependencies (happy_parser_derived_hack.dpatch) * fixed buggy shell quoting in happy driver script (happy_driver_quoting.dpatch) -- Michael Weber Fri, 19 Jul 2002 14:30:30 +0200 happy (1.11-3) unstable; urgency=low * added flex to build-deps (only needed for sgmlverb) (closes: Bug#133735) -- Michael Weber Wed, 13 Feb 2002 17:25:16 +0100 happy (1.11-2) unstable; urgency=low * replaced build-dep cygnus-stylesheets with docbook-utils (closes: Bug#123177) * changed happy.html to index.html in doc=base and added link to book1.html (it changed *again*, probably due to new docbook-utils) * bumped Standards-Version to 3.5.6.0 -- Michael Weber Mon, 28 Jan 2002 17:26:05 +0100 happy (1.11-1) unstable; urgency=low * CVS Version from 2001-10-15 (1.11) [tag: happy-1-11] * adjusted happy_distrib-makefile.dpatch and debian_glafp-utils_docbook.dpatch * removed libdir cruft from debian/rules (no longer needed) -- Michael Weber Mon, 15 Oct 2001 16:53:26 +0200 happy (1.9+1.10.20010417-1) unstable; urgency=low * oops, major happy breakage (my fault), now fixed * added some more build-deps -- Michael Weber Tue, 17 Apr 2001 13:34:46 +0200 happy (1.9-2) unstable; urgency=low * recompile with ghc-5.00 against libgmp3 * some fixes needed for ghc-5.00 (already in unstable-CVS) * updated manpage once again (minor fixes) -- Michael Weber Sat, 14 Apr 2001 22:08:37 +0200 happy (1.9-1) unstable; urgency=low * CVS Version from 2000-12-22 (1.9) [tag: happy-1-9] * first upload as proper maintainer * removed Emacs local variable (email) from changelog * folded in aaronv's changelog entry to reflect the past correctly * removed obsolete patch (happy_mk.dpatch) * removed obsolete patch (happy_glaexts.dpatch) * changed book1.html to happy.html in doc-base (tracking upstream) * temporary removed "&the-index;" because genindex.sgml is not available on Debian * updated man page * changed email address to @debian.org -- Michael Weber Sat, 14 Apr 2001 22:08:32 +0200 happy (1.7-1) unstable; urgency=low * !!NOTE!! This version replaced aaronv's upload of 1.6-8 (thanks to wli@debian.org for the sponsor upload). * CVS Version from 2000-06-15 (1.7) * first steps of sync'ing the build process with reality * copied rules.local from ghc4 package * adjusted {build,clean} targets * removed building of docbook (debian_glafp-utils_docbook.dpatch) * fixed various build issues * changed html index file to book1.html * added Build-Depends * updated debian_build.dpatch * bumped Standards-Version to 3.1.0 * added sgml documentation * updated README.debian with building hints * re-changed Arch: to i386 -- Michael Weber Fri, 22 Dec 2000 20:58:16 +0100 happy (1.6-8) unstable; urgency=low * First revision to be uploaded to Debian * Changed maintainer fields where necessary * Changed binary packages to Architecture: any -- Aaron Van Couwenberghe Tue, 30 Nov 1999 14:27:47 -0800 happy (1.6-7) unstable; urgency=low * bumped Standards-Version to 3.0.1 * added doc-base entry * moved (un)patch rules to debian/rules.local -- Michael Weber Wed, 17 Nov 1999 18:19:39 +0100 happy (1.6-6) unstable; urgency=low * made happy work again with ghc_4.04.19990916-1 (toInt/fromInt now in GlaExts) * removed Recommends for non-existant virtual package * added info-browser to Suggests * improved building process (targets clean,build) -- Michael Weber Sun, 19 Sep 1999 21:05:27 +0200 happy (1.6-5) unstable; urgency=low * changed to Standards-Version 3.0.0.0 * moved usr/doc -> usr/share/doc (according to FHS) * wrote a manual page for happy(1) -- Michael Weber Wed, 4 Aug 1999 22:45:11 +0200 happy (1.6-4) unstable; urgency=low * moved to patch system (taken from glibc package) * CVS version of 1999/07/31 -- Michael Weber Sat, 31 Jul 1999 23:44:39 +0200 happy (1.6-3) unstable; urgency=low * first glibc-2.1.1 version -- Michael Weber Tue, 13 Jul 1999 15:52:03 +0000 happy (1.6-2) unstable; urgency=low * fixed README.Debian -- Michael Weber Tue, 6 Jul 1999 19:17:06 +0200 happy (1.6-1) unstable; urgency=low * Initial Release. -- Michael Weber Fri, 2 Jul 1999 18:32:57 +0200 Local variables: mode: debian-changelog End: debian/source/0000755000000000000000000000000012036246741010473 5ustar debian/source/format0000644000000000000000000000001412036246741011701 0ustar 3.0 (quilt)