debian/0000775000000000000000000000000012257327306007177 5ustar debian/haskell-mode.emacsen-install0000775000000000000000000000300112257312663014542 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/haskell-mode # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . set -e FLAVOR=$1 PACKAGE=haskell-mode case ${FLAVOR} in emacs|emacs21|xemacs21) # emacs21 needs the "syntax" package, see README.md # xemacs21 is documented to be unsupported. # emacs is part of the debian infrastructure and not a target emacs. echo install/${PACKAGE}: Ignoring emacsen flavor ${FLAVOR} exit 0 ;; *) echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} ;; esac #FLAVORTEST=`echo $FLAVOR | cut -c-6` #if [ ${FLAVORTEST} = xemacs ] ; then # SITEFLAG="-no-site-file" #else # SITEFLAG="--no-site-file" #fi FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} # Install-info-altdir does not actually exist. # Maybe somebody will write it. if test -x /usr/sbin/install-info-altdir; then echo install/${PACKAGE}: install Info links for ${FLAVOR} install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz fi install -m 755 -d ${ELCDIR} cd ${ELDIR} FILES=$(echo *.el) cd ${ELCDIR} for i in ${FILES}; do ln -sf ${ELDIR}/$i $i done cat << EOF > path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) EOF ${FLAVOR} ${FLAGS} ${FILES} rm path.el exit 0 debian/rules0000775000000000000000000000153312257327177010267 0ustar #!/usr/bin/make -f %: dh $@ --parallel version=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.-]+)$$/\1/p') git_version=00000000 gitver=VERSION=$(version) GIT_VERSION=$(git_version) override_dh_auto_clean: dh_auto_clean -- $(gitver) override_dh_auto_build: dh_auto_build -- $(gitver) haskell-mode-autoloads.el haskell-mode.info override_dh_auto_install: override_dh_auto_test: dh_auto_test -- $(gitver) dest_dir=debian/haskell-mode icon_dir=usr/share/icons/locolor/scalable override_dh_install: dh_install sed --in-place \ -e 's/@VERSION@/$(version)/g' \ -e 's/@GIT_VERSION@/$(git_version)/g' \ debian/haskell-mode/usr/share/emacs/site-lisp/haskell-mode/*.el mkdir --parent $(dest_dir)/$(icon_dir) install --mode=a+r,u+w logo.svg $(dest_dir)/$(icon_dir)/haskell.svg override_dh_installchangelogs: dh_installchangelogs NEWS debian/compat0000664000000000000000000000000212257312663010375 0ustar 9 debian/patches/0000775000000000000000000000000012257323517010626 5ustar debian/patches/0001-logo-loco.patch0000664000000000000000000000214612257323517014122 0ustar From: "Barak A. Pearlmutter" Date: Fri, 8 Nov 2013 11:12:27 +0000 Subject: logo loco The file logo.svg contains the haskell logo. The upstream package expects it to be installed to the directory in which elisp files to be loaded are located. This would be strange on debian, since it would leave a SVG file in /usr/share/emacs/site-lisp/haskell-mode/logo.svg and then copied (or linked) to each emacsen flavour site-lisp/haskell-mode/ directory. Yuck. Instead we install it in a standard location for scalable icons. --- haskell-process.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-process.el b/haskell-process.el index a49ca93..fe7236f 100644 --- a/haskell-process.el +++ b/haskell-process.el @@ -187,7 +187,7 @@ imports become available?" "Greetings for when the Haskell process starts up.") (defconst haskell-process-logo - (expand-file-name "logo.svg" haskell-mode-pkg-base-dir) + "/usr/share/icons/locolor/scalable/haskell.svg" "Haskell logo for notifications.") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; debian/patches/0003-NEWS-loco.patch0000664000000000000000000000215312257323517013736 0ustar From: "Barak A. Pearlmutter" Date: Fri, 27 Dec 2013 16:34:14 +0100 Subject: NEWS loco The file NEWS contains the change log. The upstream package expects it to be installed, under the name NEWS, to the directory in which elisp files to be loaded are located. This would be strange on debian, since it is the upstream change log and hence belongs in the standard documentation directory under the name changelog.gz. --- haskell-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-mode.el b/haskell-mode.el index b65543d..a882d7a 100644 --- a/haskell-mode.el +++ b/haskell-mode.el @@ -178,7 +178,7 @@ When MESSAGE is non-nil, display a message with the version." (defun haskell-mode-view-news () "Display information on recent changes to haskell-mode." (interactive) - (with-current-buffer (find-file-read-only (expand-file-name "NEWS" haskell-mode-pkg-base-dir)) + (with-current-buffer (find-file-read-only (expand-file-name "changelog.gz" "/usr/share/doc/haskell-mode/")) (goto-char (point-min)) (hide-sublevels 1) (outline-next-visible-heading 1) debian/patches/series0000664000000000000000000000010512257323517012037 0ustar 0001-logo-loco.patch 0002-check-san-clean.patch 0003-NEWS-loco.patch debian/patches/0002-check-san-clean.patch0000664000000000000000000000121512257323517015141 0ustar From: "Barak A. Pearlmutter" Date: Fri, 27 Dec 2013 16:26:09 +0100 Subject: check san clean Do not invoke clean as a precondition of the check Makefile target: it deletes *.elc (which is not a problem) and also the generated haskell-mode.info and autoloads files, which need to be installed in the Debian binary package. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d360866..15b8d2c 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ $(ELCHECKS): check-%: %.el fi @echo "--" -check: clean $(ELCHECKS) +check: $(ELCHECKS) @echo "checks passed!" clean: debian/copyright0000664000000000000000000000366312257312663011142 0ustar This package was debianized by Tommi Virtanen tv@debian.org. It was then maintained by Antti-Juhani Kaijanaho and now by Isaac Jones and Petr Rockai . It was downloaded from http://www-perso.iro.umontreal.ca/~monnier/elisp/ or more recently: git://github.com/haskell/haskell-mode.git Upstream Authors: -Current Maintainer Stefan Monnier -The Base: Graeme E Moss and Tommy Thorn -Font Locking: Graeme E Moss and Tommy Thorn -Declaration Scanning: Graeme E Moss -Haskell-Doc: Hans-Wolfgang Loidl (temporarily Graeme E Moss) -Indentation: Guy Lapalme -Simple Indentation: Graeme E Moss (original author Heribert Schuetz) -Hugs Interaction: Guy Lapalme Copyright: Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss and Tommy Thorn Copyright (C) 1997 Hans-Wolfgang Loidl Copyright (C) 1998 Heribert Schuetz Copyright (C) 1998, 1999 Guy Lapalme Copyright (C) 2001 Chris Webb Copyright (C) 2007, 2008 Stefan Monnier Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Copyright (C) 2009 Kristof Bastiaensen This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This file 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 program. If not, see . On Debian GNU/Linux systems, the complete text of the GNU General Public License version 3 can be found in /usr/share/common-licenses/GPL-3'. debian/haskell-mode.emacsen-startup0000664000000000000000000000035312257312663014602 0ustar ;; ;; /etc/emacs/site-start.d/50haskell-mode.el ;; (let ((package-dir (concat "/usr/share/" (symbol-name flavor) "/site-lisp/haskell-mode"))) (debian-pkg-add-load-path-item package-dir)) (load "haskell-mode-autoloads") debian/watch0000664000000000000000000000017512257312663010233 0ustar version=3 opts=uversionmangle=s/_/./g \ http://githubredir.debian.net/github/haskell/haskell-mode/[a-z]*([\d\._]+)\.tar\.gz debian/changelog0000664000000000000000000002145112257326673011062 0ustar haskell-mode (13.10-2) unstable; urgency=medium * build dependency on texinfo for /usr/bin/makeinfo (closes: #730955) * no haskell-ghci.el breaking agda-mode (<< 2.3.2) (closes: #731326) -- Barak A. Pearlmutter Fri, 27 Dec 2013 17:38:40 +0100 haskell-mode (13.10-1) unstable; urgency=low * New upstream release -- Barak A. Pearlmutter Fri, 27 Dec 2013 16:00:34 +0100 haskell-mode (13.07-1) unstable; urgency=low * New upstream release (closes: #728957) * Expose development git repo (closes: #587903) * Try not to accidentally reject supported emacsen (closes: #667451) * dh9, stop using cdbs * bump policy * add current homepage * add self as uploader * update emacsen installation/startup * rm debian/debuild.opts (which supported building in a darcs repo) * generate/install info page. * update debian/copyright with current license and upstream repo * build dependency on emacs, needed to generate autoload file * preserve link to uncompiled autoloads file in emacsen flavour elc directory * point debian/watch at current upstream * add collab-maint packaging repo * substitute @VERSION@ and @GIT_VERSION@ in installed .el files * install upstream changelog, readme, examples * source format 3.0 (quilt) * install haskell logo, in debian-appropriate location * leave .el files linked into flavour dir to enable help, (closes: #679044) * installation no longer emits ELisp values (closes: #683629) * fill-paragraph breaks multi-line comments differently (closes: #575081) -- Barak A. Pearlmutter Fri, 08 Nov 2013 12:22:41 +0000 haskell-mode (2.8.0-2) unstable; urgency=low * Bug fix: "byte compiled .elc files not used", thanks to Kevin Ryde (Closes: #670357). * Bug fix: "interpreter-mode-alist entries", thanks to Kevin Ryde (Closes: #670356). * Update Standards-Version to 3.9.3 (no changes). -- David Bremner Sun, 24 Jun 2012 19:31:19 -0300 haskell-mode (2.8.0-1) unstable; urgency=low * New upstream release. * Bump standards version to 3.9.2 (no changes). * Bug fix: "haskell-mode should recommend ghc, not ghc6", thanks to Anders Kaseorg (Closes: #626872). -- David Bremner Wed, 31 Aug 2011 23:05:22 -0300 haskell-mode (2.7.0-2.1) unstable; urgency=low * Non-maintainer upload. * Ignore xemacs in emacsen-install (Closes: #568579) -- David Bremner Sat, 26 Mar 2011 13:03:15 -0300 haskell-mode (2.7.0-2) unstable; urgency=low * Remove a blunder in debian/watch. * Change section to "haskell", in agreement with override. * Extract copyright notices into debian/copyright. * Update policy version to 3.8.3. -- Petr Rockai Thu, 04 Feb 2010 17:59:43 +0100 haskell-mode (2.7.0-1) unstable; urgency=low * New upstream release (closes: #561830). * Recognize runghc/runhaskell scripts (closes: #427766). * Update debian/watch (closes: #450321). * Use the upstream autoload script (closes: #492517). * The problematic haskell-ghci-mode-map has been obliterated by upstream (closes: #369910). -- Petr Rockai Thu, 04 Feb 2010 17:32:03 +0100 haskell-mode (2.4-1) unstable; urgency=low * New upstream release. -- Petr Rockai Fri, 15 Feb 2008 13:09:49 +0100 haskell-mode (2.3-1) unstable; urgency=low * New upstream release (closes: #443400, #448658, #411955), * re-debianized, using cdbs and debhelper, * enabling the byte-compile of emacs-lisp sources (closes: #408260), * new maintainer, keeping Isaac as co-maintainer. -- Petr Rockai Thu, 06 Dec 2007 01:02:06 +0100 haskell-mode (2.1-1) unstable; urgency=low * New upstream release * Removed old debconf stuff (Closes: 331845, Closes: 237437) * removed hook for turn-on-haskell-font-lock (Closes: 306548) * fixed type for map (Closes: 316992) -- Isaac Jones Wed, 16 Nov 2005 22:28:12 -0800 haskell-mode (2.0-1) unstable; urgency=low * New upstream release. closes: 281998. * Updated copyright file to show new Debian and upstream maintainers. closes: 286769 * keybindings C-c have been replaced by C-c C- so as not to collide with minor modes. * The following modules are now automatically activated without having to add anything to haskell-mode-hook: haskell-font-lock (just turn on global-font-lock-mode). haskell-decl-scan (just bind `imenu' to some key). * In recent Emacsen, haskell-doc hooks into eldoc-mode. * haskell-hugs and haskell-ghci are superceded by inf-haskell. * Indentation rules have been improved when using layout inside parens/braces. * Symbols like -> and \ can be displayed as actual arrows and lambdas. See haskell-font-lock-symbols. * Tweaks to the font-lock settings. Among other things paren-matching with things like \(x,y) should work correctly now. * New upstream maintainer . -- Isaac Jones Wed, 22 Dec 2004 02:14:02 -0500 haskell-mode (1.45-2) unstable; urgency=low * Added watchfile. -- Isaac Jones Sat, 20 Nov 2004 14:13:25 -0800 haskell-mode (1.45-1) unstable; urgency=low * New upstream release * Bugs relating to indentation and comments seem to be fixed. closes: #46115, closes: #51821 * Not much information from upstream about changes. I'm not sure if this is exaustive: "Support for proper behaviour (including with Unicode identifiers) in Emacs 21 only hacked in messily to avoid disturbing the old stuff. Needs integrating more cleanly. Allow literate comment face to be customized. Some support for fontifying definitions." -- Isaac Jones Sat, 20 Nov 2004 13:09:01 -0800 haskell-mode (1.44-4) unstable; urgency=low * Changed the type of getLine from IO Char to IO String, closes: 282000 -- Isaac Jones Thu, 18 Nov 2004 17:40:15 -0800 haskell-mode (1.44-3) unstable; urgency=low * Added a load-path line to 50haskell-mode.el, closes: #229976 * Removed empty "haskell-mode" directory in $(emacs_d_dir) -- Isaac Jones Wed, 29 Jan 2004 00:15:25 -0500 haskell-mode (1.44-2) unstable; urgency=low * Installed files in a subdirectory of site-lisp, closes: #119263 * Updated standards-version * Added a few compilers to the "suggests" field * Updated description to include ghci * Removed backup (filename~) files from package * Updated maintainer's email address -- Isaac Jones Sat, 24 Jan 2004 19:02:53 -0500 haskell-mode (1.44-1) unstable; urgency=low * New upstream release, closes: #111476, #154894 * New maintainer, closes: #174854 * Switched to one-dot version number, which is what upstream uses. * Fixed small error in copyright file Author(s) -> Authors. * Removed FHS transition stuff from postinst script. * Updated standards version to 3.5.8. * Updated the Depends to emacs21. -- Isaac Jones Wed, 1 Jan 2003 17:11:02 -0500 haskell-mode (1.4.2-1) unstable; urgency=medium * New upstream release * debian/rules: Install debian/conffiles, closes: #132210. -- Antti-Juhani Kaijanaho Sat, 16 Feb 2002 21:52:32 +0200 haskell-mode (1.4.1-1) unstable; urgency=low * New upstream release, closes: #85405. -- Antti-Juhani Kaijanaho Wed, 29 Aug 2001 19:53:55 +0300 haskell-mode (1.4-1) unstable; urgency=low * New upstream release, closes: #106759. * Make this a non-native pkg (grr, Tv!) * debian/50-haskell-mode.el: Make haskell-doc-mode conditional on the Emacs version, closes: #56449. * debian/copyright: Fix GPL filename. * Converted from debhelper to my packaging scheme. * debian/control: Upgraded standards version * debian/control: Add real packages to the emacsen depends. * debian/50-haskell-mode.el: Turn off Hugs support. * debian/{templates,config,control,postinst.haskell-mode,rules}: Add debconf note about Hugs/GHCi support. -- Antti-Juhani Kaijanaho Sun, 26 Aug 2001 14:51:53 +0300 haskell-mode (1.3-3) unstable; urgency=low * New maintainer, closes: #92614 -- Antti-Juhani Kaijanaho Thu, 19 Jul 2001 17:24:04 +0300 haskell-mode (1.3-2) unstable; urgency=low * Rebuilt with newer debhelper (closes: bug#91495) * debian/control: changed Maintainer to Debian QA Group. -- Marcelo E. Magallon Fri, 13 Apr 2001 17:35:36 +0200 haskell-mode (1.3-1) unstable; urgency=low * New upstream source. * runhugs and runhugs98 scripts are opened with haskell-mode automatically (Closes: #39902). -- Tommi Virtanen Tue, 6 Jul 1999 13:50:44 +0300 haskell-mode (1.2-1) unstable; urgency=low * Initial Release. -- Tommi Virtanen Wed, 30 Dec 1998 03:26:04 +0200 debian/control0000664000000000000000000000202112257326623010576 0ustar Source: haskell-mode Section: haskell Priority: optional Maintainer: Petr Rockai Uploaders: Isaac Jones , David Bremner , Barak A. Pearlmutter Build-Depends: debhelper (>= 9), emacs24 | emacs23 | emacs-snapshot, texinfo Standards-Version: 3.9.5 Homepage: https://github.com/haskell/haskell-mode Vcs-Git: git://anonscm.debian.org/collab-maint/haskell-mode.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/haskell-mode.git Package: haskell-mode Architecture: all Depends: emacs24 | emacs23 | emacs-snapshot | emacs, ${misc:Depends} Breaks: agda-mode (<< 2.3.2) Recommends: ghc | hugs Description: major mode for editing Haskell in Emacs A major mode for editing Haskell (the functional programming language) in Emacs. . Major features: - syntax highlighting (font lock), - automatic indentation, - on-the-fly documentation, - interaction with inferior ghci or hugs instance, - scans declarations and places them in a menu. debian/source/0000775000000000000000000000000012257312663010477 5ustar debian/source/format0000664000000000000000000000001412257312663011705 0ustar 3.0 (quilt) debian/haskell-mode.info0000664000000000000000000000002212257312663012413 0ustar haskell-mode.info debian/haskell-mode.emacsen-remove0000775000000000000000000000073412257322516014401 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/haskell-mode FLAVOR=$1 PACKAGE=haskell-mode if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/css-mode.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/haskell-mode.install0000664000000000000000000000005512257312663013134 0ustar *.el /usr/share/emacs/site-lisp/haskell-mode debian/haskell-mode.docs0000664000000000000000000000001212257312663012407 0ustar README.md debian/haskell-mode.examples0000664000000000000000000000001312257312663013276 0ustar examples/*