aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo MartĂ­n <caedesv@users.sourceforge.net>2003-09-07 21:08:04 +0000
committerPablo MartĂ­n <caedesv@users.sourceforge.net>2003-09-07 21:08:04 +0000
commit8450df6a1679c3ff12b172c5280cefcdd5155d56 (patch)
tree3cfe4204ce9c1726e1e42827003eafc890f011f0
parentc5bc1501b93b66d9297dc6d5e17c8fb7e2fcbb31 (diff)
Adding debian dir for 'pd-pdp' packet creation
svn path=/trunk/externals/pdp/; revision=938
-rw-r--r--debian/changelog41
-rw-r--r--debian/compat1
-rw-r--r--debian/conffiles.ex7
-rw-r--r--debian/control13
-rw-r--r--debian/copyright10
-rw-r--r--debian/cron.d.ex4
-rw-r--r--debian/dirs8
-rw-r--r--debian/docs3
-rw-r--r--debian/emacsen-install.ex45
-rw-r--r--debian/emacsen-remove.ex15
-rw-r--r--debian/emacsen-startup.ex18
-rw-r--r--debian/files1
-rw-r--r--debian/init.d.ex69
-rw-r--r--debian/manpage.1.ex60
-rw-r--r--debian/menu.ex2
-rw-r--r--debian/pd-pdp.substvars1
-rw-r--r--debian/pdp-config.187
-rw-r--r--debian/pdp-config.sgml.ex145
-rw-r--r--debian/pdp.doc-base.EX22
-rw-r--r--debian/pdp.substvars1
-rw-r--r--debian/postinst.ex48
-rw-r--r--debian/postrm.ex38
-rw-r--r--debian/preinst.ex44
-rw-r--r--debian/prerm.ex39
-rwxr-xr-xdebian/rules106
-rw-r--r--debian/watch.ex6
26 files changed, 834 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dadd257
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,41 @@
+pdp (0.12.2-5) unstable; urgency=low
+
+ * Changing package name
+
+ -- Pablo Martín <caedes@sindominio.net> Wed, 13 Aug 2003 12:00:25 +0200
+
+pdp (0.12.2-4) unstable; urgency=low
+
+ * Fixing some errors in the package
+
+ -- Pablo Martín <caedes@sindominio.net> Thu, 31 Jul 2003 14:50:40 +0200
+
+pdp (0.12.2-3) unstable; urgency=low
+
+ * Recompile to keep up with debian
+
+ -- Pablo Martín <caedes@sindominio.net> Wed, 23 Jul 2003 20:20:08 +0200
+
+pdp (0.12.2-2) unstable; urgency=low
+
+ * Trying to get dependencies better
+
+ -- Pablo Martín <caedes@sindominio.net> Wed, 23 Jul 2003 11:20:36 +0200
+
+pdp (0.12.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Pablo Martín <caedes@sindominio.net> Tue, 22 Jul 2003 10:22:23 +0200
+
+pdp (0.12.1-2) unstable; urgency=low
+
+ * New release to fix proxy hell.
+
+ -- Pablo Martín <caedes@sindominio.net> Wed, 16 Jul 2003 02:27:23 +0200
+
+pdp (0.12.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Pablo Martín <caedes@sindominio.net> Thu, 10 Jul 2003 02:27:23 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/conffiles.ex b/debian/conffiles.ex
new file mode 100644
index 0000000..34bfb30
--- /dev/null
+++ b/debian/conffiles.ex
@@ -0,0 +1,7 @@
+#
+# 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/pdp/pdp.conf
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b4a3bd1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: pdp
+Section: graphics
+Priority: extra
+Maintainer: Pablo Martín <caedes@sindominio.net>
+Build-Depends: debhelper (>> 4.0.0), libquicktime-dev, xlibs-dev, libquicktime-dev, liblame-dev
+Standards-Version: 3.5.8
+
+Package: pd-pdp
+Architecture: any
+Depends: puredata, libc6 (>= 2.3.1-1), libgsl0, libpng12-0 (>= 1.2.5.0-4), libquicktime1 (>= 0.9.2pre1), xlibmesa4-gl | libgl1, xlibmesa4-glu | libglu1, xlibs (>> 4.2)
+Description: Graphics system for pd
+ PDP allows you to manipulate movies and live video data within pd.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8417881
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,10 @@
+This package was debianized by Pablo Martín <caedes@sindominio.net> on
+Thu, 10 Jul 2003 03:30:26 +0100.
+
+It was downloaded from <ftp://epy.co.at/pub/pd>
+
+Upstream Authors: Tom Schouten <pdp@zzz.kotnet.org> and others
+
+Copyright:
+
+This software is published under GPL terms, found on Debian systems in the file /usr/share/common-licenses/GPL-2.
diff --git a/debian/cron.d.ex b/debian/cron.d.ex
new file mode 100644
index 0000000..b0e2178
--- /dev/null
+++ b/debian/cron.d.ex
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the pdp package
+#
+0 4 * * * root pdp_maintenance
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..817d7b2
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,8 @@
+usr/bin
+usr/include/pdp
+usr/lib/pd/doc/pdp
+usr/lib/pd/doc/pdp/introduction
+usr/lib/pd/doc/pdp/examples
+usr/lib/pd/externs
+usr/lib/pd/doc/5.reference
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..92a457d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README
+TODO
+TODO.EXP
diff --git a/debian/emacsen-install.ex b/debian/emacsen-install.ex
new file mode 100644
index 0000000..02c5a2c
--- /dev/null
+++ b/debian/emacsen-install.ex
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/pdp
+
+# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=pdp
+
+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 --git a/debian/emacsen-remove.ex b/debian/emacsen-remove.ex
new file mode 100644
index 0000000..a06ea30
--- /dev/null
+++ b/debian/emacsen-remove.ex
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/pdp
+
+FLAVOR=$1
+PACKAGE=pdp
+
+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/pdp.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex
new file mode 100644
index 0000000..27027b9
--- /dev/null
+++ b/debian/emacsen-startup.ex
@@ -0,0 +1,18 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian pdp package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
+
+;; The pdp 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/pdp") load-path))
+
+
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..db47a65
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+pd-pdp_0.12.2-5_i386.deb graphics extra
diff --git a/debian/init.d.ex b/debian/init.d.ex
new file mode 100644
index 0000000..335ca30
--- /dev/null
+++ b/debian/init.d.ex
@@ -0,0 +1,69 @@
+#! /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 <miquels@cistron.nl>.
+# Modified for Debian
+# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/pdp
+NAME=pdp
+DESC=pdp
+
+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 --git a/debian/manpage.1.ex b/debian/manpage.1.ex
new file mode 100644
index 0000000..c91c29d
--- /dev/null
+++ b/debian/manpage.1.ex
@@ -0,0 +1,60 @@
+.\" 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 PDP SECTION "julio 10, 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
+pdp \- program to do something
+.SH SYNOPSIS
+.B pdp
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B pdp
+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.
+\fBpdp\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 Knoppix User <knoppix@vals>,
+for the Debian project (but may be used by others).
diff --git a/debian/menu.ex b/debian/menu.ex
new file mode 100644
index 0000000..6ef1881
--- /dev/null
+++ b/debian/menu.ex
@@ -0,0 +1,2 @@
+?package(pdp):needs=X11|text|vc|wm section=Apps/see-menu-manual\
+ title="pdp" command="/usr/bin/pdp"
diff --git a/debian/pd-pdp.substvars b/debian/pd-pdp.substvars
new file mode 100644
index 0000000..a42eb7b
--- /dev/null
+++ b/debian/pd-pdp.substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2-1), libgsl0, libpng12-0 (>= 1.2.5.0-4), libquicktime1 (>= 0.9.2pre1), xlibmesa4-gl | libgl1, xlibmesa4-glu | libglu1, xlibs (>> 4.1.0), xlibs (>> 4.2.99)
diff --git a/debian/pdp-config.1 b/debian/pdp-config.1
new file mode 100644
index 0000000..b65dbbd
--- /dev/null
+++ b/debian/pdp-config.1
@@ -0,0 +1,87 @@
+.\" This -*- nroff -*- file has been generated from
+.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
+...\"
+...\" transcript compatibility for postscript use.
+...\"
+...\" synopsis: .P! <file.ps>
+...\"
+.de P!
+\\&.
+.fl \" force out current output buffer
+\\!%PB
+\\!/showpage{}def
+...\" the following is from Ken Flowers -- it prevents dictionary overflows
+\\!/tempdict 200 dict def tempdict begin
+.fl \" prolog
+.sy cat \\$1\" bring in postscript file
+...\" the following line matches the tempdict above
+\\!end % tempdict %
+\\!PE
+\\!.
+.sp \\$2u \" move below the image
+..
+.de pF
+.ie \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie !\\*(f4 \{\
+. ft \\*(f4
+. ds f4\"
+' br \}
+.el .ie !\\*(f3 \{\
+. ft \\*(f3
+. ds f3\"
+' br \}
+.el .ie !\\*(f2 \{\
+. ft \\*(f2
+. ds f2\"
+' br \}
+.el .ie !\\*(f1 \{\
+. ft \\*(f1
+. ds f1\"
+' br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+'\" t
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
+.TH "PDP" "1"
+.SH "NAME"
+pdp \(em script to get information about the installed version of PDP
+.SH "SYNOPSIS"
+.PP
+\fBpdp\fP [\fB--version\fP] [\fB--cflags\fP] [\fB--libdir\fP]
+.SH "DESCRIPTION"
+.PP
+\fBpdp\fP is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and links modules that use PDP.
+
+.SH "OPTIONS"
+.PP
+\fBpdp\fP accepts the following options:
+.IP "\fB--version\fP " 10
+Print the currently installed version of PDP on the standard output.
+.IP "\fB--cflags\fP " 10
+Print the compiler flags that are necessary to compile a PDP module.
+.IP "\fB--libdir\fP " 10
+Print the linker flags that are necessary to link a PDP module.
+.SH "SEE ALSO"
+.PP
+pd (1).
+.SH "AUTHOR"
+.PP
+This manual page was written by Pablo Martín caedes@sindominio.net for
+the \fBDebian\fP 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.
+...\" created by instant / docbook-to-man, Thu 14 Aug 2003, 15:18
diff --git a/debian/pdp-config.sgml.ex b/debian/pdp-config.sgml.ex
new file mode 100644
index 0000000..30ef47c
--- /dev/null
+++ b/debian/pdp-config.sgml.ex
@@ -0,0 +1,145 @@
+<!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>Pablo</firstname>">
+ <!ENTITY dhsurname "<surname>Martín</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>julio 10, 2003</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>1</manvolnum>">
+ <!ENTITY dhemail "<email>caedes@sindominio.net</email>">
+ <!ENTITY dhusername "Pablo Martín">
+ <!ENTITY dhucpackage "<refentrytitle>PDP</refentrytitle>">
+ <!ENTITY dhpackage "pdp">
+
+ <!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>2003</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>script to get information about the installed version of PDP</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg><option>--version</option></arg>
+
+ <arg><option>--cflags</option></arg>
+ <arg><option>--libdir</option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>
+ <command>&dhpackage;</command> is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and links modules that use PDP.
+ </para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <para><command>&dhpackage;</command> accepts the following options:</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>--version</option>
+ </term>
+ <listitem>
+ <para>Print the currently installed version of PDP on the standard output.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--cflags</option>
+ </term>
+ <listitem>
+ <para>Print the compiler flags that are necessary to compile a PDP module.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--libdir</option>
+ </term>
+ <listitem>
+ <para>Print the linker flags that are necessary to link a PDP module.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>pd (1).</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 --git a/debian/pdp.doc-base.EX b/debian/pdp.doc-base.EX
new file mode 100644
index 0000000..15e8805
--- /dev/null
+++ b/debian/pdp.doc-base.EX
@@ -0,0 +1,22 @@
+Document: pdp
+Title: Debian pdp Manual
+Author: <insert document author here>
+Abstract: This manual describes what pdp is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/pdp/pdp.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/pdp/pdp.ps.gz
+
+Format: text
+Files: /usr/share/doc/pdp/pdp.text.gz
+
+Format: HTML
+Index: /usr/share/doc/pdp/html/index.html
+Files: /usr/share/doc/pdp/html/*.html
+
+
diff --git a/debian/pdp.substvars b/debian/pdp.substvars
new file mode 100644
index 0000000..1940aa8
--- /dev/null
+++ b/debian/pdp.substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.1-1), libgsl0, libpng12-0 (>= 1.2.5.0-4), libquicktime1 (>= 0.9.2pre1), xlibmesa4-gl | libgl1, xlibmesa4-glu | libglu1, xlibs (>> 4.1.0), xlibs (>> 4.2.99)
diff --git a/debian/postinst.ex b/debian/postinst.ex
new file mode 100644
index 0000000..f8bba05
--- /dev/null
+++ b/debian/postinst.ex
@@ -0,0 +1,48 @@
+#! /bin/sh
+# postinst script for pdp
+#
+# 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 --git a/debian/postrm.ex b/debian/postrm.ex
new file mode 100644
index 0000000..29e6640
--- /dev/null
+++ b/debian/postrm.ex
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for pdp
+#
+# 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 --git a/debian/preinst.ex b/debian/preinst.ex
new file mode 100644
index 0000000..2222879
--- /dev/null
+++ b/debian/preinst.ex
@@ -0,0 +1,44 @@
+#! /bin/sh
+# preinst script for pdp
+#
+# 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/pdp.pid \
+# --exec /usr/sbin/pdp 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 --git a/debian/prerm.ex b/debian/prerm.ex
new file mode 100644
index 0000000..ceaf76f
--- /dev/null
+++ b/debian/prerm.ex
@@ -0,0 +1,39 @@
+#! /bin/sh
+# prerm script for pdp
+#
+# 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/pdp.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 --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8233dff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,106 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/pdp.sgml > pdp.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/pdp.
+ $(MAKE) install prefix=$(CURDIR)/debian/pd-pdp/usr
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGES.LOG
+ dh_installdocs README TODO
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman pdp-config.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch.ex b/debian/watch.ex
new file mode 100644
index 0000000..bdb17d8
--- /dev/null
+++ b/debian/watch.ex
@@ -0,0 +1,6 @@
+# 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 pdp-(.*)\.tar\.gz debian uupdate