[Pkg-gs-devel] r159 - gs-cjk-resource/trunk/debian

Kenshi Muto kmuto at alioth.debian.org
Thu Nov 10 14:32:46 UTC 2011


Author: kmuto
Date: Thu Nov 10 14:32:46 2011
New Revision: 159

Log:
* Update Japanese font names. (closes: #646755)
* Update Suggests: field.
  - Replace ttf-* of Japanese and Korean fonts with fonts-*.
  - Replace Japanese font sazanami with ipafont.

Added:
   gs-cjk-resource/trunk/debian/90gs-cjk-resource-cns1.conf
   gs-cjk-resource/trunk/debian/90gs-cjk-resource-gb1.conf
   gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan1.conf
   gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan2.conf
   gs-cjk-resource/trunk/debian/90gs-cjk-resource-korea1.conf
   gs-cjk-resource/trunk/debian/postinst
   gs-cjk-resource/trunk/debian/prerm
Modified:
   gs-cjk-resource/trunk/debian/changelog
   gs-cjk-resource/trunk/debian/control
   gs-cjk-resource/trunk/debian/gs-cjk-resource.dirs
   gs-cjk-resource/trunk/debian/rules

Added: gs-cjk-resource/trunk/debian/90gs-cjk-resource-cns1.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/90gs-cjk-resource-cns1.conf	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,9 @@
+/ZenKai-Medium << /FileType /TrueType /Path (/usr/share/fonts/truetype/arphic/ukai.ttc) /SubfontID 0 /CSI [(CNS1) 4] >> ;
+/ShanHeiSun-Light << /FileType /TrueType /Path (/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0 /CSI [(CNS1) 4] >> ;
+/MOESung-Regular /ShanHeiSun-Light ;
+/MSung-Light /ShanHeiSun-Light ;
+/MSung-Medium /ZenKai-Medium ;
+/MHei-Medium /ZenKai-Medium ;
+/MKai-Medium /ZenKai-Medium ;
+/Adobe-CNS1 /ShanHeiSun-Light ;
+/Adobe-CNS1-Bold /ZenKai-Medium ;

Added: gs-cjk-resource/trunk/debian/90gs-cjk-resource-gb1.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/90gs-cjk-resource-gb1.conf	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,9 @@
+/BousungEG-Light-GB << /FileType /TrueType /Path (/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0 /CSI [(GB1) 4] >> ;
+/GBZenKai-Medium << /FileType /TrueType /Path (/usr/share/fonts/truetype/arphic/ukai.ttc) /SubfontID 0 /CSI [(GB1) 4] >> ;
+/Song-Medium /GBZenKai-Medium ;
+/STSong-Light /BousungEG-Light-GB ;
+/STFangsong-Light /BousungEG-Light-GB ;
+/STHeiti-Regular /BousungEG-Light-GB ;
+/STKaiti-Regular /BousungEG-Light-GB ;
+/Adobe-GB1 /BousungEG-Light-GB ;
+/Adobe-GB1-Bold /GBZenKai-Medium ;

Added: gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan1.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan1.conf	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,8 @@
+/Japanese-Mincho-Regular << /FileType /TrueType /Path (/usr/share/fonts/truetype/fonts-japanese-mincho.ttf) /SubfontID 0 /CSI [(Japan1) 4] >> ;
+/Japanese-Gothic-Regular << /FileType /TrueType /Path (/usr/share/fonts/truetype/fonts-japanese-gothic.ttf) /SubfontID 0 /CSI [(Japan1) 4] >> ;
+/Ryumin-Light /Japanese-Mincho-Regular ;
+/Adobe-Japan1 /Japanese-Mincho-Regular ;
+/HeiseiMin-W3 /Japanese-Mincho-Regular ;
+/GothicBBB-Medium /Japanese-Gothic-Regular ;
+/Adobe-Japan1-Bold /Japanese-Gothic-Regular ;
+/HeiseiKakuGo-W5 /Japanese-Gothic-Regular ;

Added: gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan2.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/90gs-cjk-resource-japan2.conf	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,4 @@
+/Japanese-Mincho-Regular-JaH << /FileType /TrueType /Path (/usr/share/fonts/truetype/ttf-japanese-mincho.ttf) /SubfontID 0 /CSI [(Japan2) 4] >> ;
+/Japanese-Gothic-Regular-JaH << /FileType /TrueType /Path (/usr/share/fonts/truetype/ttf-japanese-gothic.ttf) /SubfontID 0 /CSI [(Japan2) 4] >> ;
+/Adobe-Japan2 /Japanese-Mincho-Regular-JaH ;
+/Adobe-Japan2-Bold /Japanese-Gothic-Regular-JaH ;

Added: gs-cjk-resource/trunk/debian/90gs-cjk-resource-korea1.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/90gs-cjk-resource-korea1.conf	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,9 @@
+/UnBatang-Regular << /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts-core/UnBatang.ttf) /SubfontID 0 /CSI [(Korea1) 2] >> ;
+/UnDotum-Regular << /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts-core/UnDotum.ttf) /SubfontID 0 /CSI [(Korea1) 2] >> ;
+/UnDotum-Bold << /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts-core/UnDotumBold.ttf) /SubfontID 0 /CSI [(Korea1) 2] >> ;
+/UnGraphic-Regular << /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts-core/UnGraphic.ttf) /SubfontID 0 /CSI [(Korea1) 2] >> ;
+/HYSMyeongJo-Medium /UnBatang-Regular ;
+/HYGoThic-Medium /UnDotum-Regular ;
+/HYRGoThic-Medium /UnGraphic-Regular ;
+/Adobe-Korea1 /UnDotum-Regular ;
+/Adobe-Korea1-Bold /UnDotum-Bold ;

