--- mmm-mode-0.5.1.orig/debian/mmm-mode.emacsen-remove +++ mmm-mode-0.5.1/debian/mmm-mode.emacsen-remove @@ -0,0 +1,12 @@ +#!/bin/sh -e + +FLAVOR="$1" + +echo "install/mmm-mode: Handling removal of emacsen flavor ${FLAVOR}" + +if [ "${FLAVOR}" != "emacs" ]; then + echo "install/mmm-mode: purging byte-compiled files for ${FLAVOR}" + rm -rf /usr/share/${FLAVOR}/site-lisp/mmm-mode +fi + +exit 0; --- mmm-mode-0.5.1.orig/debian/README.source +++ mmm-mode-0.5.1/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- mmm-mode-0.5.1.orig/debian/changelog +++ mmm-mode-0.5.1/debian/changelog @@ -0,0 +1,105 @@ +mmm-mode (0.5.1-1) unstable; urgency=low + + * New upstream release + + -- Alexander Zangerl Tue, 26 Mar 2013 10:09:51 +1000 + +mmm-mode (0.5.0-1) unstable; urgency=low + + * New upstream release + + -- Alexander Zangerl Thu, 28 Feb 2013 11:57:46 +1000 + +mmm-mode (0.4.8-8) unstable; urgency=low + + * pulled recent fixes from upstream git + + -- Alexander Zangerl Fri, 14 Sep 2012 12:24:25 +1000 + +mmm-mode (0.4.8-7) unstable; urgency=low + + * fixed face defaults (closes: #672169) + * don't load regexp-opt unless needed (closes: #672168) + * lifted standards version, fixed most lintian complaints + * incorporated emacs23 fixes from https://github.com/purcell/mmm-mode/ + + -- Alexander Zangerl Thu, 10 May 2012 23:06:25 +1000 + +mmm-mode (0.4.8-6) unstable; urgency=low + + * updated watch file, lifted standards version, added dpatch to build depends + * removed compatibility code for emacs < 19.29, + finally silencing the warnings reported in #506565 and #487926 + + -- Alexander Zangerl Sun, 23 Nov 2008 12:11:59 +1000 + +mmm-mode (0.4.8-5) unstable; urgency=low + + * lifted standards version + * updated dependencies to support emacs22 (closes: #433691) + + -- Alexander Zangerl Tue, 4 Mar 2008 09:23:43 +1000 + +mmm-mode (0.4.8-4) unstable; urgency=low + + * updated watch file, lifted standards version + + -- Alexander Zangerl Tue, 10 Apr 2007 18:21:38 +1000 + +mmm-mode (0.4.8-3) unstable; urgency=low + + * The "But I'm Not Dead Yet!" Release + * New maintainer + + -- Alexander Zangerl Wed, 23 Nov 2005 21:24:00 +1000 + +mmm-mode (0.4.8-2) unstable; urgency=low + + * QA upload. + * Include emacs-snapshot in alternative dependencies. Closes: #323392. + * debian/copyright: + - Remove outdated (and no longer required) list of changes. + - Update FSF address. + * debian/rules: Use dh_install. + * debian/watch: Add. + + -- Matej Vela Thu, 15 Sep 2005 16:10:10 +0200 + +mmm-mode (0.4.8-1) unstable; urgency=low + + * QA upload. + * New upstream version. (Closes: #281659, #214681) + - Use virgin upstream tarball. (Closes: #96185) + * Remove the compatibility code for three-argument regexp-opt in XEmacs, + since XEmacs has now reverted back to two arguments. + * Provide a match-string-no-properties alias for XEmacs. + * Use installation and removal code similar to other mode packages. + - Install *.elc files into a subdirectory. (Closes: #119260) + - Use -no-site-file or --no-site-file. (Closes: #218087) + * Depend on emacs21 instead of emacs20. (Closes: #232775) + * Add a versioned dependency on xemacs21-basesupport to get a + two-argument regexp-opt. + * Update standards-version to 3.6.2 (no changes required). + * Update debhelper level to V4 and add versioned dependency. + + -- Russ Allbery Wed, 3 Aug 2005 00:08:23 -0700 + +mmm-mode (0.4.7-3) unstable; urgency=low + + * QA Group upload orphaning this package + * debian/copyright: mention location of license + + -- Andrew Pollock Tue, 9 Nov 2004 23:24:05 +1100 + +mmm-mode (0.4.7-2) unstable; urgency=low + + * Automatically require mmm-auto, but don't do anything else. (closes: bug#101475) + + -- Michael Alan Dorman Tue, 7 Aug 2001 16:46:02 -0400 + +mmm-mode (0.4.7-1) unstable; urgency=low + + * Initial debianization. + + -- Michael Alan Dorman Sun, 22 Apr 2001 09:56:23 -0400 + --- mmm-mode-0.5.1.orig/debian/mmm-mode.docs +++ mmm-mode-0.5.1/debian/mmm-mode.docs @@ -0,0 +1 @@ +debian/README.source --- mmm-mode-0.5.1.orig/debian/mmm-mode.emacsen-install +++ mmm-mode-0.5.1/debian/mmm-mode.emacsen-install @@ -0,0 +1,28 @@ +#!/bin/sh -e + +FILES="mmm-auto.el mmm-class.el mmm-cmds.el mmm-compat.el mmm-cweb.el mmm-mason.el mmm-mode.el mmm-noweb.el mmm-region.el mmm-rpm.el mmm-sample.el mmm-univ.el mmm-utils.el mmm-vars.el" + +FLAVOR="$1" + +echo "install/mmm-mode: Handling install of emacsen flavor ${FLAVOR}" + +if [ "${FLAVOR}" != "emacs" ]; then + echo "install/mmm-mode: byte-compiling for ${FLAVOR}" + cd /usr/share/emacs/site-lisp/mmm-mode + mkdir -p /usr/share/${FLAVOR}/site-lisp/mmm-mode + cp $FILES /usr/share/${FLAVOR}/site-lisp/mmm-mode + cd /usr/share/${FLAVOR}/site-lisp/mmm-mode + cat < path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF + FLAVORTEST=`echo $FLAVOR | cut -c-6` + if [ ${FLAVORTEST} = xemacs ] ; then + SITEFLAG="-no-site-file" + else + SITEFLAG="--no-site-file" + fi + ${FLAVOR} -q ${SITEFLAG} -batch -l path.el -f batch-byte-compile $FILES + rm path.el $FILES +fi + +exit 0; --- mmm-mode-0.5.1.orig/debian/control +++ mmm-mode-0.5.1/debian/control @@ -0,0 +1,17 @@ +Source: mmm-mode +Maintainer: Alexander Zangerl +Section: editors +Priority: optional +Build-Depends: debhelper (>= 8), dpatch +Standards-Version: 3.9.3 + +Package: mmm-mode +Section: editors +Priority: optional +Architecture: all +Depends: emacs23 | emacsen | emacs-snapshot | xemacs21-basesupport (>= 2003.11.13-1), dpkg (>= 1.15.4) | install-info, ${misc:Depends} +Description: Multiple Major Mode for Emacs + MMM Mode is a minor mode for Emacs that allows Multiple Major Modes + (hence the name) to coexist in one buffer. It is particularly + well-suited to editing embedded code, such as Mason server-side Perl, + or HTML output in CGI scripts. --- mmm-mode-0.5.1.orig/debian/copyright +++ mmm-mode-0.5.1/debian/copyright @@ -0,0 +1,46 @@ +This is a version of MMM Mode for Emacs by Michael Abraham Shulman + prepackaged for Debian GNU/Linux. + +MMM Mode is a minor mode for Emacs that allows Multiple Major Modes +(hence the name) to coexist in one buffer. It is particularly +well-suited to editing embedded code, such as Mason server-side Perl, +or HTML output in CGI scripts. + +The package was assembled by Michael Alan Dorman . +The latest version of MMM Mode should always be available from +http://mmm-mode.sourceforge.net/. + +The mmm-mode copyright is: + +;;; mmm-mode.el --- Allow Multiple Major Modes in a buffer + +;; Copyright (C) 1999 by Michael Abraham Shulman + +;; Emacs Lisp Archive Entry +;; Package: mmm-mode +;; Author: Michael Abraham Shulman +;; Keywords: convenience, faces, languages, tools +;; Version: 0.4.7 + +;; Revision: $Id: copyright,v 1.1 2001/04/22 16:21:49 mdorman Exp $ + +;;{{{ GPL + +;; 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 2, 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 GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, +;; Boston, MA 02110-1301, USA. + +;;}}} + +On Debian systems, the full text of the GPL can be found in /usr/share/common-licenses/GPL --- mmm-mode-0.5.1.orig/debian/mmm-mode.emacsen-startup +++ mmm-mode-0.5.1/debian/mmm-mode.emacsen-startup @@ -0,0 +1,4 @@ +;; This is as far as you can go without perhaps incurring performance +;; issues. You probably want to add (setq mmm-global-mode 'maybe) in +;; your .emacs. 'info mmm-mode' for details +(require 'mmm-auto) --- mmm-mode-0.5.1.orig/debian/compat +++ mmm-mode-0.5.1/debian/compat @@ -0,0 +1 @@ +8 --- mmm-mode-0.5.1.orig/debian/watch +++ mmm-mode-0.5.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/mmm-mode/mmm-mode-(.+)\.tar\.gz --- mmm-mode-0.5.1.orig/debian/rules +++ mmm-mode-0.5.1/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f + +# to get the patch application targets +include /usr/share/dpatch/dpatch.make + +build-arch: build + +build-indep: build + +build: patch + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install *.el usr/share/emacs/site-lisp/mmm-mode + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs AUTHORS FAQ NEWS README README.Mason TODO + dh_installemacsen + dh_installinfo mmm.info* + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mmm-mode-0.5.1.orig/debian/mmm-mode.README.Debian +++ mmm-mode-0.5.1/debian/mmm-mode.README.Debian @@ -0,0 +1,18 @@ +* emacs 23 + + This package now includes extra fixes for emacs 23++ + by Steve Purcell (from https://github.com/purcell/mmm-mode/, as + the official upstream CVS seams dormant/dead). + +* autoload vs. always on + + We now autoload mmm-mode, but we don't actually turn it on because + that represents a performance hit that we don't want to unilaterally + impose on all emacs users. + + So, if you want to use mmm-mode, you'll need to: + + (setq mmm-global-mode 'maybe) + + + -- Alexander Zangerl , Fri, 11 May 2012 00:04:17 +1000 --- mmm-mode-0.5.1.orig/debian/patches/00list +++ mmm-mode-0.5.1/debian/patches/00list @@ -0,0 +1,3 @@ + + +