diff options
Diffstat (limited to 'ThirdParty/toluapp/debian')
26 files changed, 1000 insertions, 0 deletions
diff --git a/ThirdParty/toluapp/debian/README b/ThirdParty/toluapp/debian/README new file mode 100644 index 0000000..2a7174e --- /dev/null +++ b/ThirdParty/toluapp/debian/README @@ -0,0 +1,6 @@ +The Debian Package tolua++ +---------------------------- + +Comments regarding the Package + +Ariel Manzur <puntob@gmail.com>, Thu, 30 Dec 2004 11:59:14 -0300 diff --git a/ThirdParty/toluapp/debian/README.Debian b/ThirdParty/toluapp/debian/README.Debian new file mode 100644 index 0000000..875a2fd --- /dev/null +++ b/ThirdParty/toluapp/debian/README.Debian @@ -0,0 +1,6 @@ +tolua++ for Debian +------------------ + +<possible notes regarding this package - if none, delete this file> + + -- Ariel Manzur <puntob@gmail.com>, Thu, 30 Dec 2004 11:59:14 -0300 diff --git a/ThirdParty/toluapp/debian/changelog b/ThirdParty/toluapp/debian/changelog new file mode 100644 index 0000000..ddbc036 --- /dev/null +++ b/ThirdParty/toluapp/debian/changelog @@ -0,0 +1,121 @@ +tolua++ (1.0.92pre1-1) unstable; urgency=low + + * fixed array bound check bug + * moved parsing of 'extern' keyword to the parser + * fixed bug in module name generation from package filename + * added -E command line option + + -- Ariel Manzur <puntob@gmail.com> Mon, 13 Mar 2006 19:28:14 -0300 + +tolua++ (1.0.8pre3-1) unstable; urgency=low + + * changed tolua_touserdata + * fixed bugs + + -- Ariel Manzur <puntob@gmail.com> Tue, 13 Dec 2005 01:46:33 +0100 + +tolua++ (1.0.7-1) unstable; urgency=low + + * added -C flag + * added object access + * added parser_hook + * merged Mildred's patch (sorry, no last name): code on open function is + nested, embedded lua chunks have better names + + -- Ariel Manzur <puntob@gmail.com> Tue, 18 Oct 2005 22:51:04 -0300 + +tolua++ (1.0.6-1) unstable; urgency=low + + * fixed parser bugs + * added tolua_property + * added TOLUA_PROTECTED_DESTRUCTOR + * added inheritance from C objects by lua objects + * fixed class constructor bug (calling the class name directly works) + + -- Ariel Manzur <puntob@gmail.com> Sat, 6 Aug 2005 09:24:10 -0300 + +tolua++ (1.0.6pre3-1) unstable; urgency=low + + * fixed tolua_tocppstring + + -- Ariel Manzur <puntob@gmail.com> Sun, 26 Jun 2005 21:01:50 -0300 + +tolua++ (1.0.6pre2-1) unstable; urgency=low + + * fixed c compilation bug + * added -D flag + * fixed tolua.releaseownership? + + -- Ariel Manzur <puntob@gmail.com> Mon, 2 May 2005 20:56:04 -0300 + +tolua++ (1.0.6pre1-1) unstable; urgency=low + + * something + + -- Ariel Manzur <puntob@gmail.com> Wed, 27 Apr 2005 00:09:41 -0300 + +tolua++ (1.0.5-1) unstable; urgency=low + + * fixed missed inheritance bug. + * ready for 1.0.5 + + -- Ariel Manzur <puntob@gmail.com> Fri, 8 Apr 2005 23:15:19 -0300 + +tolua++ (1.0.5~pre6-1) unstable; urgency=low + + * fixed bug in tolua.cast (introduced on previous version) + + -- Ariel Manzur <puntob@gmail.com> Sat, 2 Apr 2005 00:36:45 -0300 + +tolua++ (1.0.5~pre5-1) unstable; urgency=low + + * fixed bug in tolua.cast + + -- Ariel Manzur <puntob@gmail.com> Fri, 18 Mar 2005 01:13:55 -0300 + +tolua++ (1.0.5~pre4-1) unstable; urgency=low + + * fixed support for overloading methods across multiple class definitions + + -- Ariel Manzur <puntob@gmail.com> Thu, 3 Mar 2005 19:03:04 -0300 + +tolua++ (1.0.5~pre3-1) unstable; urgency=low + + * fixed bugs in parser + + -- Ariel Manzur <puntob@gmail.com> Sun, 20 Feb 2005 19:56:32 -0300 + +tolua++ (1.0.5~pre2-1) unstable; urgency=low + + * added tolua_outside + + -- Ariel Manzur <puntob@gmail.com> Fri, 11 Feb 2005 02:50:45 -0300 + +tolua++ (1.0.5~pre1-1) unstable; urgency=low + + * fixed bug in type detection + * fixed bug in code output for static variables + + -- Ariel Manzur <puntob@gmail.com> Thu, 3 Feb 2005 02:05:43 -0300 + +tolua++ (1.0.4-3) unstable; urgency=low + + * jumped the gun on the previous release + + -- Ariel Manzur <puntob@gmail.com> Thu, 20 Jan 2005 23:20:17 -0300 + +tolua++ (1.0.4-2) unstable; urgency=low + + * added optimize flags for binary package + + -- Ariel Manzur <puntob@gmail.com> Fri, 14 Jan 2005 00:43:09 -0300 + +tolua++ (1.0.4-1) unstable; urgency=low + + * Initial Release. + + -- Ariel Manzur <puntob@gmail.com> Thu, 30 Dec 2004 11:59:14 -0300 + +Local variables: +mode: debian-changelog +End: diff --git a/ThirdParty/toluapp/debian/compat b/ThirdParty/toluapp/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/ThirdParty/toluapp/debian/compat @@ -0,0 +1 @@ +4 diff --git a/ThirdParty/toluapp/debian/conffiles.ex b/ThirdParty/toluapp/debian/conffiles.ex new file mode 100644 index 0000000..9c98849 --- /dev/null +++ b/ThirdParty/toluapp/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/tolua++/tolua++.conf diff --git a/ThirdParty/toluapp/debian/control b/ThirdParty/toluapp/debian/control new file mode 100644 index 0000000..b35df12 --- /dev/null +++ b/ThirdParty/toluapp/debian/control @@ -0,0 +1,13 @@ +Source: tolua++ +Section: unknown +Priority: optional +Maintainer: Ariel Manzur <puntob@gmail.com> +Build-Depends: debhelper (>= 4.0.0), scons, liblua50-dev, liblualib50-dev +Standards-Version: 3.6.1 + +Package: tolua++ +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, liblua50-dev, liblualib50-dev +Description: tolua++ + tolua++ is an extended version of tolua, a tool to integrate C/C++ code with + Lua. tolua++ includes new features oriented to c++. diff --git a/ThirdParty/toluapp/debian/copyright b/ThirdParty/toluapp/debian/copyright new file mode 100644 index 0000000..6f2e619 --- /dev/null +++ b/ThirdParty/toluapp/debian/copyright @@ -0,0 +1,16 @@ +This package is maintained by Ariel Manzur <puntob@gmail.com> on +Sat, 08 Jan 2005 06:11:22 -0300 + +Latest version can be found on http://www.codenix.com/~tolua/ + +Upstream Author(s): Waldemar Celes <celes@tecgraf.puc-rio.br>, + Ariel Manzur <puntob@gmail.com> + +Copyright: + +Quoted from the README file accompanying tolua: + + 'tolua is freely available; you can redistribute it and/or modify it. + The software provided hereunder is on an "as is" basis, and + the author has no obligation to provide maintenance, support, + updates, enhancements, or modifications.' diff --git a/ThirdParty/toluapp/debian/cron.d.ex b/ThirdParty/toluapp/debian/cron.d.ex new file mode 100644 index 0000000..d943b05 --- /dev/null +++ b/ThirdParty/toluapp/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the tolua++ package +# +0 4 * * * root tolua++_maintenance diff --git a/ThirdParty/toluapp/debian/dirs b/ThirdParty/toluapp/debian/dirs new file mode 100644 index 0000000..63312d2 --- /dev/null +++ b/ThirdParty/toluapp/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/lib +usr/include + diff --git a/ThirdParty/toluapp/debian/docs b/ThirdParty/toluapp/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/ThirdParty/toluapp/debian/docs @@ -0,0 +1 @@ +README diff --git a/ThirdParty/toluapp/debian/emacsen-install.ex b/ThirdParty/toluapp/debian/emacsen-install.ex new file mode 100644 index 0000000..15a7e8a --- /dev/null +++ b/ThirdParty/toluapp/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/tolua++ + +# 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=tolua++ + +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/ThirdParty/toluapp/debian/emacsen-remove.ex b/ThirdParty/toluapp/debian/emacsen-remove.ex new file mode 100644 index 0000000..7dbfb6a --- /dev/null +++ b/ThirdParty/toluapp/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/tolua++ + +FLAVOR=$1 +PACKAGE=tolua++ + +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/tolua++.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/ThirdParty/toluapp/debian/emacsen-startup.ex b/ThirdParty/toluapp/debian/emacsen-startup.ex new file mode 100644 index 0000000..2def7e7 --- /dev/null +++ b/ThirdParty/toluapp/debian/emacsen-startup.ex @@ -0,0 +1,19 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian tolua++ 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 tolua++ 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/tolua++"))) + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)))) + diff --git a/ThirdParty/toluapp/debian/init.d.ex b/ThirdParty/toluapp/debian/init.d.ex new file mode 100644 index 0000000..4ca1639 --- /dev/null +++ b/ThirdParty/toluapp/debian/init.d.ex @@ -0,0 +1,74 @@ +#! /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/tolua++ +NAME=tolua++ +DESC=tolua++ + +test -x $DAEMON || exit 0 + +# Include tolua++ defaults if available +if [ -f /etc/default/tolua++ ] ; then + . /etc/default/tolua++ +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + 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 -- $DAEMON_OPTS + 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/ThirdParty/toluapp/debian/manpage.1.ex b/ThirdParty/toluapp/debian/manpage.1.ex new file mode 100644 index 0000000..6550b37 --- /dev/null +++ b/ThirdParty/toluapp/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 TOLUA++ SECTION "December 30, 2004" +.\" 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 +tolua++ \- program to do something +.SH SYNOPSIS +.B tolua++ +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B tolua++ +and +.B bar +commands. +.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. +\fBtolua++\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 +tolua++ was written by <upstream author>. +.PP +This manual page was written by Ariel Manzur <puntob@gmail.com>, +for the Debian project (but may be used by others). diff --git a/ThirdParty/toluapp/debian/manpage.sgml.ex b/ThirdParty/toluapp/debian/manpage.sgml.ex new file mode 100644 index 0000000..2cd6f68 --- /dev/null +++ b/ThirdParty/toluapp/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ +<!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>December 30, 2004</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>puntob@gmail.com</email>"> + <!ENTITY dhusername "Ariel Manzur"> + <!ENTITY dhucpackage "<refentrytitle>TOLUA++</refentrytitle>"> + <!ENTITY dhpackage "tolua++"> + + <!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>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; General Public License, Version 2 any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + </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/ThirdParty/toluapp/debian/manpage.xml.ex b/ThirdParty/toluapp/debian/manpage.xml.ex new file mode 100644 index 0000000..43df370 --- /dev/null +++ b/ThirdParty/toluapp/debian/manpage.xml.ex @@ -0,0 +1,148 @@ +<?xml version='1.0' encoding='ISO-8859-1'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" +"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!-- + +Process this file with an XSLT processor: `xsltproc \ +-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl manpage.dbk'. A manual page +<package>.<section> will be generated. You may view the +manual page with: nroff -man <package>.<section> | less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. 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 xsltproc +and docbook-xsl 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>December 30, 2004</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>puntob@gmail.com</email>"> + <!ENTITY dhusername "Ariel Manzur"> + <!ENTITY dhucpackage "<refentrytitle>TOLUA++</refentrytitle>"> + <!ENTITY dhpackage "tolua++"> + + <!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>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; General Public License, Version 2 any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + </para> + + </refsect1> +</refentry> + diff --git a/ThirdParty/toluapp/debian/menu.ex b/ThirdParty/toluapp/debian/menu.ex new file mode 100644 index 0000000..c478fb4 --- /dev/null +++ b/ThirdParty/toluapp/debian/menu.ex @@ -0,0 +1,2 @@ +?package(tolua++):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\ + title="tolua++" command="/usr/bin/tolua++" diff --git a/ThirdParty/toluapp/debian/postinst.ex b/ThirdParty/toluapp/debian/postinst.ex new file mode 100644 index 0000000..5dc370e --- /dev/null +++ b/ThirdParty/toluapp/debian/postinst.ex @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for tolua++ +# +# 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 +# + +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/ThirdParty/toluapp/debian/postrm.ex b/ThirdParty/toluapp/debian/postrm.ex new file mode 100644 index 0000000..8255a71 --- /dev/null +++ b/ThirdParty/toluapp/debian/postrm.ex @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for tolua++ +# +# 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/ThirdParty/toluapp/debian/preinst.ex b/ThirdParty/toluapp/debian/preinst.ex new file mode 100644 index 0000000..61176f7 --- /dev/null +++ b/ThirdParty/toluapp/debian/preinst.ex @@ -0,0 +1,44 @@ +#! /bin/sh +# preinst script for tolua++ +# +# 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/tolua++.pid \ +# --exec /usr/sbin/tolua++ 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/ThirdParty/toluapp/debian/prerm.ex b/ThirdParty/toluapp/debian/prerm.ex new file mode 100644 index 0000000..6d74b30 --- /dev/null +++ b/ThirdParty/toluapp/debian/prerm.ex @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for tolua++ +# +# 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/tolua++.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/ThirdParty/toluapp/debian/rules b/ThirdParty/toluapp/debian/rules new file mode 100644 index 0000000..26e157d --- /dev/null +++ b/ThirdParty/toluapp/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + scons build_dev=0 prefix=$(CURDIR)/debian/tolua++/usr configure + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + scons all + #docbook-to-man debian/tolua++.sgml > tolua++.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + scons -c build_dev=0 all configure + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tolua++. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/tolua++ + scons install + + +# 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 + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + 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 configure diff --git a/ThirdParty/toluapp/debian/tolua++-default.ex b/ThirdParty/toluapp/debian/tolua++-default.ex new file mode 100644 index 0000000..922c66c --- /dev/null +++ b/ThirdParty/toluapp/debian/tolua++-default.ex @@ -0,0 +1,10 @@ +# Defaults for tolua++ initscript +# sourced by /etc/init.d/tolua++ +# installed at /etc/default/tolua++ by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/ThirdParty/toluapp/debian/tolua++.doc-base.EX b/ThirdParty/toluapp/debian/tolua++.doc-base.EX new file mode 100644 index 0000000..06bdb8d --- /dev/null +++ b/ThirdParty/toluapp/debian/tolua++.doc-base.EX @@ -0,0 +1,22 @@ +Document: tolua++ +Title: Debian tolua++ Manual +Author: <insert document author here> +Abstract: This manual describes what tolua++ is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/tolua++/tolua++.sgml.gz + +Format: postscript +Files: /usr/share/doc/tolua++/tolua++.ps.gz + +Format: text +Files: /usr/share/doc/tolua++/tolua++.text.gz + +Format: HTML +Index: /usr/share/doc/tolua++/html/index.html +Files: /usr/share/doc/tolua++/html/*.html + + diff --git a/ThirdParty/toluapp/debian/watch.ex b/ThirdParty/toluapp/debian/watch.ex new file mode 100644 index 0000000..e1134e0 --- /dev/null +++ b/ThirdParty/toluapp/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 tolua++-(.*)\.tar\.gz debian uupdate |