Modified: gs-cjk-resource/trunk/debian/changelog
==============================================================================
--- gs-cjk-resource/trunk/debian/changelog	Sun Jan  3 08:06:34 2010	(r158)
+++ gs-cjk-resource/trunk/debian/changelog	Thu Nov 10 14:32:46 2011	(r159)
@@ -1,3 +1,33 @@
+gs-cjk-resource (1.20100103-3) unstable; urgency=low
+
+  * Update Japanese font names. (closes: #646755)
+  * Update Suggests: field.
+    - Replace ttf-* of Japanese and Korean fonts with fonts-*.
+    - Replace Japanese font sazanami with ipafont.
+
+ -- Kenshi Muto <kmuto at debian.org>  Thu, 10 Nov 2011 23:08:39 +0900
+
+gs-cjk-resource (1.20100103-2) unstable; urgency=low
+
+  * Drop defoma.
+  * Provide the map files for Japanese/Korean/Chinese.
+    - 90gs-cjk-resource-japan1.conf: Japan1 set. It uses
+      ttf-japanese-mincho.ttf and ttf-japanese-gothic.ttf as default.
+    - 90gs-cjk-resource-japan2.conf: Japan2 set. It uses
+      ttf-japanese-mincho.ttf and ttf-japanese-gothic.ttf as default.
+    - 90gs-cjk-resource-korea1.conf: Korea1 set. It uses
+      UnBatang.ttf, UnDotum.ttf, UnGraphic.ttf, and UnDotumBold.ttf as
+      default.
+    - 90gs-cjk-resource-cns1.conf: CNS1 set. It uses
+      ukai.ttc and uming.ttc as default.
+    - 90gs-cjk-resource-gb1.conf: GB1 set. It uses
+      ukai.ttc and uming.ttc as default.
+    - These configurations can be overwritten by putting a file on
+      /etc/ghostscript/cidfmap.d/ (use lower number) and run
+      update-gsfontmap.
+
+ -- Kenshi Muto <kmuto at debian.org>  Sun, 10 Jan 2010 17:01:21 +0900
+
 gs-cjk-resource (1.20100103-1) unstable; urgency=low
 
   * New upstream release with BSD-like license. (closes: #548149)

Modified: gs-cjk-resource/trunk/debian/control
==============================================================================
--- gs-cjk-resource/trunk/debian/control	Sun Jan  3 08:06:34 2010	(r158)
+++ gs-cjk-resource/trunk/debian/control	Thu Nov 10 14:32:46 2011	(r159)
@@ -10,9 +10,9 @@
 
 Package: gs-cjk-resource
 Architecture: all
-Depends: ghostscript, defoma (>= 0.4.8)
+Depends: ghostscript (>= 8.70~dfsg-2.1)
 Recommends: cmap-adobe-japan1 | cmap-adobe-cns1 | cmap-adobe-gb1 | cmap-adobe-korea1 | cmap-adobe-japan2
-Suggests: ttf-sazanami-mincho, ttf-sazanami-gothic, ttf-arphic-ukai, ttf-arphic-uming, ttf-arphic-gbsn00lp, ttf-arphic-gkai00mp, ttf-unfonts-core
+Suggests: fonts-ipafont-mincho, fonts-ipafont-gothic, ttf-arphic-ukai, ttf-arphic-uming, fonts-unfonts-core
 Conflicts: gs-cjk-resource-6.0, gs-cjk-resource-6.5, gs-aladdin (<= 6.50-5)
 Enhances: ghostscript
 Description: Resource files for gs-cjk, ghostscript CJK-TrueType extension
@@ -21,13 +21,13 @@
  .
  gs-cjk enables ghostscript to handle CJK TrueType fonts through CID-keyed
  font technology. In addition to this package, a language-specific CMap
- package (named cmap-adobe-???) and a TrueType font package (ttf-???) is
+ package (named cmap-adobe-*) and a TrueType font package (ttf-*) is
  needed.
  .
- Japanese: needs cmap-adobe-japan1 and ttf-kochi-mincho |
-  ttf-kochi-gothic.
- Korean: needs cmap-adobe-korea1 and ttf-unfonts-core.
+ Japanese: needs cmap-adobe-japan1 and fonts-ipafont-mincho |
+  fonts-ipafont-gothic.
+ Korean: needs cmap-adobe-korea1 and fonts-unfonts-core.
  Traditional-Chinese: needs cmap-adobe-cns1 and ttf-arphic-ukai |
   ttf-arphic-uming.
- Simplified-Chinese: needs cmap-adobe-gb1 and ttf-arphic-gbsn00lp |
-  ttf-arphic-gkai00mp.
+ Simplified-Chinese: needs cmap-adobe-gb1 and ttf-arphic-ukai |
+  ttf-arphic-uming.

Modified: gs-cjk-resource/trunk/debian/gs-cjk-resource.dirs
==============================================================================
--- gs-cjk-resource/trunk/debian/gs-cjk-resource.dirs	Sun Jan  3 08:06:34 2010	(r158)
+++ gs-cjk-resource/trunk/debian/gs-cjk-resource.dirs	Thu Nov 10 14:32:46 2011	(r159)
@@ -1,3 +1,4 @@
 usr/share/fonts/cmap/gs-cjk-resource
 usr/share/ghostscript/fonts
-etc/defoma/hints
+var/lib/ghostscript/CMap
+etc/ghostscript/cidfmap.d

Added: gs-cjk-resource/trunk/debian/postinst
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/postinst	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postinst script for gs-cjk-resource
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        if [ -x /usr/sbin/update-gsfontmap ]; then
+            update-gsfontmap
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: gs-cjk-resource/trunk/debian/prerm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ gs-cjk-resource/trunk/debian/prerm	Thu Nov 10 14:32:46 2011	(r159)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+        if [ -x /usr/sbin/update-gsfontmap ]; then
+            update-gsfontmap
+        fi
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Modified: gs-cjk-resource/trunk/debian/rules
==============================================================================
--- gs-cjk-resource/trunk/debian/rules	Sun Jan  3 08:06:34 2010	(r158)
+++ gs-cjk-resource/trunk/debian/rules	Thu Nov 10 14:32:46 2011	(r159)
@@ -81,9 +81,10 @@
 
 	for i in `cat $(CURDIR)/debian/MANIFEST`; do \
 		install -m 644 $$i $(CURDIR)/debian/gs-cjk-resource/usr/share/fonts/cmap/gs-cjk-resource/; \
+		ln -s /usr/share/fonts/cmap/gs-cjk-resource/`basename $$i` $(CURDIR)/debian/gs-cjk-resource/var/lib/ghostscript/CMap/`basename $$i`; \
 	done
 	install -m 644 $(CURDIR)/debian/SMgoJ $(CURDIR)/debian/gs-cjk-resource/usr/share/ghostscript/fonts/
-	install -m 644 $(CURDIR)/debian/gs-cjk-resource.hints $(CURDIR)/debian/gs-cjk-resource/etc/defoma/hints/
+	install -m 644 $(CURDIR)/debian/90gs-cjk-resource-*.conf $(CURDIR)/debian/gs-cjk-resource/etc/ghostscript/cidfmap.d/
 
 # Build architecture-independent files here.
 binary-indep: build install



More information about the Pkg-gs-devel mailing list