Merge Debian packaging for release “1.5.8-4”.
* packaging:
Finalise release “1.5.8-4”.
Record copyright information for Emacs startup code.
Declare conformance to “Standards-Version: 3.9.8”.
Remove deprecated ‘-k’ option to ‘dh_clean’.
Upgrade Debhelper requirement to “>= 8”.
Add build targets recommended by Debian Policy §4.9.
Place PHONY declarations with their targets.
Install symlinks to ELisp source files, as per Debian Emacs policy.
Use ELisp ‘add-to-list’ to modify the ‘auto-mode-alist’.
Use the Debian function for adding the package to the Emacs load-path.
Perform startup in Emacs only when the package directory exists.
Use the defined symbol for the Debian Emacs “flavor”.
Declare packaging VCS repository URLs.
Declare upstream homepage.
Declare compatibility with Emacsen provided by Debian.
Declare versioned dependency on ‘emacsen-common’.
Support Debhelper adding dependencies with “${misc:Depends}”.
Correct an obsolete relation type in a build dependency declaration.
Document handling of Debian source package.
Configure Git-Buildpackage for this package's source.
...
Ben Finney
7 years ago
0 | ============================================= | |
1 | Debian source package for Emacs ‘inform-mode’ | |
2 | ============================================= | |
3 | ||
4 | Build source package from VCS | |
5 | ============================= | |
6 | ||
7 | The source for the Debian packaging is managed in these conventional | |
8 | Git branches: | |
9 | ||
10 | * master: The current released code base. | |
11 | * packaging: Debian packaging development branch. | |
12 | * upstream: Upstream source code base, as imported from tarballs. | |
13 | * pristine-tar: Metadata for reproducibly generating upstream tarball. | |
14 | ||
15 | To build the source package from the Git VCS, use the Debian ‘gitpkg’ | |
16 | tool to generate all the files:: | |
17 | ||
18 | $ git checkout master | |
19 | $ gitpkg packaging upstream | |
20 | ||
21 | The ‘dpkg-source’ process will complain about the “deletion” of | |
22 | upstream source. This is because the upstream source is not present at | |
23 | all in the ‘packaging’ branch exported, but in the ‘upstream’ branch. | |
24 | The upstream source is safely exported earlier in its own tarball. | |
25 | ||
26 | The generated source package is the source control file | |
27 | ‘../deb-packages/inform6-mode/inform6-mode_$DEBIANVER.dsc’ and | |
28 | its associated files in that directory. | |
29 | ||
30 | ||
31 | -- Ben Finney <bignose@debian.org>, Sat, 17 Sep 2016 06:16:59 +1000 | |
32 | ||
33 | ||
34 | .. | |
35 | Local variables: | |
36 | coding: utf-8 | |
37 | mode: text | |
38 | mode: rst | |
39 | End: | |
40 | vim: fileencoding=utf-8 filetype=rst : |
0 | inform-mode (1.5.8-4) unstable; urgency=medium | |
1 | ||
2 | * The “Ahmed Rajib Haider” release. | |
3 | * Adopt this package. Thanks to Jan Christoph Nordholz for your work. | |
4 | Closes: bug#691726. Thanks to Bart Martens for the report. | |
5 | * Thanks to Samuel Bronson for work to modernise the Debian package. | |
6 | * Declare current Debian source package format. | |
7 | * Convert copyright information to copyright format version 1.0. | |
8 | * Refer specifically to GNU GPLv2 license terms. | |
9 | * Update copyright holder information. | |
10 | * Configure UScan to monitor and fetch upstream source releases. | |
11 | * Configure Git-Buildpackage for this package's source. | |
12 | * Document handling of Debian source package. | |
13 | * Correct an obsolete relation type in a build dependency declaration. | |
14 | Closes: bug#816475. Thanks to Paul Tagliamonte for the report. | |
15 | * Support Debhelper adding dependencies with “${misc:Depends}”. | |
16 | * Declare compatibility with Emacsen versions, as per Debian Emacs policy. | |
17 | * Declare upstream homepage. | |
18 | * Declare packaging VCS repository URLs. | |
19 | * Use the defined symbol for the Debian Emacs “flavor”. | |
20 | * Perform startup in Emacs only when the package directory exists. | |
21 | Closes: bug#550688. Thanks to A Mennucc for the report. | |
22 | * Use the Debian function for adding the package to the Emacs load-path. | |
23 | Closes: bug#663407. Thanks to Kevin Ryde for the report. | |
24 | * Install symlinks to ELisp source files, as per Debian Emacs policy. | |
25 | Closes: bug#665397. Thanks to Samuel Bronson for the report. | |
26 | * Add build targets recommended by Debian Policy §4.9. | |
27 | * Upgrade Debhelper requirement to “>= 8”, supported in every current | |
28 | Debian release. | |
29 | * Remove deprecated ‘-k’ option to ‘dh_clean’. | |
30 | * Declare conformance to “Standards-Version: 3.9.8”. | |
31 | ||
32 | -- Ben Finney <bignose@debian.org> Mon, 19 Sep 2016 06:22:03 +1000 | |
33 | ||
0 | 34 | inform-mode (1.5.8-3) unstable; urgency=low |
1 | 35 | |
2 | 36 | * Clarify copyright. |
55 | 89 | * Initial Release. |
56 | 90 | |
57 | 91 | -- John Goerzen <jgoerzen@complete.org> Sat, 26 Aug 2000 15:42:33 -0500 |
92 | ||
93 | ||
94 | # Local variables: | |
95 | # coding: utf-8 | |
96 | # mode: debian-changelog | |
97 | # End: | |
98 | # vim: fileencoding=utf-8 filetype=debchangelog : |
0 | 0 | Source: inform-mode |
1 | Maintainer: Ben Finney <bignose@debian.org> | |
1 | 2 | Section: editors |
2 | 3 | Priority: extra |
3 | Maintainer: Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> | |
4 | Build-Depends: debhelper (> 5) | |
5 | Standards-Version: 3.7.2 | |
4 | Build-Depends: | |
5 | debhelper (>= 8) | |
6 | Standards-Version: 3.9.8 | |
7 | Homepage: https://www.rupert-lane.org/inform-mode/ | |
8 | VCS-Git: https://notabug.org/bignose/debian_inform6-mode.git | |
9 | VCS-Browser: https://notabug.org/bignose/debian_inform6-mode/ | |
6 | 10 | |
7 | 11 | Package: inform-mode |
8 | 12 | Architecture: all |
9 | Depends: emacsen-common | |
13 | Depends: | |
14 | emacsen-common (>= 2.0.8), | |
15 | ${misc:Depends} | |
10 | 16 | Description: Emacs mode for editing Inform files |
11 | 17 | This is an (X)Emacs mode for editing Inform source code. Inform source |
12 | 18 | is used when writing games for the Z-Code virtual machine (aka Infocom). |
0 | This package was debianized by John Goerzen <jgoerzen@complete.org> on | |
1 | Sat, 26 Aug 2000 15:42:33 -0500. | |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: inform-mode | |
2 | Upstream-Contact: Rupert Lane <rupert@rupert-lane.org> | |
3 | Source: https://www.rupert-lane.org/inform-mode/ | |
2 | 4 | |
3 | It was downloaded from <http://www.rupert-lane.org/inform-mode/>. | |
5 | Files: * | |
6 | Copyright: | |
7 | © 1999–2016 Rupert Lane <rupert@rupert-lane.org> | |
8 | © 1997–1998 Michael Fessler | |
9 | © 1996 Gareth Rees <gdr@garethrees.org> | |
10 | License: GPL-2+ | |
11 | License-Grant: | |
12 | This program is free software; you can redistribute it and/or modify | |
13 | it under the terms of the GNU General Public License as published by | |
14 | the Free Software Foundation; either version 2 of the License, or | |
15 | (at your option) any later version. | |
16 | . | |
17 | This program is distributed in the hope that it will be useful, | |
18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | GNU General Public License for more details. | |
4 | 21 | |
5 | Upstream Author: Rupert Lane <rupert@merguez.demon.co.uk> | |
6 | Previous Authors: Gareth Rees, Michael Fessler | |
22 | Files: debian/* | |
23 | Copyright: | |
24 | © 2016 Ben Finney <bignose@debian.org> | |
25 | © 2012–2013 Samuel Bronson <naesten@gmail.com> | |
26 | © 2007 Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> | |
27 | © 2005 Matej Vela <vela@debian.org> | |
28 | © 2000–2004 John Goerzen <jgoerzen@complete.org> | |
29 | License: GPL-2+ | |
30 | License-Grant: | |
31 | This program is free software; you can redistribute it and/or modify | |
32 | it under the terms of the GNU General Public License as published by | |
33 | the Free Software Foundation; either version 2 of the License, or | |
34 | (at your option) any later version. | |
35 | . | |
36 | This program is distributed in the hope that it will be useful, | |
37 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
38 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
39 | GNU General Public License for more details. | |
7 | 40 | |
8 | Copyright: | |
9 | 41 | |
10 | Copyright (C) 1996 Gareth Rees | |
11 | Portions copyright (C) 1997-1998 Michael Fessler | |
12 | Portions copyright (C) 1999-2000,2002 Rupert Lane | |
42 | License: GPL-2+ | |
43 | On Debian systems, the complete text of the GNU General Public License | |
44 | version 2 can be found in the file ‘/usr/share/common-licenses/GPL-2’. | |
13 | 45 | |
14 | License: | |
15 | ||
16 | This program is free software; you can redistribute it and/or modify | |
17 | it under the terms of the GNU General Public License as published by | |
18 | the Free Software Foundation; either version 2 of the License, or | |
19 | (at your option) any later version. | |
20 | ||
21 | This program is distributed in the hope that it will be useful, | |
22 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | GNU General Public License for more details. | |
25 | ||
26 | You should have received a copy of the GNU General Public License | |
27 | along with this program; if not, write to the Free Software | |
28 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
29 | ||
30 | On Debian systems, the complete text of the GNU General Public License can be | |
31 | found in the file `/usr/share/common-licenses/GPL'. | |
46 | ||
47 | # Local variables: | |
48 | # coding: utf-8 | |
49 | # mode: debian-copyright | |
50 | # fill-column: 78 | |
51 | # End: | |
52 | # vim: fileencoding=utf-8 textwidth=78 : |
0 | 0 |
25 | 25 | install -m 755 -d ${ELCDIR} |
26 | 26 | cd ${ELDIR} |
27 | 27 | FILES=`echo *.el` |
28 | cp ${FILES} ${ELCDIR} | |
29 | 28 | cd ${ELCDIR} |
29 | for f in ${FILES} ; do | |
30 | ln -sf ${ELDIR}/$f . | |
31 | done | |
30 | 32 | |
31 | 33 | cat << EOF > path.el |
32 | 34 | (setq load-path (cons "." load-path) byte-compile-warnings nil) |
33 | 35 | EOF |
34 | 36 | ${FLAVOR} ${FLAGS} ${FILES} |
35 | rm -f *.el path.el | |
37 | rm -f path.el | |
36 | 38 | |
37 | 39 | exit 0 |
40 | ||
41 | ||
42 | # Local variables: | |
43 | # coding: utf-8 | |
44 | # mode: shell-script | |
45 | # End: | |
46 | # vim: fileencoding=utf-8 filetype=sh : |
0 | #!/bin/sh -e | |
0 | #! /bin/sh -e | |
1 | 1 | # /usr/lib/emacsen-common/packages/remove/inform-mode |
2 | 2 | |
3 | 3 | FLAVOR=$1 |
7 | 7 | echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} |
8 | 8 | rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
9 | 9 | fi |
10 | ||
11 | ||
12 | # Local variables: | |
13 | # coding: utf-8 | |
14 | # mode: shell-script | |
15 | # End: | |
16 | # vim: fileencoding=utf-8 filetype=sh : |
0 | ;; -*-emacs-lisp-*- | |
0 | ;; Emacs startup file for Debian package ‘inform-mode’. | |
1 | 1 | ;; |
2 | ;; Emacs startup file for the Debian GNU/Linux inform-mode package | |
3 | ;; | |
4 | ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> | |
5 | ;; Modified by Dirk Eddelbuettel <edd@debian.org> | |
6 | ;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com> | |
2 | ;; Copyright: | |
3 | ;; © Ben Finney <bignose@debian.org> | |
4 | ;; © Jim Van Zandt <jrv@debian.org> | |
5 | ;; © Dirk Eddelbuettel <edd@debian.org> | |
6 | ;; © Nils Naumann <naumann@unileoben.ac.at> | |
7 | 7 | |
8 | ;; The inform-mode package follows the Debian/GNU Linux 'emacsen' policy and | |
9 | ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, | |
10 | ;; xemacs19, emacs20, xemacs20...). The compiled code is then | |
11 | ;; installed in a subdirectory of the respective site-lisp directory. | |
12 | ;; We have to add this to the load-path: | |
13 | (setq load-path (nconc load-path (list (concat "/usr/share/" | |
14 | (symbol-name flavor) | |
15 | "/site-lisp/inform-mode")))) | |
8 | (let | |
9 | ;; This package follows the Debian Emacsen policy: it | |
10 | ;; byte-compiles its elisp files for each Emacs “flavor” | |
11 | ;; (‘emacs20’, ‘xemacs20’, ‘emacs21’, ‘xemacs21’, ...). The | |
12 | ;; compiled code is then installed in a package subdirectory of | |
13 | ;; the respective ‘site-lisp’ directory. | |
14 | ((package-dir (concat "/usr/share/" | |
15 | (symbol-name debian-emacs-flavor) | |
16 | "/site-lisp/inform-mode"))) | |
16 | 17 | |
17 | (autoload 'inform-mode "inform-mode" "Inform editing mode." t) | |
18 | (autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.") | |
19 | (setq auto-mode-alist | |
20 | (append '(("\\.h\\'" . inform-maybe-mode) | |
21 | ("\\.inf\\'" . inform-mode)) | |
22 | auto-mode-alist)) | |
18 | (when (file-directory-p package-dir) | |
19 | ;; Add the package directory to the Emacs load-path. | |
20 | (debian-pkg-add-load-path-item package-dir) | |
23 | 21 | |
24 | (add-hook 'inform-mode-hook 'turn-on-font-lock) | |
22 | (autoload 'inform-mode "inform-mode" "Inform editing mode." t) | |
23 | (add-to-list 'auto-mode-alist '("\\.inf\\'" . inform-mode) t) | |
24 | ||
25 | (autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.") | |
26 | (add-to-list 'auto-mode-alist '("\\.h\\'" . inform-maybe-mode) t) | |
27 | ||
28 | (add-hook 'inform-mode-hook 'turn-on-font-lock) | |
29 | ||
30 | )) | |
31 | ||
32 | ||
33 | ;; Local variables: | |
34 | ;; coding: utf-8 | |
35 | ;; mode: emacs-lisp | |
36 | ;; End: |
0 | # debian/gbp.conf | |
1 | # Git-Buildpackage configuration for Debian source package ‘inform6-mode’. | |
2 | # Manual page: ‘gbp.conf(5)’. | |
3 | ||
4 | [DEFAULT] | |
5 | ||
6 | # Overlay the exported source onto original upstream source? | |
7 | overlay = true | |
8 | ||
9 | # Store the pristine upstream source in this VCS repository? | |
10 | pristine-tar = true | |
11 | ||
12 | # Create the upstream source from this VCS repository? | |
13 | create-orig = true | |
14 | ||
15 | ||
16 | # Local variables: | |
17 | # coding: utf-8 | |
18 | # mode: conf | |
19 | # End: | |
20 | # vim: fileencoding=utf-8 filetype=conf noexpandtabs : |
0 | #!/usr/bin/make -f | |
0 | #! /usr/bin/make -f | |
1 | ||
2 | .PHONY: clean | |
1 | 3 | clean: |
2 | 4 | dh_testdir |
3 | 5 | dh_testroot |
4 | 6 | dh_clean |
5 | 7 | |
8 | .PHONY: build | |
6 | 9 | build: |
10 | ||
11 | .PHONY: build-arch | |
12 | build-arch: | |
13 | ||
14 | .PHONY: build-indep | |
15 | build-indep: | |
16 | ||
17 | .PHONY: install | |
7 | 18 | install: build |
8 | 19 | dh_testdir |
9 | 20 | dh_testroot |
10 | dh_clean -k | |
21 | dh_clean | |
11 | 22 | dh_installdirs |
12 | 23 | dh_install inform-mode.el usr/share/emacs/site-lisp/inform-mode |
13 | 24 | |
25 | .PHONY: binary | |
14 | 26 | binary: binary-indep binary-arch |
27 | ||
28 | .PHONY: binary-arch | |
15 | 29 | binary-arch: install |
30 | ||
31 | .PHONY: binary-indep | |
16 | 32 | binary-indep: install |
17 | 33 | dh_testdir |
18 | 34 | dh_testroot |
26 | 42 | dh_md5sums |
27 | 43 | dh_builddeb |
28 | 44 | |
29 | .PHONY: build clean binary-indep binary-arch binary install | |
45 | ||
46 | # Local variables: | |
47 | # coding: utf-8 | |
48 | # mode: makefile | |
49 | # End: | |
50 | # vim: fileencoding=utf-8 filetype=make : |
0 | 1.0 |
0 | # debian/watch | |
1 | # Debian UScan configuration for ‘inform-mode’ package. | |
2 | # Manual page: ‘uscan(1)’. | |
3 | ||
4 | # Version of UScan configuration format. | |
5 | version = 4 | |
6 | ||
7 | # Source tarball from Rupert Lane's repository. | |
8 | opts="" \ | |
9 | https://www.rupert-lane.org/inform-mode/releases/ \ | |
10 | inform-mode-(\d\S+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \ | |
11 | debian uupdate | |
12 | ||
13 | ||
14 | # Local variables: | |
15 | # coding: utf-8 | |
16 | # mode: conf | |
17 | # End: | |
18 | # vim: fileencoding=utf-8 filetype=conf : |