diff options
author | Vincent Bernat <bernat@debian.org> | 2017-01-17 03:14:50 +0800 |
---|---|---|
committer | Vincent Bernat <bernat@debian.org> | 2017-01-17 03:14:50 +0800 |
commit | e52987c9a993391523bc14916d87cbe0e9ca3742 (patch) | |
tree | facfe74ea1581ffee7c5491ba7216b350ef6753f | |
parent | 008093447a8fb059e4b3e644e53b4d13d102b647 (diff) | |
parent | 3ac2569b5010684988ae1f7adbd628281b722705 (diff) |
js2-mode (0~20170116-1) unstable; urgency=medium
* New upstream release. Closes: #851599.
* d/control: bump Standards-Version.
* d/control: update Vcs-*.
[dgit import unpatched js2-mode 0~20170116-1]
-rw-r--r-- | debian/changelog | 109 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 57 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rw-r--r-- | debian/elpa-js2-mode.elpa | 1 | ||||
-rw-r--r-- | debian/patches/autoload-auto-mode-alist.patch | 18 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 14 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
11 files changed, 231 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ac61c82 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,109 @@ +js2-mode (0~20170116-1) unstable; urgency=medium + + * New upstream release. Closes: #851599. + * d/control: bump Standards-Version. + * d/control: update Vcs-*. + + -- Vincent Bernat <bernat@debian.org> Mon, 16 Jan 2017 20:14:50 +0100 + +js2-mode (0~20150909-2) unstable; urgency=medium + + * Ensure js2-mode is installable by fixing "Breaks" + relationship. Closes: #801078. + * Fix postrm (no change, just a rebuild). Closes: #803348. + + -- Vincent Bernat <bernat@debian.org> Fri, 30 Oct 2015 11:57:27 +0100 + +js2-mode (0~20150909-1) unstable; urgency=medium + + * New upstream version. + * Bump Standards-Version to 3.9.6. + * Change homepage to GitHub. + * Update d/watch. + * Transition to dh-elpa. + + Patch js2-mode for auto-mode-alist. + + Build a js2-mode-pkg.el. + + Build-Depends on dh-elpa (>= 0.0.11) because of our odd version + number. + * Update d/copyright. + + -- Vincent Bernat <bernat@debian.org> Thu, 01 Oct 2015 00:08:41 +0200 + +js2-mode (0~20140114-1) unstable; urgency=medium + + * New upstream release. + + Use fork from mooz. + + Update homepage in debian/control. + + Remove patch for local variables, not needed anymore. + * Depends on emacs-common >= 2.0.7. This should fix any post + installation problem. + * Only works with Emacs 24 since it needs prog-mode. Closes: #744905. + * Bump Standards-Version to 3.9.5. + + -- Vincent Bernat <bernat@debian.org> Thu, 08 May 2014 14:02:17 +0200 + +js2-mode (0~20120726-4) unstable; urgency=low + + * Fix Emacs startup file. Closes: #728693. Patch from Michal Sojka. + + -- Vincent Bernat <bernat@debian.org> Sat, 09 Nov 2013 09:50:35 +0100 + +js2-mode (0~20120726-3) unstable; urgency=low + + * Make comment-start buffer local. Closes: #714228. + + -- Vincent Bernat <bernat@debian.org> Sun, 28 Jul 2013 21:28:12 +0200 + +js2-mode (0~20120726-2) unstable; urgency=low + + * Don't build for emacs21. Closes: #717530. + + -- Vincent Bernat <bernat@debian.org> Mon, 22 Jul 2013 08:01:18 +0200 + +js2-mode (0~20120726-1) unstable; urgency=low + + * New upstream version. + + We keep the original upstream. Closes: #632757. + * Update debian/copyright. + * Remove debian/watch: we don't have version to watch anymore. + * Drop safe-local patch: applied upstream. + * Bump Standards-Version. + * Update Vcs-* fields in debian/control. + * Update startup file. + + -- Vincent Bernat <bernat@debian.org> Thu, 18 Jul 2013 23:40:08 +0200 + +js2-mode (0~20090723b-2) unstable; urgency=low + + * Add a link to js2.el in emacs23/site-lisp/js2-mode to be able to + access source code from help. Closes: #671576. + * Bump Standards-Version. + + -- Vincent Bernat <bernat@debian.org> Sat, 05 May 2012 10:50:45 +0200 + +js2-mode (0~20090723b-1) unstable; urgency=low + + * Apply a patch from Dmitry Gutov to make some local variables + safe. Closes: #607110. + * Switch to 3.0 quilt format. + * Acknowledge NMU from Hilko Bengen. + * Bump Standards-Version to 3.9.2. + + -- Vincent Bernat <bernat@debian.org> Wed, 18 May 2011 13:08:37 +0200 + +js2-mode (0~20090723b-0.1) unstable; urgency=low + + * Non-maintainer upload + * New upstream version (Closes: #583797) + * Fixed watch file + * Bumped Standards-Version as suggested by Lintian + * Added ${misc:Depends} as suggested by Lintian + + -- Hilko Bengen <bengen@debian.org> Thu, 10 Jun 2010 21:56:54 +0200 + +js2-mode (0~20080616a-1) unstable; urgency=low + + * Initial release (Closes: #495213) + + -- Vincent Bernat <bernat@debian.org> Sat, 16 Aug 2008 12:03:23 +0200 + diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..7f5c886 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +js2-mode-pkg.el diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..65cd704 --- /dev/null +++ b/debian/control @@ -0,0 +1,57 @@ +Source: js2-mode +Section: editors +Priority: optional +Maintainer: Vincent Bernat <bernat@debian.org> +Build-Depends: debhelper (>= 9), + dh-elpa (>= 0.0.11~) +Standards-Version: 3.9.8 +Homepage: https://github.com/mooz/js2-mode +Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/js2-mode.git +Vcs-Git: https://anonscm.debian.org/git/collab-maint/js2-mode.git + +Package: elpa-js2-mode +Architecture: all +Depends: ${misc:Depends}, emacsen-common (>= 2.0.8) +Enhances: emacs, emacs23, emacs24 +Breaks: js2-mode (<< 0~20150909-1) +Provides: js2-mode +Description: Emacs mode for editing Javascript programs + This JavaScript editing mode supports: + . + - the full JavaScript language through version 1.7 + - support for most Rhino and SpiderMonkey extensions from 1.5 to 1.7 + - accurate syntax highlighting using a recursive-descent parser + - syntax-error and strict-mode warning reporting + - "bouncing" line indentation to choose among alternate indentation points + - smart line-wrapping within comments and strings + - code folding: + - show some or all function bodies as {...} + - show some or all block comments as /*...*/ + - context-sensitive menu bar and popup menus + - code browsing using the imenu' package + - typing helpers (e.g. inserting matching braces/parens) + - many customization options + +Package: js2-mode +Section: oldlibs +Priority: extra +Architecture: all +Depends: elpa-js2-mode, ${misc:Depends} +Description: Emacs mode for editing Javascript programs (dummy package) + This JavaScript editing mode supports: + . + - the full JavaScript language through version 1.7 + - support for most Rhino and SpiderMonkey extensions from 1.5 to 1.7 + - accurate syntax highlighting using a recursive-descent parser + - syntax-error and strict-mode warning reporting + - "bouncing" line indentation to choose among alternate indentation points + - smart line-wrapping within comments and strings + - code folding: + - show some or all function bodies as {...} + - show some or all block comments as /*...*/ + - context-sensitive menu bar and popup menus + - code browsing using the imenu' package + - typing helpers (e.g. inserting matching braces/parens) + - many customization options + . + This transitional package can be safely removed. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bcb4cdd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: js2-mode +Source: https://github.com/mooz/js2-mode/ + +Files: * +Copyright: Copyright (C) 2009, 2011-2015 Free Software Foundation, Inc. +License: GPL-3+ + +Files: debian/* +Copyright: © 2008-2015 Vincent Bernat <bernat@debian.org> +License: GPL-3+ + +License: GPL-3+ + GNU Emacs 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 of the License, or + (at your option) any later version. + . + GNU Emacs 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. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/elpa-js2-mode.elpa b/debian/elpa-js2-mode.elpa new file mode 100644 index 0000000..1b8c49e --- /dev/null +++ b/debian/elpa-js2-mode.elpa @@ -0,0 +1 @@ +js2*.el diff --git a/debian/patches/autoload-auto-mode-alist.patch b/debian/patches/autoload-auto-mode-alist.patch new file mode 100644 index 0000000..bfafacc --- /dev/null +++ b/debian/patches/autoload-auto-mode-alist.patch @@ -0,0 +1,18 @@ +Description: ensure js2-mode is used with JS file + This patch allows the package to keep the same behaviour as previous + versions. + +Index: js2-mode/js2-mode.el +=================================================================== +--- js2-mode.orig/js2-mode.el ++++ js2-mode/js2-mode.el +@@ -12422,6 +12422,9 @@ and variables NAMES will contain one ele + node) name))) + (if scope (js2-symbol-ast-node (js2-scope-get-symbol scope name))))) + ++;;;###autoload ++(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode)) ++ + (provide 'js2-mode) + + ;;; js2-mode.el ends here diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..60c86ec --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +autoload-auto-mode-alist.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6d9482a --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +VER ?= $(shell dpkg-parsechangelog | perl -ne 'print $$1 if m{^Version:\s+0~(\d+)};') + +%: + dh $@ + +override_dh_auto_build: + # Nothing to do + +override_dh_install: + echo "(define-package \"js2-mode\" \"$(VER)\" \"Improved JavaScript editing mode\" '((emacs \"24.1\") (cl-lib \"0.5\")))" > js2-mode-pkg.el + dh_install + dh_elpa -Njs2-mode diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..88ec91d --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/^0~// \ + https://github.com/mooz/js2-mode/tags .*/(\d*)\.tar\.gz |