--- inform-mode-1.5.8.orig/inform-mode.el +++ inform-mode-1.5.8/inform-mode.el @@ -316,7 +316,7 @@ (cond ((string-match "XEmacs\\|Lucid" emacs-version) ;; XEmacs - (regexp-opt strings paren shy)) + (regexp-opt strings paren)) (t ;; GNU Emacs (regexp-opt strings))))) --- inform-mode-1.5.8.orig/debian/compat +++ inform-mode-1.5.8/debian/compat @@ -0,0 +1 @@ +5 --- inform-mode-1.5.8.orig/debian/emacsen-install +++ inform-mode-1.5.8/debian/emacsen-install @@ -0,0 +1,38 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/inform-mode + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=inform-mode + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#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 -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 --- inform-mode-1.5.8.orig/debian/changelog +++ inform-mode-1.5.8/debian/changelog @@ -0,0 +1,58 @@ +inform-mode (1.5.8-3) unstable; urgency=low + + * Clarify copyright. + + -- Jan Christoph Nordholz Wed, 21 Nov 2007 11:19:24 +0100 + +inform-mode (1.5.8-2) unstable; urgency=low + + * Adopt package. Closes: #305463. + * Bump debhelper to v5. + * Move debhelper to Build-Depends (from ~-Indep). + * Bump standards to 3.7.2 (no changes). + * Insert full GPLv2 paragraph into debian/copyright. + * Drop Suggests: inform because that package won't enter testing + in the near future. + + -- Jan Christoph Nordholz Thu, 02 Aug 2007 13:31:55 +0200 + +inform-mode (1.5.8-1) unstable; urgency=low + + * QA upload. + * New upstream release. + * Switch to debhelper 4. + * Remove dh_make examples. + * debian/copyright: Update upstream URL. + * debian/emacsen-install, debian/emacsen-remove: Remove unnecessary + call to install-info. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Mon, 12 Sep 2005 15:29:58 +0200 + +inform-mode (1.5.6-3) unstable; urgency=low + + * Orphaning this package. + + -- John Goerzen Tue, 19 Apr 2005 23:24:35 -0500 + +inform-mode (1.5.6-2) unstable; urgency=low + + * Applied patch from Robert Bihlmeyer to fix compilation problem + with XEmacs. Closes: #228530. + * Fixed relative conffile path. Closes: #215926. + + -- John Goerzen Tue, 2 Mar 2004 21:08:50 -0600 + +inform-mode (1.5.6-1) unstable; urgency=low + + * New upstream release. + * Added build dep on debhelper. Closes: #92308. + * Made emacs startup script a conffile. Closes: #132129. + + -- John Goerzen Fri, 8 Feb 2002 10:34:34 -0500 + +inform-mode (1.5.4-1) unstable; urgency=low + + * Initial Release. + + -- John Goerzen Sat, 26 Aug 2000 15:42:33 -0500 --- inform-mode-1.5.8.orig/debian/emacsen-remove +++ inform-mode-1.5.8/debian/emacsen-remove @@ -0,0 +1,10 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/inform-mode + +FLAVOR=$1 +PACKAGE=inform-mode + +if [ ${FLAVOR} != emacs ]; then + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- inform-mode-1.5.8.orig/debian/rules +++ inform-mode-1.5.8/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +clean: + dh_testdir + dh_testroot + dh_clean + +build: +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install inform-mode.el usr/share/emacs/site-lisp/inform-mode + +binary: binary-indep binary-arch +binary-arch: install +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installemacsen + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build clean binary-indep binary-arch binary install --- inform-mode-1.5.8.orig/debian/control +++ inform-mode-1.5.8/debian/control @@ -0,0 +1,15 @@ +Source: inform-mode +Section: editors +Priority: extra +Maintainer: Jan Christoph Nordholz +Build-Depends: debhelper (> 5) +Standards-Version: 3.7.2 + +Package: inform-mode +Architecture: all +Depends: emacsen-common +Description: Emacs mode for editing Inform files + This is an (X)Emacs mode for editing Inform source code. Inform source + is used when writing games for the Z-Code virtual machine (aka Infocom). + This package will add an editing mode to your favorite Emacsen for + editing these files. --- inform-mode-1.5.8.orig/debian/copyright +++ inform-mode-1.5.8/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by John Goerzen on +Sat, 26 Aug 2000 15:42:33 -0500. + +It was downloaded from . + +Upstream Author: Rupert Lane +Previous Authors: Gareth Rees, Michael Fessler + +Copyright: + + Copyright (C) 1996 Gareth Rees + Portions copyright (C) 1997-1998 Michael Fessler + Portions copyright (C) 1999-2000,2002 Rupert Lane + +License: + + This program 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 2 of the License, or + (at your option) any later version. + + This program 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, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License can be +found in the file `/usr/share/common-licenses/GPL'. --- inform-mode-1.5.8.orig/debian/emacsen-startup +++ inform-mode-1.5.8/debian/emacsen-startup @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux inform-mode package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The inform-mode package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(setq load-path (nconc load-path (list (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/inform-mode")))) + +(autoload 'inform-mode "inform-mode" "Inform editing mode." t) +(autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.") +(setq auto-mode-alist + (append '(("\\.h\\'" . inform-maybe-mode) + ("\\.inf\\'" . inform-mode)) + auto-mode-alist)) + +(add-hook 'inform-mode-hook 'turn-on-font-lock)