--- gnuplot-mode-0.6.0.orig/debian/README.source +++ gnuplot-mode-0.6.0/debian/README.source @@ -0,0 +1,7 @@ +This package uses dpatch to manage all modifications to the upstream +source. See /usr/share/doc/dpatch/README.source.gz to get more information +on how to use it. + + -- Vincent Fourmond Mon, 13 Oct 2008 20:54:27 +0200 + + --- gnuplot-mode-0.6.0.orig/debian/dirs +++ gnuplot-mode-0.6.0/debian/dirs @@ -0,0 +1,6 @@ +usr/bin +usr/sbin +usr/share/doc +usr/share/doc/gnuplot-mode +usr/share/emacs/site-lisp/gnuplot-mode + --- gnuplot-mode-0.6.0.orig/debian/changelog +++ gnuplot-mode-0.6.0/debian/changelog @@ -0,0 +1,133 @@ +gnuplot-mode (1:0.6.0-3) unstable; urgency=low + + * New maintainer (closes: 503549). Many thanks to Ryuichi Arafune for + maintaining gnuplot-mode before and Agustin Martin Domingo and + Romain Francoise for their NMUs + * Using a git repository for tracking + * Added a Homepage field + * Added a debian/README.source file, so that package now conforms to + standards 3.8.0 + * Clarified debian/copyright to actually include a copyright notice + * Fixed upstream's download location in debian/copyright + * Adding emacs22 | xemacs21 as an alternative to the virtual package + emacsen + + -- Vincent Fourmond Wed, 18 Feb 2009 00:28:06 +0100 + +gnuplot-mode (1:0.6.0-2.3) unstable; urgency=low + + * Non-maintainer upload. + * debian/{compat,rules} use compat file and raise level. + * debian/rules: + - Move package build debhelper commands to build-indep + - Add dpatch support. + - Remove some unneeded commands. + * debian/control: + - Raise debhelper dependency and add dpatch one. + - Raised Standards value. + * debian/emacsen-startup: + - Fix regexp (Closes: #446172). + - Use debian-pkg-add-load-path-item + * debian/conffiles: Removed, dh_installemacsen will take care. + * debian/{postinst,prerm}: Removed. debhelper will take care. + * debian/copyright: Fixed copyright version. + * debian/patches/500_gnuplot.el_make-variable-buffer-local.dpatch (new): + - No need to explicitly set buffer-local font-lock-defaults, + it will automatically be set (Closes: #384977). + * debian/patches/850_gnuplot.el_fix-obsolete-backquotes.dpatch (new): + - Do not use obsolete old-style backquotes and ',' markers + (Closes: #451942). + + -- Agustin Martin Domingo Mon, 19 Nov 2007 14:34:42 +0100 + +gnuplot-mode (1:0.6.0-2.2) unstable; urgency=low + + * Non-Maintainer upload. + * debian/emacsen-install: + - Support emacs22 (Closes: #432185). + - Set symlinks to .el files and do not load site files + when byte-compiling (Closes: #401687). + - Reorganize script for clarity. + * debian/control: + - debhelper should be in Build-Depends, not Build-Depends-Indep. + * debian/rules: + - Do not blindly ignore make clean error if a makefile is available. + * debian/changelog: + - Remove trailing whitespace + - Remove obsolete Local Variables section. + + -- Agustin Martin Domingo Fri, 16 Nov 2007 13:20:01 +0100 + +gnuplot-mode (1:0.6.0-2.1) unstable; urgency=low + + * NMU + * debian/emacsen-install: Support emacs-snapshot (closes: #341285, #348878). + + -- Romain Francoise Thu, 19 Jan 2006 17:59:40 +0100 + +gnuplot-mode (1:0.6.0-2) unstable; urgency=low + + * Change dependency due to the gnuplot package separation. closes: #312294 + + -- Ryuichi Arafune Tue, 7 Jun 2005 16:07:37 +0900 + +gnuplot-mode (1:0.6.0-1) unstable; urgency=low + + * New upstream version. + * closes: fix typo in Description. closes: #203487 + + -- Ryuichi Arafune Thu, 31 Jul 2003 11:14:49 +0900 + +gnuplot-mode (1:0.5r-1) unstable; urgency=low + + * New upstream version. + * Not globally bind the [f9] key. closes: #154435 + + -- Ryuichi Arafune Tue, 30 Jul 2002 18:47:19 +0900 + +gnuplot-mode (1:0.5q-2) unstable; urgency=low + + * 50gnuplot-mode.el as conffile. closes: #132205 + + -- Ryuichi Arafune Mon, 4 Feb 2002 21:10:21 +0900 + +gnuplot-mode (1:0.5q-1) unstable; urgency=low + + * new upstream verion. + + -- Ryuichi Arafune Tue, 17 Jul 2001 19:06:39 +0900 + +gnuplot-mode (1:0.5n-1) unstable; urgency=low + + * New upstream version. + + -- Ryuichi Arafune Wed, 31 Jan 2001 11:29:48 +0900 + +gnuplot-mode (1:0.5k-2) unstable; urgency=low + + * (control) Revise Depends:emacsen, gnuplot + closes: #70885 + + -- Ryuichi Arafune Sat, 9 Sep 2000 16:43:43 +0900 + +gnuplot-mode (1:0.5k-1) unstable; urgency=low + + * This is *not* Debian Native Packages. + closes: #64849. + + -- Ryuichi Arafune Mon, 7 Aug 2000 12:46:54 +0900 + +gnuplot-mode (0.5k-2) unstable; urgency=low + + * Follow the policy 6.6. + (copyrgith) Add a pointer to /usr/share/common/licences/GPL + + -- Ryuichi Arafune Sat, 8 Apr 2000 09:30:01 +0900 + +gnuplot-mode (0.5k-1) unstable; urgency=low + + * Initial Release. + + -- Ryuichi Arafune Tue, 28 Mar 2000 13:23:58 +0900 + + --- gnuplot-mode-0.6.0.orig/debian/control +++ gnuplot-mode-0.6.0/debian/control @@ -0,0 +1,25 @@ +Source: gnuplot-mode +Section: math +Priority: optional +Maintainer: Vincent Fourmond +Build-Depends: debhelper (>= 4.1.16), dpatch (>= 2.0.9) +Standards-Version: 3.8.0 +Vcs-Git: git://git.debian.org/git/users/fourmond/packages/gnuplot-mode.git +Vcs-Browser: http://git.debian.org/?p=users/fourmond/packages/gnuplot-mode.git +Homepage: http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html + + +Package: gnuplot-mode +Architecture: all +Depends: emacs22 | xemacs21 | emacsen, gnuplot-nox | gnuplot-x11 +Description: Yet another Gnuplot mode for Emacs + Gnuplot is a major mode for Emacs flavours with the following features: + - Functions for plotting lines, regions, entire scripts, or entire files + - Graphical interface to setting command arguments + - Syntax colorization + - Completion of common words in Gnuplot + - Code indentation + - On-line help using Info for Gnuplot functions and features + - Interaction with Gnuplot using comint + - Pull-down menus plus a toolbar in XEmacs + - Distributed with a quick reference sheet in postscript. --- gnuplot-mode-0.6.0.orig/debian/copyright +++ gnuplot-mode-0.6.0/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Ryuichi Arafune on +Tue, 28 Mar 2000 13:23:58 +0900. + +It was downloaded from + http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html + +Upstream Author: Bruce Ravel + +Copyright: 1998-2002 Bruce Ravel + + 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 Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + +In Debian system, You can find the full text of the GNU General Public +licences version 2 and 3 in /usr/share/common-licenses/GPL-2 and +/usr/share/common-licenses/GPL-3 + --- gnuplot-mode-0.6.0.orig/debian/emacsen-startup +++ gnuplot-mode-0.6.0/debian/emacsen-startup @@ -0,0 +1,31 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux gnuplot-mode package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The gnuplot-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: + +(debian-pkg-add-load-path-item + (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/gnuplot-mode")) + +;; these lines enable the use of gnuplot mode + (autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t) + (autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t) + +;; this line automatically causes all files with the .gp extension to +;; be loaded into gnuplot mode + (setq auto-mode-alist (append '(("\\.gp\\'" . gnuplot-mode)) auto-mode-alist)) + +;; This line binds the function-9 key so that it opens a buffer into +;; gnuplot mode +;; (global-set-key [(f9)] 'gnuplot-make-buffer) + --- gnuplot-mode-0.6.0.orig/debian/info +++ gnuplot-mode-0.6.0/debian/info @@ -0,0 +1 @@ +gnuplot.info --- gnuplot-mode-0.6.0.orig/debian/compat +++ gnuplot-mode-0.6.0/debian/compat @@ -0,0 +1 @@ +4 --- gnuplot-mode-0.6.0.orig/debian/rules +++ gnuplot-mode-0.6.0/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + # Add here commands to compile the package. + #$(MAKE) + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + #$(MAKE) install prefix=`pwd`/debian/tmp/usr + cp gnuplot.el $(CURDIR)/debian/gnuplot-mode/usr/share/emacs/site-lisp/gnuplot-mode + cp gnuplot-gui.el $(CURDIR)/debian/gnuplot-mode/usr/share/emacs/site-lisp/gnuplot-mode + cp info-look.20.3.el $(CURDIR)/debian/gnuplot-mode/usr/share/emacs/site-lisp/gnuplot-mode + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installemacsen + dh_installman + dh_installchangelogs ChangeLog + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# Nothing to do here. This package is arch all + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean-patched --- gnuplot-mode-0.6.0.orig/debian/emacsen-remove +++ gnuplot-mode-0.6.0/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/gnuplot-mode + +FLAVOR=$1 +PACKAGE=gnuplot-mode + +if [ ${FLAVOR} != emacs ]; then +# if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} +# install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/gnuplot-mode.info.gz +# fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- gnuplot-mode-0.6.0.orig/debian/emacsen-install +++ gnuplot-mode-0.6.0/debian/emacsen-install @@ -0,0 +1,54 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/gnuplot-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=gnuplot-mode + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +case "${FLAVOR}" in + emacs20|emacs21|emacs22|emacs-snapshot|xemacs20|xemacs21) + echo "install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}" + ;; + *) + echo "install/${PACKAGE}: Ignoring emacsen flavor $FLAVOR." + exit 0; + ;; +esac + +SITEFLAG="-no-site-file" # Do not load site files when byte-compiling +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-info-altdir does not actually exist. +# Maybe somebody will write it. +#if test -x /usr/sbin/install-info-altdir; then +# echo install/${PACKAGE}: install Info links for ${FLAVOR} +# install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +#fi + +install -m 0755 -d ${ELCDIR} + +cd ${ELDIR} +FILES=`echo *.el` + +cd ${ELCDIR} +for i in $FILES; do + ln -sf ${ELDIR}/$i . +done + +cat << EOF > path.el + (setq load-path (cons "." load-path) byte-compile-warnings nil) + (require 'font-lock) + (defun hilit-repaint-command (foo)) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f path.el + +exit 0 --- gnuplot-mode-0.6.0.orig/debian/docs +++ gnuplot-mode-0.6.0/debian/docs @@ -0,0 +1,4 @@ +README +gpelcard.tex +gpelcard.pdf + --- gnuplot-mode-0.6.0.orig/debian/patches/500_gnuplot.el_make-variable-buffer-local.dpatch +++ gnuplot-mode-0.6.0/debian/patches/500_gnuplot.el_make-variable-buffer-local.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 500_gnuplot.el_make-variable-buffer-local.dpatch by Agustin Martin Domingo +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixing a make-variable-buffer-local into a function + +font-lock-defaults is already buffer-local when set in any fashion. + +@DPATCH@ +diff -urNad gnuplot-mode-0.6.0~/gnuplot.el gnuplot-mode-0.6.0/gnuplot.el +--- gnuplot-mode-0.6.0~/gnuplot.el 2002-12-13 22:40:51.000000000 +0100 ++++ gnuplot-mode-0.6.0/gnuplot.el 2007-11-16 16:25:41.000000000 +0100 +@@ -1837,7 +1837,6 @@ + ;;(if (not (fboundp 'hilit-set-mode-patterns)) + (if (featurep 'font-lock) + (progn +- (make-variable-buffer-local 'font-lock-defaults) + (setq font-lock-defaults '(gnuplot-font-lock-keywords t t)) + (if gnuplot-xemacs-p (turn-on-font-lock)))) + ;;(if (featurep 'kw-compl) +@@ -2515,7 +2514,6 @@ + (if gnuplot-xemacs-p ; deal with font-lock + (if (fboundp 'turn-on-font-lock) (turn-on-font-lock)) + (progn +- (make-variable-buffer-local 'font-lock-defaults) + (setq font-lock-defaults '(gnuplot-font-lock-keywords t t)))) + ;; (if (and gnuplot-xemacs-p gnuplot-toolbar-display-flag) + ;; (condition-case () ; deal with the toolbar --- gnuplot-mode-0.6.0.orig/debian/patches/00list +++ gnuplot-mode-0.6.0/debian/patches/00list @@ -0,0 +1,2 @@ +500_gnuplot.el_make-variable-buffer-local +850_gnuplot.el_fix-obsolete-backquotes --- gnuplot-mode-0.6.0.orig/debian/patches/850_gnuplot.el_fix-obsolete-backquotes.dpatch +++ gnuplot-mode-0.6.0/debian/patches/850_gnuplot.el_fix-obsolete-backquotes.dpatch @@ -0,0 +1,50 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 850_gnuplot.el_fix-obsolete-backquotes.dpatch by Agustin Martin Domingo +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No longer use obsolete old-style backquotes + +Fixes this warning: + +In toplevel form: +gnuplot.el:331:1:Warning: !! The file uses old-style backquotes !! +This functionality has been obsolete for more than 10 years already +and will be removed soon. See (elisp)Backquote in the manual. + +From the emacs-lisp manual: + +In old Emacs versions, before version 19.29, ``' used a different +syntax which required an extra level of parentheses around the entire +backquote construct. Likewise, each `,' or `,@' substitution required +an extra level of parentheses surrounding both the `,' or `,@' and the +following expression. The old syntax required whitespace between the +``', `,' or `,@' and the following expression. + +@DPATCH@ +diff -urNad gnuplot-mode-0.6.0~/gnuplot.el gnuplot-mode-0.6.0/gnuplot.el +--- gnuplot-mode-0.6.0~/gnuplot.el 2007-11-19 14:18:21.000000000 +0100 ++++ gnuplot-mode-0.6.0/gnuplot.el 2007-11-19 14:19:42.000000000 +0100 +@@ -342,16 +342,16 @@ + (if (fboundp 'defface) + nil + (defmacro defface (var values doc &rest args) +- (` (progn +- (defvar (, var) (quote (, var))) +- ;; To make colors for your faces you need to set your .Xdefaults +- ;; or set them up ahead of time in your .emacs file. +- (make-face (, var)) +- )))) ++ `(progn ++ (defvar ,var (quote ,var)) ++ ;; To make colors for your faces you need to set your .Xdefaults ++ ;; or set them up ahead of time in your .emacs file. ++ (make-face , var) ++ ))) + (if (fboundp 'defcustom) + nil + (defmacro defcustom (var value doc &rest args) +- (` (defvar (, var) (, value) (, doc))))))) ++ `(defvar ,var ,value ,doc))))) + + ;; (eval-and-compile + ;; (condition-case ()