Overview
| Comment: | 898897 Separate examples from main .deb Created new .deb package for examples (mtt-examples). mtt-examples depends on mtt. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9a6b8108b1a2dcf7fa97ec6b317c5a92 |
| User & Date: | geraint@users.sourceforge.net on 2004-02-19 00:47:19.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2004-02-19
| ||
| 12:05:49 | Fix prob. when no bonds check-in: b172ab0035 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 00:47:19 |
898897 Separate examples from main .deb Created new .deb package for examples (mtt-examples). mtt-examples depends on mtt. | |
|
2004-02-17
| ||
| 21:57:41 |
Implemented [ 898902 ] Default sfun_interface All inputs and outputs are now passed between MTT and Simulink. check-in: 42e1b8d9f6 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt_cvs2deb
from [6e6f8feb93]
to [296effe228].
| ︙ | ︙ | |||
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
error "unknown option $1" ;;
esac
shift
done
topdir=`pwd`
# create working directory
tmpdir=`mktemp -d mtt_cvs2deb.tmp.XXXXXXXXXX`
if [ ! -d ${tmpdir} ]; then
error "cannot create temporary directory"
fi
# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt co mttroot
else
cp -a ${sources} .
fi
# generate tarball of sources
cd mttroot
| > > > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 |
error "unknown option $1" ;;
esac
shift
done
topdir=`pwd`
## Main MTT
echo "Packaging mtt ..."
# create working directory
tmpdir=`mktemp -d mtt_cvs2deb.tmp.XXXXXXXXXX`
if [ ! -d ${tmpdir} ]; then
error "cannot create temporary directory"
fi
# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt co mttroot
else
cp -a ${sources} .
fi
# generate tarball of sources
cd mttroot
tar -cf mtt-${version}.tar mtt/
tar --file mtt-${version}.tar --delete mtt/lib/examples
gzip mtt-${version}.tar
cd mtt
# create .deb
echo "$0: information: a \"Could not find diffs\" error in the next few lines is probably harmless"
uupdate -u mtt-${version}.tar.gz
cd ../mtt-${version}/debian
dch -v ${version} ${logtext}
cd ..
dpkg-buildpackage -rfakeroot -k${DEBEMAIL}
cd ..
# clean up
cp mtt*.deb ${topdir}/
cd ${topdir}
if [ "${keeptmp}" = "remove" ]; then
rm -r ${tmpdir}
else
echo Keeping temporary directory: ${tmpdir}
fi
## Examples
echo "Packaging mtt-examples ..."
# create working directory
tmpdir=`mktemp -d mtt_cvs2deb.tmp.XXXXXXXXXX`
if [ ! -d ${tmpdir} ]; then
error "cannot create temporary directory"
fi
# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt co mttroot
else
cp -a ${sources} .
fi
# generate tarball of sources
cd mttroot/mtt/lib
tar -cf mtt-examples-${version}.tar examples/
gzip mtt-examples-${version}.tar
cd examples
# create .deb
echo "$0: information: a \"Could not find diffs\" error in the next few lines is probably harmless"
uupdate -u mtt-examples-${version}.tar.gz
cd ../mtt-examples-${version}/debian
dch -v ${version} ${logtext}
cd ..
dpkg-buildpackage -rfakeroot -k${DEBEMAIL}
cd ..
# clean up
cp mtt-examples*.deb ${topdir}/
cd ${topdir}
if [ "${keeptmp}" = "remove" ]; then
rm -r ${tmpdir}
else
echo Keeping temporary directory: ${tmpdir}
fi
exit 0
|
Modified mttroot/mtt/debian/control
from [1a649868b6]
to [474244a829].
1 2 3 4 5 6 7 8 9 10 | Source: mtt Section: contrib/math Priority: optional Maintainer: Geraint <geraint@users.sourceforge.net> Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 Package: mtt Architecture: all Depends: gawk, octave, units, xfig | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Source: mtt Section: contrib/math Priority: optional Maintainer: Geraint <geraint@users.sourceforge.net> Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 Package: mtt Architecture: all Depends: gawk, octave, units, xfig Recommends: mtt-examples, blas-dev, fftw-dev, c-compiler, g++, gnuplot, info-browser, lapack-dev, latex2html, libkpathsea-dev, libncurses5-dev, libreadline4-dev, pdf-viewer, postscript-viewer, octave-headers, octave-info, p2c, transfig, xterm, www-browser, wish Suggests: scigraphica, zip Description: Model Transformation Tools. A set of tools for modelling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control and simulation. These tools use, and generate m files for, GNU Octave. . The MTT homepage is located at http://mtt.sourceforge.net. An on-line manual is available at http://mtt.sourceforge.net/doc. . mtt requires the non-free symbolic algebra tool Reduce to be installed. Details of Reduce can be found at http://www.uni-koeln.de/REDUCE/ |
| ︙ | ︙ |
Modified mttroot/mtt/debian/copyright
from [2b033c4330]
to [b94b7f6de3].
1 2 3 4 5 6 7 8 9 | This package was debianized by Geraint <geraint@users.sf.net> on Sun, 28 Apr 2002 00:11:29 +0000. It was downloaded from http://sourceforge.net/projects/mtt Upstream Author(s): Peter Gawthrop <mtt@gawthrop.net> Copyright: | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | This package was debianized by Geraint <geraint@users.sf.net> on Sun, 28 Apr 2002 00:11:29 +0000. It was downloaded from http://sourceforge.net/projects/mtt Upstream Author(s): Peter Gawthrop <mtt@gawthrop.net> Copyright: mtt is copyright (c) 1989-2004 by Peter J. Gawthrop. You are free to distribute this software under the terms of the GNU General Public License (GPL). On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. |
Added mttroot/mtt/lib/examples/Makefile version [161ecd9b97].
Added mttroot/mtt/lib/examples/debian/README.Debian version [dac8a18a37].
Added mttroot/mtt/lib/examples/debian/changelog version [43ade6029e].
Added mttroot/mtt/lib/examples/debian/compat version [0c3ec9639d].
Added mttroot/mtt/lib/examples/debian/conffiles.ex version [d832dbb182].
Added mttroot/mtt/lib/examples/debian/control version [c43dbe3331].
Added mttroot/mtt/lib/examples/debian/copyright version [1acaedb686].
Added mttroot/mtt/lib/examples/debian/cron.d.ex version [2c98fb387d].
Added mttroot/mtt/lib/examples/debian/dirs version [b541042ac0].
Added mttroot/mtt/lib/examples/debian/docs version [a7ffc6f8bf].
Added mttroot/mtt/lib/examples/debian/emacsen-install.ex version [f82ffb9b9c].
Added mttroot/mtt/lib/examples/debian/emacsen-remove.ex version [336be314aa].
Added mttroot/mtt/lib/examples/debian/emacsen-startup.ex version [0d279cfd52].
Added mttroot/mtt/lib/examples/debian/init.d.ex version [958a43e196].
Added mttroot/mtt/lib/examples/debian/manpage.1.ex version [2f4204b36f].
Added mttroot/mtt/lib/examples/debian/manpage.sgml.ex version [97d6404147].
Added mttroot/mtt/lib/examples/debian/manpage.xml.ex version [3091db28f9].
Added mttroot/mtt/lib/examples/debian/menu.ex version [50c60cd5ce].
Added mttroot/mtt/lib/examples/debian/postinst.ex version [fc24fc87dc].
Added mttroot/mtt/lib/examples/debian/postrm.ex version [71b1621095].
Added mttroot/mtt/lib/examples/debian/preinst.ex version [fa7af07255].
Added mttroot/mtt/lib/examples/debian/prerm.ex version [2e6b5a3d99].
Added mttroot/mtt/lib/examples/debian/rules version [6acbd63d43].
Added mttroot/mtt/lib/examples/debian/watch.ex version [366a56825c].