From efce5b6bd5c9d4f8214a71e0f7a7c35751710a4c Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Nov 2021 01:17:11 +0800 Subject: + tolua + lpeg --- ThirdParty/toluapp/debian/README | 6 + ThirdParty/toluapp/debian/README.Debian | 6 + ThirdParty/toluapp/debian/changelog | 121 ++++++++++++++++++++ ThirdParty/toluapp/debian/compat | 1 + ThirdParty/toluapp/debian/conffiles.ex | 7 ++ ThirdParty/toluapp/debian/control | 13 +++ ThirdParty/toluapp/debian/copyright | 16 +++ ThirdParty/toluapp/debian/cron.d.ex | 4 + ThirdParty/toluapp/debian/dirs | 4 + ThirdParty/toluapp/debian/docs | 1 + ThirdParty/toluapp/debian/emacsen-install.ex | 45 ++++++++ ThirdParty/toluapp/debian/emacsen-remove.ex | 15 +++ ThirdParty/toluapp/debian/emacsen-startup.ex | 19 ++++ ThirdParty/toluapp/debian/init.d.ex | 74 ++++++++++++ ThirdParty/toluapp/debian/manpage.1.ex | 59 ++++++++++ ThirdParty/toluapp/debian/manpage.sgml.ex | 156 ++++++++++++++++++++++++++ ThirdParty/toluapp/debian/manpage.xml.ex | 148 ++++++++++++++++++++++++ ThirdParty/toluapp/debian/menu.ex | 2 + ThirdParty/toluapp/debian/postinst.ex | 42 +++++++ ThirdParty/toluapp/debian/postrm.ex | 38 +++++++ ThirdParty/toluapp/debian/preinst.ex | 44 ++++++++ ThirdParty/toluapp/debian/prerm.ex | 39 +++++++ ThirdParty/toluapp/debian/rules | 102 +++++++++++++++++ ThirdParty/toluapp/debian/tolua++-default.ex | 10 ++ ThirdParty/toluapp/debian/tolua++.doc-base.EX | 22 ++++ ThirdParty/toluapp/debian/watch.ex | 6 + 26 files changed, 1000 insertions(+) create mode 100644 ThirdParty/toluapp/debian/README create mode 100644 ThirdParty/toluapp/debian/README.Debian create mode 100644 ThirdParty/toluapp/debian/changelog create mode 100644 ThirdParty/toluapp/debian/compat create mode 100644 ThirdParty/toluapp/debian/conffiles.ex create mode 100644 ThirdParty/toluapp/debian/control create mode 100644 ThirdParty/toluapp/debian/copyright create mode 100644 ThirdParty/toluapp/debian/cron.d.ex create mode 100644 ThirdParty/toluapp/debian/dirs create mode 100644 ThirdParty/toluapp/debian/docs create mode 100644 ThirdParty/toluapp/debian/emacsen-install.ex create mode 100644 ThirdParty/toluapp/debian/emacsen-remove.ex create mode 100644 ThirdParty/toluapp/debian/emacsen-startup.ex create mode 100644 ThirdParty/toluapp/debian/init.d.ex create mode 100644 ThirdParty/toluapp/debian/manpage.1.ex create mode 100644 ThirdParty/toluapp/debian/manpage.sgml.ex create mode 100644 ThirdParty/toluapp/debian/manpage.xml.ex create mode 100644 ThirdParty/toluapp/debian/menu.ex create mode 100644 ThirdParty/toluapp/debian/postinst.ex create mode 100644 ThirdParty/toluapp/debian/postrm.ex create mode 100644 ThirdParty/toluapp/debian/preinst.ex create mode 100644 ThirdParty/toluapp/debian/prerm.ex create mode 100644 ThirdParty/toluapp/debian/rules create mode 100644 ThirdParty/toluapp/debian/tolua++-default.ex create mode 100644 ThirdParty/toluapp/debian/tolua++.doc-base.EX create mode 100644 ThirdParty/toluapp/debian/watch.ex (limited to 'ThirdParty/toluapp/debian') 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 , 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 +------------------ + + + + -- Ariel Manzur , 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 Mon, 13 Mar 2006 19:28:14 -0300 + +tolua++ (1.0.8pre3-1) unstable; urgency=low + + * changed tolua_touserdata + * fixed bugs + + -- Ariel Manzur 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 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 Sat, 6 Aug 2005 09:24:10 -0300 + +tolua++ (1.0.6pre3-1) unstable; urgency=low + + * fixed tolua_tocppstring + + -- Ariel Manzur 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 Mon, 2 May 2005 20:56:04 -0300 + +tolua++ (1.0.6pre1-1) unstable; urgency=low + + * something + + -- Ariel Manzur 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 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 Sat, 2 Apr 2005 00:36:45 -0300 + +tolua++ (1.0.5~pre5-1) unstable; urgency=low + + * fixed bug in tolua.cast + + -- Ariel Manzur 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 Thu, 3 Mar 2005 19:03:04 -0300 + +tolua++ (1.0.5~pre3-1) unstable; urgency=low + + * fixed bugs in parser + + -- Ariel Manzur Sun, 20 Feb 2005 19:56:32 -0300 + +tolua++ (1.0.5~pre2-1) unstable; urgency=low + + * added tolua_outside + + -- Ariel Manzur 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 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 Thu, 20 Jan 2005 23:20:17 -0300 + +tolua++ (1.0.4-2) unstable; urgency=low + + * added optimize flags for binary package + + -- Ariel Manzur Fri, 14 Jan 2005 00:43:09 -0300 + +tolua++ (1.0.4-1) unstable; urgency=low + + * Initial Release. + + -- Ariel Manzur 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 +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 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 , + Ariel Manzur + +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 , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +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 +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; 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 . +# Modified for Debian +# by Ian Murdock . +# +# 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 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\fP and +.\" \fI\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 . +.PP +This manual page was written by Ariel Manzur , +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 @@ + 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. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 30, 2004"> + + SECTION"> + puntob@gmail.com"> + + TOLUA++"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and 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. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + 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. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + 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 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| 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. + +--> + + + FIRSTNAME"> + SURNAME"> + + December 30, 2004"> + + SECTION"> + puntob@gmail.com"> + + TOLUA++"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and 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. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + 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. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ 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: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# 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: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# 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: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# 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: +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 -- cgit v1.1-26-g67d0