Overview
Comment:898897 Separate examples from main .deb
Created new .deb package for examples (mtt-examples).

mtt-examples depends on mtt.
mtt recommends mtt-examples.

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9a6b8108b1a2dcf7fa97ec6b317c5a927898f1e369bae11a99f7a79d5a9f36af
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.
mtt recommends mtt-examples. check-in: 9a6b8108b1 user: geraint@users.sourceforge.net tags: origin/master, trunk

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
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
	    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


tar -czf mtt-${version}.tar.gz mtt/
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

exit 0







>
>
>
















>
>
|













>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>








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
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: 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/










|







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/
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-2003 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.









|






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.

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]