debian/0000755000000000000000000000000012147643175007200 5ustar debian/watch0000644000000000000000000000033412036252161010215 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|hscolour-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/hscolour \ ([\d\.]*\d)/ debian/control0000644000000000000000000000415012147637141010577 0ustar Source: hscolour Priority: extra Section: haskell Maintainer: Debian Haskell Group Uploaders: Erik de Castro Lopo Build-Depends: debhelper (>= 9), cdbs, haskell-devscripts (>= 0.8.15), ghc, ghc-prof Build-Depends-Indep: ghc-doc Standards-Version: 3.9.4 Homepage: http://code.haskell.org/~malcolm/hscolour/ Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hscolour Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/hscolour Package: hscolour Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Haskell program to colourise Haskell code HsColour currently has five output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes. Package: libghc-hscolour-dev Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: ${haskell:Suggests}, drift (>= 2.2.0) Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Description: GHC libraries for colourising Haskell code${haskell:ShortBlurb} HsColour currently has five output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes. . ${haskell:Blurb} Package: libghc-hscolour-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Suggests: ${haskell:Suggests} Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Description: Profiling libraries for colourising Haskell code${haskell:ShortBlurb} HsColour currently has five output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes. . ${haskell:Blurb} Package: libghc-hscolour-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Documentation for libghc-hscolour-dev${haskell:ShortBlurb} HsColour currently has five output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes. . ${haskell:Blurb} debian/rules0000755000000000000000000000206512130031222010233 0ustar #!/usr/bin/make -f # Standard way of building Haskell binary. include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk # In order to generated colourised HTML for the libghc-hscolour-doc package # we need a special hack because the colour docs are generated by an executable # create by this package and we don't want this package to depend on itself. pwd := $(shell pwd) # Modify the GHC configure parameters to point to a local version of # HsColour. DEB_SETUP_GHC_CONFIGURE_ARGS += --with-hscolour=$(pwd)/hscolour-wrapper # Generate a fake version of the executable (a trivial shell script) which is # available at configure time. This shell script will exec the real HsColour # executable if it can be found. If it can't be found it will give a sensible # result for a version request (which is enough to fool haddock) and exit with # an error for anything else. hscolour-wrapper : debian/hscolour-wrapper cp $+ $@ chmod u+x $@ # Force generation of the wrapper script. dist-ghc : hscolour-wrapper clean :: rm -f hscolour-wrapper debian/hscolour.links0000644000000000000000000000004212036252161012060 0ustar usr/bin/HsColour usr/bin/hscolour debian/changelog0000644000000000000000000001014412147643175011052 0ustar hscolour (1.20.3-2) unstable; urgency=low * Bump haskell-devscripts dependency, due to new features * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:52:45 +0200 hscolour (1.20.3-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 Wed, 17 Oct 2012 20:57:59 +0200 hscolour (1.19-3) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Joachim Breitner Sat, 04 Feb 2012 19:33:10 +0100 hscolour (1.19-2) unstable; urgency=low * Create a /usr/bin/hscolour symlink pointing to /usr/bin/HsColour, for discoverability (Closes: #648728) -- Iain Lane Mon, 14 Nov 2011 15:01:40 +0000 hscolour (1.19-1) unstable; urgency=low * New upstream release * Use proper Homepage * Bump standards version, no change -- Joachim Breitner Sun, 19 Jun 2011 12:34:40 +0200 hscolour (1.17-1) unstable; urgency=low [ Erik de Castro Lopo ] * New upstream. * Use hscolour.manpages to install man pages instead of *.install. * debian/control : Standards version 3.9.0 [ Joachim Breitner ] * Remove doc-base file per Haskell policy * ghc6 → ghc -- Joachim Breitner Wed, 13 Apr 2011 12:04:52 +0530 hscolour (1.16-1) unstable; urgency=low * New upstream version. * Split Build-Depends in Build-Depends-Indep. * debian/source/format: Use 3.0 (quilt). -- Marco Túlio Gontijo e Silva Sun, 21 Feb 2010 08:55:53 -0300 hscolour (1.15-2) unstable; urgency=low [ 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: Add field Provides: ${haskell:Provides} to -dev and -prof packages. * debian/control: Add Vcs-Darcs: field. * debian/control: Use Vcs-Browser: field. * debian/control: Remove haddock from Build-Depends:, since it's now a Depends: of haskell-devscripts. * debian/control: Bump Standards-Version: to 3.8.4, no changes needed. * Use debian/compat 7. * debian/control: Use more sintetic link in Homepage:. [ Joachim Breitner ] * Bump haskell-devscripts dependency to 0.7 -- Joachim Breitner Sat, 20 Feb 2010 18:21:37 +0100 hscolour (1.15-1) unstable; urgency=low * New upstream release. * debian/control - Update haskell-devscripts version dependency. - Do not suggest non-existant hscolour-doc. Closes: #541768. - Move Build-Depends-Indep entries to Build-Depends. - Clean up Depends/Recommends/Suggests. - Standards-Version 3.8.3. * Add doc-base registration for libghc6-hscolour-doc. -- Erik de Castro Lopo Mon, 7 Sep 2009 20:24:16 +1000 hscolour (1.13-1) unstable; urgency=low * New upstream release. Closes: #469801. * Provide a man page for HsColour binary. Closes: #515651. * debian/control: - Standards version 3.8.2. - Section haskell. - Set maintainer to Debian Haskell Group. Previous maintainer put it up for adoption on debian-haskell mailing list. Thanks Ian. - Add myself to Uploaders. - Remove irrelevant section of Description. - Add libghc6-hscolour-(dev|prof|doc) Binary package outputs. * debian/rules: - Replace debhelper with haskell-devscripts build including a special hack to generate colourised docs for libghc6-hscolour-doc with the just built HsColour. * debian/compat version 5. * Add debian/watch file which points at hackage.haskell.org. -- Erik de Castro Lopo Sun, 12 Jul 2009 16:28:01 +1000 hscolour (1.8-1) unstable; urgency=low * Initial release. -- Ian Lynagh (wibble) Tue, 15 May 2007 14:12:53 +0000 debian/source/0000755000000000000000000000000012036252161010464 5ustar debian/source/format0000644000000000000000000000001412036252161011672 0ustar 3.0 (quilt) debian/HsColour.10000644000000000000000000000444112036252161011007 0ustar .de EX .ne 5 .if n .sp 1 .if t .sp .5 .nf .in +.5i .. .de EE .fi .in -.5i .if n .sp 1 .if t .sp .5 .. .TH HSCOLOUR "1" "July 2009" "HsColour" "User Commands" .SH NAME HsColour \- generate colourised output for Haskell code .SH SYNOPSIS .B HsColour \fIoptions \fR[\fIfile.hs\fR] .SH DESCRIPTION HsColour is a program that colourises Haskell code. It currently has six output formats: ANSI terminal codes, HTML 3.2 with tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat client codes. .SS "Flag reference:" .TP \fB\-version\fR Print out version information. .TP \fB\-help\fR A rudimentary help message. .TP \fB\-o\fROUTPUT Write the output to the specified file. .TP \fB\-tty\fR Write output with ANSI terminal code colours (this is the default). .TP \fB\-html\fR Write output in HTML 3.2 format with font tags. .TP \fB\-css\fR Write output in HTML 4.01 format with CSS styling. .TP \fB\-icss\fR Write output in XHTML 1.0 format with inline CSS styling. .TP \fB\-latex\fR Write output as LaTeX source code. .TP \fB\-mirc\fR Output for IRC. .TP \fB\-lit\fR When outputting HTML etc, inform HsColour that the input Haskell code is Literate Haskell. .TP \fB\-lit-tex\fR When outputting LaTeX, inform HsColour that the input Haskell code is Literate Haskell. .TP \fB\-anchor\fR In HTML mode add named anchors. .TP \fB\-partial\fR Create output fragments (ie omit the HTML DOCTYPE header, CSS stylesheet link, or LaTeX prologue) for embedding in a larger document. .TP \fB\-print-css\fR Print out the default CSS definitions, in case you lose the .css file. .TP \fB\-nolit\fR Turn off \fB\-lit\fR mode. .TP \fB\-noanchor\fR Turn off \fB\-anchor\fR mode. .TP \fB\-nopartial\fR Turn off \fB\-partial\fR mode. .TP The HsColour homepage is at http://www.cs.york.ac.uk/fp/darcs/hscolour/ . .SH COPYRIGHT Copyright \(co 2003-2009 Malcolm Wallace and Bjorn Bringert .PP This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. .SH AUTHOR The text for this page was constructed from HsColour's main web page by Erik de Castro Lopo , for the Debian GNU/Linux system (but may be used by others). debian/compat0000644000000000000000000000000212147616401010366 0ustar 9 debian/hscolour.haskell-binaries0000644000000000000000000000001112130031222014135 0ustar HsColour debian/copyright0000644000000000000000000000145612036252161011125 0ustar This package was initially debianised by Ian Lynagh on Thu, 08 Nov 2007. All of the Debian packaging scripts are released into the public domain. Further packaging by Erik de Castro Lopo on 12 July 2009, which added libghc6-hscolour-(dev|doc|prof) binary packages. The *-doc package was rather tricky as explained in the debian/rules file. This packaging stuff is also released into the public domain. It was downloaded from http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hscolour Upstream Author: Malcolm Wallace Copyright: Copyright (c) 2003-2009 Malcolm Wallace, University of York Copyright (c) 2006 Bjorn Bringert hscolour is distributed under the Gnu GPL version 2, which can be found in the file /usr/share/common-licenses/GPL-2 on Debian systems. debian/hscolour-wrapper0000644000000000000000000000113012036252161012416 0ustar #!/bin/sh # A wrapper around the HsColour executable. # If the real HsColour exists, run it. if test -x dist/build/HsColour/HsColour ; then exec dist/build/HsColour/HsColour "$@" elif test -x dist-ghc/build/HsColour/HsColour ; then exec dist-ghc/build/HsColour/HsColour "$@" fi # If the real HsColour doesn't exist, at least do something sensible when # asked for the version. haddock asks for version >= 1.8 so return 1.9. case "$1" in -version|--version) echo 'HsColour 1.9' exit 0 ;; *) ;; esac # Should never get to here so exit with error. echo "hscolour-wrapper : $@" exit 1 debian/hscolour.manpages0000644000000000000000000000002212036252161012531 0ustar debian/HsColour.1