debian/0000755000000000000000000000000012253051713007165 5ustar debian/copyright0000644000000000000000000000263012253051713011121 0ustar This package was Debianized by Anthony Fok on Sun, 10 Aug 1997 23:26:06 -0600. Now maintained by the Debian TeX Debian, in particular Roland Stigge and Norbert Preining . It was downloaded from http://mirrors.ctan.org/support/m-tx.zip http://mirrors.ctan.org/install/support/m-tx.tds.zip nd repacked. Details are in the script debian/get-orig-sources Author: Dirk Laurie Copyright: M-Tx, a simple music-from-text language for use with MusiXTeX Copyright (C) 1997, 1998 Dirk Laurie 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 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 GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/patches/0000755000000000000000000000000012253051713010614 5ustar debian/patches/fix-docversion-script0000644000000000000000000000030212253051713014773 0ustar --- m-tx.orig/doc/generic/m-tx/mtx060/docversion +++ m-tx/doc/generic/m-tx/mtx060/docversion @@ -1 +1,2 @@ +#!/bin/sh grep 'def\\versionname' mtxdoc.tex | sed -e "s/.*{\(.*\)\.\(.*\)}.*/\1\2/" debian/patches/fix-example.patch0000644000000000000000000000062512253051713014057 0ustar Description: Example fix This patch fixes an example mtx file error Author: Roland Stigge --- m-tx-0.60d.orig/doc/generic/m-tx/mtx060/meter.mtx +++ m-tx-0.60d/doc/generic/m-tx/mtx060/meter.mtx @@ -7,4 +7,4 @@ Meter: m3406 %% w100m a-2d o> a8 r r a r r a2d o> | C: dfsa cea cea dfsa -d-2d o>-15 a4 a { [h d8 {u d+ ] d2d } zd- } | +d-2d o>-15 a4 a { [h d8 {2u d+ ] d2d }2 zd- } | debian/patches/series0000644000000000000000000000011212253051713012023 0ustar fix-doc.patch fix-example.patch fix-makefiles.patch fix-docversion-script debian/patches/fix-makefiles.patch0000644000000000000000000000423212253051713014362 0ustar Description: Makefile fixes This patch fixes some Makefile issues (not necessarily specific to Debian) Author: Roland Stigge --- m-tx.orig/doc/generic/m-tx/mtx060/Makefile +++ m-tx/doc/generic/m-tx/mtx060/Makefile @@ -22,6 +22,9 @@ %.tex: %.mtx $(PREPMX) $* + # the next two (2!) lines work around a bug in m-tx + sed -e "s/a4 a4 { \[h d8 { u d8+ \] \//a4 a4 { \[h d8 {u d8+ \] \//" $*.pmx > $*.pmx.tmp + mv $*.pmx.tmp $*.pmx pmxab $* rm $*.pml $*.pmx pmxaerr.dat @@ -30,11 +33,11 @@ mtxdoc.$(target): mtxdoc.tex mtxdoc.sty $(examples) touch mtxdoc.mx1 rm *.mx? - - $(latex) mtxdoc + -$(latex) mtxdoc musixflx mtxdoc makeindex mtxdoc - - $(latex) mtxdoc - - $(latex) mtxindex + -$(latex) mtxdoc + -$(latex) mtxindex rm mtxdoc.log mtxdoc.idx mtxdoc.ilg mtxindex.log mtxindex.aux %.mtx: %.mta %.mtb @@ -47,14 +50,14 @@ cat netsoos.mta netsoos$*.mtb > netsoos$*.mtx once: mtxdoc.tex mtxdoc.sty $(examples) - - $(latex) mtxdoc + -$(latex) mtxdoc index: mtxdoc.idx mtxindex.tex makeindex mtxdoc $(latex) mtxindex %.$(target): %.ltx - - rm $*.mx?; $(latex) $*.ltx; musixflx $*; $(latex) $*.ltx + -rm $*.mx?; $(latex) $*.ltx; musixflx $*; $(latex) $*.ltx kanons.$(target): kanons.ltx $(kanons_pieces) @@ -64,8 +67,8 @@ config: @echo "Configuring mtxdoc Version `./docversion`" - @echo "Looking for prepmx ... `which prepmx`" - ln -sf `which prepmx` . + @echo "Looking for prepmx ... ../mtx-0.60d/prepmx" + ln -sf ../mtx-0.60d/prepmx . @echo "Looking for pmxab ... `which pmxab`" @echo "Looking for musixflx ... `which musixflx`" @echo "Looking for musixtex ... `kpsewhich musixtex.tex`" @@ -105,9 +108,10 @@ support = docversion Makefile make-dvi make-pdf make-target pdfcat Dzip: - - @zip -ju mtxD`./docversion` $(sources) $(support) README + -@zip -ju mtxD`./docversion` $(sources) $(support) README bare: - rm $(examples) $(halleluja_pieces) $(kanons_pieces) *.dvi *.lj *.ps *.pdf\ - netsoos?.mtx melisma?.mtx *.mx? *.ind *.ilg *.toc *.aux *.log + -rm -f $(examples) $(halleluja_pieces) $(kanons_pieces) *.dvi *.lj \ + *.ps *.pdf netsoos?.mtx melisma?.mtx *.mx? *.ind *.ilg *.toc \ + *.aux *.log prepmx debian/patches/fix-doc.patch0000644000000000000000000000136712253051713013175 0ustar Description: Documentation fixes This patch fixes a documentation typo. Author: Roland Stigge Bug-Debian: http://bugs.debian.org/517686 --- m-tx.orig/doc/generic/m-tx/mtx060/mtxdoc.tex +++ m-tx/doc/generic/m-tx/mtx060/mtxdoc.tex @@ -1889,7 +1889,7 @@ The normal output from \PMX\ is a stand-alone plain \TeX\ file, which cannot without further ado succesfully be input into \LaTeX. -The file \ttxem{mtxlatex.tex} allows you to prepare music scores using +The file \ttxem{mtxlatex.sty} allows you to prepare music scores using \LaTeX\ rather than plain \TeX, which is particularly useful when you need the enhanced font handling features of \LaTeX, and to produce books combining the outputs of several \PMX\ runs into a single debian/m-tx.manpages0000644000000000000000000000006212253051713011565 0ustar doc/generic/m-tx/m-tx.1 doc/generic/m-tx/prepmx.1 debian/changelog0000644000000000000000000002643512253051713011051 0ustar m-tx (0.60d.ctan20131214-1) unstable; urgency=low * Imported Upstream version 0.60d.ctan20131214 * bump standards version, no changes necessary -- Norbert Preining Sat, 14 Dec 2013 21:48:40 +0900 m-tx (0.60d.ctan20130123-2) unstable; urgency=low * ACK NMU 0.60d-5.1, incorporate the changes into the git repo (Closes: #706144). Thanks Peter. -- Norbert Preining Mon, 06 May 2013 08:07:54 +0900 m-tx (0.60d-5.1) unstable; urgency=low * Non-maintainer upload. * Set architecture list to any so the package builds on all architectures where the build-depends are available. -- Peter Michael Green Sun, 05 May 2013 01:54:02 +0000 m-tx (0.60d.ctan20130123-1) experimental; urgency=low * New upstream version based on CTAN upload * changed maintainer to the Debian TeX Maintainer mailing list with agreement of the current maintainer Roland, and put Roland and myself in Uploaders field * adapt debian/rules file to new layout, add get-orig-source script * use dh_installtex instead of handwritten postinst -- Norbert Preining Wed, 23 Jan 2013 13:35:44 +0900 m-tx (0.60d-5) unstable; urgency=low * Fix postinst script to adjust to new texmf path (Closes: #666678) -- Roland Stigge Sun, 01 Apr 2012 10:58:36 +0200 m-tx (0.60d-4) unstable; urgency=low * Added texlive-latex-extra to Build-Depends, a4wide.sty moved there from texlive-latex-base (Closes: #666317) -- Roland Stigge Fri, 30 Mar 2012 15:47:16 +0200 m-tx (0.60d-3) unstable; urgency=low * src/notes.pas: {$V-} for Free Pascal 2.6.0 to comile matching of different string types (Closes: #661809) * debian/control: Standards-Version: 3.9.3 * debian/rules: dh style * debian/compat: 9 -- Roland Stigge Thu, 01 Mar 2012 18:38:58 +0100 m-tx (0.60d-2) unstable; urgency=low * Documentation fixes to solve FTBFS due to new PMX (Closes: #625165) -- Roland Stigge Mon, 02 May 2011 22:35:07 +0200 m-tx (0.60d-1) unstable; urgency=low * New upstream release * Rewrote Description (Closes: #566520) * Moved to source format 3.0 (quilt) * debian/control: - Standards-Version: 3.8.4 - Depends: debhelper (>=7), debian/compat: 7 * Added mtxlatex.sty to /usr/share/texmf/tex/latex/misc and fixed documentation accordingly (Closes: #517686) -- Roland Stigge Sun, 27 Jun 2010 17:22:14 +0200 m-tx (0.60c-2) unstable; urgency=low * Depend: texlive-base to provide mktexupd (Closes: #574233) -- Roland Stigge Wed, 17 Mar 2010 21:09:53 +0100 m-tx (0.60c-1) unstable; urgency=low * New upstream release * debian/watch: Updated to version 3 syntax (Closes: #453582) * debian/control: - Switched from p2c+gcc to fp-compiler due to upstream incompatibility, unfortunately reduces architectures to i386 powerpc sparc amd64 arm and doesn't support shared library linking - Standards-Version: 3.7.3 * doc/meter.mtx: Bugfix from mailing list, fixes doc compilation -- Roland Stigge Sun, 09 Mar 2008 15:02:01 +0100 m-tx (0.60-8) unstable; urgency=low * debian/control: Build-Depends: texlive-fonts-recommended (Closes: #451454) -- Roland Stigge Fri, 16 Nov 2007 09:11:41 +0100 m-tx (0.60-7) unstable; urgency=low * debian/control: Build-Depends: texlive-latex-recommended (Closes: #445767) -- Roland Stigge Mon, 08 Oct 2007 12:03:17 +0200 m-tx (0.60-6) unstable; urgency=low * debian/control: Removed tetex* from dependencies (Closes: #430441) -- Roland Stigge Tue, 02 Oct 2007 22:57:58 +0200 m-tx (0.60-5) unstable; urgency=low [ Norbert Preining ] * add alternative dependency on texlive * add me to Uploaders [ Roland Stigge ] * debian/control: Standards-Version: 3.7.2 -- Roland Stigge Sun, 7 May 2006 00:02:50 +0200 m-tx (0.60-4) unstable; urgency=low * Updated debian/copyright, thanks to Nis Martensen (Closes: #352237) -- Roland Stigge Tue, 18 Apr 2006 15:14:35 +0200 m-tx (0.60-3) unstable; urgency=low * debian/prepmx.1: Manpage update by Nis Martensen * debian/rules, doc/Makefile: Cleaned up /usr/share/doc/m-tx/mtxdoc (Closes: #326204) * Updated doc/mtx.tex to be link to ../src/mtx.tex * debian/compat: Debhelper compatibility level: 4 -- Roland Stigge Sat, 3 Sep 2005 10:12:07 +0200 m-tx (0.60-2) unstable; urgency=low * debian/control: Really added tetex-bin to Depends (Closes: #323248) -- Roland Stigge Tue, 16 Aug 2005 22:33:03 +0200 m-tx (0.60-1) unstable; urgency=low * New upstream release * debian/control: Added tetex-bin to Depends (Closes: #323248) -- Roland Stigge Tue, 16 Aug 2005 21:18:30 +0200 m-tx (0.55c-2) unstable; urgency=low * Added mtx.tex to /usr/share/texmf/tex/musixtex/m-tx, thanks to Nis Martensen (Closes: #316165) * debian/control: Standards-Version: 3.6.2.0 -- Roland Stigge Wed, 3 Aug 2005 19:48:55 +0200 m-tx (0.55c-1) unstable; urgency=low * New upstream release (Closes: #297094) * Changed build environment to p2c+cc for using native Pascal sources, adjusted Build-Depends (fp-compiler can be used as soon as fpc provides linkage against libc for interoperability with different kernels) -- Roland Stigge Sun, 27 Feb 2005 11:52:39 +0100 m-tx (0.52-5) unstable; urgency=low * Updated man page, thanks to Nis Martensen * Updated Standards-Version: 3.6.0 -> 3.6.1 -- Roland Stigge Fri, 18 Feb 2005 21:20:21 +0100 m-tx (0.52-4) unstable; urgency=low * New maintainer Date: Wed, 6 Aug 2003 19:28:18 +0800 From: Anthony Fok To: Roland Stigge Subject: Re: Roland Stigge (fwd) Hello Roland, The MusiXTeX family of packages are yours. You may become the official maintainer for these Debian packages (musixtex, pmx, m-tx, musixlyr), effective now. [...] (Closes: #84278, #85466) * Standards-Version: 3.6.0 -- Roland Stigge Wed, 6 Aug 2003 14:28:27 +0200 m-tx (0.52-3.1) unstable; urgency=low * NMU Date: 15 Jun 2003 20:39:37 +0800 From: Anthony Fok To: Roland Stigge Subject: Re: MusiXTeX [...] I do welcome NMUs. [...] * Standards-Version: 3.5.10 * debian/control: Changed Section: from contrib/tex to tex due to musixtex move from non-free to main; adjusted author's address * Wrote man page for prepmx (Closes: #84278) * Fixed rest placement problem for placement +/- 10, thanks to Garrick James (Closes: #85466) -- Roland Stigge Sat, 21 Jun 2003 11:24:56 +0200 m-tx (0.52-3) unstable; urgency=low * [debian/control]: Standards-Version: 3.1.1; added Build-Depends; updated package dependencies to the FHS-compliant versions. * [debian/rules]: s#usr/doc#usr/share/doc#g; -- Anthony Fok Sat, 10 Jun 2000 04:58:52 -0600 m-tx (0.52-2) unstable; urgency=low * Removed obsolete postinst. * [debian/control]: Updated dependency to the latest FHS-compliant teTeX and related music packages. -- Anthony Fok Mon, 5 Apr 1999 23:30:09 -0600 m-tx (0.52-1) unstable; urgency=low * New upstream release. -- Anthony Fok Wed, 2 Dec 1998 23:30:39 -0700 m-tx (0.50a-2) frozen unstable; urgency=low * [debian/control]: - Upgraded to standards version 2.5.0.0 (no changes). - No longer depends on tetex-base explicitly. m-tx has no {pre,post}{inst,rm} scripts that require teTeX's present. :-) * [debian/rules]: In the latest tetex-base package, /usr/lib/texmf/doc is now a symlink to /usr/doc/texmf. Therefore, we now install m-tx's documentation into /usr/doc/texmf/musixtex/m-tx. Thanks to Julian Gilbey for the bug report. (closes: Bug#29328) * [debian/postinst]: (New file) I copied a few lines from tetex-nonfree's postinst to remove the old directory /usr/lib/texmf/doc if m-tx is the last package using that directory, and create a symlink to /usr/doc/texmf. :-) -- Anthony Fok Wed, 11 Nov 1998 22:17:23 -0700 m-tx (0.50a-1) unstable; urgency=low * New upstream release. * Added mtxdoc.ps.gz downloaded from ftp.gmd.de. * Updated debian/rules according to the example rules file given in the new debhelper package. * Updated FSF's mailing address in /usr/doc/m-tx/README.gz. -- Anthony Fok Thu, 15 Oct 1998 05:12:01 -0600 m-tx (0.40a-2) unstable; urgency=low * [debian/control]: Now Recommends musixlyr (>= 1.10-1) instead of (>= 1:1.1-1). Thanks to Brian White for letting me know how to avoid the epoch. :-) * Changed _tolower(s) to tolower(s) in prepmx/p2c/globals.c to accommodate for DJGPP, as suggested by upstream author on the MuTeX Mailing List. -- Anthony Fok Thu, 18 Jun 1998 17:22:38 -0600 m-tx (0.40a-1) unstable; urgency=low * New upstream release. * [debian/control]: Updated Recommends: musixtex (>= 1:0.89-2), musixlyr (>= 1:1.1-1), pmx (>= 1.3.8-1) * Removed postinst, because it should now be musixlyr's postinst, not m-tx's! Now, how did I get the two mixed up? :-) -- Anthony Fok Tue, 16 Jun 1998 01:14:26 -0600 m-tx (0.30a-3) frozen unstable; urgency=low * debian/rules: - m-tx now also depends on tetex-base (>= 0.9-5) and conflicts with tetex-base (<< 0.9). - Removed dh_du. (Fixed Lintian error: unknown-control-file du) * Modified postinst and postrm to work with teTeX 0.9 / Web2C 7.2. * debian/control: Upgraded to standards version 2.4.1.0 (no changes). -- Anthony Fok Mon, 11 May 1998 05:16:24 -0600 m-tx (0.30a-2) unstable; urgency=low * Added patch to prepmx/p2c/cfuncs.c posted by the author on the MuTeX mailing list. -- Anthony Fok Fri, 16 Jan 1998 03:46:56 -0700 m-tx (0.30a-1) unstable; urgency=low * New upstream release: - There are no new features, only a few bug corrections and improved error messages. - A description of the changes may be found in /usr/doc/m-tx/README.030a. * Fixed debian/copyright: M-Tx's copyright belongs to its author, Dirk Laurie, not the Free Software Foundation. (Oops! :) * Took the new musixlyr.tex (1.02a, new unofficial patch from Sebastian added by Dirk) and put it into the new Debian musixlyr-1.02a package. -- Anthony Fok Tue, 2 Dec 1997 02:37:17 -0700 m-tx (0.30-1) unstable; urgency=low * New upstream release * Added author's name and fixed FSF's mailing address in the copyright file. * Modified debian/rules to use debhelper. * Updated to Standards-Version: 2.3.0.1 * Changed my maintainer e-mail address to . :) -- Anthony Fok Sun, 23 Nov 1997 08:32:26 -0700 m-tx (0.24-1) unstable; urgency=low * Initial Release. -- Anthony Fok Mon, 11 Aug 1997 00:44:08 -0600 Local variables: mode: debian-changelog End: debian/docs0000644000000000000000000000000712253051713010035 0ustar README debian/watch0000644000000000000000000000017112253051713010215 0ustar version=3 opts="uversionmangle=s/(.)(..)(.*)/$1.$2$3/" http://icking-music-archive.org/software/mtx/ mtxP([\da-z]*)\.zip debian/rules0000755000000000000000000000201612253051713010244 0ustar #!/usr/bin/make -f package = m-tx version = 0.60d r = $(CURDIR)/debian/$(package) texmf = $(r)/usr/share/texmf # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_configure: dh_auto_configure -D mtx-$(version) override_dh_auto_build: $(MAKE) -Cmtx-$(version) # documentation cp -a doc/generic/m-tx/mtx060 bindoc ln -s ../tex/generic/m-tx/mtx.tex bindoc/mtx.tex cd bindoc && make pdftarget && make config && make all override_dh_auto_install: $(MAKE) -Cmtx-$(version) DESTDIR=$(r) install mkdir -p $(texmf) cp -a doc scripts tex $(texmf) # install updated documentation cp bindoc/mtxdoc.pdf $(texmf)/doc/generic/m-tx/mtx060.pdf # remove man pages from installed doc directory rm $(texmf)/doc/generic/m-tx/*.1 mkdir -p $(r)/usr/bin ln -s ../share/texmf/scripts/m-tx/m-tx.lua $(r)/usr/bin/m-tx dh_installtex override_dh_clean: dh_auto_clean -D mtx-$(version) -- -XMakefile.orig -rm -rf bindoc dh_clean -Xmtx-$(version)/Makefile.orig override_dh_compress: dh_compress -X.pdf debian/compat0000644000000000000000000000000212253051713010363 0ustar 9 debian/control0000644000000000000000000000225612253051713010575 0ustar Source: m-tx Section: tex Priority: optional Maintainer: Debian TeX Maintainers Uploaders: Roland Stigge , Norbert Preining Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), musixtex, pmx, musixtex (>= 1:0.114-2) | musixlyr, texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra, tex-common (>= 4.01) Homepage: http://icking-music-archive.org/software/indexmt6.html Vcs-Git: git://anonscm.debian.org/debian-tex/m-tx.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-tex/m-tx.git Package: m-tx Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, texlive-base, luatex Recommends: musixtex (>= 1:0.98-1), musixlyr (>= 1.10-4), pmx (>= 2.1.0-1) Description: Simple music-from-text language for use with PMX/MusiXTeX M-Tx is a preprocessor for PMX (which is, in turn, a MusiXTeX preprocessor) that facilitates inputting lyrics. It builds the PMX input file based on a language very similar to PMX. M-Tx includes most of PMX's functionality, but it also permits in-line PMX commands to give access to virtually all of PMX. . Author: Dirk Laurie debian/get-orig-source0000755000000000000000000000204112253051713012123 0ustar #!/bin/bash version=$1 if [ -z $version ] ; then echo "need version as first argument, exiting." exit 1 fi TMP=get-orig-source-tmp debv=${version}.ctan`date +%Y%m%d` td=m-tx-$debv TMP=`mktemp -d` currdir=`pwd` cd $TMP wget http://mirrors.ctan.org/support/m-tx.zip unzip m-tx.zip rm m-tx.zip mv m-tx $td cd $td # we are not sure whether everything is contained in the # main CTAN dir, and the installation document tells # that one should get the following file, so do it wget http://mirrors.ctan.org/install/support/m-tx.tds.zip # clean out stuff that is replaced by the .tds.zip rm -r doc scripts tex # clean out Windows and OSX stuff rm -r OSX Windows # unzip further files unzip m-tx.tds.zip rm m-tx.tds.zip tar -xvf mtx-${version}.tar.gz rm mtx-${version}.tar.gz cd .. tar -cJf m-tx_${debv}.orig.tar.xz $td if [ ! -r $currdir/m-tx_${debv}.orig.tar.xz ] ; then mv m-tx_${debv}.orig.tar.xz $currdir cd $currdir rm -r $TMP else echo "m-tx_$(debv).orig.tar.xz already exists in $currdir, not replacing it!" echo "new one is in $TMP" fi debian/source/0000755000000000000000000000000012253051713010465 5ustar debian/source/format0000644000000000000000000000001412253051713011673 0ustar 3.0 (quilt)