# ChangeLog for app-text/ghostscript-esp
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.48 2006/10/23 00:08:43 genstef Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.49 2007/03/19 07:31:23 genstef Exp $
+
+ 19 Mar 2007; <genstef@gentoo.org>
+ -files/ghostscript-esp-7.07.1-64bit-cmyk.patch,
+ -files/ghostscript-7.07-bigposttable.patch,
+ -files/ghostscript-7.07-coverage-glyphcount.patch,
+ -files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch,
+ -files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch,
+ -files/ghostscript-7.07-gsublookuptable.patch,
+ -files/ghostscript-esp-8.15.1-bsd.patch,
+ -files/ghostscript-esp-8.15.1-fPIC.patch,
+ -files/ghostscript-esp-8.15.1-ps2epsi-esp.diff,
+ -files/ghostscript-esp-8.15.1_p20060430-build.patch,
+ -files/ghostscript-esp-8.15.1_p20060430-destdir.diff,
+ -files/ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff,
+ -files/ghostscript-esp-8.15.2-big-cmap-post.patch,
+ -files/ghostscript-esp-8.15.2-cups-1.1.patch,
+ -files/ghostscript-esp-8.15.2-destdir.diff,
+ -files/ghostscript-esp-8.15.2-gtk-configure.patch,
+ -files/ghostscript-esp-8.15.2-noopt.patch, -files/ghostscript-badc.patch,
+ -files/ghostscript-build.patch, -files/ghostscript-esp-fontconfig.patch,
+ -files/ghostscript-gtk2.patch, -files/ghostscript-noopt.patch,
+ -files/ghostscript-pagesize.patch, -files/ghostscript-ps2epsi.patch,
+ -files/ghostscript-scripts.patch,
+ -files/ghostscript-split-font-configuration.patch,
+ -files/ghostscript-use-external-freetype.patch,
+ -files/gs7.05.6-tempfile.patch, -files/gs7.07.1-cjk.diff,
+ -files/ijs-dirinstall.diff, -ghostscript-esp-7.07.1-r10.ebuild,
+ -ghostscript-esp-8.15.1_p20060430.ebuild:
+ remove old
*ghostscript-esp-8.15.3-r1 (23 Oct 2006)
MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231
RMD160 8da05491113dfcca77da4e37c01651ff54cc86e0 files/ghostscript-7.05.6.man.patch 1231
SHA256 4873defc3d4bee0db4cb6b9e34e481f0de5914aef9a4b7cbf58677b6bfb9d528 files/ghostscript-7.05.6.man.patch 1231
-AUX ghostscript-7.07-bigposttable.patch 1257 RMD160 debf94d7b675769daade38706ea5abff8b08926e SHA1 92d35436e88f983959dc2c848b6107362363801b SHA256 b48748f917cf605653cb37a387777cb94501b69ac37726ac5f8bba957f264501
-MD5 f834d056ca972c457a2ff3b1e839e562 files/ghostscript-7.07-bigposttable.patch 1257
-RMD160 debf94d7b675769daade38706ea5abff8b08926e files/ghostscript-7.07-bigposttable.patch 1257
-SHA256 b48748f917cf605653cb37a387777cb94501b69ac37726ac5f8bba957f264501 files/ghostscript-7.07-bigposttable.patch 1257
-AUX ghostscript-7.07-coverage-glyphcount.patch 3100 RMD160 6861cbf2e8f4b6edfdd9c0dfed491f4a37cd8389 SHA1 dcf77a74b69022f647fbd84772b1fa0ea3b149c5 SHA256 503f4a1ea35a1f7dc0c0a6652f9e39d15ee98f962fde15023eb4d8af1659b9fd
-MD5 55146a1eafc4ad3a26d99121ae0777fe files/ghostscript-7.07-coverage-glyphcount.patch 3100
-RMD160 6861cbf2e8f4b6edfdd9c0dfed491f4a37cd8389 files/ghostscript-7.07-coverage-glyphcount.patch 3100
-SHA256 503f4a1ea35a1f7dc0c0a6652f9e39d15ee98f962fde15023eb4d8af1659b9fd files/ghostscript-7.07-coverage-glyphcount.patch 3100
-AUX ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch 6462 RMD160 256f6e05ff0e7a22ce71257618e9f1603c51cc14 SHA1 326973fe24ae19a95e9cdc33cad6d63ae7853f7f SHA256 e57458557bc34cc45a599ec2b177e7e5baf24b476bea736aef67d12249d93692
-MD5 c73ad916d49df447de59358ffdc495eb files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch 6462
-RMD160 256f6e05ff0e7a22ce71257618e9f1603c51cc14 files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch 6462
-SHA256 e57458557bc34cc45a599ec2b177e7e5baf24b476bea736aef67d12249d93692 files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch 6462
-AUX ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch 1611 RMD160 b8f14e15441260d6c555d8638b2e416a9950d525 SHA1 699d4e09c3c3f00c1f0c083da67717be43766318 SHA256 d255342bfa9591e2f8fbe939c5cfbbffc22b689a205db630660d05d9befcde4e
-MD5 e0da7576378dc87fa53a16dfd1774789 files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch 1611
-RMD160 b8f14e15441260d6c555d8638b2e416a9950d525 files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch 1611
-SHA256 d255342bfa9591e2f8fbe939c5cfbbffc22b689a205db630660d05d9befcde4e files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch 1611
-AUX ghostscript-7.07-gsublookuptable.patch 3808 RMD160 1dada89864fabe4e00646830756e9c4664614f77 SHA1 ae8b714dcc40d5d5395ef16485843904b4d95974 SHA256 434cba7d35539dc3e69fe8e2804be777b48e9773515c4353cc4f6f045573d5fb
-MD5 b37c0dc9f85205da6e8675d4a8bfd21a files/ghostscript-7.07-gsublookuptable.patch 3808
-RMD160 1dada89864fabe4e00646830756e9c4664614f77 files/ghostscript-7.07-gsublookuptable.patch 3808
-SHA256 434cba7d35539dc3e69fe8e2804be777b48e9773515c4353cc4f6f045573d5fb files/ghostscript-7.07-gsublookuptable.patch 3808
-AUX ghostscript-badc.patch 905 RMD160 1212ee41eed694c39851360e2bc15642d96a1b43 SHA1 b6b50118d04e4089a5cb6765528e50d26bd0ca3b SHA256 774f9d1cb02a8fc3dd74eea14edf1d3c6d19a042d62cc0dfa771531aefc078c0
-MD5 f3a75fcde50479b3f58871663272924c files/ghostscript-badc.patch 905
-RMD160 1212ee41eed694c39851360e2bc15642d96a1b43 files/ghostscript-badc.patch 905
-SHA256 774f9d1cb02a8fc3dd74eea14edf1d3c6d19a042d62cc0dfa771531aefc078c0 files/ghostscript-badc.patch 905
-AUX ghostscript-build.patch 1968 RMD160 0b3f0841f22a648046680fc2dc12a90653f454d5 SHA1 e27f422838d4ff4d24a1d4e94eea5ecad45f50b7 SHA256 2c197e3f1e84193eb011212b604c4b9abc092cb00f8c56438ed418dbad58ed76
-MD5 1fa0a00ca3a3f906f0ac62dc961e78d8 files/ghostscript-build.patch 1968
-RMD160 0b3f0841f22a648046680fc2dc12a90653f454d5 files/ghostscript-build.patch 1968
-SHA256 2c197e3f1e84193eb011212b604c4b9abc092cb00f8c56438ed418dbad58ed76 files/ghostscript-build.patch 1968
-AUX ghostscript-esp-7.07.1-64bit-cmyk.patch 1777 RMD160 6b59d9b2583c8fbc00ad1267809b815f167c27e9 SHA1 ed886e2e16cd889ba9c4990b7c34d4431c8c28dd SHA256 6261f97860549cfd27ed5c0c9a2967bf00a58076c38529828ce99e794ab083b1
-MD5 5b476654e84a9748e3d56d86f264b277 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
-RMD160 6b59d9b2583c8fbc00ad1267809b815f167c27e9 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
-SHA256 6261f97860549cfd27ed5c0c9a2967bf00a58076c38529828ce99e794ab083b1 files/ghostscript-esp-7.07.1-64bit-cmyk.patch 1777
-AUX ghostscript-esp-8.15.1-bsd.patch 550 RMD160 64017a39541730e70d23f8901f1c423ee6806bb4 SHA1 a8a37226bf5e2ed06d4525fa33852432f3480771 SHA256 6cde6391d368f36a7a4e0c87fe94564f5eec90bafba22d6de32c48a19c109b4e
-MD5 69be8f70168b7ca511bcffe6e94362e1 files/ghostscript-esp-8.15.1-bsd.patch 550
-RMD160 64017a39541730e70d23f8901f1c423ee6806bb4 files/ghostscript-esp-8.15.1-bsd.patch 550
-SHA256 6cde6391d368f36a7a4e0c87fe94564f5eec90bafba22d6de32c48a19c109b4e files/ghostscript-esp-8.15.1-bsd.patch 550
-AUX ghostscript-esp-8.15.1-fPIC.patch 330 RMD160 7b39a1de75c0515a1be6caaa0c0d2dd70ff7ad44 SHA1 f92d40eeb177e8593095168bf29c7ff1a6e97633 SHA256 9672b52472a36c8027bbcb93b3eb9a8acbab32c58365896a9247aa23e198c64a
-MD5 44ec74ee3ae85aff060d1f3d95c5234b files/ghostscript-esp-8.15.1-fPIC.patch 330
-RMD160 7b39a1de75c0515a1be6caaa0c0d2dd70ff7ad44 files/ghostscript-esp-8.15.1-fPIC.patch 330
-SHA256 9672b52472a36c8027bbcb93b3eb9a8acbab32c58365896a9247aa23e198c64a files/ghostscript-esp-8.15.1-fPIC.patch 330
-AUX ghostscript-esp-8.15.1-ps2epsi-esp.diff 380 RMD160 6386daddfed55a3fc85c0909a7dae4eea14da151 SHA1 742d6e3de45664dd3a52b0929ab11177fa1eb899 SHA256 ed254c033095de85345f788168551afd1971361e1bb8e66cae9d9682103da36a
-MD5 c5024218e7e8ad91730b3d3f0ab1fdff files/ghostscript-esp-8.15.1-ps2epsi-esp.diff 380
-RMD160 6386daddfed55a3fc85c0909a7dae4eea14da151 files/ghostscript-esp-8.15.1-ps2epsi-esp.diff 380
-SHA256 ed254c033095de85345f788168551afd1971361e1bb8e66cae9d9682103da36a files/ghostscript-esp-8.15.1-ps2epsi-esp.diff 380
-AUX ghostscript-esp-8.15.1_p20060430-build.patch 568 RMD160 d967bc17527d7804b763d526b6abc4028b809a85 SHA1 4694a63f87a479e721a23b0d55873e710ee95f53 SHA256 9c75bececd002240be692b596607189188625384decec720e2e31bb3b65c7e4a
-MD5 3c00ab22c0f9992c96d784d2e8fc5cc7 files/ghostscript-esp-8.15.1_p20060430-build.patch 568
-RMD160 d967bc17527d7804b763d526b6abc4028b809a85 files/ghostscript-esp-8.15.1_p20060430-build.patch 568
-SHA256 9c75bececd002240be692b596607189188625384decec720e2e31bb3b65c7e4a files/ghostscript-esp-8.15.1_p20060430-build.patch 568
-AUX ghostscript-esp-8.15.1_p20060430-destdir.diff 13363 RMD160 172a190a0c78c2a84b819c6b5d8899bcd28c0418 SHA1 f40facc82244eb598d512d8b7685c3203897cd45 SHA256 12908a29941a15721134da1a4658e21d07ce15244464e7cc271b7437c708a59b
-MD5 025cbebdc672a322a800fa87d889f622 files/ghostscript-esp-8.15.1_p20060430-destdir.diff 13363
-RMD160 172a190a0c78c2a84b819c6b5d8899bcd28c0418 files/ghostscript-esp-8.15.1_p20060430-destdir.diff 13363
-SHA256 12908a29941a15721134da1a4658e21d07ce15244464e7cc271b7437c708a59b files/ghostscript-esp-8.15.1_p20060430-destdir.diff 13363
-AUX ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff 356 RMD160 c8a137cff27e3ede95c3aeeb280c3e52ee2a5b6e SHA1 a004abc9147d8152e21f7664fa75eb282d103a27 SHA256 f15c12ce3d1e5f003c3b85fc35cc7817e9c9c0cfcf343d940487930cbb4e0937
-MD5 f4ce8bb871064c5e10b1e597eedf55c3 files/ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff 356
-RMD160 c8a137cff27e3ede95c3aeeb280c3e52ee2a5b6e files/ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff 356
-SHA256 f15c12ce3d1e5f003c3b85fc35cc7817e9c9c0cfcf343d940487930cbb4e0937 files/ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff 356
AUX ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216 RMD160 4160694a9e42e286c27ef048be4b160c366a675f SHA1 02afd67e83c2ec4ab185fa6ad1d4f4b304e40be1 SHA256 dfffc1088d3ada1d943ee11ac0ba3c3009c3a3d4082daa9a3e180c1b2aebdb12
MD5 c87a75b63531eb93d95cfbd878179f98 files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216
RMD160 4160694a9e42e286c27ef048be4b160c366a675f files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216
SHA256 dfffc1088d3ada1d943ee11ac0ba3c3009c3a3d4082daa9a3e180c1b2aebdb12 files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216
-AUX ghostscript-esp-8.15.2-big-cmap-post.patch 7687 RMD160 ce8e9cbc6c03a02700e49f365c51a0bfb71e9574 SHA1 343e5f6edecdffecef2aeb1d417240873813f956 SHA256 3d3650a1a57e21012a3096d18b7e3e11901ed1513dcfa980cb29fedfc84b6be3
-MD5 fedefaff786b66190c425c905a83e7f2 files/ghostscript-esp-8.15.2-big-cmap-post.patch 7687
-RMD160 ce8e9cbc6c03a02700e49f365c51a0bfb71e9574 files/ghostscript-esp-8.15.2-big-cmap-post.patch 7687
-SHA256 3d3650a1a57e21012a3096d18b7e3e11901ed1513dcfa980cb29fedfc84b6be3 files/ghostscript-esp-8.15.2-big-cmap-post.patch 7687
AUX ghostscript-esp-8.15.2-cidfmap.cjk 1719 RMD160 5eefdefe4f0d1acad18a212c7d7d5500725cd2f4 SHA1 831ab993829b98a676c5e4d8a63197de736cda6a SHA256 de206ce949bcd5590abda3973010e4b0d0983b0ecc483180395d83e52e233406
MD5 e155c2977c61ccd043582e8d54b364f3 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719
RMD160 5eefdefe4f0d1acad18a212c7d7d5500725cd2f4 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719
SHA256 de206ce949bcd5590abda3973010e4b0d0983b0ecc483180395d83e52e233406 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719
-AUX ghostscript-esp-8.15.2-cups-1.1.patch 528 RMD160 5013e14a942b2e876e7dbb3cdbbd62d3cd559173 SHA1 e4bfe1d6ae745211bd33a10d8423e9890075e18d SHA256 446e1a9ed99e2336c3f84741e16c628c89b2ddcceb314bab4eca8ea0dc489b5e
-MD5 c694433b8e60e2a6c7a1bfbacc1d85a8 files/ghostscript-esp-8.15.2-cups-1.1.patch 528
-RMD160 5013e14a942b2e876e7dbb3cdbbd62d3cd559173 files/ghostscript-esp-8.15.2-cups-1.1.patch 528
-SHA256 446e1a9ed99e2336c3f84741e16c628c89b2ddcceb314bab4eca8ea0dc489b5e files/ghostscript-esp-8.15.2-cups-1.1.patch 528
-AUX ghostscript-esp-8.15.2-destdir.diff 13375 RMD160 5d6e2d4f0ab0a833cad2ce827c364b6e5954f077 SHA1 ae72af0bdbf4f7592b45a7912ef456fca1831f7a SHA256 40446a672571dbb09dbb15f0b4097547914dc34e498afa9aefe3a67f72c9ac2e
-MD5 377c67fa66d91947e3b9e5346ac37c68 files/ghostscript-esp-8.15.2-destdir.diff 13375
-RMD160 5d6e2d4f0ab0a833cad2ce827c364b6e5954f077 files/ghostscript-esp-8.15.2-destdir.diff 13375
-SHA256 40446a672571dbb09dbb15f0b4097547914dc34e498afa9aefe3a67f72c9ac2e files/ghostscript-esp-8.15.2-destdir.diff 13375
-AUX ghostscript-esp-8.15.2-gtk-configure.patch 3001 RMD160 d2824f046b59998ef86f9b7ba660990779e77ebd SHA1 8ea1fa32f999835e3a274cc44d9512f09fb15efe SHA256 95ad3e2235deabb7a74db0636539f36f296b333f207f25371dda0229fc718f06
-MD5 50a4a2254509dd84e064c05e50e8ec11 files/ghostscript-esp-8.15.2-gtk-configure.patch 3001
-RMD160 d2824f046b59998ef86f9b7ba660990779e77ebd files/ghostscript-esp-8.15.2-gtk-configure.patch 3001
-SHA256 95ad3e2235deabb7a74db0636539f36f296b333f207f25371dda0229fc718f06 files/ghostscript-esp-8.15.2-gtk-configure.patch 3001
-AUX ghostscript-esp-8.15.2-noopt.patch 560 RMD160 dbd0d24ac4739550e0b8fe3439746d0f5add3270 SHA1 487c103bdf3d42b0936cb627e6626419ad2e9229 SHA256 5e9361de2819bf9e7eb4387b4c6c682d3fbc9cf0608399fc13ef83854f3c7c71
-MD5 d531bd9b6facd590d86f1effa0eae755 files/ghostscript-esp-8.15.2-noopt.patch 560
-RMD160 dbd0d24ac4739550e0b8fe3439746d0f5add3270 files/ghostscript-esp-8.15.2-noopt.patch 560
-SHA256 5e9361de2819bf9e7eb4387b4c6c682d3fbc9cf0608399fc13ef83854f3c7c71 files/ghostscript-esp-8.15.2-noopt.patch 560
-AUX ghostscript-esp-fontconfig.patch 7406 RMD160 2c71bb6d15cf515e353c29a9847c1d7b9cb86eea SHA1 168e54079212bae0fd7a24f1b4796a3384d697ac SHA256 090ffc8af4a9346c21e6d18f1ab685799d99845af59d933297ba96c7a00c7acd
-MD5 62c5bf8a2baf7fc6b11ee51cc0524770 files/ghostscript-esp-fontconfig.patch 7406
-RMD160 2c71bb6d15cf515e353c29a9847c1d7b9cb86eea files/ghostscript-esp-fontconfig.patch 7406
-SHA256 090ffc8af4a9346c21e6d18f1ab685799d99845af59d933297ba96c7a00c7acd files/ghostscript-esp-fontconfig.patch 7406
-AUX ghostscript-gtk2.patch 610 RMD160 b6f6ff2b5667e698d38c6340fcb027e381e765de SHA1 3d3b60695510dbe7537f9d24327350ab7dab66f3 SHA256 5330aedcdccc78af21d87179f93917d0e025a41bcce3b863301bdd0e4f9d23ea
-MD5 e8974faf06541ccb8c271180d87175bd files/ghostscript-gtk2.patch 610
-RMD160 b6f6ff2b5667e698d38c6340fcb027e381e765de files/ghostscript-gtk2.patch 610
-SHA256 5330aedcdccc78af21d87179f93917d0e025a41bcce3b863301bdd0e4f9d23ea files/ghostscript-gtk2.patch 610
-AUX ghostscript-noopt.patch 557 RMD160 579feb72d004e49ed8058c2ce75a16fd47242a49 SHA1 6afb3819e4b9a4d02d9b067cf5288ed39fbd6439 SHA256 0fcfd6fb8e80440d49d55bf6d7f50dda831824ce2093f2ebdac8b302dc4c2a59
-MD5 01cfb541633de9580aa5151543a0075f files/ghostscript-noopt.patch 557
-RMD160 579feb72d004e49ed8058c2ce75a16fd47242a49 files/ghostscript-noopt.patch 557
-SHA256 0fcfd6fb8e80440d49d55bf6d7f50dda831824ce2093f2ebdac8b302dc4c2a59 files/ghostscript-noopt.patch 557
-AUX ghostscript-pagesize.patch 475 RMD160 deaceb77737316621fe31aab5af595ca51bfffe8 SHA1 fe08bd6d12b0631d734486f4361cc461f7eafdd1 SHA256 dc6383cfb751ceb56f3fa4ae6dfcfd24ca2eadd8b9b10f96e92e756e4e66178f
-MD5 83a8ae09246090685c93fcf85fda8301 files/ghostscript-pagesize.patch 475
-RMD160 deaceb77737316621fe31aab5af595ca51bfffe8 files/ghostscript-pagesize.patch 475
-SHA256 dc6383cfb751ceb56f3fa4ae6dfcfd24ca2eadd8b9b10f96e92e756e4e66178f files/ghostscript-pagesize.patch 475
-AUX ghostscript-ps2epsi.patch 354 RMD160 494d16f1f02d424529bde6974a06a0ce23ea4a04 SHA1 45940579f161aa827f2c166670f4d6d32999ad5d SHA256 f25b27b4ccfbeba1a9e3c889f5279638e530382a96d40dbb9c35a576247b212f
-MD5 8cd1807897a48d3bfb9767309594969b files/ghostscript-ps2epsi.patch 354
-RMD160 494d16f1f02d424529bde6974a06a0ce23ea4a04 files/ghostscript-ps2epsi.patch 354
-SHA256 f25b27b4ccfbeba1a9e3c889f5279638e530382a96d40dbb9c35a576247b212f files/ghostscript-ps2epsi.patch 354
-AUX ghostscript-scripts.patch 1038 RMD160 0ba82be73579c7219f3cc37fb1e1e811481bfa0a SHA1 0429e0fdc0ee42f019ce669dcbd15abb462fa201 SHA256 7a38bd66be3845b3d3573d38058e0d96bd9f7992ce483dc2093b33764d90c657
-MD5 9d3484ccc9ea57948e8e54cc838938c4 files/ghostscript-scripts.patch 1038
-RMD160 0ba82be73579c7219f3cc37fb1e1e811481bfa0a files/ghostscript-scripts.patch 1038
-SHA256 7a38bd66be3845b3d3573d38058e0d96bd9f7992ce483dc2093b33764d90c657 files/ghostscript-scripts.patch 1038
-AUX ghostscript-split-font-configuration.patch 2120 RMD160 800bba3734562dd5ccbd9c4fce06ef3d1e2a0ea4 SHA1 ade45ecf75118027481f008786c323cb09c74006 SHA256 2c40444912e8025fca256db11ba885bc7750a8be2aeb49ef4fcc38e2d7bb1f2f
-MD5 f4b3fd94487ade5bb11a91a4037b5e0c files/ghostscript-split-font-configuration.patch 2120
-RMD160 800bba3734562dd5ccbd9c4fce06ef3d1e2a0ea4 files/ghostscript-split-font-configuration.patch 2120
-SHA256 2c40444912e8025fca256db11ba885bc7750a8be2aeb49ef4fcc38e2d7bb1f2f files/ghostscript-split-font-configuration.patch 2120
-AUX ghostscript-use-external-freetype.patch 2778 RMD160 2eb39bdbecb6eb8ce565246dd42886bd4dff69ca SHA1 81b0539523b5f4fb184233fd45b17f553e1529e3 SHA256 325c8172d9c9dfa104749654d96443b835ecc980a227dbf7112bac205084b1f5
-MD5 2860ac190e2737c358b105c31152a1c8 files/ghostscript-use-external-freetype.patch 2778
-RMD160 2eb39bdbecb6eb8ce565246dd42886bd4dff69ca files/ghostscript-use-external-freetype.patch 2778
-SHA256 325c8172d9c9dfa104749654d96443b835ecc980a227dbf7112bac205084b1f5 files/ghostscript-use-external-freetype.patch 2778
AUX gs-8.15.1destdir.patch 13364 RMD160 abc921b811f268540a33703bb25036753b6cbd48 SHA1 7b6e9ef164b9490ba1646ab37c06e0c93f1fba24 SHA256 cff8a27d340a71cb78c5602f4fa219b35a0456187a2244385cb9e183ba1080a2
MD5 4232a57145c2eafd1d84eabd674190f9 files/gs-8.15.1destdir.patch 13364
RMD160 abc921b811f268540a33703bb25036753b6cbd48 files/gs-8.15.1destdir.patch 13364
MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774
RMD160 6ad8ea72aee76ca19d71db4d56bd31138a398731 files/gs7.05.6-kochi-substitute.patch 3774
SHA256 f141027aadc46be4fa8678d515ef9fe429ef076a778725978acdd82a1705af68 files/gs7.05.6-kochi-substitute.patch 3774
-AUX gs7.05.6-tempfile.patch 2765 RMD160 64642907afc5939ce13decfdde252d0a70591a36 SHA1 812b68fcc30899c8bc46e284edb3dcb0d34c4d2b SHA256 6502490bbc4cd394f4f3bcd742207252da8f0cfec3ec4bdcdc5e8d5d56894afc
-MD5 2493e94ef0a73a577e29a8c487c856bb files/gs7.05.6-tempfile.patch 2765
-RMD160 64642907afc5939ce13decfdde252d0a70591a36 files/gs7.05.6-tempfile.patch 2765
-SHA256 6502490bbc4cd394f4f3bcd742207252da8f0cfec3ec4bdcdc5e8d5d56894afc files/gs7.05.6-tempfile.patch 2765
-AUX gs7.07.1-cjk.diff 7264 RMD160 5ddbb4fc659fe8483580c86543d9c261859c3154 SHA1 1814b128a450539b561af9de0afbb7567f7affd0 SHA256 96e2c271eed07d7961bbcf2fc31f3adabac36709a4466a179f7f6a2a86faf3e5
-MD5 16ff6a37a0a334e97f712d8ed530ec6c files/gs7.07.1-cjk.diff 7264
-RMD160 5ddbb4fc659fe8483580c86543d9c261859c3154 files/gs7.07.1-cjk.diff 7264
-SHA256 96e2c271eed07d7961bbcf2fc31f3adabac36709a4466a179f7f6a2a86faf3e5 files/gs7.07.1-cjk.diff 7264
AUX gs7.07.1-destdir.patch 12261 RMD160 1df88c5e630af5aa4ae0429d7ea931ebeaca1d03 SHA1 c9872d71c23cfd7e3c9458d9f12cf5e2bf5779ab SHA256 bb4f4efaaaddcea6fa3c0d4656c808889cc256a07aa8edd5c248b2ee92ec17f2
MD5 51736590c7ec64f9029fa9524e1ab50c files/gs7.07.1-destdir.patch 12261
RMD160 1df88c5e630af5aa4ae0429d7ea931ebeaca1d03 files/gs7.07.1-destdir.patch 12261
MD5 0201da09644874147627750546511c36 files/gs7.07.1-tempfile.patch 3125
RMD160 1fbad34890612b8628f49881c07229a9a1406b4c files/gs7.07.1-tempfile.patch 3125
SHA256 552690dbf45dd141728ad2031597d5d32cc07e041623493776efda0e223a683f files/gs7.07.1-tempfile.patch 3125
-AUX ijs-dirinstall.diff 1424 RMD160 c6a1d77325b5489721b6177eed0a3a55bb42721d SHA1 92a2e1afa146a25a0f7b2f1cb4708e009007e270 SHA256 bc5eaeffcb770a361963a8e778db06c1879d0f5175f9cb17384e27d8942d7d1b
-MD5 e58fe142d96f8a2d09f58aea873a4386 files/ijs-dirinstall.diff 1424
-RMD160 c6a1d77325b5489721b6177eed0a3a55bb42721d files/ijs-dirinstall.diff 1424
-SHA256 bc5eaeffcb770a361963a8e778db06c1879d0f5175f9cb17384e27d8942d7d1b files/ijs-dirinstall.diff 1424
DIST acro5-cmaps-2001.tar.gz 631653 RMD160 c723afc2207157a434988b46bcf0a458281c29a4 SHA1 fbc8715eae880f59e2251ae8fa99f79fbcfbd3e5 SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4
DIST adobe-cmaps-200204.tar.gz 4360486 RMD160 14f436cb2869788f249c0eaf5dd6a31295c5ada7 SHA1 e1f358996f7aac084f2224feea1a8a1556157da1 SHA256 510f29086630db1a581ab77e46c3a6b9b4ee4bf8c7717c209e5125794a59480a
DIST adobe-cmaps-200406.tar.gz 5001983 RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 SHA1 b846292af4541d907dd9041e397c2f1d8c72a056 SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689
DIST espgs-7.07.1-source.tar.bz2 5400198 RMD160 ba0d06c2e3ef55c2b716d6df9855d38a8e4216ae SHA1 9d5653d674a074ef6b803ceed4a2aeb40fed852f SHA256 7e0ed705da90a4c65368675d68ccecb871f89cb06d2efc61ddd0bb5fee5570f2
-DIST espgs-8.15.1_p20060430-source.tar.bz2 8501375 RMD160 0e386705337f9348a08a886e544738f826335e92 SHA1 ac666e16c5ff3d6045cbc6840ad3a6e37b8dd6e7 SHA256 342773230bdd8f5661a89176880098918bfdd0e53357389c2a051f982de027aa
DIST espgs-8.15.3-source.tar.bz2 8785418 RMD160 40396c74abf8911472410f52fd8cfaf2892ef19f SHA1 198acd3805d41341e81a7873be79b9cad4d90b82 SHA256 c1f5eefc058b08113f90bc583436399d71644b61872fa39ab4982a58a80baa62
-DIST ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402 RMD160 577f3c4d7ef541ccc90b53536748f30ab4db3dc7 SHA1 77ffa29bed8d3ba9e525ec6796e6d5afbdec7f6a SHA256 05032ac9986620594394e20ca2de1d0a2cb0c49c06dbaadb0bc17ed57d8ebc47
DIST gs7.07.1-cjk.diff.bz2 3055 RMD160 035d0900b47ef54508957542386c6d520ef181b6 SHA1 30b5225928b64991bd7c6e8a78c8c13e5da7bd5d SHA256 a4bb6ba4cbf73ddd939f4bdbdec57d7ba7bb1d865898d76bd6cc4df8bb03a77a
DIST gsdjvu-1.1.tar.gz 214364 RMD160 aa1ff4a80b02b16e43bf8e14719613f98bdf13c6 SHA1 cc33916f86a0f826159e5afed43d7fae722b3133 SHA256 39f32b9946a65cbe8d5b7c2882ef0e82d5858e78e04b568bb525d2c4e2d6ce78
-EBUILD ghostscript-esp-7.07.1-r10.ebuild 5763 RMD160 3f57f27023a073f8cecee2e6a321ff527cf3ec4e SHA1 6ef1aba0f3eed49686d908876cd30bf848b39272 SHA256 93a2cadacac541cd4fb13c64d2830e711a00c4a25597d660d29e1c1d587ded1b
-MD5 cbde586e62f98df957453d2e51a9b568 ghostscript-esp-7.07.1-r10.ebuild 5763
-RMD160 3f57f27023a073f8cecee2e6a321ff527cf3ec4e ghostscript-esp-7.07.1-r10.ebuild 5763
-SHA256 93a2cadacac541cd4fb13c64d2830e711a00c4a25597d660d29e1c1d587ded1b ghostscript-esp-7.07.1-r10.ebuild 5763
EBUILD ghostscript-esp-7.07.1-r8.ebuild 5184 RMD160 8ddcad9b8c8fc2bc308d5bd93c66ac8ccf905124 SHA1 2d8220b12ffa4fc2888642c533c992c6854cf424 SHA256 520165df6c43bb4c7b6d2ececfd65689cab581b711dbfde862148b329bbcfa01
MD5 6678b6dc6de4c8d766aa2c077268b0d2 ghostscript-esp-7.07.1-r8.ebuild 5184
RMD160 8ddcad9b8c8fc2bc308d5bd93c66ac8ccf905124 ghostscript-esp-7.07.1-r8.ebuild 5184
SHA256 520165df6c43bb4c7b6d2ececfd65689cab581b711dbfde862148b329bbcfa01 ghostscript-esp-7.07.1-r8.ebuild 5184
-EBUILD ghostscript-esp-8.15.1_p20060430.ebuild 4705 RMD160 8691192db9b01ac33c1ebd218ebec15cdb91126c SHA1 276531c85c6ef7ac50c070ae9562415e3b1b1bac SHA256 ccdc67bbb105225668542dd7109241386ecb8b52b6ffd9b56cd826032c248754
-MD5 65772954e74516feef4dd5372abaca69 ghostscript-esp-8.15.1_p20060430.ebuild 4705
-RMD160 8691192db9b01ac33c1ebd218ebec15cdb91126c ghostscript-esp-8.15.1_p20060430.ebuild 4705
-SHA256 ccdc67bbb105225668542dd7109241386ecb8b52b6ffd9b56cd826032c248754 ghostscript-esp-8.15.1_p20060430.ebuild 4705
EBUILD ghostscript-esp-8.15.3-r1.ebuild 4074 RMD160 8620feca4a29b028aaf212c46987fd24c10a7975 SHA1 709c0aa03055e037c28e6bdff5be8674c20c3183 SHA256 c615887c3a56be7ee980625c2647a725ecc086ee3921deff6b7886292331b196
MD5 b955a48ddef462b1263e6cdab3b57dc3 ghostscript-esp-8.15.3-r1.ebuild 4074
RMD160 8620feca4a29b028aaf212c46987fd24c10a7975 ghostscript-esp-8.15.3-r1.ebuild 4074
MD5 2adb0c5a020da1cd143e3aa3978e5954 ghostscript-esp-8.15.3.ebuild 3387
RMD160 20a1904e30c0f7d04f4b171607e8cadf07f3801d ghostscript-esp-8.15.3.ebuild 3387
SHA256 ce738d586522357554dd00d5844622ebb528e672fcb23e9207437a5e699c27d4 ghostscript-esp-8.15.3.ebuild 3387
-MISC ChangeLog 28934 RMD160 692c567136b09de7e2b3ebf44f6fa7ec211b93a5 SHA1 afe6ce796b67e47236d241bc534a42e76585fae6 SHA256 cc1a64eb88a383ed94098087d4f6bfba6e84c0a53756f76c5cb67799776fa0b6
-MD5 d345215eee5591cccf8783c493af9fe0 ChangeLog 28934
-RMD160 692c567136b09de7e2b3ebf44f6fa7ec211b93a5 ChangeLog 28934
-SHA256 cc1a64eb88a383ed94098087d4f6bfba6e84c0a53756f76c5cb67799776fa0b6 ChangeLog 28934
+MISC ChangeLog 30422 RMD160 124677a9d3d34b8921980f50e07259a4c9ac6cbc SHA1 455482d33e8778abc049b807e81ca744387636cf SHA256 69ea9119181bf90b6509692b26a94647c174ba360766e7928835ea6e698cdf5b
+MD5 09c186c7d4269fefbdfd8dfbfc7476fa ChangeLog 30422
+RMD160 124677a9d3d34b8921980f50e07259a4c9ac6cbc ChangeLog 30422
+SHA256 69ea9119181bf90b6509692b26a94647c174ba360766e7928835ea6e698cdf5b ChangeLog 30422
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 metadata.xml 161
-MD5 77e086a6a005825567134e1bf518f5ee files/digest-ghostscript-esp-7.07.1-r10 774
-RMD160 a5eb2565d53bc33630ec82e534f743751d8d2a76 files/digest-ghostscript-esp-7.07.1-r10 774
-SHA256 0a9ef0a428cc9ce271cadfa5bb6e7006097cbf0c5897a4c5d144ac3d5af5a19a files/digest-ghostscript-esp-7.07.1-r10 774
MD5 749a40986052bc40dce4c8ef26d2dcab files/digest-ghostscript-esp-7.07.1-r8 1012
RMD160 d55d32f5b38935450384cd2052c1b8b84a916c42 files/digest-ghostscript-esp-7.07.1-r8 1012
SHA256 0003a2487832469e65a5ba84526e74da05239299853dc494bf77ade57c5b6a5e files/digest-ghostscript-esp-7.07.1-r8 1012
-MD5 20c45ee9feb05d64a8ca15ecf131cfca files/digest-ghostscript-esp-8.15.1_p20060430 1102
-RMD160 2b8b7b95795f69d8ab2557b7839655a82ca9f57d files/digest-ghostscript-esp-8.15.1_p20060430 1102
-SHA256 7e1b216b6154824c86740c8bf552f6b2fc8381137e09f9d512baa78cd1fcd8e4 files/digest-ghostscript-esp-8.15.1_p20060430 1102
MD5 edded523397d6372592dc5846181ed58 files/digest-ghostscript-esp-8.15.3 774
RMD160 326948b15272282a593ea3b2ec73b58be53577c0 files/digest-ghostscript-esp-8.15.3 774
SHA256 6ccb8ecf87dd7c6efc31c73b57054b77a1d406af722e81706f37b639e196d635 files/digest-ghostscript-esp-8.15.3 774
+++ /dev/null
-MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
-RMD160 c723afc2207157a434988b46bcf0a458281c29a4 acro5-cmaps-2001.tar.gz 631653
-SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4 acro5-cmaps-2001.tar.gz 631653
-MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
-RMD160 14f436cb2869788f249c0eaf5dd6a31295c5ada7 adobe-cmaps-200204.tar.gz 4360486
-SHA256 510f29086630db1a581ab77e46c3a6b9b4ee4bf8c7717c209e5125794a59480a adobe-cmaps-200204.tar.gz 4360486
-MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198
-RMD160 ba0d06c2e3ef55c2b716d6df9855d38a8e4216ae espgs-7.07.1-source.tar.bz2 5400198
-SHA256 7e0ed705da90a4c65368675d68ccecb871f89cb06d2efc61ddd0bb5fee5570f2 espgs-7.07.1-source.tar.bz2 5400198
+++ /dev/null
-MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
-RMD160 c723afc2207157a434988b46bcf0a458281c29a4 acro5-cmaps-2001.tar.gz 631653
-SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4 acro5-cmaps-2001.tar.gz 631653
-MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
-RMD160 14f436cb2869788f249c0eaf5dd6a31295c5ada7 adobe-cmaps-200204.tar.gz 4360486
-SHA256 510f29086630db1a581ab77e46c3a6b9b4ee4bf8c7717c209e5125794a59480a adobe-cmaps-200204.tar.gz 4360486
-MD5 10714fced522f4922b78989b21133fc7 espgs-8.15.1_p20060430-source.tar.bz2 8501375
-RMD160 0e386705337f9348a08a886e544738f826335e92 espgs-8.15.1_p20060430-source.tar.bz2 8501375
-SHA256 342773230bdd8f5661a89176880098918bfdd0e53357389c2a051f982de027aa espgs-8.15.1_p20060430-source.tar.bz2 8501375
-MD5 fcd47a90e8d71d03f6c53c4ba7698b24 ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402
-RMD160 577f3c4d7ef541ccc90b53536748f30ab4db3dc7 ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402
-SHA256 05032ac9986620594394e20ca2de1d0a2cb0c49c06dbaadb0bc17ed57d8ebc47 ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402
+++ /dev/null
-diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps
---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-04-12 23:02:38.000000000 +0900
-+++ ghostscript-7.07/lib/gs_ttf.ps 2003-07-24 19:00:37.000000000 +0900
-@@ -575,7 +575,7 @@
- (maxp) 1 index
- (name) 1 index
- (OS/2) 1 index
-- (post) 1 index
-+ (post) { .readbigtable }
- (vhea) 1 index
- % Big tables
- (glyf) { .readbigtable }
-@@ -918,10 +918,17 @@
- DEBUG { (fontname ) print fontname = } if
- % Stack: ... /FontInfo mark key1 value1 ...
- post null ne {
-- /ItalicAngle post 4 gets32 65536.0 div
-- /isFixedPitch post 12 getu32 0 ne
-- /UnderlinePosition post 8 gets16 upem div
-- /UnderlineThickness post 10 gets16 upem div
-+ post type /arraytype eq {
-+ % this post table is a big table. /post should be [(...) ...]
-+ % data we actually need here should be first one in array.
-+ /posttable post 1 get def
-+ } {
-+ /posttable post def
-+ } ifelse
-+ /ItalicAngle posttable 4 gets32 65536.0 div
-+ /isFixedPitch posttable 12 getu32 0 ne
-+ /UnderlinePosition posttable 8 gets16 upem div
-+ /UnderlineThickness posttable 10 gets16 upem div
- } if
- counttomark 0 ne { .dicttomark } { pop pop } ifelse
- /XUID [orgXUID 42 curxuid]
+++ /dev/null
-diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps
---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-08-04 15:23:15.000000000 +0900
-+++ ghostscript-7.07/lib/gs_ttf.ps 2003-08-04 15:22:23.000000000 +0900
-@@ -1104,9 +1104,26 @@
- % 4 2 Offset Coverage(--)
- % 6 2 uint16 GlyphCount
- % 8 2 GlyphID Substitute(vertically oriented glyphs)
--% -- 2 uint16 SubstFormat
--% +2 2 uint16 GlyphCount(same as above GlyphCount)
--% +4 2 GlyphID GlyphArray(horizontally oriented glyphs)
-+%
-+% [Coverage Format 1, Individual glyph indices]
-+% Index Size Type Name of Entry
-+% -----------------------------------
-+% 0 2 uint16 CoverageFormat (Format identifier-format = 1)
-+% 2 2 uint16 GlyphCount (same as above GlyphCount)
-+% 4 2 GlyphID GlyphArray (horizontally oriented glyphs)
-+%
-+% [Coverage Format 2, Range of glyphs
-+% Index Size Type Name of Entry
-+% -----------------------------------
-+% 0 2 uint16 CoverageFormat (Format identifier-format = 2)
-+% 2 2 uint16 RangeCount
-+% 4 2 struct RangeRecord[RangeCount]
-+% [RangeRecord]
-+% Index Size Type Name of Entry
-+% -----------------------------------
-+% 0 2 GlyphID First GlyphID in the range
-+% 2 2 GlyphID Last GlyphID in the range
-+% 4 2 uint16 Coverage Index of first GlpyhID in range
- % -----------------------------------
- % References
- % 1. http://www.microsoft.com/typography/OTSPEC/gsub.htm
-@@ -1161,10 +1178,13 @@
- %dup /gsubvog exch gsubost 6 add gsubglc getinterval def
- %dup /gsubhog exch gsubost gsubocv add 4 add gsubglc getinterval def
- dup /gsubvog exch gsubost 6 add gsubglc 2 mul getinterval def
-- dup /gsubhog exch gsubost gsubocv add 4 add gsubglc 2 mul getinterval def
-+ dup /cvfmt exch gsubost gsubocv add 0 add getu16 def
-+ dup /cvglc exch gsubost gsubocv add 2 add getu16 def
-+ dup /gsubhog exch gsubost gsubocv add 4 add cvglc 2 mul getinterval def
- DEBUG {
- (gsubocv: ) print gsubocv =
- (gsubglc: ) print gsubglc =
-+ (cvfmt: ) print cvfmt =
-
- (gsubhog->gsubvog ) =
- 0 2 gsubhog length 2 sub { % for
-@@ -1174,10 +1194,31 @@
- gsubvog exch getu16 =
- } for
- } if
-- /gsubh2v << 0 2 gsubhog length 2 sub {
-- dup gsubhog exch getu16
-- exch gsubvog exch getu16
-- } for >> def
-+ cvfmt 1 eq {
-+ /gsubh2v << 0 2 gsubhog length 2 sub {
-+ dup gsubhog exch getu16
-+ exch gsubvog exch getu16
-+ } for >> def
-+ } {
-+ cvfmt 2 eq {
-+ /gsubh2v << 0 6 gsubhog length 6 sub {
-+ dup 0 add /fgid exch gsubhog exch getu16 def
-+ dup 2 add /lgid exch gsubhog exch getu16 def
-+ 4 add /cvidx exch gsubhog exch getu16 def
-+ DEBUG {
-+ (fgid: ) print fgid =
-+ (lgid: ) print lgid =
-+ (cvidx: ) print cvidx =
-+ } if
-+ fgid 1 lgid {
-+ dup cvidx add fgid sub
-+ exch gsubvog exch getu16
-+ } for
-+ } for >> def
-+ } {
-+ %(UNKNWON COVERAGE FORMAT.) = flush
-+ } ifelse
-+ } ifelse
- } {
- %(UNKNOWN GSUB FORMAT.) = flush
- } ifelse
+++ /dev/null
---- ./src/gdevpdff.h.org 2003-01-17 09:49:02.000000000 +0900
-+++ ./src/gdevpdff.h 2003-09-18 23:42:38.000000000 +0900
-@@ -117,6 +117,12 @@
- FONT_SUBSET_NO
- } pdf_font_do_subset_t;
-
-+typedef enum {
-+ FONT_EMBED_STANDARD, /* 14 standard fonts */
-+ FONT_EMBED_NO,
-+ FONT_EMBED_YES
-+} pdf_font_embed_t;
-+
- struct pdf_font_descriptor_s {
- pdf_resource_common(pdf_font_descriptor_t);
- pdf_font_name_t FontName;
-@@ -198,6 +204,7 @@
- gs_font *font; /* non-0 iff font will notify us; */
- /* should be a weak pointer */
- int index; /* in pdf_standard_fonts, -1 if not base 14 */
-+ pdf_font_embed_t embed; /* status of pdf_font_embed_status() */
- gs_matrix orig_matrix; /* FontMatrix of unscaled font for embedding */
- bool is_MM_instance; /* for Type 1/2 fonts, true iff the font */
- /* is a Multiple Master instance */
-@@ -320,12 +327,6 @@
-
- /* ---------------- Exported by gdevpdff.c ---------------- */
-
--typedef enum {
-- FONT_EMBED_STANDARD, /* 14 standard fonts */
-- FONT_EMBED_NO,
-- FONT_EMBED_YES
--} pdf_font_embed_t;
--
- typedef struct pdf_standard_font_s {
- const char *fname;
- gs_encoding_index_t base_encoding;
---- ./src/gdevpdff.c.org 2003-01-17 09:49:02.000000000 +0900
-+++ ./src/gdevpdff.c 2003-09-21 05:08:36.000000000 +0900
-@@ -276,6 +276,11 @@
- const byte *chars = font->font_name.chars;
- uint size = font->font_name.size;
-
-+ /* CIDFonts has null string in font_name, key_name is used */
-+ if (0 == size) {
-+ chars = font->key_name.chars;
-+ size = font->key_name.size;
-+ }
- /*
- * The behavior of Acrobat Distiller changed between 3.0 (PDF 1.2),
- * which will never embed the base 14 fonts, and 4.0 (PDF 1.3), which
-@@ -720,19 +725,22 @@
- same &= ~FONT_SAME_METRICS;
- break;
- case FONT_EMBED_NO:
-- /*
-- * Per the PDF 1.3 documentation, there are only 3 BaseEncoding
-- * values allowed for non-embedded fonts. Pick one here.
-- */
-- BaseEncoding =
-- ((const gs_font_base *)base_font)->nearest_encoding_index;
-- switch (BaseEncoding) {
-- default:
-- BaseEncoding = ENCODING_INDEX_WINANSI;
-- case ENCODING_INDEX_WINANSI:
-- case ENCODING_INDEX_MACROMAN:
-- case ENCODING_INDEX_MACEXPERT:
-- break;
-+ if (!(font->FontType == ft_CID_encrypted ||
-+ font->FontType == ft_CID_TrueType)) {
-+ /*
-+ * Per the PDF 1.3 documentation, there are only 3 BaseEncoding
-+ * values allowed for non-embedded fonts. Pick one here.
-+ */
-+ BaseEncoding =
-+ ((const gs_font_base *)base_font)->nearest_encoding_index;
-+ switch (BaseEncoding) {
-+ default:
-+ BaseEncoding = ENCODING_INDEX_WINANSI;
-+ case ENCODING_INDEX_WINANSI:
-+ case ENCODING_INDEX_MACROMAN:
-+ case ENCODING_INDEX_MACEXPERT:
-+ break;
-+ }
- }
- code = pdf_compute_font_descriptor(pdev, &fdesc, font, NULL);
- if (code < 0)
-@@ -888,6 +896,7 @@
- memcpy(ppf->widths_known, ftemp_widths_known,
- sizeof(ftemp_widths_known));
- }
-+ ppf->embed = embed;
- code = pdf_register_font(pdev, font, ppf);
-
- *pppf = ppf;
---- ./src/gdevpdfw.c.org 2003-01-17 09:49:02.000000000 +0900
-+++ ./src/gdevpdfw.c 2003-09-25 17:50:54.000000000 +0900
-@@ -348,18 +348,19 @@
- /* Use the most common width as DW. */
-
- {
-- ushort counts[1001];
-+ ushort counts[1500*2]; /* histogram of (-1500..1500) */
- int dw_count = 0, i;
-
- memset(counts, 0, sizeof(counts));
- while (!psf_enumerate_glyphs_next(&genum, &glyph)) {
-- int width = ppf->Widths[glyph - gs_min_cid_glyph];
-+ int cid = glyph - gs_min_cid_glyph;
-+ int width = ppf->Widths[cid];
-
-- counts[min(width, countof(counts) - 1)]++;
-+ counts[max(0,min(width+countof(counts)/2,countof(counts)-1))]++;
- }
-- for (i = 0; i < countof(counts); ++i)
-+ for (i = 0; i < countof(counts); i++)
- if (counts[i] > dw_count)
-- dw = i, dw_count = counts[i];
-+ dw = i - countof(counts)/2, dw_count = counts[i];
- if (dw != 0)
- pprintd1(s, "/DW %d\n", dw);
- }
-@@ -496,14 +497,16 @@
- if (pdf_has_subset_prefix(chars, size))
- chars += SUBSET_PREFIX_SIZE, size -= SUBSET_PREFIX_SIZE;
- pdf_put_name(pdev, chars, size);
-- if (pef->sub_font_type == ft_CID_encrypted &&
-+ if ((pef->sub_font_type == ft_CID_encrypted ||
-+ pef->sub_font_type == ft_CID_TrueType) &&
- pef->cmapname[0] == '/'
- ) {
- stream_putc(s, '-');
- pdf_put_name_chars(pdev, (const byte*) (pef->cmapname + 1),
- strlen(pef->cmapname + 1));
- }
-- pprints1(s, "/Encoding %s", pef->cmapname);
-+ pprints1(s, (pef->cmapname[0] == '/') ? "/Encoding%s" : "/Encoding %s",
-+ pef->cmapname);
- pprintld1(s, "/DescendantFonts[%ld 0 R]",
- pdf_resource_id((const pdf_resource_t *)pef->DescendantFont));
- write_Widths = 0;
-@@ -563,8 +566,10 @@
- break;
- case -1:
- pdf_write_CIDFont_widths(pdev, pef);
-- if (pef->FontType == ft_CID_TrueType)
-- pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id);
-+ if (pef->FontType == ft_CID_TrueType) {
-+ if (pef->embed != FONT_EMBED_NO)
-+ pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id);
-+ }
- break;
- }
- if (pef->Differences) {
---- ./src/gdevpdfs.c.org 2003-09-20 00:11:16.000000000 +0900
-+++ ./src/gdevpdfs.c 2003-09-25 17:44:10.000000000 +0900
-@@ -481,15 +481,21 @@
-
- if (cid < pfd->chars_count) {
- int index = cid >> 3, mask = 0x80 >> (cid & 7);
-+ int gid;
-+
-+ if (!(pfd->chars_used.data[index] & mask) ||
-+ !(psubf->widths_known[index] & mask)) {
-
-- if (!(pfd->chars_used.data[index] & mask)) {
-- pfd->chars_used.data[index] |= mask;
- if (psubf->CIDToGIDMap) {
- gs_font_cid2 *const subfont2 =
- (gs_font_cid2 *)subfont;
-- int gid =
-- subfont2->cidata.CIDMap_proc(subfont2, glyph);
-
-+ gid = subfont2->cidata.CIDMap_proc(subfont2, glyph);
-+ }
-+ }
-+ if (!(pfd->chars_used.data[index] & mask)) {
-+ pfd->chars_used.data[index] |= mask;
-+ if (psubf->CIDToGIDMap) {
- if (gid >= 0) {
- psubf->CIDToGIDMap[cid] = gid;
- mark_glyphs_used(subfont, gid + gs_min_cid_glyph,
-@@ -500,7 +506,11 @@
- if (!(psubf->widths_known[index] & mask)) {
- int width;
-
-- code = pdf_glyph_width(psubf, glyph, subfont, &width);
-+ if (psubf->CIDToGIDMap)
-+ code = pdf_glyph_width(psubf, gid + gs_min_cid_glyph,
-+ subfont, &width);
-+ else
-+ code = pdf_glyph_width(psubf, glyph, subfont, &width);
- if (code == 0) {
- psubf->Widths[cid] = width;
- psubf->widths_known[index] |= mask;
+++ /dev/null
---- ./lib/gs_cidfn.ps.org 2003-04-12 23:02:38.000000000 +0900
-+++ ./lib/gs_cidfn.ps 2003-09-03 07:28:28.000000000 +0900
-@@ -511,9 +511,32 @@
-
- .loadinitialcidfonts
-
-+% <fontname> <font> .RenameFontForNeverEmbed <fontname> <font'>
-+/.RenameFontForNeverEmbed {
-+ /DEVICE where { pop DEVICE (pdfwrite) eq {
-+ currentdistillerparams /NeverEmbed get {
-+ 2 index eq {
-+ (*** unembeddable CIDFont: ) print 1 index == flush
-+ dup length 1 add dict copy
-+ dup /FID undef
-+ dup /.orig_CIDFontName 1 index /CIDFontName get put
-+ dup /CIDFontName 3 index dup type /stringtype eq {
-+ dup rcheck {
-+ dup length string 0 1 2 index length 1 sub {
-+ 2 index 1 index get 3 copy put pop pop
-+ } for exch pop
-+ } if
-+ } if put
-+ dup /FontName 1 index /CIDFontName get put
-+ } if
-+ } forall
-+ } if } if
-+} bind def
-+
- /CIDFontmapHandler <<
- /nametype {
- /CIDFont findresource
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } bind
- /stringtype {
-@@ -528,6 +551,7 @@
- pop pop
- } {
- % Give a name different from the name defined in the file
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } ifelse
- } {
-@@ -546,6 +570,7 @@
- 3 -1 roll put
- % Expand array
- aload pop .loadcjkvttcidfont
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } {
- /undefinedresource signalerror
+++ /dev/null
-diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps
---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-07-29 16:51:55.000000000 +0900
-+++ ghostscript-7.07/lib/gs_ttf.ps 2003-07-29 17:44:43.000000000 +0900
-@@ -1117,50 +1117,77 @@
- /gsubh2v null def
- tabdict /GSUB .knownget { % if
- dup /gsubver exch 0 getu32 def
-- %dup /gsubosl exch 4 getu16 12 add def
-- %dup /gsubofl exch 6 getu16 12 add def
-- dup /gsuboll exch 8 getu16 12 add def
-+ %dup /gsubosl exch 4 getu16 def
-+ %dup /gsubofl exch 6 getu16 def
-+ dup /gsuboll exch 8 getu16 def
- DEBUG {
- (gsubver: ) print gsubver =
- %(gsubosl: ) print gsubosl =
- %(gsubofl: ) print gsubofl =
- (gsuboll: ) print gsuboll =
- } if
-- dup /gsubfmt exch gsuboll 0 add getu16 def
-+ % /gsuboll should be pointed out the LookupList table, but not Lookup table.
-+ % so this is wrong:
-+ % dup /gsubfmt exch gsuboll 0 add getu16 def
-+ dup /gsublc exch gsuboll 0 add getu16 def
- DEBUG {
-- (gsubfmt: ) print gsubfmt =
-+ (gsublc: ) print gsublc =
- } if
--% gsubver 16#00010000 eq { % ifelse
-- gsubfmt 2 eq { % ifelse
-- dup /gsubocv exch gsuboll 2 add getu16 def
-- dup /gsubglc exch gsuboll 4 add getu16 def
-- % hacked by suzuki toshiya at 2001/3/6
-- %dup /gsubvog exch gsuboll 6 add gsubglc getinterval def
-- %dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc getinterval def
-- dup /gsubvog exch gsuboll 6 add gsubglc 2 mul getinterval def
-- dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc 2 mul getinterval def
-+ gsublc 0 ne {
-+ 0 1 gsublc 1 sub {
-+ 2 mul /gsubolt exch 2 index exch gsuboll 2 add add getu16 gsuboll add def
-+ dup /gsubltype exch gsubolt 0 add getu16 def
-+ dup /gsublflag exch gsubolt 2 add getu16 def
-+ dup /gsubsubc exch gsubolt 4 add getu16 def
- DEBUG {
-- (gsubocv: ) print gsubocv =
-- (gsubglc: ) print gsubglc =
--
-- (gsubhog->gsubvog ) =
-- 0 2 gsubhog length 2 sub { % for
-- dup
-- gsubhog exch getu16 =only
-- (->) =only
-- gsubvog exch getu16 =
-+ (gsubolt: ) print gsubolt =
-+ (gsubltype: ) print gsubltype =
-+ (gsublflag: ) print gsublflag =
-+ (gsubsubc: ) print gsubsubc =
-+ } if
-+ gsubsubc 0 ne {
-+ 0 1 gsubsubc 1 sub {
-+ 2 mul /gsubost exch 2 index exch gsubolt 6 add add getu16 gsubolt add def
-+ dup /substfmt exch gsubost 0 add getu16 def
-+ DEBUG {
-+ (gsubost: ) print gsubost =
-+ (substfmt: ) print substfmt =
-+ } if
-+% gsubver 16#00010000 eq { % ifelse
-+ gsubltype 1 eq substfmt 2 eq and { % ifelse
-+ dup /gsubocv exch gsubost 2 add getu16 def
-+ dup /gsubglc exch gsubost 4 add getu16 def
-+ % hacked by suzuki toshiya at 2001/3/6
-+ %dup /gsubvog exch gsubost 6 add gsubglc getinterval def
-+ %dup /gsubhog exch gsubost gsubocv add 4 add gsubglc getinterval def
-+ dup /gsubvog exch gsubost 6 add gsubglc 2 mul getinterval def
-+ dup /gsubhog exch gsubost gsubocv add 4 add gsubglc 2 mul getinterval def
-+ DEBUG {
-+ (gsubocv: ) print gsubocv =
-+ (gsubglc: ) print gsubglc =
-+
-+ (gsubhog->gsubvog ) =
-+ 0 2 gsubhog length 2 sub { % for
-+ dup
-+ gsubhog exch getu16 =only
-+ (->) =only
-+ gsubvog exch getu16 =
-+ } for
-+ } if
-+ /gsubh2v << 0 2 gsubhog length 2 sub {
-+ dup gsubhog exch getu16
-+ exch gsubvog exch getu16
-+ } for >> def
-+ } {
-+ %(UNKNOWN GSUB FORMAT.) = flush
-+ } ifelse
-+% } {
-+% (ILLEGAL GSUB VERSION.) = flush
-+% } ifelse
- } for
- } if
-- /gsubh2v << 0 2 gsubhog length 2 sub {
-- dup gsubhog exch getu16
-- exch gsubvog exch getu16
-- } for >> def
-- } {
-- %(UNKNOWN GSUB FORMAT.) = flush
-- } ifelse
--% } {
--% (ILLEGAL GSUB VERSION.) = flush
--% } ifelse
-+ } for
-+ } if
- pop
- } if
- } bind def
+++ /dev/null
---- espgs-8.15rc3/src/gdevps.c.badc 2005-02-16 21:21:49.000000000 +0000
-+++ espgs-8.15rc3/src/gdevps.c 2005-06-03 10:56:31.000000000 +0100
-@@ -1164,7 +1164,7 @@
- gs_rect bbox;
-
- gx_device_bbox_bbox(vdev->bbox_device, &bbox);
-- if (pdev->first_page & !vdev->in_page) {
-+ if (pdev->first_page && !vdev->in_page) {
- /* Nothing has been written. Write the file header now. */
- code = psw_begin_file(pdev, &bbox);
- if (code < 0)
---- espgs-8.15rc3/src/scfd.c.badc 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15rc3/src/scfd.c 2005-06-03 10:56:31.000000000 +0100
-@@ -305,7 +305,7 @@
- * in the string of initial zeros in the EOL. If EndOfLine
- * is false, we aren't sure what we should do....
- */
-- if (ss->EncodedByteAlign & !ss->EndOfLine)
-+ if (ss->EncodedByteAlign && !ss->EndOfLine)
- ss->bits_left &= ~7;
- }
- /* If we're between scan lines, scan for EOLs. */
+++ /dev/null
---- espgs-8.15rc3/src/unix-dll.mak.build 2005-06-03 12:49:36.000000000 +0100
-+++ espgs-8.15rc3/src/unix-dll.mak 2005-06-03 12:49:59.000000000 +0100
-@@ -87,7 +87,7 @@
-
- # Normal shared object
- so: SODIRS
-- $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
-+ $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS) $(ACDEFS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
-
- # Debug shared object
- # Note that this is in the same directory as the normal shared
---- espgs-8.15rc3/src/devs.mak.build 2005-06-03 22:41:16.000000000 +0100
-+++ espgs-8.15rc3/src/devs.mak 2005-06-03 22:42:54.000000000 +0100
-@@ -457,7 +457,7 @@
- $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
-
- $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
-- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
-+ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
-
- $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
- $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)
---- espgs-8.15rc3/src/lib.mak.build 2005-06-03 22:51:22.000000000 +0100
-+++ espgs-8.15rc3/src/lib.mak 2005-06-03 22:52:11.000000000 +0100
-@@ -847,7 +847,7 @@
- $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
- $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
- $(gstypes_h)
-- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
-+ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
-
- # Future replacement for gsparams.c
- $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
-
- # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
- $(GLOBJ)gdevemap.$(OBJ) : $(GLSRC)gdevemap.c $(AK) $(std_h)
-- $(GLCC) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
-+ $(GLCCSHARED) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
-
- ###### Create a pseudo-"feature" for the entire graphics library.
+++ /dev/null
-Index: gs/src/gdevbmp.c
-===================================================================
-RCS file: /cvs/ghostscript/gs/src/gdevbmp.c,v
-retrieving revision 1.10
-diff -b -u -r1.10 gdevbmp.c
---- gs/src/gdevbmp.c 20 Sep 2004 22:14:59 -0000 1.10
-+++ gs/src/gdevbmp.c 2 Aug 2005 12:02:44 -0000
-@@ -147,6 +147,7 @@
-
- if (row == 0) /* can't allocate row buffer */
- return_error(gs_error_VMerror);
-+ memset(row+raster, 0, bmp_raster - raster); /* clear the padding bytes */\r
-
- /* Write the file header. */
-
-@@ -174,7 +175,7 @@
- bmp_cmyk_print_page(gx_device_printer * pdev, FILE * file)
- {
- int plane_depth = pdev->color_info.depth / 4;
-- uint raster = bitmap_raster(pdev->width * plane_depth);
-+ uint raster = (pdev->width * plane_depth + 7) >> 3;
- /* BMP scan lines are padded to 32 bits. */
- uint bmp_raster = raster + (-(int)raster & 3);
- byte *row = gs_alloc_bytes(pdev->memory, bmp_raster, "bmp file buffer");
-@@ -184,6 +185,7 @@
-
- if (row == 0) /* can't allocate row buffer */
- return_error(gs_error_VMerror);
-+ memset(row+raster, 0, bmp_raster - raster); /* clear the padding bytes */
-
- for (plane = 0; plane <= 3; ++plane) {
- gx_render_plane_t render_plane;
-Index: gs/src/gdevbmpc.c
-===================================================================
-RCS file: /cvs/ghostscript/gs/src/gdevbmpc.c,v
-retrieving revision 1.7
-diff -b -u -r1.7 gdevbmpc.c
---- gs/src/gdevbmpc.c 17 Oct 2002 06:09:33 -0000 1.7
-+++ gs/src/gdevbmpc.c 2 Aug 2005 12:02:44 -0000
-@@ -207,7 +207,7 @@
- }
- return write_bmp_depth_header(pdev, file, plane_depth,
- (const byte *)palette,
-- bitmap_raster(pdev->width * plane_depth));
-+ (pdev->width*plane_depth + 7) >> 3);
- }
-
- /* 24-bit color mappers (taken from gdevmem2.c). */
+++ /dev/null
---- espgs-8.15.1/src/configure.ac
-+++ espgs-8.15.1/src/configure.ac
-@@ -742,8 +742,16 @@
- DYNAMIC_LIBS="-rdynamic -ldl"
- X_DEVS=""
- ;;
-+ *BSD)
-+ DYNAMIC_CFLAGS="-fPIC"
-+ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
-+ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
-+ DYNAMIC_LDFLAGS="-fPIC -shared"
-+ DYNAMIC_LIBS=""
-+ X_DEVS=""
-+ ;;
- *)
-- AC_MSG_ERROR(Sorry, dynamic driver support not available on this platform!)
-+ AC_MSG_ERROR([Sorry, dynamic driver support not available on this platform!])
- ;;
- esac
- ])
+++ /dev/null
---- src/configure.ac 2005-09-22 19:14:28.000000000 +0200
-+++ src/configure.ac 2006-02-07 21:31:16.000000000 +0100
-@@ -726,9 +726,9 @@
- AC_SUBST(FILES)
-
- dnl Dynamic device support.
--DYNAMIC_CFLAGS=""
-+DYNAMIC_CFLAGS="-fPIC"
- DYNAMIC_DEVS=""
--DYNAMIC_FLAGS=""
-+DYNAMIC_FLAGS="-fPIC -shared"
- DYNAMIC_LDFLAGS=""
- DYNAMIC_LIBS=""
-
+++ /dev/null
---- ghostscript/lib/ps2epsi.orig 2006-04-03 18:19:52.000000000 +0200
-+++ ghostscript/lib/ps2epsi 2006-04-03 18:21:17.000000000 +0200
-@@ -6,11 +6,6 @@
- fi
-
- tmpfile=`mktemp ${TMPDIR-/tmp}/ps2epsi.XXXXXX`
--rm -f $tmpfile
--if test -e $tmpfile; then
-- echo "$0: Our temporary file $tmpfile already exists." 1>&2
-- exit 1
--fi
- trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
-
- export outfile
+++ /dev/null
---- espgs-8.15.1_p9999/src/unix-dll.mak.orig 2006-04-29 23:36:28.000000000 +0200
-+++ espgs-8.15.1_p9999/src/unix-dll.mak 2006-04-29 23:33:57.000000000 +0200
-@@ -87,7 +87,7 @@
-
- # Normal shared object
- so: SODIRS
-- $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
-+ $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS) $(ACDEFS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
-
- # Debug shared object
- # Note that this is in the same directory as the normal shared
+++ /dev/null
-diff -urN espgs-8.15.1.orig/addons/addons.mak espgs-8.15.1/addons/addons.mak
---- espgs-8.15.1.orig/addons/addons.mak 2005-08-16 10:07:21.000000000 +0000
-+++ espgs-8.15.1/addons/addons.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -953,9 +953,9 @@
- $(GLCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c
-
- extra-dmprt-install:
-- $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-- $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-- $(INSTALL_DATA) $(JAPSRC)escp_24.src $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-
-
-
-@@ -1095,7 +1095,7 @@
-
- extra-upp-install:
- for f in $(ADSRC)uniprint$(D)*.upp; do \
-- $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)$(D)lib || exit 1; \
-+ $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \
- done
-
- ### ------------ Build/Install special features ------------ ###
-diff -urN espgs-8.15.1.orig/pstoraster/cups.mak espgs-8.15.1/pstoraster/cups.mak
---- espgs-8.15.1.orig/pstoraster/cups.mak 2005-02-21 16:17:00.000000000 +0000
-+++ espgs-8.15.1/pstoraster/cups.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -24,9 +24,9 @@
-
- cups_= $(GLOBJ)gdevcups.$(OBJ)
-
--CUPSSERVER= $(install_prefix)`cups-config --serverbin`
--CUPSCONFIG= $(install_prefix)`cups-config --serverroot`
--CUPSDATA= $(install_prefix)`cups-config --datadir`
-+CUPSSERVER= $(DESTDIR)`cups-config --serverbin`
-+CUPSCONFIG= $(DESTDIR)`cups-config --serverroot`
-+CUPSDATA= $(DESTDIR)`cups-config --datadir`
-
- $(DD)cups.dev: $(cups_) $(GLD)page.dev
- $(ADDMOD) $(DD)cups -lib cupsimage -lib cups
-diff -urN espgs-8.15.1.orig/src/all-arch.mak espgs-8.15.1/src/all-arch.mak
---- espgs-8.15.1.orig/src/all-arch.mak 2005-01-23 03:49:47.000000000 +0000
-+++ espgs-8.15.1/src/all-arch.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -298,24 +298,24 @@
- # Remove the old gs binary first, so as to preserve the previous
- # gs-x.yy version, if any.
- install-binary:
-- -$(RM) $(BINDIR)/$(GS)
-+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS)
- @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) ; \
- d=`pwd` ; \
- d=`basename $$d` ; \
- d=`echo $$d | sed -e s/gs/gs-/` ; \
-- $(RM) $(BINDIR)/$$d ; \
-- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
-- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
-+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d
-
- install-binary-gnu-readline:
-- -$(RM) $(BINDIR)/$(GS)
-+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS)
- @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) $(GNU_READLINE_ARGS) ; \
- d=`pwd` ; \
- d=`basename $$d` ; \
- d=`echo $$d | sed -e s/gs/gs-/` ; \
-- $(RM) $(BINDIR)/$$d ; \
-- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
-- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
-+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d
-
- install-fontmap:
- @d=`pwd` ; \
-@@ -323,14 +323,14 @@
- d=`echo $$d | sed -e s/gs//` ; \
- if test -f $(GS_SRC_DIR)/Fontmap.new ; \
- then \
-- if test -f $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
-+ if test -f $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
- then \
- true ; \
- else \
-- mv $(GS_SHARE_DIR)/$$d/lib/Fontmap $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
-+ mv $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
- fi ; \
-- $(CP) $(GS_SRC_DIR)/Fontmap.new $(GS_SHARE_DIR)/$$d/lib/Fontmap ; \
-- ls -l $(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \
-+ $(CP) $(GS_SRC_DIR)/Fontmap.new $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap ; \
-+ ls -l $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \
- fi
-
- install-pdfsec:
-@@ -339,9 +339,9 @@
- d=`echo $$d | sed -e s/gs//` ; \
- if test -f $(GS_SRC_DIR)/lib/pdf_sec.ps ; \
- then \
-- $(MV) $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \
-- $(CP) lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-- $(CHMOD) 664 $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-+ $(MV) $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \
-+ $(CP) lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-+ $(CHMOD) 664 $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
- fi
-
- #=======================================================================
-diff -urN espgs-8.15.1.orig/src/macos-fw.mak espgs-8.15.1/src/macos-fw.mak
---- espgs-8.15.1.orig/src/macos-fw.mak 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15.1/src/macos-fw.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -103,19 +103,19 @@
- $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX)
-
- install-so: so
-- -mkdir $(prefix)
-- -mkdir $(datadir)
-- -mkdir $(gsdir)
-- -mkdir $(gsdatadir)
-- -mkdir $(bindir)
-- -mkdir $(libdir)
-- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
-- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
-- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
-- $(RM_) $(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
-- $(RM_) $(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
-+ -mkdir $(DESTDIR)$(prefix)
-+ -mkdir $(DESTDIR)$(datadir)
-+ -mkdir $(DESTDIR)$(gsdir)
-+ -mkdir $(DESTDIR)$(gsdatadir)
-+ -mkdir $(DESTDIR)$(bindir)
-+ -mkdir $(DESTDIR)$(libdir)
-+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
-+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-
- soinstall: install-so install-scripts install-data
-
-@@ -144,8 +144,8 @@
- cp -r doc $(GS_FRAMEWORK)/Versions/Current
-
- framework_install : framework
-- rm -rf $(prefix)
-- cp -r $(GS_FRAMEWORK) $(prefix)
-+ rm -rf $(DESTDIR)$(prefix)
-+ cp -r $(GS_FRAMEWORK) $(DESTDIR)$(prefix)
-
- # Make the build directories
- SODIRS: STDDIRS
-diff -urN espgs-8.15.1.orig/src/unix-dll.mak espgs-8.15.1/src/unix-dll.mak
---- espgs-8.15.1.orig/src/unix-dll.mak 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15.1/src/unix-dll.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -96,19 +96,19 @@
- $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX)
-
- install-so: so
-- -mkdir -p $(prefix)
-- -mkdir -p $(datadir)
-- -mkdir -p $(gsdir)
-- -mkdir -p $(gsdatadir)
-- -mkdir -p $(bindir)
-- -mkdir -p $(libdir)
-- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
-- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
-- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
-- $(RM_) $(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
-- $(RM_) $(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
-+ -mkdir -p $(DESTDIR)$(prefix)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(bindir)
-+ -mkdir -p $(DESTDIR)$(libdir)
-+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
-+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-
- soinstall: install-so install-scripts install-data
-
-diff -urN espgs-8.15.1.orig/src/unixinst.mak espgs-8.15.1/src/unixinst.mak
---- espgs-8.15.1.orig/src/unixinst.mak 2005-09-22 17:03:45.000000000 +0000
-+++ espgs-8.15.1/src/unixinst.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -28,24 +28,24 @@
- # rules, just in case bindir or scriptdir is a subdirectory of any of these.
-
- install-exec: STDDIRS $(GS_XE)
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(bindir)
-- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(bindir)
-+ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS)
-
- install-scripts: $(PSLIBDIR)/gsnd
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(scriptdir)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(scriptdir)
- $(SH) -c 'for f in \
- gsbj gsdj gsdj500 gslj gslp gsnd \
- bdftops dumphints dvipdf eps2eps font2c \
- pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \
- ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \
- fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
-- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\
-+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(DESTDIR)$(scriptdir); fi;\
- done'
-
- PSRESDIR=$(PSLIBDIR)/../Resource
-@@ -59,10 +59,10 @@
- # one file from each subdirectory just as a sanity check.
-
- install-libdata:
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(install_prefix)$(gsdatadir)/lib
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)/lib
- $(SH) -c 'for f in \
- Fontmap Fontmap.GS cidfmap \
- FAPIcidfmap FAPIconfig FAPIfontmap xlatmap \
-@@ -80,24 +80,24 @@
- winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \
- pdf2dsc.ps pdfopt.ps \
- dmp_init.ps dmp_site.ps gdevmjc.ps escp_24.src ;\
-- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(install_prefix)$(gsdatadir)/lib; fi;\
-+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(DESTDIR)$(gsdatadir)/lib; fi;\
- done'
- $(SH) -c 'for f in $(PSLIBDIR)/gs_*.ps $(PSLIBDIR)/pdf*.ps;\
-- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\
-+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\
- done'
- $(SH) -c 'for f in $(PSLIBDIR)/*.ppd $(PSLIBDIR)/*.rpd $(PSLIBDIR)/*.upp $(PSLIBDIR)/*.xbm $(PSLIBDIR)/*.xpm;\
-- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\
-+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\
- done'
-
- # install the default resource files
- # copy in every category (directory) but CVS
- RES_CATEGORIES=`ls $(PSRESDIR) | grep -v CVS`
- install-resdata: $(PSRESDIR)/Decoding/Unicode
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)/Resource
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)/Resource
- $(SH) -c 'for dir in $(RES_CATEGORIES); do \
-- rdir=$(install_prefix)$(gsdatadir)/Resource/$$dir ; \
-+ rdir=$(DESTDIR)$(gsdatadir)/Resource/$$dir ; \
- test -d $$rdir || mkdir -p $$rdir ; \
- for file in $(PSRESDIR)/$$dir/*; do \
- if test -f $$file; then $(INSTALL_DATA) $$file $$rdir ; fi \
-@@ -118,9 +118,9 @@
- Psfiles.htm Public.htm Readme.htm Release.htm \
- Source.htm Tester.htm Unix-lpr.htm Use.htm Xfonts.htm
- install-doc: $(PSDOCDIR)/News.htm
-- -mkdir -p $(install_prefix)$(docdir)
-+ -mkdir -p $(DESTDIR)$(docdir)
- $(SH) -c 'for f in $(DOC_PAGES) ;\
-- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(install_prefix)$(docdir); fi;\
-+ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\
- done'
-
- # install the man pages for each locale
-@@ -129,9 +129,9 @@
- MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13
- MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj
- install-man: $(PSMANDIR)/gs.1
-- $(SH) -c 'test -d $(mandir) || mkdir -p $(mandir)'
-+ $(SH) -c 'test -d $(DESTDIR)$(mandir) || mkdir -p $(DESTDIR)$(mandir)'
- $(SH) -c 'for d in $(MAN_LCDIRS) ;\
-- do man1dir=$(mandir)/$$d/man$(man1ext) ;\
-+ do man1dir=$(DESTDIR)$(mandir)/$$d/man$(man1ext) ;\
- ( test -d $$man1dir || mkdir -p $$man1dir ) ;\
- for f in $(PSMANDIR)/$$d/*.1 ;\
- do $(INSTALL_DATA) $$f $$man1dir ;\
-@@ -158,18 +158,18 @@
-
- # install the example files
- install-examples:
-- -mkdir -p $(install_prefix)$(exdir)
-+ -mkdir -p $(DESTDIR)$(exdir)
- for f in \
- alphabet.ps colorcir.ps doretree.ps escher.ps \
- golfer.eps grayalph.ps snowflak.ps tiger.eps vasarely.ps waterfal.ps \
- ridt91.eps ;\
-- do $(INSTALL_DATA) $(PSEXDIR)/$$f $(install_prefix)$(exdir) ;\
-+ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\
- done
-
- install-shared: $(GS_SHARED_OBJS)
- if test "x$(GS_SHARED_OBJS)" != x; then \
-- mkdir -p $(gssharedir); \
-+ mkdir -p $(DESTDIR)$(gssharedir); \
- for obj in $(GS_SHARED_OBJS); do \
-- $(INSTALL_PROGRAM) $$obj $(gssharedir)/; \
-+ $(INSTALL_PROGRAM) $$obj $(DESTDIR)$(gssharedir)/; \
- done; \
- fi
+++ /dev/null
---- lib/ps2epsi.orig 2006-04-30 08:11:51.000000000 +0200
-+++ lib/ps2epsi 2006-04-30 08:13:11.000000000 +0200
-@@ -6,11 +6,6 @@
- fi
-
- tmpfile=`mktemp ${TMPDIR-/tmp}/ps2epsi.XXXXXX`
--rm -f $tmpfile
--if test -e $tmpfile; then
-- echo "$0: Our temporary file $tmpfile already exists." 1>&2
-- exit 1
--fi
- trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
-
- export outfile
+++ /dev/null
---- espgs-8.15.2/lib/gs_ttf.ps.big-cmap-post 2005-09-22 22:31:58.000000000 +0100
-+++ espgs-8.15.2/lib/gs_ttf.ps 2006-04-25 16:49:58.000000000 +0100
-@@ -261,6 +261,54 @@
- } for pop exch pop
- } bind def
-
-+/.biglength { % <str>|<array of str> .biglength <integer>
-+ dup type /arraytype eq { 0 exch { length add } forall } { length } ifelse
-+} bind def
-+
-+/concats { % [str ...] concats str
-+ () exch dup length 1 sub -1 0 {
-+ 1 index exch get dup type /stringtype ne { dup length string cvs } if
-+ 3 -1 roll exch dup length 2 index length add string
-+ dup dup 4 2 roll copy length 4 -1 roll putinterval exch
-+ } for pop
-+} bind def
-+
-+% <str>|<array of str> <index> <count> .biggetinterval <str>|<array of str>
-+/.biggetinterval {
-+ 3 dict begin
-+ 2 index type /arraytype eq {
-+ /c exch def
-+ /i exch def
-+ [ exch {
-+ dup length /l exch def
-+ i c add l gt {
-+ i l lt {
-+ i l i sub getinterval
-+ /c i c add l sub def
-+ /i 0 def
-+ } {
-+ pop
-+ /i i l sub def
-+ } ifelse
-+ } {
-+ i c getinterval exit
-+ } ifelse
-+ } forall
-+ ] dup .biglength 65535 le { concats } if
-+ } { getinterval } ifelse
-+ end
-+} bind def
-+
-+% <str>|<array of str> <index> getu16 <integer>
-+/.biggetu16 {
-+ 2 .biggetinterval 0 getu16
-+} bind def
-+
-+% <str>|<array of str> <index> getu32 <integer>
-+/.biggetu32 {
-+ 4 .biggetinterval 0 getu32
-+} bind def
-+
- % Each procedure in this dictionary is called as follows:
- % <encodingtable> proc <glypharray>
- /cmapformats mark
-@@ -351,14 +399,14 @@
- } bind
- 4 { % Microsoft/Adobe segmented mapping.
- /etab exch def
-- /nseg2 etab 6 getu16 def
-- 14 /endc etab 2 index nseg2 getinterval def
-+ /nseg2 etab 6 .biggetu16 def
-+ 14 /endc etab 2 index nseg2 .biggetinterval def
- % The Apple TrueType documentation omits the 2-byte
- % 'reserved pad' that follows the endCount vector!
- 2 add
-- nseg2 add /startc etab 2 index nseg2 getinterval def
-- nseg2 add /iddelta etab 2 index nseg2 getinterval def
-- nseg2 add /idroff etab 2 index nseg2 getinterval def
-+ nseg2 add /startc etab 2 index nseg2 .biggetinterval def
-+ nseg2 add /iddelta etab 2 index nseg2 .biggetinterval def
-+ nseg2 add /idroff etab 2 index nseg2 .biggetinterval def
- % The following hack allows us to properly handle
- % idiosyncratic fonts that start at 0xf000:
- pop
-@@ -370,8 +418,8 @@
- /numcodes 0 def /glyphs 0 0 2 nseg2 3 sub {
- % Stack: /glyphs numglyphs i2
- /i2 exch def
-- /scode startc i2 getu16 def
-- /ecode endc i2 getu16 def
-+ /scode startc i2 .biggetu16 def
-+ /ecode endc i2 .biggetu16 def
- numcodes scode firstcode sub
- % Hack for fonts that have only 0x0000 and 0xf000 ranges
- %dup 16#e000 ge { 255 and } if
-@@ -392,8 +440,8 @@
- /numcodes 0 def /code 0 def
- 0 2 nseg2 3 sub {
- /i2 exch def
-- /scode startc i2 getu16 def
-- /ecode endc i2 getu16 def
-+ /scode startc i2 .biggetu16 def
-+ /ecode endc i2 .biggetu16 def
- numcodes scode firstcode sub
- % Hack for fonts that have only 0x0000 and 0xf000 ranges
- %dup 16#e000 ge { 255 and } if
-@@ -405,15 +453,15 @@
- (scode=) print scode =only
- ( ecode=) print ecode =only
- ( delta=) print delta =only
-- ( droff=) print idroff i2 getu16 =
-+ ( droff=) print idroff i2 .biggetu16 =
- } if
-- idroff i2 getu16 dup 0 eq {
-+ idroff i2 .biggetu16 dup 0 eq {
- pop scode delta add 65535 and 1 ecode delta add 65535 and
- { putglyph } for
- } { % The +2 is for the 'reserved pad'.
- /gloff exch 14 nseg2 3 mul add 2 add i2 add add def
- 0 1 ecode scode sub {
-- 2 mul gloff add etab exch getu16
-+ 2 mul gloff add etab exch .biggetu16
- dup 0 ne { delta add 65535 and } if putglyph
- } for
- } ifelse
-@@ -436,12 +484,12 @@
-
- % <cmaptab> cmaparray <glypharray>
- /cmaparray {
-- dup 0 getu16 cmapformats exch .knownget {
-+ dup 0 .biggetu16 cmapformats exch .knownget {
- TTFDEBUG {
-- (cmap: format ) print 1 index 0 getu16 = flush
-+ (cmap: format ) print 1 index 0 .biggetu16 = flush
- } if exec
- } {
-- (Can't handle format ) print 0 getu16 = flush
-+ (Can't handle format ) print 0 .biggetu16 = flush
- 0 1 255 { } for 256 packedarray
- } ifelse
- TTFDEBUG {
-@@ -513,13 +561,13 @@
- % Adobe requirement that each sfnts entry have even length.
- /readtables mark
- % Ordinary tables
-- (cmap) { .readtable }
-+ (cmap) { .readbigtable }
- (head) 1 index
- (hhea) 1 index
- (maxp) 1 index
- (name) 1 index
- (OS/2) 1 index
-- (post) 1 index
-+ (post) { .readbigtable }
- %(vhea) 1 index
- systemdict /DEVICE .knownget { (pdfwrite) ne } {true} ifelse {
- (vhea) 1 index % better to be ignored for vertical writing in pdfwrite
-@@ -867,10 +915,17 @@
- } ifelse
- % Stack: ... /FontInfo mark key1 value1 ...
- post null ne {
-- /ItalicAngle post 4 gets32 65536.0 div
-- /isFixedPitch post 12 getu32 0 ne
-- /UnderlinePosition post 8 gets16 upem div
-- /UnderlineThickness post 10 gets16 upem div
-+ post type /arraytype eq {
-+ % this post table is a big table. /post should be [(...) ...]
-+ % data we actually need here should be first one in array.
-+ /posttable post 1 get def
-+ } {
-+ /posttable post def
-+ } ifelse
-+ /ItalicAngle posttable 4 gets32 65536.0 div
-+ /isFixedPitch posttable 12 getu32 0 ne
-+ /UnderlinePosition posttable 8 gets16 upem div
-+ /UnderlineThickness posttable 10 gets16 upem div
- } if
- counttomark 0 ne { .dicttomark } { pop pop } ifelse
- /XUID [orgXUID 42 curxuid]
-@@ -929,22 +984,22 @@
- } if
- tabdict /cmap get % bool [] i PlatID SpecID (cmap)
- dup /cmaptab exch def % temporary
-- 0 1 2 index 2 getu16 1 sub { % bool [] i PlatID SpecID (cmap) j
-- 8 mul 4 add 1 index exch 8 getinterval % bool [] i PlatID SpecID (cmap) (cmapsub)
-+ 0 1 2 index 2 .biggetu16 1 sub { % bool [] i PlatID SpecID (cmap) j
-+ 8 mul 4 add 1 index exch 8 .biggetinterval % bool [] i PlatID SpecID (cmap) (cmapsub)
- TTFDEBUG {
-- (cmap: platform ) print dup 0 getu16 =only
-- ( encoding ) print dup 2 getu16 = flush
-+ (cmap: platform ) print dup 0 .biggetu16 =only
-+ ( encoding ) print dup 2 .biggetu16 = flush
- } if
-- dup 0 getu16 4 index eq {
-- dup 2 getu16 3 index eq { % bool [] i PlatID SpecID (cmap) (cmapsub)
-+ dup 0 .biggetu16 4 index eq {
-+ dup 2 .biggetu16 3 index eq { % bool [] i PlatID SpecID (cmap) (cmapsub)
- TTFDEBUG {
- (Choosen a cmap for platform=) print 3 index =only
- ( encoding=) print 2 index =
- } if
- /cmapsub 1 index def
-- dup 4 getu32 % bool [] i PlatID SpecID (cmap) (cmapsub) p
-- cmaptab length 1 index sub % bool [] i PlatID SpecID (cmap) (cmapsub) p l
-- cmaptab 3 1 roll getinterval
-+ dup 4 .biggetu32 % bool [] i PlatID SpecID (cmap) (cmapsub) p
-+ cmaptab .biglength 1 index sub % bool [] i PlatID SpecID (cmap) (cmapsub) p l
-+ cmaptab 3 1 roll .biggetinterval
- /cmaptab exch def % bool [] i PlatID SpecID (cmap) (cmapsub)
- 5 index 5 index 1 add get % bool [] i PlatID SpecID (cmap) (cmapsub) /Decoding
- /Decoding exch def % bool [] i PlatID SpecID (cmap) (cmapsub)
+++ /dev/null
-Index: pstoraster/gdevcups.c
-===================================================================
---- pstoraster/gdevcups.c (revision 163)
-+++ pstoraster/gdevcups.c (working copy)
-@@ -3722,7 +3722,11 @@
- * to separate each chunked color as needed...
- */
-
-+#ifdef CUPS_RASTER_SYNCv1
- bandbytes = cups->header.cupsBytesPerLine / cups->header.cupsNumColors;
-+#else
-+ bandbytes = (cups->header.cupsWidth * cups->header.cupsBitsPerColor + 7) / 8;
-+#endif /* CUPS_RASTER_SYNCv1 */
-
- for (y = 0; y < cups->height; y ++)
- {
+++ /dev/null
-diff -urN espgs-8.15.1.orig/addons/addons.mak espgs-8.15.1/addons/addons.mak
---- espgs-8.15.1.orig/addons/addons.mak 2005-08-16 10:07:21.000000000 +0000
-+++ espgs-8.15.1/addons/addons.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -953,9 +953,9 @@
- $(GLCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c
-
- extra-dmprt-install:
-- $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-- $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-- $(INSTALL_DATA) $(JAPSRC)escp_24.src $(install_prefix)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-+ $(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-
-
-
-@@ -1095,7 +1095,7 @@
-
- extra-upp-install:
- for f in $(ADSRC)uniprint$(D)*.upp; do \
-- $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)$(D)lib || exit 1; \
-+ $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \
- done
-
- ### ------------ Build/Install special features ------------ ###
-diff -urN espgs-8.15.1.orig/pstoraster/cups.mak espgs-8.15.1/pstoraster/cups.mak
---- espgs-8.15.1.orig/pstoraster/cups.mak 2005-02-21 16:17:00.000000000 +0000
-+++ espgs-8.15.1/pstoraster/cups.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -24,9 +24,9 @@
-
- cups_= $(GLOBJ)gdevcups.$(OBJ)
-
--CUPSSERVER= $(install_prefix)`cups-config --serverbin`
--CUPSCONFIG= $(install_prefix)`cups-config --serverroot`
--CUPSDATA= $(install_prefix)`cups-config --datadir`
-+CUPSSERVER= $(DESTDIR)`cups-config --serverbin`
-+CUPSCONFIG= $(DESTDIR)`cups-config --serverroot`
-+CUPSDATA= $(DESTDIR)`cups-config --datadir`
-
- $(DD)cups.dev: $(cups_) $(GLD)page.dev
- $(ADDMOD) $(DD)cups -lib cupsimage -lib cups
-diff -urN espgs-8.15.1.orig/src/all-arch.mak espgs-8.15.1/src/all-arch.mak
---- espgs-8.15.1.orig/src/all-arch.mak 2005-01-23 03:49:47.000000000 +0000
-+++ espgs-8.15.1/src/all-arch.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -298,24 +298,24 @@
- # Remove the old gs binary first, so as to preserve the previous
- # gs-x.yy version, if any.
- install-binary:
-- -$(RM) $(BINDIR)/$(GS)
-+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS)
- @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) ; \
- d=`pwd` ; \
- d=`basename $$d` ; \
- d=`echo $$d | sed -e s/gs/gs-/` ; \
-- $(RM) $(BINDIR)/$$d ; \
-- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
-- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
-+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d
-
- install-binary-gnu-readline:
-- -$(RM) $(BINDIR)/$(GS)
-+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS)
- @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) $(GNU_READLINE_ARGS) ; \
- d=`pwd` ; \
- d=`basename $$d` ; \
- d=`echo $$d | sed -e s/gs/gs-/` ; \
-- $(RM) $(BINDIR)/$$d ; \
-- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
-- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
-+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \
-+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d
-
- install-fontmap:
- @d=`pwd` ; \
-@@ -323,14 +323,14 @@
- d=`echo $$d | sed -e s/gs//` ; \
- if test -f $(GS_SRC_DIR)/Fontmap.new ; \
- then \
-- if test -f $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
-+ if test -f $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
- then \
- true ; \
- else \
-- mv $(GS_SHARE_DIR)/$$d/lib/Fontmap $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
-+ mv $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
- fi ; \
-- $(CP) $(GS_SRC_DIR)/Fontmap.new $(GS_SHARE_DIR)/$$d/lib/Fontmap ; \
-- ls -l $(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \
-+ $(CP) $(GS_SRC_DIR)/Fontmap.new $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap ; \
-+ ls -l $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \
- fi
-
- install-pdfsec:
-@@ -339,9 +339,9 @@
- d=`echo $$d | sed -e s/gs//` ; \
- if test -f $(GS_SRC_DIR)/lib/pdf_sec.ps ; \
- then \
-- $(MV) $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \
-- $(CP) lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-- $(CHMOD) 664 $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-+ $(MV) $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \
-+ $(CP) lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
-+ $(CHMOD) 664 $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
- fi
-
- #=======================================================================
-diff -urN espgs-8.15.1.orig/src/macos-fw.mak espgs-8.15.1/src/macos-fw.mak
---- espgs-8.15.1.orig/src/macos-fw.mak 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15.1/src/macos-fw.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -103,19 +103,19 @@
- $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX)
-
- install-so: so
-- -mkdir $(prefix)
-- -mkdir $(datadir)
-- -mkdir $(gsdir)
-- -mkdir $(gsdatadir)
-- -mkdir $(bindir)
-- -mkdir $(libdir)
-- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
-- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
-- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
-- $(RM_) $(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
-- $(RM_) $(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
-+ -mkdir $(DESTDIR)$(prefix)
-+ -mkdir $(DESTDIR)$(datadir)
-+ -mkdir $(DESTDIR)$(gsdir)
-+ -mkdir $(DESTDIR)$(gsdatadir)
-+ -mkdir $(DESTDIR)$(bindir)
-+ -mkdir $(DESTDIR)$(libdir)
-+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
-+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-
- soinstall: install-so install-scripts install-data
-
-@@ -144,8 +144,8 @@
- cp -r doc $(GS_FRAMEWORK)/Versions/Current
-
- framework_install : framework
-- rm -rf $(prefix)
-- cp -r $(GS_FRAMEWORK) $(prefix)
-+ rm -rf $(DESTDIR)$(prefix)
-+ cp -r $(GS_FRAMEWORK) $(DESTDIR)$(prefix)
-
- # Make the build directories
- SODIRS: STDDIRS
-diff -urN espgs-8.15.1.orig/src/unix-dll.mak.in espgs-8.15.1/src/unix-dll.mak.in
---- espgs-8.15.1.orig/src/unix-dll.mak.in 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15.1/src/unix-dll.mak.in 2005-11-03 11:57:30.000000000 +0000
-@@ -96,19 +96,19 @@
- $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX)
-
- install-so: so
-- -mkdir -p $(prefix)
-- -mkdir -p $(datadir)
-- -mkdir -p $(gsdir)
-- -mkdir -p $(gsdatadir)
-- -mkdir -p $(bindir)
-- -mkdir -p $(libdir)
-- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
-- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
-- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
-- $(RM_) $(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
-- $(RM_) $(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
-+ -mkdir -p $(DESTDIR)$(prefix)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(bindir)
-+ -mkdir -p $(DESTDIR)$(libdir)
-+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
-+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-
- soinstall: install-so install-scripts install-data
-
-diff -urN espgs-8.15.1.orig/src/unixinst.mak espgs-8.15.1/src/unixinst.mak
---- espgs-8.15.1.orig/src/unixinst.mak 2005-09-22 17:03:45.000000000 +0000
-+++ espgs-8.15.1/src/unixinst.mak 2005-11-03 11:57:30.000000000 +0000
-@@ -28,24 +28,24 @@
- # rules, just in case bindir or scriptdir is a subdirectory of any of these.
-
- install-exec: STDDIRS $(GS_XE)
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(bindir)
-- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(bindir)
-+ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS)
-
- install-scripts: $(PSLIBDIR)/gsnd
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(scriptdir)
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(scriptdir)
- $(SH) -c 'for f in \
- gsbj gsdj gsdj500 gslj gslp gsnd \
- bdftops dumphints dvipdf eps2eps font2c \
- pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \
- ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \
- fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
-- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\
-+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(DESTDIR)$(scriptdir); fi;\
- done'
-
- PSRESDIR=$(PSLIBDIR)/../Resource
-@@ -59,10 +59,10 @@
- # one file from each subdirectory just as a sanity check.
-
- install-libdata:
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)
-- -mkdir -p $(install_prefix)$(gsdatadir)/lib
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)/lib
- $(SH) -c 'for f in \
- Fontmap Fontmap.GS cidfmap \
- FAPIcidfmap FAPIconfig FAPIfontmap xlatmap \
-@@ -80,24 +80,24 @@
- winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \
- pdf2dsc.ps pdfopt.ps \
- dmp_init.ps dmp_site.ps gdevmjc.ps escp_24.src ;\
-- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(install_prefix)$(gsdatadir)/lib; fi;\
-+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(DESTDIR)$(gsdatadir)/lib; fi;\
- done'
- $(SH) -c 'for f in $(PSLIBDIR)/gs_*.ps $(PSLIBDIR)/pdf*.ps;\
-- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\
-+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\
- done'
- $(SH) -c 'for f in $(PSLIBDIR)/*.ppd $(PSLIBDIR)/*.rpd $(PSLIBDIR)/*.upp $(PSLIBDIR)/*.xbm $(PSLIBDIR)/*.xpm;\
-- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\
-+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\
- done'
-
- # install the default resource files
- # copy in every category (directory) but CVS
- RES_CATEGORIES=`ls $(PSRESDIR) | grep -v CVS`
- install-resdata: $(PSRESDIR)/Decoding/Unicode
-- -mkdir -p $(datadir)
-- -mkdir -p $(install_prefix)$(gsdir)
-- -mkdir -p $(install_prefix)$(gsdatadir)/Resource
-+ -mkdir -p $(DESTDIR)$(datadir)
-+ -mkdir -p $(DESTDIR)$(gsdir)
-+ -mkdir -p $(DESTDIR)$(gsdatadir)/Resource
- $(SH) -c 'for dir in $(RES_CATEGORIES); do \
-- rdir=$(install_prefix)$(gsdatadir)/Resource/$$dir ; \
-+ rdir=$(DESTDIR)$(gsdatadir)/Resource/$$dir ; \
- test -d $$rdir || mkdir -p $$rdir ; \
- for file in $(PSRESDIR)/$$dir/*; do \
- if test -f $$file; then $(INSTALL_DATA) $$file $$rdir ; fi \
-@@ -118,9 +118,9 @@
- Psfiles.htm Public.htm Readme.htm Release.htm \
- Source.htm Tester.htm Unix-lpr.htm Use.htm Xfonts.htm
- install-doc: $(PSDOCDIR)/News.htm
-- -mkdir -p $(install_prefix)$(docdir)
-+ -mkdir -p $(DESTDIR)$(docdir)
- $(SH) -c 'for f in $(DOC_PAGES) ;\
-- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(install_prefix)$(docdir); fi;\
-+ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\
- done'
-
- # install the man pages for each locale
-@@ -129,9 +129,9 @@
- MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13
- MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj
- install-man: $(PSMANDIR)/gs.1
-- $(SH) -c 'test -d $(mandir) || mkdir -p $(mandir)'
-+ $(SH) -c 'test -d $(DESTDIR)$(mandir) || mkdir -p $(DESTDIR)$(mandir)'
- $(SH) -c 'for d in $(MAN_LCDIRS) ;\
-- do man1dir=$(mandir)/$$d/man$(man1ext) ;\
-+ do man1dir=$(DESTDIR)$(mandir)/$$d/man$(man1ext) ;\
- ( test -d $$man1dir || mkdir -p $$man1dir ) ;\
- for f in $(PSMANDIR)/$$d/*.1 ;\
- do $(INSTALL_DATA) $$f $$man1dir ;\
-@@ -158,18 +158,18 @@
-
- # install the example files
- install-examples:
-- -mkdir -p $(install_prefix)$(exdir)
-+ -mkdir -p $(DESTDIR)$(exdir)
- for f in \
- alphabet.ps colorcir.ps doretree.ps escher.ps \
- golfer.eps grayalph.ps snowflak.ps tiger.eps vasarely.ps waterfal.ps \
- ridt91.eps ;\
-- do $(INSTALL_DATA) $(PSEXDIR)/$$f $(install_prefix)$(exdir) ;\
-+ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\
- done
-
- install-shared: $(GS_SHARED_OBJS)
- if test "x$(GS_SHARED_OBJS)" != x; then \
-- mkdir -p $(gssharedir); \
-+ mkdir -p $(DESTDIR)$(gssharedir); \
- for obj in $(GS_SHARED_OBJS); do \
-- $(INSTALL_PROGRAM) $$obj $(gssharedir)/; \
-+ $(INSTALL_PROGRAM) $$obj $(DESTDIR)$(gssharedir)/; \
- done; \
- fi
+++ /dev/null
-diff -u espgs-8.15.2_p9999/src/unix-dll.mak.in /files/unix-dll.mak.in
---- espgs-8.15.2_p9999/src/unix-dll.mak.in 2006-05-20 09:59:44.000000000 +0200
-+++ /files/unix-dll.mak.in 2006-05-20 09:57:14.000000000 +0200
-@@ -67,6 +67,7 @@
- # Build the small Ghostscript loaders, with Gtk+ and without
-
- @BUILD_GTK_LOADER@
-+@BUILD_GTK_LOADER2@
-
- $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
- $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
-@@ -102,7 +103,7 @@
- -mkdir -p $(DESTDIR)$(bindir)
- -mkdir -p $(DESTDIR)$(libdir)
- $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-- $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
-+ @if test -e $(GSSOX); then $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME); fi
- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
- $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
- ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-diff -u espgs-8.15.2_p9999/src/configure.ac /files/configure.ac
---- espgs-8.15.2_p9999/src/configure.ac 2006-05-20 09:59:43.000000000 +0200
-+++ /files/configure.ac 2006-05-20 09:57:04.000000000 +0200
-@@ -192,8 +192,8 @@
- AC_MSG_CHECKING(for fontconfig)
- if $PKGCONFIG --exists fontconfig; then
- AC_MSG_RESULT(yes)
-- CFLAGS="$CFLAGS `$PKG_CONFIG --cflags fontconfig`"
-- FONTCONFIG_LIBS="`$PKG_CONFIG --libs fontconfig`"
-+ CFLAGS="$CFLAGS `$PKGCONFIG --cflags fontconfig`"
-+ FONTCONFIG_LIBS="`$PKGCONFIG --libs fontconfig`"
- AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1)
- else
- AC_MSG_RESULT(no)
-@@ -478,20 +478,29 @@
- dnl check if we can/should build the gtk loader
- AC_ARG_ENABLE([gtk], AC_HELP_STRING([--disable-gtk], [Don't build the gtk loader]))
- if test "x$enable_gtk" != "xno"; then
-- AC_MSG_CHECKING([for gtk])
-- if $with_gtk --cflags >/dev/null 2>/dev/null; then
-- AC_MSG_RESULT([yes])
-- BUILD_GTK_LOADER="\$(GSSOX_XE): \$(GS_SO) \$(GLSRC)dxmain.c
-- \$(GLCC) -g `gtk-config --cflags` -o \$(GSSOX_XE) \$(GLSRC)dxmain.c -L$(BINDIR) -l\$(GS) `gtk-config --libs`"
-- HAVE_GTK=yes
-- else
-- AC_MSG_RESULT([no])
-+ # We MUST NOT use PKG_CHECK_MODULES since it is a) not a standard
-+ # autoconf macro and b) requires pkg-config on the system, which is
-+ # NOT standard on ANY OS, including Linux!
-+ AC_PATH_PROG(PKGCONFIG, pkg-config, no)
-+
-+ if test "$PKGCONFIG" != no; then
-+ AC_MSG_CHECKING([for gtk])
-+ if $PKGCONFIG --exists gtk+-2.0; then
-+ AC_MSG_RESULT([yes])
-+ BUILD_GTK_LOADER='$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c'
-+ BUILD_GTK_LOADER2=" \$(GLCC) -g `$PKGCONFIG gtk+-2.0 --cflags` -o \$(GSSOX_XE) \$(GLSRC)dxmain.c -L\$(BINDIR) -l\$(GS) `$PKGCONFIG gtk+-2.0 --libs`"
-+ HAVE_GTK=yes
-+ else
-+ AC_MSG_RESULT([no])
-+ fi
- fi
- fi
- if test "$HAVE_GTK" != "yes"; then
- BUILD_GTK_LOADER='$(GSSOX_XE): $(GSSOC_XE)'
-+ BUILD_GTK_LOADER2=''
- fi
- AC_SUBST(BUILD_GTK_LOADER)
-+AC_SUBST(BUILD_GTK_LOADER2)
-
- dnl look for omni implementation
- AC_ARG_WITH([omni], AC_HELP_STRING([--with-omni],
+++ /dev/null
---- ghostscript-7.07/src/int.mak.noopt 2005-03-10 17:22:53.000000000 +0000
-+++ ghostscript-7.07/src/int.mak.in 2005-03-10 17:24:10.000000000 +0000
-@@ -105,7 +105,7 @@
- $(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\
- $(gsexit_h) $(gsstruct_h)\
- $(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h)
-- $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
-+ $(PSCC) -O0 $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
-
- $(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\
- $(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h)
+++ /dev/null
---- espgs-8.15.1/src/configure.ac.orig 2006-04-29 13:59:03.000000000 +0200
-+++ espgs-8.15.1/src/configure.ac 2006-04-29 13:59:08.000000000 +0200
-@@ -173,6 +173,13 @@
- fi
-
-
-+PKG_CHECK_MODULES([FONTCONFIG], [fontconfig], [have_fontconfig=yes], [have_fontconfig=no])
-+if test "x$have_fontconfig" = "xyes"; then
-+ AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
-+fi
-+CFLAGS="$CFLAGS $FONTCONFIG_CFLAGS"
-+AC_SUBST(FONTCONFIG_LIBS)
-+
- dnl --------------------------------------------------
- dnl Check for libraries
- dnl --------------------------------------------------
---- espgs-8.15.1/src/gp_unix.c.orig 2006-04-29 13:59:03.000000000 +0200
-+++ espgs-8.15.1/src/gp_unix.c 2006-04-29 13:59:08.000000000 +0200
-@@ -23,6 +23,12 @@
- #include "gsexit.h"
- #include "gp.h"
-
-+#define HAVE_FONTCONFIG
-+
-+#ifdef HAVE_FONTCONFIG
-+#include <fontconfig/fontconfig.h>
-+#endif
-+
- /*
- * This is the only place in Ghostscript that calls 'exit'. Including
- * <stdlib.h> is overkill, but that's where it's declared on ANSI systems.
-@@ -220,16 +226,193 @@
- * building a custom fontmap file.
- */
-
-+
-+/* Mangle the FontConfig family and style information into a
-+ * PostScript font name */
-+#ifdef HAVE_FONTCONFIG
-+static void makePSFontName(char* family, int weight, int slant, char *buf, int bufsize)
-+{
-+ int bytesCopied, length, i;
-+ const char *slantname, *weightname;
-+
-+ switch (slant) {
-+ case FC_SLANT_ROMAN: slantname=""; break;;
-+ case FC_SLANT_OBLIQUE: slantname="Oblique"; break;;
-+ case FC_SLANT_ITALIC: slantname="Italic"; break;;
-+ default: slantname="Unknown"; break;;
-+ }
-+
-+ switch (weight) {
-+ case FC_WEIGHT_MEDIUM: weightname=""; break;;
-+ case FC_WEIGHT_LIGHT: weightname="Light"; break;;
-+ case FC_WEIGHT_DEMIBOLD: weightname="Demi"; break;;
-+ case FC_WEIGHT_BOLD: weightname="Bold"; break;;
-+ case FC_WEIGHT_BLACK: weightname="Black"; break;;
-+ default: weightname="Unknown"; break;;
-+ }
-+
-+ length = strlen(family);
-+ if (length >= bufsize)
-+ length = bufsize;
-+ /* Copy the family name, stripping spaces */
-+ bytesCopied=0;
-+ for (i = 0; i < length; i++)
-+ if (family[i] != ' ')
-+ buf[bytesCopied++] = family[i];
-+
-+ if ( ((slant != FC_SLANT_ROMAN) || (weight != FC_WEIGHT_MEDIUM)) \
-+ && bytesCopied < bufsize )
-+ {
-+ buf[bytesCopied] = '-';
-+ bytesCopied++;
-+ if (weight != FC_WEIGHT_MEDIUM)
-+ {
-+ length = strlen(family);
-+ if ((length + bytesCopied) >= bufsize)
-+ length = bufsize - bytesCopied - 1;
-+ strncpy(buf+bytesCopied, weightname, length);
-+ bytesCopied += length;
-+ }
-+ if (slant != FC_SLANT_ROMAN)
-+ {
-+ length = strlen(family);
-+ if ((length + bytesCopied) >= bufsize)
-+ length = bufsize - bytesCopied - 1;
-+ strncpy(buf+bytesCopied, slantname, length);
-+ bytesCopied += length;
-+ }
-+ }
-+ buf[bytesCopied] = '\0';
-+}
-+#endif
-+
-+/* State struct for font iteration - passed as an opaque 'void*' through the rest of gs */
-+#ifdef HAVE_FONTCONFIG
-+typedef struct {
-+ int index; /* current index of iteration over font_list */
-+ FcConfig* fc; /* FontConfig library handle */
-+ FcFontSet* font_list; /* FontConfig font list */
-+ char name[255]; /* name of last font */
-+} unix_fontenum_t;
-+#endif
-+
- void *gp_enumerate_fonts_init(gs_memory_t *mem)
- {
-+#ifdef HAVE_FONTCONFIG
-+ unix_fontenum_t *state = (unix_fontenum_t *)malloc(sizeof(unix_fontenum_t));
-+ if (state == NULL)
-+ return NULL; /* Failed to allocate state */
-+
-+ state->index = 0;
-+ state->fc = NULL;
-+ state->font_list = NULL;
-+
-+ /* Load the fontconfig library */
-+ state->fc = FcInitLoadConfigAndFonts();
-+ if (state->fc == NULL) {
-+ free(state);
-+ state = NULL;
-+ dlprintf("destroyed state - fontconfig init failed");
-+ return NULL; /* Failed to open fontconfig library */
-+ }
-+
-+ /* load the font set that we'll iterate over */
-+ FcPattern *pat = FcPatternBuild(NULL,
-+ FC_OUTLINE, FcTypeBool, 1,
-+ FC_SCALABLE, FcTypeBool, 1,
-+ NULL);
-+ FcObjectSet* os = FcObjectSetBuild(FC_FILE, FC_OUTLINE, FC_FAMILY, FC_WEIGHT, FC_SLANT, 0);
-+ state->font_list = FcFontList(0, pat, os);
-+ FcPatternDestroy(pat);
-+ FcObjectSetDestroy(os);
-+ if (state->font_list == NULL) {
-+ free(state);
-+ state = NULL;
-+ return NULL; /* Failed to generate font list */
-+ }
-+ return (void *)state;
-+#else
- return NULL;
-+#endif
- }
--
-+
- int gp_enumerate_fonts_next(void *enum_state, char **fontname, char **path)
- {
-+#ifdef HAVE_FONTCONFIG
-+ char* psname = NULL;
-+
-+ unix_fontenum_t* state = (unix_fontenum_t *)enum_state;
-+ if (state == NULL) {
-+ return 0; /* gp_enumerate_fonts_init failed for some reason */
-+ }
-+
-+ /* Bits of the following were borrowed from Red Hat's GS 7 FontConfig patch */
-+ FcChar8* file_fc = NULL;
-+ FcChar8* family_fc = NULL;
-+ int outline_fc, slant_fc, weight_fc;
-+ FcResult result;
-+
-+ if (state->index == state->font_list->nfont) {
-+ return 0; /* we've run out of fonts */
-+ }
-+
-+ FcPattern* font = state->font_list->fonts[state->index];
-+
-+ result = FcPatternGetString (font, FC_FAMILY, 0, &family_fc);
-+ if (result != FcResultMatch || family_fc == NULL) {
-+ dlprintf ("DEBUG: FC_FAMILY mismatch\n");
-+ return 0;
-+ }
-+
-+ result = FcPatternGetString (font, FC_FILE, 0, &file_fc);
-+ if (result != FcResultMatch || file_fc == NULL) {
-+ dlprintf ("DEBUG: FC_FILE mismatch\n");
-+ return 0;
-+ }
-+
-+ result = FcPatternGetBool (font, FC_OUTLINE, 0, &outline_fc);
-+ if (result != FcResultMatch) {
-+ dlprintf1 ("DEBUG: FC_OUTLINE failed to match on %s\n", (char*)family_fc);
-+ return 0;
-+ }
-+
-+ result = FcPatternGetInteger (font, FC_SLANT, 0, &slant_fc);
-+ if (result != FcResultMatch) {
-+ dlprintf ("DEBUG: FC_SLANT didn't match\n");
-+ return 0;
-+ }
-+
-+ result = FcPatternGetInteger (font, FC_WEIGHT, 0, &weight_fc);
-+ if (result != FcResultMatch) {
-+ dlprintf ("DEBUG: FC_WEIGHT didn't match\n");
-+ return 0;
-+ }
-+
-+ /* Gross hack to work around Fontconfig's inability to tell
-+ * us the font's PostScript name - generate it ourselves.
-+ * We must free the memory allocated here next time around. */
-+ makePSFontName((char *)family_fc, weight_fc, slant_fc, &state->name, sizeof(state->name));
-+ *fontname = &state->name;
-+
-+ /* return the font path straight out of fontconfig */
-+ *path = (char*)file_fc;
-+
-+ state->index ++;
-+ return 1;
-+#else
- return 0;
-+#endif
- }
--
-+
- void gp_enumerate_fonts_free(void *enum_state)
- {
--}
-+#ifdef HAVE_FONTCONFIG
-+ unix_fontenum_t* state = (unix_fontenum_t *)enum_state;
-+ if (state != NULL) {
-+ if (state->font_list != NULL)
-+ FcFontSetDestroy(state->font_list);
-+ free(state);
-+ }
-+#endif
-+}
-+
---- espgs-8.15.1/src/Makefile.in.orig 2006-04-29 13:59:03.000000000 +0200
-+++ espgs-8.15.1/src/Makefile.in 2006-04-29 14:01:24.000000000 +0200
-@@ -263,7 +263,7 @@
- # Solaris may need -lnsl -lsocket -lposix4.
- # (Libraries required by individual drivers are handled automatically.)
-
--EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@
-+EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@
-
- # Define the standard libraries to search at the end of linking.
- # Most platforms require -lpthread for the POSIX threads library;
+++ /dev/null
---- espgs-8.15rc3/src/unix-dll.mak.gtk2 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15rc3/src/unix-dll.mak 2005-06-03 12:31:56.000000000 +0100
-@@ -67,7 +67,7 @@
- # Build the small Ghostscript loaders, with Gtk+ and without
-
- $(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c
-- $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs`
-+ $(GLCC) -g `pkg-config gtk+-2.0 --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `pkg-config gtk+-2.0 --libs`
-
- $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
- $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
+++ /dev/null
---- ghostscript-7.07/src/int.mak.noopt 2005-03-10 17:22:53.000000000 +0000
-+++ ghostscript-7.07/src/int.mak 2005-03-10 17:24:10.000000000 +0000
-@@ -105,7 +105,7 @@
- $(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\
- $(gsexit_h) $(gsstruct_h)\
- $(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h)
-- $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
-+ $(PSCC) -O0 $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
-
- $(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\
- $(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h)
+++ /dev/null
---- ghostscript-7.07/src/gdevpsu.c.pagesize 2004-06-25 17:31:43.054995862 +0100
-+++ ghostscript-7.07/src/gdevpsu.c 2004-06-25 17:33:07.500857781 +0100
-@@ -273,6 +273,9 @@
- while (p->size_name[0] == '/' &&
- (p->width != width || p->height != height))
- ++p;
-+ /* If no match then decrement pointer back to /letter */
-+ if (p->width == 0 && p->height == 0)
-+ --p;
- pprintd2(s, "%d %d ", width, height);
- pprints1(s, "%s setpagesize\n", p->size_name);
- }
+++ /dev/null
---- espgs-8.15rc3/lib/ps2epsi.ps2epsi 2005-06-02 18:13:37.000000000 +0100
-+++ espgs-8.15rc3/lib/ps2epsi 2005-06-03 10:47:10.000000000 +0100
-@@ -73,6 +73,7 @@
- BEGINEPS
-
- cat "${infile}" |
-+LC_ALL=C \
- sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-\~]*$/d' -e '/^%!PS-Adobe/d' \
- -e '/^%%[A-Za-z][A-Za-z]*[^!-\~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d'
-
+++ /dev/null
---- espgs-8.15rc3/lib/pv.sh.scripts 2005-01-19 04:08:41.000000000 +0000
-+++ espgs-8.15rc3/lib/pv.sh 2005-06-02 17:40:08.000000000 +0100
-@@ -26,12 +26,17 @@
- # the -D switch from the call of dvips below.
- #
- TEMPDIR=.
--PAGE=$1
-+PAGE="$1"
- shift
--FILE=$1
-+FILE="$1"
- shift
--trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15
--#dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
--dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
--gs $FILE.$$.pv
-+TEMPFILE=`mktemp "$TEMPDIR/$FILE.XXXXXX"`
-+if [ $? -ne 0 ]
-+then
-+ exit 1
-+fi
-+trap 'rm -f "$TEMPFILE"' 0 1 2 15
-+#dvips -R -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
-+dvips -R -p $PAGE -n 1 "$FILE" "$@" -o "$TEMPFILE"
-+gs "$TEMPFILE"
- exit 0
---- espgs-8.15rc3/lib/ps2epsi.scripts 2005-06-02 17:41:32.000000000 +0100
-+++ espgs-8.15rc3/lib/ps2epsi 2005-06-02 17:41:50.000000000 +0100
-@@ -5,7 +5,7 @@
- gs=gs
- fi
-
--tmpfile=/tmp/ps2epsi$$
-+tmpfile=`mktemp ${TMPDIR-/tmp}/ps2epsi.XXXXXX`
- rm -f $tmpfile
- if test -e $tmpfile; then
- echo "$0: Our temporary file $tmpfile already exists." 1>&2
+++ /dev/null
-diff -ruN espgs-8.15rc3.orig/lib/gs_fonts.ps espgs-8.15rc3/lib/gs_fonts.ps
---- espgs-8.15rc3.orig/lib/gs_fonts.ps 2005-02-17 06:21:49.000000000 +0900
-+++ espgs-8.15rc3/lib/gs_fonts.ps 2005-07-13 20:14:12.000000000 +0900
-@@ -96,10 +96,17 @@
- % stack: dict file fontname filename|aliasname
- 1 index type /stringtype eq
- 1 index type /nametype eq and 1 index xcheck and
-- 1 index /run eq 2 index /.runlibfile eq or and {
-+ 1 index /run eq 2 index /.runlibfile eq 3 index /.runlibfileifexists eq or or and {
- % This is an inclusion entry.
-- pop findlibfile { exch pop } { file } ifelse
-- 2 index exch .readFontmap pop
-+ 0 index /.runlibfileifexists eq {
-+ pop findlibfile {
-+ exch pop
-+ 2 index exch .readFontmap pop
-+ } { pop } ifelse
-+ } {
-+ pop findlibfile { exch pop } { file } ifelse
-+ 2 index exch .readFontmap pop
-+ } ifelse
- } {
- % This is a real entry.
- % Read and pop tokens until a semicolon.
-diff -ruN espgs-8.15rc3.orig/lib/gs_init.ps espgs-8.15rc3/lib/gs_init.ps
---- espgs-8.15rc3.orig/lib/gs_init.ps.in 2005-07-12 11:04:36.000000000 +0900
-+++ espgs-8.15rc3/lib/gs_init.ps.in 2005-07-13 20:14:12.000000000 +0900
-@@ -655,6 +655,13 @@
- { /undefinedfilename signalerror }
- ifelse
- } bind def
-+/runlibfileifexists
-+ {
-+ findlibfile
-+ { exch pop /run .systemvar exec }
-+ { pop }
-+ ifelse
-+ } bind def
- /selectdevice
- { finddevice setdevice .setdefaultscreen } bind def
- /signalerror % <object> <errorname> signalerror -
-@@ -816,6 +823,7 @@
- } bind def
- % Temporarily substitute it for the real runlibfile.
- /.runlibfile /runlibfile load def
-+/.runlibfileifexists /runlibfileifexists load def
- /runlibfile /runlibfile0 load def
-
- % Create the error handling machinery.
-@@ -1655,6 +1663,7 @@
-
- % Restore the real definition of runlibfile.
- /runlibfile /.runlibfile load def
-+/runlibfileifexists /.runlibfileifexists load def
- currentdict /.runlibfile .undef
-
- % Bind all the operators defined as procedures.
+++ /dev/null
-diff -ruN espgs-8.15rc3.orig/src/fapi_ft.c espgs-8.15rc3/src/fapi_ft.c
---- espgs-8.15rc3.orig/src/fapi_ft.c 2005-01-19 13:08:41.000000000 +0900
-+++ espgs-8.15rc3/src/fapi_ft.c 2005-07-12 11:36:32.000000000 +0900
-@@ -30,11 +30,12 @@
- #include "math_.h"
-
- /* FreeType headers */
--#include "freetype/freetype.h"
--#include "freetype/ftincrem.h"
--#include "freetype/ftglyph.h"
--#include "freetype/ftoutln.h"
--#include "freetype/fttrigon.h"
-+#include <ft2build.h>
-+#include FT_FREETYPE_H
-+#include FT_INCREMENTAL_H
-+#include FT_GLYPH_H
-+#include FT_OUTLINE_H
-+#include FT_TRIGONOMETRY_H
-
- #include <assert.h>
-
-diff -ruN espgs-8.15rc3.orig/src/int.mak espgs-8.15rc3/src/int.mak
---- espgs-8.15rc3.orig/src/int.mak 2005-07-12 11:04:23.000000000 +0900
-+++ espgs-8.15rc3/src/int.mak 2005-07-12 11:38:09.000000000 +0900
-@@ -1873,43 +1873,35 @@
- # FreeType bridge :
-
- FT_LIB=$(FT_ROOT)$(D)objs$(D)freetype214MT_D
--FT_INC=$(I_)$(FT_ROOT)$(D)include$(_I)
--
- wrfont_h=$(stdpre_h) $(PSSRC)wrfont.h
- write_t1_h=$(ifapi_h) $(PSSRC)write_t1.h
- write_t2_h=$(ifapi_h) $(PSSRC)write_t2.h
-
- $(PSD)fapif1.dev : $(INT_MAK) $(ECHOGS_XE) \
-- $(FT_LIB)$(FT_LIB_EXT) \
- $(PSOBJ)fapi_ft.$(OBJ) \
- $(PSOBJ)write_t1.$(OBJ) $(PSOBJ)write_t2.$(OBJ) $(PSOBJ)wrfont.$(OBJ)
- $(SETMOD) $(PSD)fapif1 $(PSOBJ)fapi_ft.$(OBJ) $(PSOBJ)write_t1.$(OBJ)
- $(ADDMOD) $(PSD)fapif1 $(PSOBJ)write_t2.$(OBJ) $(PSOBJ)wrfont.$(OBJ)
- $(ADDMOD) $(PSD)fapif1 -plugin fapi_ft
-- $(ADDMOD) $(PSD)fapif1 -link $(FT_LIB)$(FT_LIB_EXT)
-+ $(ADDMOD) $(PSD)fapif1 -lib $(FT_LIB)
-
- $(PSOBJ)fapi_ft.$(OBJ) : $(PSSRC)fapi_ft.c $(AK)\
- $(stdio__h) $(math__h) $(ifapi_h)\
-- $(FT_ROOT)$(D)include$(D)freetype$(D)freetype.h\
-- $(FT_ROOT)$(D)include$(D)freetype$(D)ftincrem.h\
-- $(FT_ROOT)$(D)include$(D)freetype$(D)ftglyph.h\
-- $(FT_ROOT)$(D)include$(D)freetype$(D)ftoutln.h\
-- $(FT_ROOT)$(D)include$(D)freetype$(D)fttrigon.h\
- $(write_t1_h) $(write_t2_h)
-- $(PSCC) $(FT_CFLAGS) $(FT_INC) $(PSO_)fapi_ft.$(OBJ) $(C_) $(PSSRC)fapi_ft.c
-+ $(PSCC) $(FT_CFLAGS) $(PSO_)fapi_ft.$(OBJ) $(C_) $(PSSRC)fapi_ft.c
-
- $(PSOBJ)write_t1.$(OBJ) : $(PSSRC)write_t1.c $(AK)\
- $(wrfont_h) $(write_t1_h)
-- $(PSCC) $(FT_CFLAGS) $(FT_INC) $(PSO_)write_t1.$(OBJ) $(C_) $(PSSRC)write_t1.c
-+ $(PSCC) $(FT_CFLAGS) $(PSO_)write_t1.$(OBJ) $(C_) $(PSSRC)write_t1.c
-
- $(PSOBJ)write_t2.$(OBJ) : $(PSSRC)write_t2.c $(AK)\
- $(wrfont_h) $(write_t2_h) $(stdio_h)
-- $(PSCC) $(FT_CFLAGS) $(FT_INC) $(PSO_)write_t2.$(OBJ) $(C_) $(PSSRC)write_t2.c
-+ $(PSCC) $(FT_CFLAGS) $(PSO_)write_t2.$(OBJ) $(C_) $(PSSRC)write_t2.c
-
- $(PSOBJ)wrfont.$(OBJ) : $(PSSRC)wrfont.c $(AK)\
- $(wrfont_h) $(stdio_h)
-- $(PSCC) $(FT_CFLAGS) $(FT_INC) $(PSO_)wrfont.$(OBJ) $(C_) $(PSSRC)wrfont.c
-+ $(PSCC) $(FT_CFLAGS) $(PSO_)wrfont.$(OBJ) $(C_) $(PSSRC)wrfont.c
-
- # stub for FreeType bridge :
-
+++ /dev/null
---- espgs-7.05.6/lib/pj-gs.sh.orig 2004-10-08 18:48:15.125586200 -0400
-+++ espgs-7.05.6/lib/pj-gs.sh 2004-10-08 18:51:29.086099720 -0400
-@@ -241,6 +241,7 @@
- then
- /usr/lib/lprcat $Nofilter $Nolabel $file PCL1 $user $dev
- else
-+ TEMPFILE=`mktemp -t pjXXXXXX` || exit 1
- type=`file $file | sed 's/^[^:]*..//'`
- case "$type" in
- postscript*)
-@@ -251,22 +252,22 @@
- #
- # gs -q -sDEVICE=paintjet -r180 -sOutputFile=- -dDISKFONTS -dNOPAUSE - < $file 2>/tmp/sh$$
-
-- gs -q -sDEVICE=paintjet -r180 -sOutputFile=/tmp/pj$$ -dDISKFONTS -dNOPAUSE - < $file 1>2
-- cat /tmp/pj$$
-- rm /tmp/pj$$
-+ gs -q -sDEVICE=paintjet -r180 -sOutputFile=$TEMPFILE -dDISKFONTS -dNOPAUSE - < $file 1>2
-+ cat $TEMPFILE
-+ rm $TEMPFILE
- needff=
- ;;
-- *) cat "$file" 2>/tmp/sh$$
-+ *) cat "$file" 2>$TEMPFILE
- needff=1
- ;;
- esac
-
-- if [ -s /tmp/sh$$ ]
-+ if [ -s $TEMPFILE ]
- then
- # cat /tmp/sh$$ # output any errors
-- cat /tmp/sh$$ 1>2 # output any errors
-+ cat $TEMPFILE 1>2 # output any errors
- fi
-- rm -f /tmp/sh$$
-+ rm -f $TEMPFILE
- if [ $needff ]; then echo "\014\r\c"; fi
- fi
-
---- espgs-7.05.6/lib/ps2epsi.orig 2004-10-08 22:16:37.194982760 -0400
-+++ espgs-7.05.6/lib/ps2epsi 2004-10-08 23:03:25.320082856 -0400
-@@ -1,7 +1,8 @@
- #!/bin/sh
- # $Id: gs7.05.6-tempfile.patch,v 1.1 2006/01/05 00:00:18 metalgod Exp $
-
--tmpfile=/tmp/ps2epsi$$
-+tmpfile=`mktemp -t ps2epsiXXXXXX` || exit 1
-+trap "rm -rf $tmpfile" 0 1 2 3 7 13 15
-
- export outfile
-
---- espgs-7.05.6/lib/pv.sh.orig 2004-10-08 18:52:13.227389224 -0400
-+++ espgs-7.05.6/lib/pv.sh 2004-10-08 18:53:05.459448744 -0400
-@@ -27,11 +27,12 @@
- #
- TEMPDIR=.
- PAGE=$1
-+TEMPFILE=`mktemp -t ${FILE}XXXXXX` || exit 1
- shift
- FILE=$1
- shift
--trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15
-+trap "rm -rf $TEMPFILE" 0 1 2 15
- #dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
--dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
--gs $FILE.$$.pv
-+dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE
-+gs $TEMPFILE
- exit 0
---- espgs-7.05.6/lib/sysvlp.sh.orig 2004-10-08 18:53:10.521679168 -0400
-+++ espgs-7.05.6/lib/sysvlp.sh 2004-10-08 18:54:10.512559168 -0400
-@@ -27,20 +27,23 @@
- # Brother HL-4: switch to HP laserjet II+ emulation
- # echo "\033\015H\c"
-
-+TEMPDIR=`mktemp -td sysvlp.XXXXXX` || exit 1
-+
- i=1
- while [ $i -le $copies ]
- do
- for file in $files
- do
- $GSHOME/gs \
-- -sOUTPUTFILE=/tmp/psp$$.%02d \
-+ -sOUTPUTFILE=$TEMPDIR/psp$$.%02d \
- -sDEVICE=$DEVICE \
- $EHANDLER $file \
- < /dev/null >> /usr/tmp/ps_log 2>&1
-
-- cat /tmp/psp$$.* 2>> /usr/tmp/ps_log
-- rm -f /tmp/psp$$.*
-+ cat $TEMPDIR/psp$$.* 2>> /usr/tmp/ps_log
-+ rm -f $TEMPDIR/psp$$.*
- done
- i=`expr $i + 1`
- done
-+rmdir $TEMPDIR
- exit 0
+++ /dev/null
-diff -urN espgs-7.07.1/lib/CIDFnmap espgs-7.07.1.patched/lib/CIDFnmap
---- espgs-7.07.1/lib/CIDFnmap 2002-04-23 20:58:33.000000000 +0900
-+++ espgs-7.07.1.patched/lib/CIDFnmap 2005-04-23 22:27:11.000000000 +0900
-@@ -135,14 +135,14 @@
- % in particular, you must leave at least one space or tab between each
- % field in the entry.
-
--%(CIDFnmap.Ore) .runlibfile
--%(CIDFnmap.ARP) .runlibfile
--%(CIDFnmap.Bae) .runlibfile
--%(CIDFnmap.Koc) .runlibfile
-+(CIDFnmap.Ore) .runlibfile
-+(CIDFnmap.ARP) .runlibfile
-+(CIDFnmap.Bae) .runlibfile
-+(CIDFnmap.Koc) .runlibfile
- %(CIDFnmap.Sol) .runlibfile
- %(CIDFnmap.Win) .runlibfile
-
--%(CIDFnmap.CJK) .runlibfile
-+(CIDFnmap.CJK) .runlibfile
-
- % native CIDFontName (BIG5) in traditional Chinese
- %(CIDFnmap.b5) .runlibfile
-diff -urN espgs-7.07.1/lib/CIDFnmap.CJK espgs-7.07.1.patched/lib/CIDFnmap.CJK
---- espgs-7.07.1/lib/CIDFnmap.CJK 2002-04-23 20:58:33.000000000 +0900
-+++ espgs-7.07.1.patched/lib/CIDFnmap.CJK 2005-04-23 22:28:56.000000000 +0900
-@@ -24,51 +24,51 @@
- % Fallback aliases for CJK PDF files
- %
- %/Adobe-CNS1 /MOESung-Regular ; % CIDFnmap.Ore
--%/Adobe-CNS1 /ShanHeiSun-Light ; % CIDFnmap.ARP
-+/Adobe-CNS1 /ShanHeiSun-Light ; % CIDFnmap.ARP
- %/Adobe-CNS1 /ming ; % CIDFnmap.Sol
- %/Adobe-CNS1 /MingLiU ; % CIDFnmap.Win
- %/Adobe-CNS1 /SimSun-18030-Adobe-CNS1 ; % CIDFnmap.Win
-
--%/Adobe-GB1 /BousungEG-Light-GB ; % CIDFnmap.ARP
-+/Adobe-GB1 /BousungEG-Light-GB ; % CIDFnmap.ARP
- %/Adobe-GB1 /zycjksun ; % CIDFnmap.Sol
- %/Adobe-GB1 /SimSun ; % CIDFnmap.Win
-
- %/Adobe-Japan1 /WadaMin-Regular ; % CIDFnmap.Ore
- %/Adobe-Japan1 /HG-MinchoL ; % CIDFnmap.Sol
--%/Adobe-Japan1 /Kochi-Mincho ; % CIDFnmap.Koc
-+/Adobe-Japan1 /Kochi-Mincho ; % CIDFnmap.Koc
- %/Adobe-Japan1 /MS-Mincho ; % CIDFnmap.Win
-
--%/Adobe-Japan2 /WadaMin-RegularH ; % CIDFnmap.Ore
-+/Adobe-Japan2 /WadaMin-RegularH ; % CIDFnmap.Ore
- %/Adobe-Japan2 /HeiseiMin-W3H ; % CIDFnmap.Sol
- %/Adobe-Japan2 /MS-Mincho-Adobe-Japan2 ; % CIDFnmap.Win
-
- %/Adobe-Korea1 /Munhwa-Regular ; % CIDFnmap.Ore
--%/Adobe-Korea1 /Baekmuk-Batang ; % CIDFnmap.Bae
-+/Adobe-Korea1 /Baekmuk-Batang ; % CIDFnmap.Bae
- %/Adobe-Korea1 /Myeongjo ; % CIDFnmap.Sol
- %/Adobe-Korea1 /Batang ; % CIDFnmap.Win
-
- %
- % Convenient aliases for PS files on Traditional Chinese PostScript printer
- %
--%/MSung-Light /MOESung-Regular ; % CIDFnmap.Ore
-+/MSung-Light /MOESung-Regular ; % CIDFnmap.Ore
- %/MSung-Light /SimSun-18030-Adobe-CNS1 ; % CIDFnmap.Win
--%/MSung-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP
--%/MHei-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP
-+/MSung-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP
-+/MHei-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP
- %/MHei-Medium /hei ; % CIDFnmap.Sol
--%/MKai-Medium /ZenKai-Medium ; % CIDFnmap.ARP
-+/MKai-Medium /ZenKai-Medium ; % CIDFnmap.ARP
- %/MKai-Medium /kai ; % CIDFnmap.Sol
-
- %
- % Convenient aliases for PS files on Simplified Chinese PostScript printer
- %
--%/STSong-Light /BousungEG-Light-GB ; % CIDFnmap.ARP
-+/STSong-Light /BousungEG-Light-GB ; % CIDFnmap.ARP
- %/STSong-Light /zycjksun ; % CIDFnmap.Sol
- %/STSong-Light /SimSun ; % CIDFnmap.Win
- %/STFangsong-Light /zycjkfangs ; % CIDFnmap.Sol
- %/STFangsong-Light /SimSun ; % CIDFnmap.Win
- %/STHeiti-Regular /zycjkhei ; % CIDFnmap.Sol
- %/STHeiti-Regular /SimHei ; % CIDFnmap.Win
--%/STKaiti-Regular /GBZenKai-Medium ; % CIDFnmap.ARP
-+/STKaiti-Regular /GBZenKai-Medium ; % CIDFnmap.ARP
- %/STKaiti-Regular /zycjkkai ; % CIDFnmap.Sol
-
- %
-@@ -76,18 +76,18 @@
- %
- %/Ryumin-Light /WadaMin-Regular ; % CIDFnmap.Ore
- %/Ryumin-Light /HG-MinchoL ; % CIDFnmap.Sol
--%/Ryumin-Light /Kochi-Mincho ; % CIDFnmap.Koc
-+/Ryumin-Light /Kochi-Mincho ; % CIDFnmap.Koc
- %/Ryumin-Light /MS-Mincho ; % CIDFnmap.Win
- %/GothicBBB-Medium /WadaGo-Bold ; % CIDFnmap.Ore
- %/GothicBBB-Medium /HG-GothicB ; % CIDFnmap.Sol
--%/GothicBBB-Medium /Kochi-Gothic ; % CIDFnmap.Koc
-+/GothicBBB-Medium /Kochi-Gothic ; % CIDFnmap.Koc
- %/GothicBBB-Medium /MS-Gothic ; % CIDFnmap.Win
- %/HeiseiMin-W3 /MS-Mincho ; % CIDFnmap.Win
- %/HeiseiKakuGo-W5 /MS-Gothic ; % CIDFnmap.Win
-
--%/HeiseiMin-W3H /WadaMin-RegularH ; % CIDFnmap.Ore
-+/HeiseiMin-W3H /WadaMin-RegularH ; % CIDFnmap.Ore
- %/HeiseiMin-W3H /MS-Mincho-Adobe-Japan2 ; % CIDFnmap.Win
--%/HeiseiKakuGo-W5H /WadaMaruGo-RegularH ; % CIDFnmap.Ore
-+/HeiseiKakuGo-W5H /WadaMaruGo-RegularH ; % CIDFnmap.Ore
- %/HeiseiKakuGo-W5H /MS-Gothic-Adobe-Japan2 ; % CIDFnmap.Win
-
- %/KozMin-Regular /MS-Mincho ; % CIDFnmap.Win
-@@ -97,17 +97,17 @@
- % Convenient aliases for PS files on Korean PostScript printer
- %
- %/HYGoThic-Medium /MunhwaGothic-Regular ; % CIDFnmap.Ore
--%/HYGoThic-Medium /Baekmuk-Dotum ; % CIDFnmap.Bae
-+/HYGoThic-Medium /Baekmuk-Dotum ; % CIDFnmap.Bae
- %/HYGoThic-Medium /Gothic ; % CIDFnmap.Sol
- %/HYGoThic-Medium /Dotum ; % CIDFnmap.Win
- %/HYGungSo-Bold /Gungsuh ; % CIDFnmap.Win
--%/HYKHeadLine-Bold /Baekmuk-Headline ; % CIDFnmap.Bae
--%/HYKHeadLine-Medium /Baekmuk-Headline ; % CIDFnmap.Bae
-+/HYKHeadLine-Bold /Baekmuk-Headline ; % CIDFnmap.Bae
-+/HYKHeadLine-Medium /Baekmuk-Headline ; % CIDFnmap.Bae
- %/HYSMyeongJo-Medium /Munhwa-Regular ; % CIDFnmap.Ore
--%/HYSMyeongJo-Medium /Baekmuk-Batang ; % CIDFnmap.Bae
-+/HYSMyeongJo-Medium /Baekmuk-Batang ; % CIDFnmap.Bae
- %/HYSMyeongJo-Medium /Myeongjo ; % CIDFnmap.Sol
- %/HYSMyeongJo-Medium /Batang ; % CIDFnmap.Win
--%/HYRGoThic-Medium /Baekmuk-Gulim ; % CIDFnmap.Bae
-+/HYRGoThic-Medium /Baekmuk-Gulim ; % CIDFnmap.Bae
- %/HYRGoThic-Medium /RoundedGothic ; % CIDFnmap.Sol
- %/HYRGoThic-Medium /Gulim ; % CIDFnmap.Win
-
-diff -urN espgs-7.07.1/lib/CIDFnmap.Koc espgs-7.07.1.patched/lib/CIDFnmap.Koc
---- espgs-7.07.1/lib/CIDFnmap.Koc 2002-04-23 20:58:33.000000000 +0900
-+++ espgs-7.07.1.patched/lib/CIDFnmap.Koc 2005-04-23 22:27:11.000000000 +0900
-@@ -30,8 +30,8 @@
- % Kochi-Mincho: Public domain, except for NAGA10 bitmap data
- % Kochi-Gothic: Wada Lab's font license, except for NAGA10 bitmap data
- %
--%/Kochi-Mincho (kochi-mincho.ttf) ;
--%/Kochi-Gothic (kochi-gothic.ttf) ;
-+/Kochi-Mincho (kochi-mincho-subst.ttf) ;
-+/Kochi-Gothic (kochi-gothic-subst.ttf) ;
- %
- % Notice: In CID-keyed space of Kochi-Mincho, although you may find that
- % CIDs 7611,7613-7625,7629,7630,11847,12041-12043 are incorrectly
-@@ -45,6 +45,6 @@
- % Kochi-Mincho: Public domain. Designed by Yasuyuki Furukawa.
- % Kochi-Gothic: Wada Lab's font license.
- %
--/Kochi-Mincho (Kochi-Mincho) ;
--/Kochi-Gothic (Kochi-Gothic) ;
-+%/Kochi-Mincho (Kochi-Mincho) ;
-+%/Kochi-Gothic (Kochi-Gothic) ;
-
-diff -urN espgs-7.07.1/lib/gs_res.ps.in espgs-7.07.1.patched/lib/gs_res.ps.in
---- espgs-7.07.1/lib/gs_res.ps.in 2002-10-05 01:35:24.000000000 +0900
-+++ espgs-7.07.1.patched/lib/gs_res.ps.in 2005-04-23 22:27:11.000000000 +0900
-@@ -245,8 +245,8 @@
- /pssystemparams 10 dict readonly def
- } if
- pssystemparams begin
-- /FontResourceDir (@datadir@/ghostscript/fonts/) readonly .forcedef % pssys'params is r-o
-- /GenericResourceDir (@datadir@/ghostscript/) readonly .forcedef % pssys'params is r-o
-+ /FontResourceDir (@datadir@/ghostscript/Resource/Font/) readonly .forcedef % pssys'params is r-o
-+ /GenericResourceDir (@datadir@/ghostscript/Resource/) readonly .forcedef % pssys'params is r-o
- /GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o
- end
- end
+++ /dev/null
-diff -Nur espgs-8.15.1/ijs.orig/Makefile.in espgs-8.15.1/ijs/Makefile.in
---- espgs-8.15.1/ijs.orig/Makefile.in 2006-02-05 17:36:14.000000000 +0100
-+++ espgs-8.15.1/ijs/Makefile.in 2006-02-05 17:41:57.000000000 +0100
-@@ -326,7 +326,7 @@
- cd $(top_builddir) && $(SHELL) ./config.status $@
- install-libLTLIBRARIES: $(lib_LTLIBRARIES)
- @$(NORMAL_INSTALL)
-- test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
-+ test -z "$(DESTDIR)$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
-@@ -355,7 +355,7 @@
- $(LINK) -rpath $(libdir) $(libijs_la_LDFLAGS) $(libijs_la_OBJECTS) $(libijs_la_LIBADD) $(LIBS)
- install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
-- test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
-+ test -z "$(DESTDIR)$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- if test -f $$p \
-@@ -495,7 +495,7 @@
- done
- install-pkgincludeHEADERS: $(pkginclude_HEADERS)
- @$(NORMAL_INSTALL)
-- test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
-+ test -z "$(DESTDIR)$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
- @list='$(pkginclude_HEADERS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-7.07.1-r10.ebuild,v 1.9 2006/10/21 11:12:34 grobian Exp $
-
-inherit flag-o-matic eutils toolchain-funcs libtool
-
-DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support"
-HOMEPAGE="http://www.cups.org/ghostscript.php"
-SRC_URI="mirror://sourceforge/espgs/espgs-${PV}-source.tar.bz2
- cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz
- http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="X cups cjk emacs gtk"
-
-DEP="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( || ( (
- x11-libs/libX11
- x11-libs/libXt )
- virtual/x11 ) )
- gtk? ( >=x11-libs/gtk+-2.0 )
- cups? ( net-print/cups )
- !app-text/ghostscript-gnu
- !app-text/ghostscript-gpl"
-
-RDEPEND="${DEP}
- cjk? ( media-fonts/arphicfonts
- media-fonts/kochi-substitute
- media-fonts/baekmuk-fonts )
- X? ( || ( (
- x11-libs/libXt
- x11-libs/libSM
- x11-libs/libICE
- x11-libs/libXau
- x11-libs/libXdmcp )
- virtual/x11 ) )
- media-fonts/gnu-gs-fonts-std"
-
-DEPEND="${DEP}
- X? ( || ( (
- x11-proto/xproto )
- virtual/x11 ) )
- gtk? ( dev-util/pkgconfig )"
-
-# media-libs/fontconfig"
-
-S=${WORKDIR}/espgs-${PV}
-
-src_unpack() {
- unpack espgs-${PV}-source.tar.bz2
-
- cd ${S}
-
- if use cjk ; then
- epatch ${FILESDIR}/gs7.07.1-cjk.diff
- #this causes gs error; bug #90009
- #sed -i -e '/;$/s/^%//g' ${S}/lib/CIDFnmap.CJK || die
-
- epatch ${FILESDIR}/ghostscript-7.07-bigposttable.patch
- epatch ${FILESDIR}/ghostscript-7.07-gsublookuptable.patch
- epatch ${FILESDIR}/ghostscript-7.07-coverage-glyphcount.patch
- epatch ${FILESDIR}/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch
- epatch ${FILESDIR}/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch
- fi
-
- # add fontconfig support (this patch is broken)
- # epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.2.bz2
-
- #100808
- epatch ${FILESDIR}/${P}-64bit-cmyk.patch
-
- # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150
- epatch ${FILESDIR}/ghostscript-7.05.6.man.patch
-
- # ijs fPIC patch
- epatch ${FILESDIR}/gs${PV}-ijs.patch
-
- # pxl dash patch
- epatch ${FILESDIR}/gs7.05.6-gdevpx.patch
-
- # Makefile.in fixes for DESTDIR support in libijs because
- # einstall borks on multilib systems -- eradicator
- epatch ${FILESDIR}/gs${PV}-destdir.patch
- epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
- Makefile.in || die "sed failed"
-
- # insecure tempfile handling
- epatch ${FILESDIR}/gs${PV}-tempfile.patch
-
- # krgb support (currently broken)
- #( cd src; epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz )
-
- # Fix the garbage collector on ia64 and ppc
- epatch ${FILESDIR}/gs-fix-gc.patch
-
- # bug #63435
- epatch ${FILESDIR}/gs${PV}-ps2ps.patch
-
- # fix dynamic build
- echo '#include "png.h"' >> src/png_.h
-
- # fix for building with gtk2 instead of gtk1
- if use gtk; then
- sed -i -e "s:gmodule:gmodule-2.0:" configure.ac
- sed -i -e "s:glib-config:pkgconfig:" configure.ac
- sed -i -e "s:gtk-config:pkg-config gtk+-2.0:g" src/unix-dll.mak
- sed -i -e "s:CFLAGS_SO=-fPIC:CFLAGS_SO=-fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include:" Makefile.in
- else
- epatch ${FILESDIR}/gs${PV}-nogtk2.patch
- fi
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --without-gimp-print"
- use gtk && myconf="${myconf} --with-omni" || myconf="${myconf} --without-omni"
-
- # bug #56998, only compiled-in fontpath is searched when running
- # gs -DPARANOIDSAFER out.ps
- myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups" \
- || myconf="${myconf} --disable-cups"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- autoconf
- econf ${myconf} || die "econf failed"
- emake -j1 || die "make failed"
- emake so -j1 || die "make failed"
-
- cd ijs
- econf || die "econf failed"
- emake -j1 || die "make failed"
- cd ..
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- make DESTDIR="${D}" soinstall || die "make install failed"
-
- rm -fr ${D}/usr/share/ghostscript/7.07/doc || die
- dodoc doc/README doc/COPYING doc/COPYING.LGPL
- dohtml doc/*.html doc/*.htm
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- if use cjk ; then
- dodir /usr/share/ghostscript/Resource
- dodir /usr/share/ghostscript/Resource/Font
- dodir /usr/share/ghostscript/Resource/CIDFont
- cd ${D}/usr/share/ghostscript/Resource
- unpack adobe-cmaps-200204.tar.gz
- unpack acro5-cmaps-2001.tar.gz
- fi
-
- # Install ijs
- cd ${S}/ijs
- dodir /usr/bin /usr/include /usr/$(get_libdir)
- # This is broken - there are not even a 'install_prefix'
- # anywhere in ${S}/ijs ...
- #einstall install_prefix=${D}
- #einstall
- #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config
- make DESTDIR="${D}" install || die
-
- # bug #83876, collision with gcc
- rm -f ${D}/usr/share/man/de/man1/ansi2knr.1
- rm -f ${D}/usr/share/man/man1/ansi2knr.1
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.1_p20060430.ebuild,v 1.13 2006/10/15 09:16:19 genstef Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils autotools flag-o-matic versionator
-
-DESCRIPTION="ESP Ghostscript -- an enhanced version of GPL Ghostscript with better printer support"
-HOMEPAGE="http://www.cups.org/espgs"
-
-MY_P=espgs-${PV}
-PVM=$(get_version_component_range 1-2)
-SRC_URI="cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz
- http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )
- http://dev.gentoo.org/~genstef/files/dist/${MY_P}-source.tar.bz2
- http://dev.gentoo.org/~genstef/files/dist/${P/_p*}-ubuntu4.patch.bz2"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="X cups cjk emacs gtk threads xml"
-
-DEP="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.5
- >=sys-libs/zlib-1.1.4
- >=media-libs/tiff-3.7
- X? ( || ( x11-libs/libXt virtual/x11 ) )
- gtk? ( >=x11-libs/gtk+-2.0 )
- cups? ( >=net-print/cups-1.1.20 )
- xml? ( >=dev-libs/libxml2-2.6.8 )
- media-libs/fontconfig
- !app-text/ghostscript-gnu
- !app-text/ghostscript-gpl"
-
-RDEPEND="${DEP}
- cjk? ( media-fonts/arphicfonts
- media-fonts/kochi-substitute
- media-fonts/baekmuk-fonts )
- media-fonts/gnu-gs-fonts-std"
-
-DEPEND="${DEP}
- dev-util/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A/adobe-cmaps-200204.tar.gz acro5-cmaps-2001.tar.gz}
- cd ${S}
-
- # not submitted
- epatch ${FILESDIR}/ghostscript-scripts.patch
- epatch ${FILESDIR}/ghostscript-ps2epsi.patch
- epatch ${FILESDIR}/ghostscript-badc.patch
- epatch ${FILESDIR}/ghostscript-pagesize.patch
- epatch ${FILESDIR}/ghostscript-noopt.patch
- epatch ${FILESDIR}/ghostscript-use-external-freetype.patch
- epatch ${FILESDIR}/ghostscript-split-font-configuration.patch
- epatch ${FILESDIR}/ijs-dirinstall.diff
- epatch ${FILESDIR}/ghostscript-gtk2.patch
- epatch ${FILESDIR}/ghostscript-esp-fontconfig.patch
- epatch ${WORKDIR}/${P/_p*}-ubuntu4.patch
-
- # needed forward-porting
- epatch ${FILESDIR}/${P/_p*}-fPIC.patch
- epatch ${FILESDIR}/${P/_p*}-bsd.patch
- epatch ${FILESDIR}/${P}-destdir.diff
- # #128647
- epatch ${FILESDIR}/${P}-ps2epsi-esp.diff
- epatch ${FILESDIR}/${P}-build.patch
-
- # gentoo specific
- if ! use gtk; then
- sed -i "s:\$(GSSOX)::" src/*.mak || die "gsx sed failed"
- sed -i "s:.*\$(GSSOX_XENAME)$::" src/*.mak || die "gsxso sed failed"
- fi
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
- src/Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
- src/Makefile.in || die "sed failed"
- sed -i -e "s:exdir=[^ ]*:exdir=/usr/share/doc/${PF}/examples:" \
- src/Makefile.in || die "sed failed"
-
- ln -s src/configure.ac .
- ln -s src/Makefile.in .
- cp /usr/share/automake-1.9/install-sh "${S}"
- AT_NOELIBTOOLIZE="yes" eautoreconf
- cd ijs
- AT_NOELIBTOOLIZE="yes" eautoreconf
- elibtoolize
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-jbig2dec"
-
- # gs -DPARANOIDSAFER out.ps
- myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute"
-
- # *-dynmic breaks compiling without X, see bug 121749
- use X && myconf="${myconf} --enable-dynamic"
-
- econf $(use_with X x) \
- $(use_enable cups) \
- $(use_enable threads) \
- $(use_with xml omni) \
- ${myconf} || die "econf failed"
- emake -j1 || die "make failed"
- emake so -j1 || die "make failed"
-
- cd ijs
- econf || die "econf failed"
- emake -j1 || die "make failed"
- cd ..
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- make DESTDIR="${D}" soinstall || die "make install failed"
-
- rm -fr ${D}/usr/share/ghostscript/${PVM}/doc || die
- dodoc doc/README
- dohtml doc/*.html doc/*.htm
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- if use cjk; then
- dodir /usr/share/ghostscript/Resource
- dodir /usr/share/ghostscript/Resource/Font
- dodir /usr/share/ghostscript/Resource/CIDFont
- cd ${D}/usr/share/ghostscript/Resource
- unpack adobe-cmaps-200204.tar.gz
- unpack acro5-cmaps-2001.tar.gz
- fi
-
- # install ijs
- cd ${S}/ijs
- make DESTDIR="${D}" install || die "ijs install failed"
-}
-
-pkg_postinst() {
- ewarn "If you are upgrading from ghostscript-7 you need to rebuild"
- ewarn "gimp-print. Please run 'revdep-rebuild' to do this."
-}