--- pmw-4.22.orig/doc/Makefile +++ pmw-4.22/doc/Makefile @@ -9,12 +9,12 @@ # Use the version of PMW compiled in this tree. # The other commands must be installed in the PATH. -PMW=../src/pmw +PMW=../src/pmw -F ../fontmetrics -H ../PSheader all: spec.pdf spec.pdf: spec.ps - ps2pdf spec.ps spec.pdf + GS_FONTPATH=$(CURDIR)/../psfonts ps2pdf spec.ps spec.pdf spec.ps: spec.xml \ postscript/fig01 \ @@ -74,7 +74,9 @@ postscript/music51 \ postscript/music52 \ postscript/music53 - sdop spec.xml + mv ../PSheader ../PSheader.hide + sdop -S .. spec.xml + mv ../PSheader.hide ../PSheader spec.xml: spec.xfpt xfpt spec.xfpt --- pmw-4.22.orig/debian/pmw.links +++ pmw-4.22/debian/pmw.links @@ -0,0 +1 @@ +usr/share/pmw/psfonts usr/share/fonts/type1/gsfonts/pmw --- pmw-4.22.orig/debian/pmw.dirs +++ pmw-4.22/debian/pmw.dirs @@ -0,0 +1 @@ +etc/ghostscript/fontmap.d --- pmw-4.22.orig/debian/fonts.conf +++ pmw-4.22/debian/fonts.conf @@ -0,0 +1,2 @@ +/PMW-Music (/usr/share/pmw/psfonts/PMW-Music.pfa) ; +/PMW-Alpha (/usr/share/pmw/psfonts/PMW-Alpha) ; --- pmw-4.22.orig/debian/control +++ pmw-4.22/debian/control @@ -0,0 +1,39 @@ +Source: pmw +Priority: extra +Section: tex +Maintainer: Wouter Verhelst +Build-Depends: debhelper (>= 7.0.50), aspic, xfpt, sdop, ghostscript +Build-Conflicts: pmw +Standards-Version: 3.9.2 +Homepage: http://www.quercite.com/pmw.html +Vcs-Git: git://git.debian.org/~wouter/pmw.git +Vcs-Browser: http://git.debian.org/?p=users/wouter/pmw.git;a=summary + +Package: pmw +Section: tex +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: ghostscript +Suggests: pmw-doc +Description: Philip's Music Writer + PMW is a computer program for high quality music typesetting. It was + originally written for Acorn RISC OS computers (where it was called + PMS) + . + PMW operates by reading an input file containing an encoded description + of the music; such a file can be constructed using any text editor or + word processor. The music encoding is very straightforward and compact, + and quick to enter. The input encoding is designed to be easy for a + musician to remember, and tries to make use of as many familiar musical + notations as possible within the limitations of an ASCII character set. + . + PMW can output PostScript files for printing, and basic MIDI files for + proof-hearing. + +Package: pmw-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, pmw +Description: Philip's Music Writer - Documentation + This package contains the documentation, in PDF format, of pmw, as well + as a number of examples. --- pmw-4.22.orig/debian/pmw.manpages +++ pmw-4.22/debian/pmw.manpages @@ -0,0 +1 @@ +doc/pmw.1 --- pmw-4.22.orig/debian/rules +++ pmw-4.22/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installman: + rm -rf debian/pmw/usr/man + dh_installman + +override_dh_auto_clean: + # env -i? dpkg-buildflags must die. + [ ! -f Makefile ] || env -i $(MAKE) distclean + $(MAKE) -C doc clean + dh_clean + +override_dh_auto_build: + $(MAKE) + $(MAKE) -C doc + +override_dh_install: + cp -a debian/fonts.conf debian/pmw/etc/ghostscript/fontmap.d/20pmw.conf + dh_install + rm -f debian/pmw/usr/share/pmw/fontmetrics/LICENCE + +override_dh_installdocs: + dh_installdocs --link-doc=pmw --- pmw-4.22.orig/debian/pmw.postrm +++ pmw-4.22/debian/pmw.postrm @@ -0,0 +1,9 @@ +#!/bin/sh + +case "$1" in + "remove") + update-gsfontmap + ;; +esac + +#DEBHELPER# --- pmw-4.22.orig/debian/pmw-doc.docs +++ pmw-4.22/debian/pmw-doc.docs @@ -0,0 +1,2 @@ +contrib +doc/spec.pdf --- pmw-4.22.orig/debian/copyright +++ pmw-4.22/debian/copyright @@ -0,0 +1,136 @@ +This package was debianized by Wouter Verhelst on +Fri, 11 Feb 2011 13:28:41 +0100 + +The upstream source is Copyright (c) Philip Hazel, 1991 - 2010. + +The package is released under the GPL, version 2 or above, as noted by the +NOTICE file in the source distribution. + +On Debian GNU/Linux systems, the full text of the GPL, version 2, can be +found in the file /usr/share/common-licenses/GPL-2 + +There is no source for the PMW-Music.pfa Type1 font file. According to +Philip Hazel: + + There is no need for a "source" for the PMW-Music.pfa font, because it + can be recovered trivially by running t1disasm on that file. + +In other words, this file itself (after running it through t1disasm) is +the preferred form for modification, according to the author. + +The source package also ships with several font files that are necessary to +produce correct PostScript output. These are under the following license: + +======Begin fontmetrics/LICENCE file====== +These AFM fonts have been relicensed by Adobe under a free license at different +points in time. + +=============================================================================== +From Adobe-Core35_AFMs-314.tar.gz: +Adobe Core 35 AFM Files with 314 Glyph Entries - ReadMe + + This file and the 35 PostScript(R) AFM files it + accompanies may be used, copied, and distributed for any + purpose and without charge, with or without modification, + provided that all copyright notices are retained; that + the AFM files are not distributed without this file; that + all modifications to this file or any of the AFM files + are prominently noted in the modified file(s); and that + this paragraph is not modified. Adobe Systems has no + responsibility or obligation to support the use of the + AFM files. + +AvantGarde-Book.afm +AvantGarde-BookOblique.afm +AvantGarde-Demi.afm +AvantGarde-DemiOblique.afm +Bookman-Demi.afm +Bookman-DemiItalic.afm +Bookman-Light.afm +Bookman-LightItalic.afm +Courier.afm +Courier-Bold.afm +Courier-BoldOblique.afm +Courier-Oblique.afm +Helvetica.afm +Helvetica-Bold.afm +Helvetica-BoldOblique.afm +Helvetica-Oblique.afm +NewCenturySchlbk-Bold.afm +NewCenturySchlbk-BoldItalic.afm +NewCenturySchlbk-Italic.afm +NewCenturySchlbk-Roman.afm +Palatino-Bold.afm +Palatino-BoldItalic.afm +Palatino-Italic.afm +Palatino-Roman.afm +Symbol.afm +Times-Bold.afm +Times-BoldItalic.afm +Times-Italic.afm +Times-Roman.afm +ZapfChancery-MediumItalic.afm +ZapfDingbats.afm +MustRead.html + +Some of the filenames have been changed in this distribution, dropping the ITC +prefix. +=============================================================================== + + + +Utopia fonts, http://www.ctan.org/tex-archive/fonts/utopia/ + +Contents of the README file + +=============================================================================== +Copyright 2006 TeX Users Group. +You may freely use, modify and/or distribute this README file. + +This is a copy of the Utopia Type1 fonts and accompanying AFM files +which Adobe originally contributed to the X consortium many years ago. + +In 2006, Adobe relicensed them to the TeX Users Group, under similar +terms as the previous contribution, but now explicitly clarifying that +the modifications to the fonts, and redistribution of the modified +versions, was allowed. (This was always the intent; unfortunately, the +original wording was ambiguous.) For the actual license, please see +LICENSE-utopia.txt in this directory. (Original url: +http://tug.org/fonts/utopia/LICENSE-utopia.txt) + +The contents of the fonts themselves are completely unchanged from the +original X donation. Additional TeX support files, and derived fonts, +are available in other TeX packages, notably fourier and mathdesign +(they are available through http://www.ctan.org). This small directory +simply provides Adobe's original files. + +The filenames here have been changed for use with TeX: + putr8a = Utopia-Regular + putri8a = Utopia-Italic + putb8a = Utopia-Bold + putbi8a = Utopia-BoldItalic + +These fonts are: +Copyright 1989, 1991 Adobe Systems Incorporated. All rights reserved. +Utopia(R) +Utopia is either a registered trademark or trademark of Adobe Systems +Incorporated in the United States and/or other countries. Used under +license. + +We thank Adobe for taking the time to make this clarification for the +benefit of the free software community. Terry O'Donnell deserves +particular thanks for pushing the changes through, but many people were +involved by the end. We are grateful to them all. + +--Karl Berry, TUG President +on behalf of the TeX Users Group board and members +17 November 2006 +=============================================================================== + +For SDoP the files have been re-renamed again. + +Utopia-Bold.afm +Utopia-BoldItalic.afm +Utopia-Italic.afm +Utopia-Regular.afm +======End fontmetrics/LICENCE file====== --- pmw-4.22.orig/debian/compat +++ pmw-4.22/debian/compat @@ -0,0 +1 @@ +7 --- pmw-4.22.orig/debian/changelog +++ pmw-4.22/debian/changelog @@ -0,0 +1,44 @@ +pmw (4.22-4) unstable; urgency=low + + * The 'ghostscript sucks' release. + * Check for update-gsfontmap the right way. Closes: #635550. + * add Build-Conflicts: pmw. Building the documentation requires access + to the PMW fonts, which ghostscript allows either through adding a + file to /etc/ghostscript, or through setting an environment + variable, but not both (ghostscript breaks if you try). Using the + package also requires the fonts. + Building requires the environment variable (otherwise fixing bugs in + a previous package could be problematic). Using requires the config + file (requiring environment variables to be set is not allowed by + Debian Policy, and wrapper scripts are ugly). Therefore, we can't + build pmw if pmw itself is installed. + Did I mention I'm not a ghostscript fan? + * Declare Standards-Version 3.9.2 (no changes applicable to pmw) + * Add Recommends: ghostscript + + -- Wouter Verhelst Fri, 29 Jul 2011 17:57:55 +0200 + +pmw (4.22-3) unstable; urgency=low + + * debian/pmw.postinst: Check for existence of update-gsfontmap before + trying to run it. This way it will work without ghostscript + installed, which we don't depend on. Closes: #622334. + * Use dh_installdocs rather than override_dh_install to install pmw-doc's + documents into /usr/share/doc/pmw. Closes: #621886. + * To remain policy-compliant in light of the above, make pmw-doc + depend on pmw. + + -- Wouter Verhelst Wed, 13 Apr 2011 12:17:01 +0200 + +pmw (4.22-2) unstable; urgency=low + + * Make PMW fonts available to ghostscript. + * Add Vcs-Browser and Vcs-Git headers to source package + + -- Wouter Verhelst Fri, 04 Mar 2011 11:19:32 +0100 + +pmw (4.22-1) unstable; urgency=low + + * Initial release. (Closes: #480101) + + -- Wouter Verhelst Fri, 11 Feb 2011 13:18:53 +0100 --- pmw-4.22.orig/debian/pmw.postinst +++ pmw-4.22/debian/pmw.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +case "$1" in + configure) + if [ -x /usr/sbin/update-gsfontmap ] + then + /usr/sbin/update-gsfontmap + fi + ;; +esac + +#DEBHELPER# --- pmw-4.22.orig/debian/manpages +++ pmw-4.22/debian/manpages @@ -0,0 +1 @@ +doc/pmw.1 --- pmw-4.22.orig/debian/pmw.install +++ pmw-4.22/debian/pmw.install @@ -0,0 +1,2 @@ +usr/bin/pmw +usr/share/pmw