[Pkg-jed-commit] r747 - / tmexpand tmexpand/trunk tmexpand/trunk/debian tmexpand/trunk/debian/patches
Jörg Sommer
jo-guest at alioth.debian.org
Sun May 27 21:15:58 UTC 2007
Author: jo-guest
Date: 2007-05-27 21:15:58 +0000 (Sun, 27 May 2007)
New Revision: 747
Added:
tmexpand/
tmexpand/tags/
tmexpand/trunk/
tmexpand/trunk/check_installation
tmexpand/trunk/debian/
tmexpand/trunk/debian/changelog
tmexpand/trunk/debian/compat
tmexpand/trunk/debian/control
tmexpand/trunk/debian/copyright
tmexpand/trunk/debian/patches/
tmexpand/trunk/debian/patches/00list
tmexpand/trunk/debian/patches/manpage.dpatch
tmexpand/trunk/debian/rules
tmexpand/trunk/debian/watch
Log:
• tmexpand
· A new package we need to rebuild the documentation of Jed.
Added: tmexpand/trunk/check_installation
===================================================================
--- tmexpand/trunk/check_installation (rev 0)
+++ tmexpand/trunk/check_installation 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+set -e
+
+ex=/usr/share/doc/tmexpand/examples
+
+tmp=$(mktemp)
+trap "rm $tmp" EXIT INT
+
+tmexpand $ex/help.tm $tmp
+
+diff -u $tmp - <<__EOF__
+my_function
+
+ SYNOPSIS
+ A function returning an integer
+
+ USAGE
+ Integer_Type my_function ()
+
+ DESCRIPTION
+ This function returns an integer.
+
+ EXAMPLE
+
+ if (my_function ()) exit (1);
+
+
+ NOTES
+ This function is obsolete
+
+ SEE ALSO
+ my_other_function, bobs_function
+
+--------------------------------------------------------------
+__EOF__
+
+tmexpand $ex/web/index.tm $tmp
+if ! test -s $tmp; then
+ echo "output of index.tm is empty"
+ exit 1
+fi
Property changes on: tmexpand/trunk/check_installation
___________________________________________________________________
Name: svn:executable
+ *
Added: tmexpand/trunk/debian/changelog
===================================================================
--- tmexpand/trunk/debian/changelog (rev 0)
+++ tmexpand/trunk/debian/changelog 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,5 @@
+tmexpand (0.1.2.0-1) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Jörg Sommer <joerg at alea.gnuu.de> Sun, 27 May 2007 21:13:52 +0200
Added: tmexpand/trunk/debian/compat
===================================================================
--- tmexpand/trunk/debian/compat (rev 0)
+++ tmexpand/trunk/debian/compat 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1 @@
+4
Added: tmexpand/trunk/debian/control
===================================================================
--- tmexpand/trunk/debian/control (rev 0)
+++ tmexpand/trunk/debian/control 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,16 @@
+Source: tmexpand
+Section: text
+Priority: optional
+Maintainer: Debian JED Group <pkg-jed-devel at lists.alioth.debian.org>
+Uploaders: Rafael Laboissiere <rafael at debian.org>, Jörg Sommer <joerg at alea.gnuu.de>
+Standards-Version: 3.7.2
+Build-Depends: debhelper, dpatch
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-jed/tmexpand/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-jed/tmexpand/
+
+Package: tmexpand
+Architecture: all
+Depends: jed | xjed
+Description: A text-macro processing script to create HTML and SGML documents
+ This package contains a text-macro processing script to facilitate the
+ creation of text, HTML and SGML documents.
Added: tmexpand/trunk/debian/copyright
===================================================================
--- tmexpand/trunk/debian/copyright (rev 0)
+++ tmexpand/trunk/debian/copyright 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,25 @@
+This package was debianized by Jörg Sommer <joerg at alea.gnuu.de> on
+Sun, 27 May 2007 21:01:45 +0200
+
+It was downloaded from ftp://space.mit.edu/pub/davis/jed/tmexpand.
+
+Copyright:
+
+Copyright (C) by John E. Davis <davis at space.mit.edu>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems the full text of the GPL, version 2 can be found
+in /usr/share/common-licenses/GPL-2
Added: tmexpand/trunk/debian/patches/00list
===================================================================
--- tmexpand/trunk/debian/patches/00list (rev 0)
+++ tmexpand/trunk/debian/patches/00list 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1 @@
+manpage
Added: tmexpand/trunk/debian/patches/manpage.dpatch
===================================================================
--- tmexpand/trunk/debian/patches/manpage.dpatch (rev 0)
+++ tmexpand/trunk/debian/patches/manpage.dpatch 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,64 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## manpage.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## DP: Removes - (hypen) by \- (dash) in the manpage.
+
+ at DPATCH@
+diff -urNad trunk~/doc/man/tmexpand.1 trunk/doc/man/tmexpand.1
+--- trunk~/doc/man/tmexpand.1 2005-03-26 18:52:50.000000000 +0100
++++ trunk/doc/man/tmexpand.1 2007-05-27 21:56:27.169123393 +0200
+@@ -8,35 +8,35 @@
+ tmexpand \- jed text-macro processor
+ .SH SYNOPSIS
+
+-\fBtmexpand\fR [ \fB--version\fR] [ \fB-g\fR] [ \fB-I\fIinclude-dir\fB -I\fIinclude-dir\fB ...\fR] [ \fB\fIinput-file\fB|-\fR] [ \fB\fIoutput-file\fB|-\fR]
++\fBtmexpand\fR [ \fB\-\-version\fR] [ \fB\-g\fR] [ \fB\-I\fIinclude\-dir\fB \-I\fIinclude\-dir\fB ...\fR] [ \fB\fIinput\-file\fB|\-\fR] [ \fB\fIoutput\-file\fB|\-\fR]
+
+ .SH "DESCRIPTION"
+ .PP
+-\fBtmexpand\fR is a simple \fBjed-script\fR program for expanding a text-macro
+-file. Both the S-Lang and \fBjed\fR documentation, as well as the
+-jedsoft.org web pages are written in text-macro format.
++\fBtmexpand\fR is a simple \fBjed\-script\fR program for expanding a text\-macro
++file. Both the S\-Lang and \fBjed\fR documentation, as well as the
++jedsoft.org web pages are written in text\-macro format.
+ .PP
+ Included in the \fBtmexpand\fR distribution are macros for the creation
+ of jedsoft.org style HTML pages, macros for producing linuxdoc and
+-docbook SGML files, and macros for expanding S-Lang function
+-text-macro documentation to the S-Lang help file format.
++docbook SGML files, and macros for expanding S\-Lang function
++text\-macro documentation to the S\-Lang help file format.
+ .SH "OPTIONS"
+ .TP
+-\fB--version\fR
++\fB\-\-version\fR
+ Print version information
+ .TP
+-\fB-g\fR
++\fB\-g\fR
+ Load with _traceback set to 1. This is useful for debugging
+ \fBtmexpand\fR itself.
+ .TP
+-\fB-I\fIinclude-dir\fB\fR
+-Append the directory to the macro-directory search list.
++\fB\-I\fIinclude\-dir\fB\fR
++Append the directory to the macro\-directory search list.
+ .SH "REQUIREMENTS"
+ .PP
+-\fBtmexpand\fR is a S-Lang script that is processed by the \fBjed\fR editor.
+-Version 0.99-17 or later of the \fBjed\fR editor is required to run the
++\fBtmexpand\fR is a S\-Lang script that is processed by the \fBjed\fR editor.
++Version 0.99\-17 or later of the \fBjed\fR editor is required to run the
+ script. To get the most out of \fBtmexpand\fR, jed should be compiled
+-against S-Lang version 2.
++against S\-Lang version 2.
+ .SH "USAGE"
+ .PP
+ This section is incomplete.
+@@ -53,4 +53,4 @@
+ Foundation.
+ .PP
+ On Debian systems, the complete text of the GNU General Public
+-License can be found in \fI/usr/share/common-licenses/GPL\fR
++License can be found in \fI/usr/share/common\-licenses/GPL\fR
Property changes on: tmexpand/trunk/debian/patches/manpage.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: tmexpand/trunk/debian/rules
===================================================================
--- tmexpand/trunk/debian/rules (rev 0)
+++ tmexpand/trunk/debian/rules 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,55 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+instdir=$(CURDIR)/debian/tmexpand
+subdirs=bin doc images macros
+
+clean: unpatch
+ dh_testdir
+ dh_clean
+ for i in $(subdirs); do \
+ make -C $$i distclean; \
+ rm -f $$i/Makefile; \
+ done
+ rm -f config.log config.status Makefile
+ rm -f build-stamp install-stamp
+
+config.status: patch-stamp
+ dh_testdir
+ ./configure --prefix=/usr
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+ make
+ touch build-stamp
+
+binary-indep: build-stamp
+ dh_testdir
+ dh_testroot
+ # keep dh_install informations (debian/files) and debian/tmp
+ dh_clean -i --keep
+
+ make DESTDIR=$(instdir) install
+ mv $(instdir)/usr/man $(instdir)/usr/share/man
+ dh_installchangelogs -i ChangeLog
+ dh_installdocs -i
+ dh_installexamples -i --exclude=Makefile doc/examples/*
+
+ dh_compress -i
+ dh_fixperms -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch:
+binary: binary-arch binary-indep
+
+get-orig-source:
+ wget -O tmexpand_0.1.2.0.orig.tar.gz \
+ ftp://space.mit.edu/pub/davis/jed/tmexpand/tmexpand-0.1.2-0.tar.gz
+
+.PHONY: build clean binary binary-arch binary-indep get-orig-source
Property changes on: tmexpand/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: tmexpand/trunk/debian/watch
===================================================================
--- tmexpand/trunk/debian/watch (rev 0)
+++ tmexpand/trunk/debian/watch 2007-05-27 21:15:58 UTC (rev 747)
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+ ftp://space.mit.edu/pub/davis/jed/tmexpand tmexpand-(.*)\.tar\.gz
More information about the Pkg-jed-commit
mailing list