Your message dated Tue, 21 Feb 2006 08:02:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#343071: fixed in ptex-jisfonts 2-17
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ptex-jisfonts
Version: 2-16
Severity: normal
Tags: patch

Since 5.95a+1p1.7a-1 of dvipsk-ja, /etc/texmf/dvipsj/config.ps is
changed and jisftconfig does not work due to this change.

They are changed to use /etc/texmf/dvipsj/psfonts_jp.map, so I think
it is better for jisftconfig to rewrite it instead of config.ps.  The
attached patch do this according to the version of dvipsk-ja.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-k7
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages ptex-jisfonts depends on:
ii  debconf [debconf-2.0]      1.4.62        Debian configuration management sy
ii  ptex-bin                   3.1.5+0.04a-1 The ASCII pTeX binary files

ptex-jisfonts recommends no packages.

-- debconf information:
* ptex-jisfonts/jisftconfig:

Best regards,
--
 Hidetaka Iwai
 [EMAIL PROTECTED]

--- /usr/sbin/jisftconfig       2005-11-13 00:18:23.000000000 +0900
+++ jisftconfig 2005-12-12 21:27:12.000000000 +0900
@@ -2,6 +2,7 @@
 
 map=/etc/texmf/vfontmap
 cfg=/etc/texmf/dvipsj/config.ps
+psfonts_jp_map=/etc/texmf/dvipsj/psfonts_jp.map
 
 checkinstalled ()
 {
@@ -46,23 +47,39 @@
                fi
        fi
 
-# for config.ps (dvipsk-ja)
-       if [ -f ${cfg} ] && [ ${dvipsk_ja:-0} = "installed" ] ; then
+# for dvipsk-ja
+       if [ ${dvipsk_ja:-0} = "installed" ]; then
+           if dpkg --compare-versions ${dvipsk_ja_v} lt 5.95a+jp1.7a-1 && \
+               [ -f ${cfg} ]; then
+               # before version 5.95a+jp1.7a-1
                if ! grep -q "%-- ptex-jisfonts begin" ${cfg}; then
-               cp -f ${cfg} ${cfg}_giro
-               sed -e '/^p +psfonts.amz/a\
+                   cp -f ${cfg} ${cfg}_giro
+                   sed -e '/^p +psfonts.amz/a\
 %-- ptex-jisfonts begin\
 p +jis.map\
 %-- ptex-jisfonts end' < ${cfg} > ${cfg}_$$ && \
-               mv -f ${cfg}_$$ ${cfg}
+                       mv -f ${cfg}_$$ ${cfg}
                fi
+           elif dpkg --compare-versions ${dvipsk_ja_v} ge 5.95a+jp1.7a-1 && \
+               [ -f ${psfonts_jp_map} ]; then
+               # version 5.95a+jp1.7a-1 or later has psfonts_jp.map
+               if ! grep -q "%-- ptex-jisfonts begin" ${psfonts_jp_map}; then
+                   cp -f ${psfonts_jp_map} ${psfonts_jp_map}_giro
+                   sed -e '/^cidgoth-v/a\
+%-- ptex-jisfonts begin\
+rml-jis                 Ryumin-Light-H\
+gbm-jis                 GothicBBB-Medium-H\
+%-- ptex-jisfonts end' < ${psfonts_jp_map} > ${psfonts_jp_map}_$$ && \
+                       mv -f ${psfonts_jp_map}_$$ ${psfonts_jp_map}
+               fi
+           fi
        fi
-
 ;;
 
 clean)
        rm -f ${map}_giro
        rm -f ${cfg}_giro
+       rm -f ${psfonts_jp_map}_giro
 ;;
 
 remove)
@@ -76,6 +93,12 @@
                ${cfg} > ${cfg}_$$ && mv -f ${cfg}_$$ ${cfg}
        fi
 
+       if [ -f ${psfonts_jp_map} ] ; then
+           sed -e '/%-- ptex-jisfonts begin/,/%-- ptex-jisfonts end/d' < \
+               ${psfonts_jp_map} > ${psfonts_jp_map}_$$ && \
+               mv -f ${psfonts_jp_map}_$$ ${psfonts_jp_map}
+       fi
+
 ;;
 
 *)

Attachment: pgpSagxqBSz5b.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ptex-jisfonts
Source-Version: 2-17

We believe that the bug you reported is fixed in the latest version of
ptex-jisfonts, which is due to be installed in the Debian FTP archive:

ptex-jisfonts_2-17.diff.gz
  to pool/main/p/ptex-jisfonts/ptex-jisfonts_2-17.diff.gz
ptex-jisfonts_2-17.dsc
  to pool/main/p/ptex-jisfonts/ptex-jisfonts_2-17.dsc
ptex-jisfonts_2-17_all.deb
  to pool/main/p/ptex-jisfonts/ptex-jisfonts_2-17_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
OHURA Makoto <[EMAIL PROTECTED]> (supplier of updated ptex-jisfonts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 22 Feb 2006 00:26:25 +0900
Source: ptex-jisfonts
Binary: ptex-jisfonts
Architecture: source all
Version: 2-17
Distribution: unstable
Urgency: low
Maintainer: OHURA Makoto <[EMAIL PROTECTED]>
Changed-By: OHURA Makoto <[EMAIL PROTECTED]>
Description: 
 ptex-jisfonts - Provide an environment of jis.tfm and jisg.tfm for pTeX/dvips
Closes: 343071
Changes: 
 ptex-jisfonts (2-17) unstable; urgency=low
 .
   * debian/control:
     - Drop dvipdfm and dvipdfm-cjk from Suggests line.
     - Add dvipdfmx to Suggests line.
   * debian/jisftconfig: Add the line 'p +jis.map' to the end of
     /etc/texmf/dvipsj/config.ps. (Closes: #343071).
   * Rename /etc/texmf/dvipdfm/jis.map at postinst.  This file is old and
     troublesome.
   * debian/rules: Use DH_COMPAT=4 instead of 3.
Files: 
 98141d4549b4c859322560a38839a852 599 tex optional ptex-jisfonts_2-17.dsc
 c42e8b2451d34bcf576d623bc6968933 10914 tex optional ptex-jisfonts_2-17.diff.gz
 0e75c60deba698ac6045af381b96ee95 97308 tex optional ptex-jisfonts_2-17_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD+zeP7qLvonfc4IMRAmrJAJ4pbg1PVQYStRSCqB9JBnqtMeUcAQCferyn
7CO7DklAF+jtUKvkjCnjuwM=
=KtUp
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to