--- fonts-jsmath-0.090709+0.orig/debian/dirs +++ fonts-jsmath-0.090709+0/debian/dirs @@ -0,0 +1 @@ +usr/share/fonts/truetype/jsmath --- fonts-jsmath-0.090709+0.orig/debian/README.Debian +++ fonts-jsmath-0.090709+0/debian/README.Debian @@ -0,0 +1,6 @@ +ttf-jsmath for Debian +--------------------- + +TeX fonts to display jsMath pages. + + -- Atsuhito KOHDA Wed, 20 Feb 2008 13:59:35 +0900 --- fonts-jsmath-0.090709+0.orig/debian/rules +++ fonts-jsmath-0.090709+0/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +FDIR=/usr/share/fonts/truetype +PACKN=fonts-jsmath + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + #docbook-to-man debian/ttf-jsmath.sgml > ttf-jsmath.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/ttf-jsmath. + #$(MAKE) DESTDIR=$(CURDIR)/debian/ttf-jsmath install + install -m 0644 *.ttf $(CURDIR)/debian/${PACKN}${FDIR}/jsmath/ + install -m 0644 extra/*.ttf $(CURDIR)/debian/${PACKN}${FDIR}/jsmath/ + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_installdefoma +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- fonts-jsmath-0.090709+0.orig/debian/compat +++ fonts-jsmath-0.090709+0/debian/compat @@ -0,0 +1 @@ +7 --- fonts-jsmath-0.090709+0.orig/debian/changelog +++ fonts-jsmath-0.090709+0/debian/changelog @@ -0,0 +1,49 @@ +fonts-jsmath (0.090709+0-3) unstable; urgency=low + + * I made a mistake and made this package native because I misunderstand + behavior of svn-buildpackage in the previous version. So I fixed the + mistake with this version. Thanks to Luca Falavigna. + + -- Atsuhito KOHDA Thu, 15 Nov 2012 09:09:23 +0900 + +fonts-jsmath (0.090709+0-2) unstable; urgency=low + + * Removed defoma hints file with preinst script. (Closes: #572565) + * Renamed from ttf-jsmath to fonts-jsmath accrding to recent naming scheme. + Thanks to Hideki Yamane . + + -- Atsuhito KOHDA Mon, 29 Oct 2012 12:46:35 +0900 + +ttf-jsmath (0.090709+0-1) unstable; urgency=low + + * Added extra fonts. (Closes: #565290) + + -- Atsuhito KOHDA Sun, 07 Feb 2010 20:26:49 +0900 + +ttf-jsmath (0.090709-1) unstable; urgency=low + + * New Upstream Release for Firefox 3.5, new versions of the fonts + pretends that it uses a standard encoding. (Closes: #566887) + * Fixed Section: from x11 to fonts + * Fixed maintainer, now used kohda AT debian.org + + -- Atsuhito KOHDA Tue, 26 Jan 2010 07:20:52 +0900 + +ttf-jsmath (0.01-3) unstable; urgency=low + + * Remove defoma hints files and dependency on defoma. + + -- Atsuhito KOHDA Mon, 28 Dec 2009 22:15:08 +0900 + +ttf-jsmath (0.01-2) unstable; urgency=low + + * Uups, I forgot defoma in Build-Depends. (Closes: #470343) + + -- Atsuhito KOHDA Tue, 11 Mar 2008 07:12:00 +0900 + +ttf-jsmath (0.01-1) unstable; urgency=low + + * Initial release. (Closes: #469424) + + -- Atsuhito KOHDA Thu, 6 Mar 2008 11:28:56 +0900 + --- fonts-jsmath-0.090709+0.orig/debian/ttf-jsmath.defoma-hints +++ fonts-jsmath-0.090709+0/debian/ttf-jsmath.defoma-hints @@ -0,0 +1,73 @@ +category truetype +begin /usr/share/fonts/truetype/jsmath/jsMath-cmbx10.ttf + Family = jsMath-cmbx10 + FontName = jsMath-cmbx10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end +begin /usr/share/fonts/truetype/jsmath/jsMath-cmex10.ttf + Family = jsMath-cmex10 + FontName = jsMath-cmex10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end +begin /usr/share/fonts/truetype/jsmath/jsMath-cmmi10.ttf + Family = jsMath-cmmi10 + FontName = jsMath-cmmi10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end +begin /usr/share/fonts/truetype/jsmath/jsMath-cmr10.ttf + Family = jsMath-cmr10 + FontName = jsMath-cmr10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end +begin /usr/share/fonts/truetype/jsmath/jsMath-cmsy10.ttf + Family = jsMath-cmsy10 + FontName = jsMath-cmsy10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end +begin /usr/share/fonts/truetype/jsmath/jsMath-cmti10.ttf + Family = jsMath-cmti10 + FontName = jsMath-cmti10 + Encoding = Unicode + Location = English + Charset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Normal Upright + Priority = 20 +end --- fonts-jsmath-0.090709+0.orig/debian/copyright +++ fonts-jsmath-0.090709+0/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Atsuhito KOHDA on +Wed, 20 Feb 2008 13:59:35 +0900. + +It was downloaded from + + +Upstream Author: + Davide P. Cervone + +License: + + The jsMath TeX fonts are public domain, as are the original Computer + Modern fonts from which they are derived. --- fonts-jsmath-0.090709+0.orig/debian/preinst +++ fonts-jsmath-0.090709+0/debian/preinst @@ -0,0 +1,41 @@ +#!/bin/sh +# +# delete /etc/defoma/ttf-jsmath.hints before before 0.01-2 + +set -e + +PKG="ttf-jsmath" +PKG_VERSION="0.090709+0-2" + +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" lt "$PKG_VERSION"; then + FILE="/etc/defoma/hints/${PKG}.hints" + if [ -f $FILE ]; then + if [ -x /usr/bin/defoma-font ]; then + defoma-font purge-all $FILE || true + fi + fi + rm_conffile $PKG $FILE + fi +esac + +#DEBHELPER# +exit 0 --- fonts-jsmath-0.090709+0.orig/debian/control +++ fonts-jsmath-0.090709+0/debian/control @@ -0,0 +1,25 @@ +Source: fonts-jsmath +Section: fonts +Priority: extra +Maintainer: Atsuhito KOHDA +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.0 + +Package: fonts-jsmath +Architecture: all +Depends: ${misc:Depends} +Provides: ttf-jsmath +Conflicts: ttf-jsmath (<= 0.090709+0-1), iceweasel (<< 3.5) +Replaces: ttf-jsmath (<= 0.090709+0-1) +Description: TeX fonts to display jsMath pages + jsMath uses some TeX fonts to render mathematical contents in web pages + so jsMath pages should be displayed much better with this package. + +Package: ttf-jsmath +Architecture: all +Depends: fonts-jsmath, ${misc:Depends} +Description: transition dummy package. + This dummy package is provided for a smooth transition from the + previous ttf-jsmath package to the fonts-jsmath package. + . + It may be safely removed after installation.