--- verilog-mode-558.orig/debian/changelog +++ verilog-mode-558/debian/changelog @@ -0,0 +1,41 @@ +verilog-mode (558-1) unstable; urgency=low + + * New upstream release. + + -- NIIBE Yutaka Wed, 03 Feb 2010 15:39:21 +0900 + +verilog-mode (429-1) unstable; urgency=low + + * New upstream release. + * debian/control (Standards-Version): It now follows 3.8.0. + * debian/watch: New file. + + -- NIIBE Yutaka Fri, 04 Jul 2008 09:39:50 +0900 + +verilog-mode (377-1) unstable; urgency=low + + * New upstream release. + * debian/control (Standards-Version): It now follows 3.7.3. + (Homepage): New field. + + -- NIIBE Yutaka Fri, 25 Jan 2008 12:44:48 +0900 + +verilog-mode (366-1) unstable; urgency=low + + * New upstream release. + + -- NIIBE Yutaka Mon, 15 Oct 2007 10:07:24 +0900 + +verilog-mode (357-2) unstable; urgency=low + + * debian/emacsen-startup: Fix auto-mode-alist REGEXP (Closes: #446183). + Thanks to Trent W. Buck. + * debian/copyright: Don't include old FSF address. + + -- NIIBE Yutaka Thu, 11 Oct 2007 09:12:25 +0900 + +verilog-mode (357-1) unstable; urgency=low + + * Initial release (Closes: #444108). + + -- NIIBE Yutaka Tue, 02 Oct 2007 15:43:56 +0900 --- verilog-mode-558.orig/debian/compat +++ verilog-mode-558/debian/compat @@ -0,0 +1 @@ +5 --- verilog-mode-558.orig/debian/watch +++ verilog-mode-558/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.veripool.org/wiki/verilog-mode/Installing /ftp/verilog-mode-(.*).el.gz --- verilog-mode-558.orig/debian/control +++ verilog-mode-558/debian/control @@ -0,0 +1,15 @@ +Source: verilog-mode +Section: editors +Priority: optional +Maintainer: NIIBE Yutaka +Build-Depends-Indep: texinfo, emacs22 | emacs21 | emacsen +Build-Depends: debhelper (>= 5) +Standards-Version: 3.8.4 +Homepage: http://www.verilog.com/verilog-mode.html + +Package: verilog-mode +Architecture: all +Depends: emacs22 | emacs21 | emacsen, ${misc:Depends} +Description: Emacs mode for editing Verilog HDL + The emacs major mode for editing code of Verilog HDL. + Supports syntax highlighting, automatic indentation. --- verilog-mode-558.orig/debian/emacsen-install +++ verilog-mode-558/debian/emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/verilog-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=verilog-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-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/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 --- verilog-mode-558.orig/debian/emacsen-remove +++ verilog-mode-558/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/verilog-mode + +FLAVOR=$1 +PACKAGE=verilog-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/share/info/verilog-mode.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- verilog-mode-558.orig/debian/emacsen-startup +++ verilog-mode-558/debian/emacsen-startup @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50verilog-mode.el +;; for the Debian verilog-mode package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The verilog-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: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/verilog-mode"))) +;; If package-dir does not exist, the verilog-mode package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'verilog-mode "verilog-mode" + "Major mode for editing Verilog code." t) + (add-to-list 'auto-mode-alist '("\\.v\\'" . verilog-mode)) + (add-to-list 'auto-mode-alist '("\\.dv\\'" . verilog-mode)))) --- verilog-mode-558.orig/debian/rules +++ verilog-mode-558/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +PACKAGE=verilog-mode + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp + +build-stamp: + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp +# $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir -p $(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE) + cp -p $(PACKAGE).el $(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE) + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installemacsen +# dh_installinfo + 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 --- verilog-mode-558.orig/debian/copyright +++ verilog-mode-558/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by NIIBE Yutaka on +Tue, 02 Oct 2007 15:43:56 +0900. + +It was downloaded from http://www.verilog.com/verilog-mode.html + +Upstream Author: + Michael McNamara + +Copyright: + Copyright (C) 1996-2007 Free Software Foundation, Inc. + +License: + 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. + +See `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is done by NIIBE Yutaka , +it's under public domain. --- verilog-mode-558.orig/debian/README.Debian +++ verilog-mode-558/debian/README.Debian @@ -0,0 +1,5 @@ +Since GNU Emacs 23 comes with verilog-mode, this package will +be removed in near future. This is for older Emacsen. + +-- Niibe Yutaka + Wed Feb 3 15:40:57 2010