Hi, Like the original submitter, I discovered that the version of source-highlight available in Debian is pretty ancient. I've packaged the new version 2.4. You can find my work in http://thomas.enix.org/pub/debian/packages/pool/unstable/. I've also included the diff between the debian/ directory of the current Debian package, and the debian/ directory of my new package.
Basically, the changes are the following: - In README.Debian, remove things related to the cgi-bin thing. Doesn't seem to exist anymore. - Mention in README.Debian how to use the src-hilite-lesspipe.sh, because it's really a nice feature. - Add a new entry in the chanlog. - Add a build dependency on libboost-regex-dev, now used by source-highlight - Update the description of the package with an updated list of supported input and output languages - In debian/rules, remove things related to the cgi-bin thing - Again in debian/rules, move src-hilite-lesspipe.sh from /usr/bin/ to /usr/share/source-highlight. I don't think it's nice to pollute the $PATH namespace with commands as badly named as src-hilite-lesspipe.sh. Moreover, the LESSOPEN trick works even when this script is in another directory. - In source-highlight.docs, remove unexisting document. - Remove the useless t/ directory I hope this work will ease your packaging work before uploading a new version of source-highlight. If you want me to help in a way or another, don't hesitate to ask. Thanks a lot ! Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
diff -ruN source-highlight-1.11/debian/README.Debian source-highlight/debian/README.Debian --- source-highlight-1.11/debian/README.Debian 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/README.Debian 2006-08-17 21:28:09.000000000 +0200 @@ -1,9 +1,17 @@ source-highlight for Debian --------------------------- -The depricated cpp2html and java2html programs will not be included -in the Debian package. +The deprecated cpp2html and java2html programs are not included in the +Debian package. -The cgi program is moved from /usr/bin to /usr/share/source-highlight/cgi-bin. +The src-hilite-lesspipe.sh script is not installed in /usr/bin/ but in +/usr/share/source-highlight/. You can grab it and use it to beautify +the output of the less command when viewing files that +source-highlight can highlight. To do so, use the following +environment variables: - -- Ola Lundqvist <[EMAIL PROTECTED]>, Sat, 15 Feb 2003 17:45:47 +0100 +export LESSOPEN="| /path/to/src-hilite-lesspipe.sh %s" +export LESS=' -R ' + + + -- Thomas Petazzoni <[EMAIL PROTECTED]>, Thu, 17 Aug 2006 21:28:09 +0200 diff -ruN source-highlight-1.11/debian/changelog source-highlight/debian/changelog --- source-highlight-1.11/debian/changelog 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/changelog 2006-08-17 20:37:30.000000000 +0200 @@ -1,3 +1,9 @@ +source-highlight (2.4-1) unstable; urgency=low + + * New upstream release. + + -- Thomas Petazzoni <[EMAIL PROTECTED]> Thu, 17 Aug 2006 20:37:30 +0200 + source-highlight (1.11-2) unstable; urgency=low * New upstream release. diff -ruN source-highlight-1.11/debian/control source-highlight/debian/control --- source-highlight-1.11/debian/control 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/control 2006-08-17 20:39:21.000000000 +0200 @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: Ola Lundqvist <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0) +Build-Depends: debhelper (>> 3.0.0), libboost-regex-dev Standards-Version: 3.6.2 Package: source-highlight @@ -10,15 +10,9 @@ Depends: ${shlibs:Depends} Description: convert source code to html This program, given a source file, produces a document with syntax - highlighting. At the moment this package can handle these source languages: - * Java - * C/C++ - * Prolog - * Perl - * Php3 - * Python - * Flex - * ChangeLog - and the following output languages: - * HTML - * XHTML + highlighting. At the moment this package can handle several source + languages: C/C++, C Sharp, Bison, Caml, Changelog, Diff, Flex, + Fortran, Html, Java, Javascript, Latex, Logtalk, Log files, Lua, ML, + Pascal, Perl, PHP, Postscript, Prolog, Python, Ruby, Shell and + XML. It support the following output languages: HTML, XHTML, LaTeX, + Texinfo, ANSI color escape sequences and DocBook. diff -ruN source-highlight-1.11/debian/rules source-highlight/debian/rules --- source-highlight-1.11/debian/rules 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/rules 2006-08-17 21:16:01.000000000 +0200 @@ -43,7 +43,6 @@ # Add here commands to compile the package. $(MAKE) - #/usr/bin/docbook-to-man debian/source-highlight.sgml > source-highlight.1 touch build-stamp @@ -75,9 +74,7 @@ rm $(DESTDIR)/usr/share/doc/source-highlight/COPYING* rm $(DESTDIR)/usr/bin/cpp2html rm $(DESTDIR)/usr/bin/java2html - mkdir -p $(DESTDIR)/usr/share/source-highlight/cgi-bin - mv $(DESTDIR)/usr/bin/source-highlight-cgi \ - $(DESTDIR)/usr/share/source-highlight/cgi-bin/ + mv $(DESTDIR)/usr/bin/src-hilite-lesspipe.sh $(DESTDIR)/usr/share/source-highlight/ # Build architecture-independent files here. binary-indep: build install diff -ruN source-highlight-1.11/debian/source-highlight.docs source-highlight/debian/source-highlight.docs --- source-highlight-1.11/debian/source-highlight.docs 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/source-highlight.docs 2006-08-17 21:17:56.000000000 +0200 @@ -1,4 +1,3 @@ NEWS README -README.compile_VC6 TODO.txt diff -ruN source-highlight-1.11/debian/t/conffiles.ex source-highlight/debian/t/conffiles.ex --- source-highlight-1.11/debian/t/conffiles.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/conffiles.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -# -# If you want to use this conffile, remove all comments and put files that -# you want dpkg to process here using their absolute pathnames. -# See the policy manual -# -# for example: -# /etc/source-highlight/source-highlight.conf diff -ruN source-highlight-1.11/debian/t/cron.d.ex source-highlight/debian/t/cron.d.ex --- source-highlight-1.11/debian/t/cron.d.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/cron.d.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the source-highlight package -# -0 4 * * * root source-highlight_maintenance diff -ruN source-highlight-1.11/debian/t/emacsen-install.ex source-highlight/debian/t/emacsen-install.ex --- source-highlight-1.11/debian/t/emacsen-install.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/emacsen-install.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ -#! /bin/sh -e -# /usr/lib/emacsen-common/packages/install/source-highlight - -# Written by Jim Van Zandt <[EMAIL PROTECTED]>, borrowing heavily -# from the install scripts for gettext by Santiago Vila -# <[EMAIL PROTECTED]> and octave by Dirk Eddelbuettel <[EMAIL PROTECTED]>. - -FLAVOR=$1 -PACKAGE=source-highlight - -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/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 diff -ruN source-highlight-1.11/debian/t/emacsen-remove.ex source-highlight/debian/t/emacsen-remove.ex --- source-highlight-1.11/debian/t/emacsen-remove.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/emacsen-remove.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!/bin/sh -e -# /usr/lib/emacsen-common/packages/remove/source-highlight - -FLAVOR=$1 -PACKAGE=source-highlight - -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/source-highlight.info.gz - fi - - echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} - rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} -fi diff -ruN source-highlight-1.11/debian/t/emacsen-startup.ex source-highlight/debian/t/emacsen-startup.ex --- source-highlight-1.11/debian/t/emacsen-startup.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/emacsen-startup.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -;; -*-emacs-lisp-*- -;; -;; Emacs startup file for the Debian GNU/Linux source-highlight package -;; -;; Originally contributed by Nils Naumann <[EMAIL PROTECTED]> -;; Modified by Dirk Eddelbuettel <[EMAIL PROTECTED]> -;; Adapted for dh-make by Jim Van Zandt <[EMAIL PROTECTED]> - -;; The source-highlight 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: -(setq load-path (cons (concat "/usr/share/" - (symbol-name flavor) - "/site-lisp/source-highlight") load-path)) - - diff -ruN source-highlight-1.11/debian/t/ex.package.doc-base source-highlight/debian/t/ex.package.doc-base --- source-highlight-1.11/debian/t/ex.package.doc-base 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/ex.package.doc-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -Document: source-highlight -Title: Debian source-highlight Manual -Author: <insert document author here> -Abstract: This manual describes what source-highlight is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/source-highlight/source-highlight.sgml.gz - -Format: postscript -Files: /usr/share/doc/source-highlight/source-highlight.ps.gz - -Format: text -Files: /usr/share/doc/source-highlight/source-highlight.text.gz - -Format: HTML -Index: /usr/share/doc/source-highlight/html/index.html -Files: /usr/share/doc/source-highlight/html/*.html - - diff -ruN source-highlight-1.11/debian/t/init.d.ex source-highlight/debian/t/init.d.ex --- source-highlight-1.11/debian/t/init.d.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/init.d.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,69 +0,0 @@ -#! /bin/sh -# -# skeleton example file to build /etc/init.d/ scripts. -# This file should be used to construct scripts for /etc/init.d. -# -# Written by Miquel van Smoorenburg <[EMAIL PROTECTED]>. -# Modified for Debian GNU/Linux -# by Ian Murdock <[EMAIL PROTECTED]>. -# -# Version: @(#)skeleton 1.9 26-Feb-2001 [EMAIL PROTECTED] -# - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/sbin/source-highlight -NAME=source-highlight -DESC=source-highlight - -test -x $DAEMON || exit 0 - -set -e - -case "$1" in - start) - echo -n "Starting $DESC: " - start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ - --exec $DAEMON - echo "$NAME." - ;; - stop) - echo -n "Stopping $DESC: " - start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ - --exec $DAEMON - echo "$NAME." - ;; - #reload) - # - # If the daemon can reload its config files on the fly - # for example by sending it SIGHUP, do it here. - # - # If the daemon responds to changes in its config file - # directly anyway, make this a do-nothing entry. - # - # echo "Reloading $DESC configuration files." - # start-stop-daemon --stop --signal 1 --quiet --pidfile \ - # /var/run/$NAME.pid --exec $DAEMON - #;; - restart|force-reload) - # - # If the "reload" option is implemented, move the "force-reload" - # option to the "reload" entry above. If not, "force-reload" is - # just the same as "restart". - # - echo -n "Restarting $DESC: " - start-stop-daemon --stop --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON - sleep 1 - start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON - echo "$NAME." - ;; - *) - N=/etc/init.d/$NAME - # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 - echo "Usage: $N {start|stop|restart|force-reload}" >&2 - exit 1 - ;; -esac - -exit 0 diff -ruN source-highlight-1.11/debian/t/manpage.1.ex source-highlight/debian/t/manpage.1.ex --- source-highlight-1.11/debian/t/manpage.1.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/manpage.1.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,60 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH SOURCE-HIGHLIGHT SECTION "februari 15, 2003" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp <n> insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -source-highlight \- program to do something -.SH SYNOPSIS -.B source-highlight -.RI [ options ] " files" ... -.br -.B bar -.RI [ options ] " files" ... -.SH DESCRIPTION -This manual page documents briefly the -.B source-highlight -and -.B bar -commands. -This manual page was written for the Debian distribution -because the original program does not have a manual page. -Instead, it has documentation in the GNU Info format; see below. -.PP -.\" TeX users may be more comfortable with the \fB<whatever>\fP and -.\" \fI<whatever>\fP escape sequences to invode bold face and italics, -.\" respectively. -\fBsource-highlight\fP is a program that... -.SH OPTIONS -These programs follow the usual GNU command line syntax, with long -options starting with two dashes (`-'). -A summary of options is included below. -For a complete description, see the Info files. -.TP -.B \-h, \-\-help -Show summary of options. -.TP -.B \-v, \-\-version -Show version of program. -.SH SEE ALSO -.BR bar (1), -.BR baz (1). -.br -The programs are documented fully by -.IR "The Rise and Fall of a Fooish Bar" , -available via the Info system. -.SH AUTHOR -This manual page was written by Ola Lundqvist <[EMAIL PROTECTED]>, -for the Debian GNU/Linux system (but may be used by others). diff -ruN source-highlight-1.11/debian/t/manpage.sgml.ex source-highlight/debian/t/manpage.sgml.ex --- source-highlight-1.11/debian/t/manpage.sgml.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/manpage.sgml.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,153 +0,0 @@ -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ - -<!-- Process this file with docbook-to-man to generate an nroff manual - page: `docbook-to-man manpage.sgml > manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> - <!ENTITY dhsurname "<surname>SURNAME</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>februari 15, 2003</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> - <!ENTITY dhemail "<email>[EMAIL PROTECTED]</email>"> - <!ENTITY dhusername "Ola Lundqvist"> - <!ENTITY dhucpackage "<refentrytitle>SOURCE-HIGHLIGHT</refentrytitle>"> - <!ENTITY dhpackage "source-highlight"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> - <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2002</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>program to do something</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><option>-e <replaceable>this</replaceable></option></arg> - - <arg><option>--example <replaceable>that</replaceable></option></arg> - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> and <command>bar</command> - commands.</para> - - <para>This manual page was written for the &debian; distribution - because the original program does not have a manual page. - Instead, it has documentation in the &gnu; - <application>Info</application> format; see below.</para> - - <para><command>&dhpackage;</command> is a program that...</para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para>These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - <application>Info</application> files.</para> - - <variablelist> - <varlistentry> - <term><option>-h</option> - <option>--help</option> - </term> - <listitem> - <para>Show summary of options.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-v</option> - <option>--version</option> - </term> - <listitem> - <para>Show version of program.</para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - <refsect1> - <title>SEE ALSO</title> - - <para>bar (1), baz (1).</para> - - <para>The programs are documented fully by <citetitle>The Rise and - Fall of a Fooish Bar</citetitle> available via the - <application>Info</application> system.</para> - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; Free Documentation - License, Version 1.1 or any later version published by the Free - Software Foundation; with no Invariant Sections, no Front-Cover - Texts and no Back-Cover Texts.</para> - - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:2 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:nil -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> - - diff -ruN source-highlight-1.11/debian/t/menu.ex source-highlight/debian/t/menu.ex --- source-highlight-1.11/debian/t/menu.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/menu.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -?package(source-highlight):needs=X11|text|vc|wm section=Apps/see-menu-manual\ - title="source-highlight" command="/usr/bin/source-highlight" diff -ruN source-highlight-1.11/debian/t/postinst.ex source-highlight/debian/t/postinst.ex --- source-highlight-1.11/debian/t/postinst.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/postinst.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ -#! /bin/sh -# postinst script for source-highlight -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -case "$1" in - configure) - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff -ruN source-highlight-1.11/debian/t/postrm.ex source-highlight/debian/t/postrm.ex --- source-highlight-1.11/debian/t/postrm.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/postrm.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ -#! /bin/sh -# postrm script for source-highlight -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -ruN source-highlight-1.11/debian/t/preinst.ex source-highlight/debian/t/preinst.ex --- source-highlight-1.11/debian/t/preinst.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/preinst.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ -#! /bin/sh -# preinst script for source-highlight -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) -# if [ "$1" = "upgrade" ] -# then -# start-stop-daemon --stop --quiet --oknodo \ -# --pidfile /var/run/source-highlight.pid \ -# --exec /usr/sbin/source-highlight 2>/dev/null || true -# fi - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff -ruN source-highlight-1.11/debian/t/prerm.ex source-highlight/debian/t/prerm.ex --- source-highlight-1.11/debian/t/prerm.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/prerm.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -#! /bin/sh -# prerm script for source-highlight -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <prerm> `remove' -# * <old-prerm> `upgrade' <new-version> -# * <new-prerm> `failed-upgrade' <old-version> -# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> -# * <deconfigured's-prerm> `deconfigure' `in-favour' -# <package-being-installed> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) -# install-info --quiet --remove /usr/info/source-highlight.info.gz - ;; - failed-upgrade) - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff -ruN source-highlight-1.11/debian/t/watch.ex source-highlight/debian/t/watch.ex --- source-highlight-1.11/debian/t/watch.ex 2006-08-17 20:17:28.000000000 +0200 +++ source-highlight/debian/t/watch.ex 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# Site Directory Pattern Version Script -version=2 -sunsite.unc.edu /pub/Linux/Incoming source-highlight-(.*)\.tar\.gz debian uupdate
signature.asc
Description: PGP signature