--- inform-mode-1.5.8.orig/debian/README.source +++ inform-mode-1.5.8/debian/README.source @@ -0,0 +1,41 @@ +============================================= +Debian source package for Emacs ‘inform-mode’ +============================================= + +Build source package from VCS +============================= + +The source for the Debian packaging is managed in these conventional +Git branches: + +* master: The current released code base. +* packaging: Debian packaging development branch. +* upstream: Upstream source code base, as imported from tarballs. +* pristine-tar: Metadata for reproducibly generating upstream tarball. + +To build the source package from the Git VCS, use the Debian ‘gitpkg’ +tool to generate all the files:: + + $ git checkout master + $ gitpkg packaging upstream + +The ‘dpkg-source’ process will complain about the “deletion” of +upstream source. This is because the upstream source is not present at +all in the ‘packaging’ branch exported, but in the ‘upstream’ branch. +The upstream source is safely exported earlier in its own tarball. + +The generated source package is the source control file +‘../deb-packages/inform6-mode/inform6-mode_$DEBIANVER.dsc’ and +its associated files in that directory. + + + -- Ben Finney , Sat, 17 Sep 2016 06:16:59 +1000 + + +.. + Local variables: + coding: utf-8 + mode: text + mode: rst + End: + vim: fileencoding=utf-8 filetype=rst : --- inform-mode-1.5.8.orig/debian/changelog +++ inform-mode-1.5.8/debian/changelog @@ -0,0 +1,99 @@ +inform-mode (1.5.8-4) unstable; urgency=medium + + * The “Ahmed Rajib Haider” release. + * Adopt this package. Thanks to Jan Christoph Nordholz for your work. + Closes: bug#691726. Thanks to Bart Martens for the report. + * Thanks to Samuel Bronson for work to modernise the Debian package. + * Declare current Debian source package format. + * Convert copyright information to copyright format version 1.0. + * Refer specifically to GNU GPLv2 license terms. + * Update copyright holder information. + * Configure UScan to monitor and fetch upstream source releases. + * Configure Git-Buildpackage for this package's source. + * Document handling of Debian source package. + * Correct an obsolete relation type in a build dependency declaration. + Closes: bug#816475. Thanks to Paul Tagliamonte for the report. + * Support Debhelper adding dependencies with “${misc:Depends}”. + * Declare compatibility with Emacsen versions, as per Debian Emacs policy. + * Declare upstream homepage. + * Declare packaging VCS repository URLs. + * Use the defined symbol for the Debian Emacs “flavor”. + * Perform startup in Emacs only when the package directory exists. + Closes: bug#550688. Thanks to A Mennucc for the report. + * Use the Debian function for adding the package to the Emacs load-path. + Closes: bug#663407. Thanks to Kevin Ryde for the report. + * Install symlinks to ELisp source files, as per Debian Emacs policy. + Closes: bug#665397. Thanks to Samuel Bronson for the report. + * Add build targets recommended by Debian Policy §4.9. + * Upgrade Debhelper requirement to “>= 8”, supported in every current + Debian release. + * Remove deprecated ‘-k’ option to ‘dh_clean’. + * Declare conformance to “Standards-Version: 3.9.8”. + + -- Ben Finney Mon, 19 Sep 2016 06:22:03 +1000 + +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 + + +# Local variables: +# coding: utf-8 +# mode: debian-changelog +# End: +# vim: fileencoding=utf-8 filetype=debchangelog : --- inform-mode-1.5.8.orig/debian/compat +++ inform-mode-1.5.8/debian/compat @@ -0,0 +1 @@ +8 --- inform-mode-1.5.8.orig/debian/control +++ inform-mode-1.5.8/debian/control @@ -0,0 +1,21 @@ +Source: inform-mode +Maintainer: Ben Finney +Section: editors +Priority: extra +Build-Depends: + debhelper (>= 8) +Standards-Version: 3.9.8 +Homepage: https://www.rupert-lane.org/inform-mode/ +VCS-Git: https://notabug.org/bignose/debian_inform6-mode.git +VCS-Browser: https://notabug.org/bignose/debian_inform6-mode/ + +Package: inform-mode +Architecture: all +Depends: + emacsen-common (>= 2.0.8), + ${misc:Depends} +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,53 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: inform-mode +Upstream-Contact: Rupert Lane +Source: https://www.rupert-lane.org/inform-mode/ + +Files: * +Copyright: + © 1999–2016 Rupert Lane + © 1997–1998 Michael Fessler + © 1996 Gareth Rees +License: GPL-2+ +License-Grant: + 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. + +Files: debian/* +Copyright: + © 2016 Ben Finney + © 2012–2013 Samuel Bronson + © 2007 Jan Christoph Nordholz + © 2005 Matej Vela + © 2000–2004 John Goerzen +License: GPL-2+ +License-Grant: + 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. + + +License: GPL-2+ + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in the file ‘/usr/share/common-licenses/GPL-2’. + + +# Local variables: +# coding: utf-8 +# mode: debian-copyright +# fill-column: 78 +# End: +# vim: fileencoding=utf-8 textwidth=78 : --- inform-mode-1.5.8.orig/debian/emacsen-compat +++ inform-mode-1.5.8/debian/emacsen-compat @@ -0,0 +1 @@ +0 --- inform-mode-1.5.8.orig/debian/emacsen-install +++ inform-mode-1.5.8/debian/emacsen-install @@ -0,0 +1,47 @@ +#! /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` +cd ${ELCDIR} +for f in ${FILES} ; do + ln -sf ${ELDIR}/$f . +done + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f path.el + +exit 0 + + +# Local variables: +# coding: utf-8 +# mode: shell-script +# End: +# vim: fileencoding=utf-8 filetype=sh : --- inform-mode-1.5.8.orig/debian/emacsen-remove +++ inform-mode-1.5.8/debian/emacsen-remove @@ -0,0 +1,17 @@ +#! /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 + + +# Local variables: +# coding: utf-8 +# mode: shell-script +# End: +# vim: fileencoding=utf-8 filetype=sh : --- inform-mode-1.5.8.orig/debian/emacsen-startup +++ inform-mode-1.5.8/debian/emacsen-startup @@ -0,0 +1,37 @@ +;; Emacs startup file for Debian package ‘inform-mode’. +;; +;; Copyright: +;; © Ben Finney +;; © Jim Van Zandt +;; © Dirk Eddelbuettel +;; © Nils Naumann + +(let + ;; This package follows the Debian Emacsen policy: it + ;; byte-compiles its elisp files for each Emacs “flavor” + ;; (‘emacs20’, ‘xemacs20’, ‘emacs21’, ‘xemacs21’, ...). The + ;; compiled code is then installed in a package subdirectory of + ;; the respective ‘site-lisp’ directory. + ((package-dir (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/inform-mode"))) + + (when (file-directory-p package-dir) + ;; Add the package directory to the Emacs load-path. + (debian-pkg-add-load-path-item package-dir) + + (autoload 'inform-mode "inform-mode" "Inform editing mode." t) + (add-to-list 'auto-mode-alist '("\\.inf\\'" . inform-mode) t) + + (autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.") + (add-to-list 'auto-mode-alist '("\\.h\\'" . inform-maybe-mode) t) + + (add-hook 'inform-mode-hook 'turn-on-font-lock) + + )) + + +;; Local variables: +;; coding: utf-8 +;; mode: emacs-lisp +;; End: --- inform-mode-1.5.8.orig/debian/gbp.conf +++ inform-mode-1.5.8/debian/gbp.conf @@ -0,0 +1,21 @@ +# debian/gbp.conf +# Git-Buildpackage configuration for Debian source package ‘inform6-mode’. +# Manual page: ‘gbp.conf(5)’. + +[DEFAULT] + +# Overlay the exported source onto original upstream source? +overlay = true + +# Store the pristine upstream source in this VCS repository? +pristine-tar = true + +# Create the upstream source from this VCS repository? +create-orig = true + + +# Local variables: +# coding: utf-8 +# mode: conf +# End: +# vim: fileencoding=utf-8 filetype=conf noexpandtabs : --- inform-mode-1.5.8.orig/debian/ledger-el.emacsen-install +++ inform-mode-1.5.8/debian/ledger-el.emacsen-install @@ -0,0 +1,43 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/ledger-el + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=ledger-el + +case "${FLAVOR}" in + emacs) + return 0 + ;; + xemacs*) + # patches welcome. + echo install/${PACKAGE}: skipping install for unsupported emacsen flavor ${FLAVOR} + exit 0 + ;; + *) + echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} +esac + +FLAGS="--quick --batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} +ELRELDIR=../../../emacs/site-lisp/${PACKAGE} + +cd ${ELDIR} +COMPILABLE=$(echo *.el | sed s/ledger-context.el//) + +install -m 755 -d ${ELCDIR} +cd ${ELCDIR} +ln -sf ${ELRELDIR}/*.el . + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${COMPILABLE} +rm -f path.el + +exit 0 --- inform-mode-1.5.8.orig/debian/ledger-el.emacsen-remove +++ inform-mode-1.5.8/debian/ledger-el.emacsen-remove @@ -0,0 +1,10 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/ledger-el + +FLAVOR=$1 +PACKAGE=ledger-el + +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/ledger-el.emacsen-startup +++ inform-mode-1.5.8/debian/ledger-el.emacsen-startup @@ -0,0 +1,27 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50ledger.el +;; for the Debian ledger-el package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The ledger-el 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: +(let ((package-dir (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/ledger-el"))) +;; If package-dir does not exist, the ledger package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (if (fboundp 'debian-pkg-add-load-path-item) + (debian-pkg-add-load-path-item package-dir) + (setq load-path (cons package-dir load-path))) + (autoload 'ledger-mode "ledger-mode" + "Major mode for editing ledger files." t) + (add-to-list 'auto-mode-alist '("\\.lgr$" . ledger-mode)))) + --- inform-mode-1.5.8.orig/debian/rules +++ inform-mode-1.5.8/debian/rules @@ -0,0 +1,51 @@ +#! /usr/bin/make -f + +.PHONY: clean +clean: + dh_testdir + dh_testroot + dh_clean + +.PHONY: build +build: + +.PHONY: build-arch +build-arch: + +.PHONY: build-indep +build-indep: + +.PHONY: install +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + dh_install inform-mode.el usr/share/emacs/site-lisp/inform-mode + +.PHONY: binary +binary: binary-indep binary-arch + +.PHONY: binary-arch +binary-arch: install + +.PHONY: binary-indep +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 + + +# Local variables: +# coding: utf-8 +# mode: makefile +# End: +# vim: fileencoding=utf-8 filetype=make : --- inform-mode-1.5.8.orig/debian/source/format +++ inform-mode-1.5.8/debian/source/format @@ -0,0 +1 @@ +1.0 --- inform-mode-1.5.8.orig/debian/watch +++ inform-mode-1.5.8/debian/watch @@ -0,0 +1,19 @@ +# debian/watch +# Debian UScan configuration for ‘inform-mode’ package. +# Manual page: ‘uscan(1)’. + +# Version of UScan configuration format. +version = 4 + +# Source tarball from Rupert Lane's repository. +opts="" \ + https://www.rupert-lane.org/inform-mode/releases/ \ + inform-mode-(\d\S+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \ + debian uupdate + + +# Local variables: +# coding: utf-8 +# mode: conf +# End: +# vim: fileencoding=utf-8 filetype=conf : --- 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)))))