diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-05-20 10:09:30 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-05-20 10:09:30 +0000 |
commit | 8c8b77f83f86e72866a8734bebd585598c8df00e (patch) | |
tree | bf29f3ccc9880b452c6f8ce447a88442ce6a1d1b /app-text | |
parent | short-time-mask new ghostscript-esp to give the mirrors some time (diff) | |
download | historical-8c8b77f83f86e72866a8734bebd585598c8df00e.tar.gz historical-8c8b77f83f86e72866a8734bebd585598c8df00e.tar.bz2 historical-8c8b77f83f86e72866a8734bebd585598c8df00e.zip |
New version including cjk support thanks to MATSUU Takuto <matsuu@gentoo.org> in bug 133842
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'app-text')
10 files changed, 878 insertions, 8 deletions
diff --git a/app-text/ghostscript-esp/ChangeLog b/app-text/ghostscript-esp/ChangeLog index 6e00cdb2379e..754ba7872868 100644 --- a/app-text/ghostscript-esp/ChangeLog +++ b/app-text/ghostscript-esp/ChangeLog @@ -1,6 +1,19 @@ # 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.32 2006/05/15 00:57:09 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.33 2006/05/20 10:09:30 genstef Exp $ + +*ghostscript-esp-8.15.2_p20060520 (20 May 2006) + + 20 May 2006; Stefan Schweizer <genstef@gentoo.org> + +files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk, + +files/ghostscript-esp-8.15.2-big-cmap-post.patch, + +files/ghostscript-esp-8.15.2-cidfmap.cjk, + +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, + +ghostscript-esp-8.15.2_p20060520.ebuild: + New version including cjk support thanks to MATSUU Takuto + <matsuu@gentoo.org> in bug 133842 15 May 2006; Stefan Schweizer <genstef@gentoo.org> -ghostscript-esp-8.15.1.ebuild, -ghostscript-esp-8.15.1-r1.ebuild, diff --git a/app-text/ghostscript-esp/Manifest b/app-text/ghostscript-esp/Manifest index c5218470b7f8..c9abd3f54e2f 100644 --- a/app-text/ghostscript-esp/Manifest +++ b/app-text/ghostscript-esp/Manifest @@ -61,6 +61,30 @@ AUX ghostscript-esp-8.15.1_p20060430-ps2epsi-esp.diff 356 RMD160 c8a137cff27e3ed 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 size 2216 +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 size 7687 +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 size 1719 +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-destdir.diff 13375 RMD160 5d6e2d4f0ab0a833cad2ce827c364b6e5954f077 SHA1 ae72af0bdbf4f7592b45a7912ef456fca1831f7a SHA256 40446a672571dbb09dbb15f0b4097547914dc34e498afa9aefe3a67f72c9ac2e size 13375 +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 size 3001 +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 size 560 +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 size 7406 MD5 62c5bf8a2baf7fc6b11ee51cc0524770 files/ghostscript-esp-fontconfig.patch 7406 RMD160 2c71bb6d15cf515e353c29a9847c1d7b9cb86eea files/ghostscript-esp-fontconfig.patch 7406 @@ -155,8 +179,10 @@ RMD160 c6a1d77325b5489721b6177eed0a3a55bb42721d files/ijs-dirinstall.diff 1424 SHA256 bc5eaeffcb770a361963a8e778db06c1879d0f5175f9cb17384e27d8942d7d1b files/ijs-dirinstall.diff 1424 DIST acro5-cmaps-2001.tar.gz 631653 RMD160 c723afc2207157a434988b46bcf0a458281c29a4 SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4 size 631653 DIST adobe-cmaps-200204.tar.gz 4360486 RMD160 14f436cb2869788f249c0eaf5dd6a31295c5ada7 SHA256 510f29086630db1a581ab77e46c3a6b9b4ee4bf8c7717c209e5125794a59480a size 4360486 +DIST adobe-cmaps-200406.tar.gz 5001983 RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689 size 5001983 DIST espgs-7.07.1-source.tar.bz2 5400198 RMD160 ba0d06c2e3ef55c2b716d6df9855d38a8e4216ae SHA256 7e0ed705da90a4c65368675d68ccecb871f89cb06d2efc61ddd0bb5fee5570f2 size 5400198 DIST espgs-8.15.1_p20060430-source.tar.bz2 8501375 RMD160 0e386705337f9348a08a886e544738f826335e92 SHA256 342773230bdd8f5661a89176880098918bfdd0e53357389c2a051f982de027aa size 8501375 +DIST espgs-8.15.2_p20060520-source.tar.bz2 8502819 RMD160 81d9c640064e54a7c8b1835c643a71bddb2408bb SHA256 27934b1042887c4d1c4c29151411501fbce49fa1251a8bce8bb93698123f6555 size 8502819 DIST ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402 RMD160 577f3c4d7ef541ccc90b53536748f30ab4db3dc7 SHA256 05032ac9986620594394e20ca2de1d0a2cb0c49c06dbaadb0bc17ed57d8ebc47 size 23402 DIST gs7.07.1-cjk.diff.bz2 3055 RMD160 035d0900b47ef54508957542386c6d520ef181b6 SHA256 a4bb6ba4cbf73ddd939f4bdbdec57d7ba7bb1d865898d76bd6cc4df8bb03a77a size 3055 EBUILD ghostscript-esp-7.07.1-r10.ebuild 6175 RMD160 582300d7901fbeead0afe05ed41da13501046f07 SHA1 4cc32deafabc61f6eafceb84c2fcd21216b0f920 SHA256 4ee53b22ffb749db27f4b667580b8720122dde8e3a75ab70816e37aa7847f015 size 6175 @@ -171,10 +197,14 @@ EBUILD ghostscript-esp-8.15.1_p20060430.ebuild 4672 RMD160 35940ad6094a06584b38e MD5 f46f2e44de441b97b4908c3a682a0418 ghostscript-esp-8.15.1_p20060430.ebuild 4672 RMD160 35940ad6094a06584b38e0757334c57295b745fb ghostscript-esp-8.15.1_p20060430.ebuild 4672 SHA256 7f761da75e68d465584ee4b06c9633e93b86e6ad818e3c9a8621cf2d6536a7ef ghostscript-esp-8.15.1_p20060430.ebuild 4672 -MISC ChangeLog 25903 RMD160 12ce45380c0c56fd2b9cfef9c550e595a754d9ab SHA1 9766cc3568721fb7817cd9df3c87a538cf0c8421 SHA256 8dafb499fdafce2c99345660ef82ff4d4336f19754f6789c0a261db1ee66ded5 size 25903 -MD5 5ab500e4cb883cc833f990560c9a7dcd ChangeLog 25903 -RMD160 12ce45380c0c56fd2b9cfef9c550e595a754d9ab ChangeLog 25903 -SHA256 8dafb499fdafce2c99345660ef82ff4d4336f19754f6789c0a261db1ee66ded5 ChangeLog 25903 +EBUILD ghostscript-esp-8.15.2_p20060520.ebuild 4610 RMD160 f0e61096a694b339eaf002e7e6503e9fef9e6bd9 SHA1 8b04ab4318409ab8d97bac71d32a781b2ed3d29a SHA256 c3ddf0f521c53cac6dc2c9405ea2af347794dd6be4428fcaa2f9edd62a770f18 size 4610 +MD5 b57618cf5fa08d5dd5d911ec50db026a ghostscript-esp-8.15.2_p20060520.ebuild 4610 +RMD160 f0e61096a694b339eaf002e7e6503e9fef9e6bd9 ghostscript-esp-8.15.2_p20060520.ebuild 4610 +SHA256 c3ddf0f521c53cac6dc2c9405ea2af347794dd6be4428fcaa2f9edd62a770f18 ghostscript-esp-8.15.2_p20060520.ebuild 4610 +MISC ChangeLog 26437 RMD160 2a66a9e590cda3a75dd6c5bfdfa1ba3afebd9336 SHA1 714b355c917766995df7e2b207eba0d49a784596 SHA256 43ed3e47d0ee1fc18b0458d9148fed11d7fb3a7dbe5f76ae6cd8e6ec65b1d394 size 26437 +MD5 920b43dbd593ca557de5abb6f5fed71c ChangeLog 26437 +RMD160 2a66a9e590cda3a75dd6c5bfdfa1ba3afebd9336 ChangeLog 26437 +SHA256 43ed3e47d0ee1fc18b0458d9148fed11d7fb3a7dbe5f76ae6cd8e6ec65b1d394 ChangeLog 26437 MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 size 161 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161 @@ -188,10 +218,13 @@ SHA256 0003a2487832469e65a5ba84526e74da05239299853dc494bf77ade57c5b6a5e files/di 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 5ea6a8833d85664e943ca6ed1206af44 files/digest-ghostscript-esp-8.15.2_p20060520 1102 +RMD160 b79e6fc784b6018cee5224a51bda9168eb873133 files/digest-ghostscript-esp-8.15.2_p20060520 1102 +SHA256 ce5d1227c4c4e4d246a8f4a65a612f0ea0286406fc7880e0f5b299cc842d45ba files/digest-ghostscript-esp-8.15.2_p20060520 1102 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEZ9H5NJowsmZ/PzARAul7AJ0f5ynFiWK9AXIsEplOdQe1UeNcAgCfVD76 -BumDhb8Cm+omLtcErv9tkbs= -=s2Rn +iD8DBQFEburgNJowsmZ/PzARAi5KAKCOB+nLMmYonKkYzMKgz95x9nbm9QCgpZGd +7lJ0AFXo4WDDgOkU2YWz/w0= +=m+Uo -----END PGP SIGNATURE----- diff --git a/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.2_p20060520 b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.2_p20060520 new file mode 100644 index 000000000000..40eae0b8335b --- /dev/null +++ b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.2_p20060520 @@ -0,0 +1,12 @@ +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 dfc93dd2aaaf2b86d2fd55f654c13261 adobe-cmaps-200406.tar.gz 5001983 +RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 adobe-cmaps-200406.tar.gz 5001983 +SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689 adobe-cmaps-200406.tar.gz 5001983 +MD5 5350166213d4225af7c2fadf3e08f104 espgs-8.15.2_p20060520-source.tar.bz2 8502819 +RMD160 81d9c640064e54a7c8b1835c643a71bddb2408bb espgs-8.15.2_p20060520-source.tar.bz2 8502819 +SHA256 27934b1042887c4d1c4c29151411501fbce49fa1251a8bce8bb93698123f6555 espgs-8.15.2_p20060520-source.tar.bz2 8502819 +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 diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk new file mode 100644 index 000000000000..1fcbc422aac8 --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk @@ -0,0 +1,29 @@ +% FAPIcidfmap.zh_CN +/BousungEG-Light-GB << /Path (gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/GBZenKai-Medium << /Path (gkai00mp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/MSungGBK-Light << /Path (gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/Adobe-GB1 << /Path (gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; + +% FAPIcidfmap.zh_TW +/ZenKai-Medium << /Path (gkai00mp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; +/ShanHeiSun-Light << /Path (gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; +/Adobe-CNS1 << /Path (gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; + +% FAPIcidfmap.ja +/Kochi-Mincho << /Path (kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Kochi-Gothic << /Path (kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Adobe-Japan1 << /Path (kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Adobe-Japan2 << /Path (kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan2) 0] >> ; +/Ryumin-Light << /Path (kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/GothicBBB-Medium << /Path (kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; + +% FAPIcidfmap.ko +/Baekmuk-Batang << /Path (batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum << /Path (dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim << /Path (gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline << /Path (hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Batang-Regular << /Path (batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum-Regular << /Path (dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim-Regular << /Path (gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline-Regular << /Path (hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Adobe-Korea1 << /Path (batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-big-cmap-post.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-big-cmap-post.patch new file mode 100644 index 000000000000..c6b6db6965c6 --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-big-cmap-post.patch @@ -0,0 +1,204 @@ +--- 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) diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-cidfmap.cjk b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-cidfmap.cjk new file mode 100644 index 000000000000..db6fad3bde8d --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-cidfmap.cjk @@ -0,0 +1,35 @@ +% cidfmap.zh_CN +/BousungEG-Light-GB << /FileType /TrueType /Path (gbsn00lp.ttf) /CSI [(GB1) 4] >> ; +/GBZenKai-Medium << /FileType /TrueType /Path (gkai00mp.ttf) /CSI [(GB1) 4] >> ; +/MSungGBK-Light /BousungEG-Light-GB ; +/Adobe-GB1 /BousungEG-Light-GB ; + +% cidfmap.zh_TW +/ZenKai-Medium << /FileType /TrueType /Path (gkai00mp.ttf) /CSI [(CNS1) 4] >> ; +/ShanHeiSun-Light << /FileType /TrueType /Path (gbsn00lp.ttf) /CSI [(CNS1) 4] >> ; +/Adobe-CNS1 /ShanHeiSun-Light ; + +% cidfmap.ja +/Kochi-Gothic << /FileType /TrueType /Path (kochi-gothic-subst.ttf) /CSI [(Japan1) 6] >> ; +/Kochi-Gothic-Regular /Kochi-Gothic ; +/Kochi-Gothic-JaH << /FileType /TrueType /Path (kochi-gothic-subst.ttf) /CSI [(Japan2) 0] >> ; +/Kochi-Gothic-Regular-JaH /Kochi-Gothic-JaH ; +/Kochi-Mincho << /FileType /TrueType /Path (kochi-mincho-subst.ttf) /CSI [(Japan1) 6] >> ; +/Kochi-Mincho-Regular /Kochi-Mincho ; +/Kochi-Mincho-JaH << /FileType /TrueType /Path (kochi-mincho-subst.ttf) /CSI [(Japan2) 0] >> ; +/Kochi-Mincho-Regular-JaH /Kochi-Mincho-JaH ; +/Ryumin-Light /Kochi-Mincho ; +/GothicBBB-Medium /Kochi-Gothic ; +/Adobe-Japan1 /Kochi-Gothic ; +/Adobe-Japan2 /Kochi-Gothic-JaH ; + +% cidfmap.ko +/Baekmuk-Batang << /FileType /TrueType /Path (batang.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Batang-Regular /Baekmuk-Batang ; +/Baekmuk-Dotum << /FileType /TrueType /Path (dotum.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum-Regular /Baekmuk-Dotum ; +/Baekmuk-Gulim << /FileType /TrueType /Path (gulim.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim-Regular /Baekmuk-Gulim ; +/Baekmuk-Headline << /FileType /TrueType /Path (hline.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline-Regular /Baekmuk-Headline ; +/Adobe-Korea1 /Baekmuk-Batang ; diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-destdir.diff b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-destdir.diff new file mode 100644 index 000000000000..39fab499e17e --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-destdir.diff @@ -0,0 +1,324 @@ +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 diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-gtk-configure.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-gtk-configure.patch new file mode 100644 index 000000000000..c3660486007d --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-gtk-configure.patch @@ -0,0 +1,72 @@ +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], diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-noopt.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-noopt.patch new file mode 100644 index 000000000000..4b33c7551f6f --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.2-noopt.patch @@ -0,0 +1,11 @@ +--- 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) diff --git a/app-text/ghostscript-esp/ghostscript-esp-8.15.2_p20060520.ebuild b/app-text/ghostscript-esp/ghostscript-esp-8.15.2_p20060520.ebuild new file mode 100644 index 000000000000..03206e5e1eb2 --- /dev/null +++ b/app-text/ghostscript-esp/ghostscript-esp-8.15.2_p20060520.ebuild @@ -0,0 +1,137 @@ +# 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.2_p20060520.ebuild,v 1.1 2006/05/20 10:09:30 genstef Exp $ + +inherit eutils autotools versionator + +DESCRIPTION="ESP Ghostscript -- an enhanced version of GPL Ghostscript with better printer support" +HOMEPAGE="http://www.cups.org/espgs" +ESVN_REPO_URI="http://svn.easysw.com/public/espgs/trunk" + +MY_P=espgs-${PV} +PVM=$(get_version_component_range 1-2) +SRC_URI="cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz + ftp://ftp.gyve.org/pub/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/ghostscript-esp-8.15.1-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-afpl" + +RDEPEND="${DEP} + cjk? ( media-fonts/arphicfonts + media-fonts/kochi-substitute + media-fonts/baekmuk-fonts ) + media-fonts/gnu-gs-fonts-std" + +DEPEND="${DEP} + gtk? ( dev-util/pkgconfig )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A/adobe-cmaps-200406.tar.gz acro5-cmaps-2001.tar.gz} + if use cjk; then + cat ${FILESDIR}/ghostscript-esp-8.15.2-cidfmap.cjk >> ${S}/lib/cidfmap + cat ${FILESDIR}/ghostscript-esp-8.15.2-FAPIcidfmap.cjk >> ${S}/lib/FAPIcidfmap + cd ${S}/Resource + unpack adobe-cmaps-200406.tar.gz + unpack acro5-cmaps-2001.tar.gz + fi + cd ${S} + + # http://cups.org/espgs/str.php?L1627 + epatch ${FILESDIR}/ghostscript-esp-8.15.1-fPIC.patch + # http://cups.org/espgs/str.php?L1628 + epatch ${FILESDIR}/ghostscript-esp-8.15.1-bsd.patch + # http://cups.org/espgs/str.php?L1629 + epatch ${FILESDIR}/ghostscript-esp-8.15.2-destdir.diff + # http://cups.org/espgs/str.php?L1633 + epatch ${FILESDIR}/ghostscript-esp-8.15.2-gtk-configure.patch + # http://cups.org/espgs/str.php?L1635 + epatch ${WORKDIR}/ghostscript-esp-8.15.1-ubuntu4.patch + # http://cups.org/espgs/str.php?L1639 + epatch ${FILESDIR}/ghostscript-split-font-configuration.patch + # http://cups.org/espgs/str.php?L1640 + epatch ${FILESDIR}/ghostscript-esp-8.15.2-noopt.patch + # http://cups.org/espgs/str.php?L1641 + epatch ${FILESDIR}/ghostscript-pagesize.patch + # http://cups.org/espgs/str.php?L1644 + epatch ${FILESDIR}/ghostscript-esp-8.15.2-big-cmap-post.patch + + # 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 gtk) \ + $(use_enable cups) \ + $(use_enable threads) \ + $(use_with xml omni) \ + ${myconf} || die "econf failed" + emake -j1 so all || die "emake failed" + + cd ijs + econf || die "ijs econf failed" + emake || die "ijs emake failed" +} + +src_install() { + make DESTDIR="${D}" install soinstall || die "make install failed" + + rm -fr ${D}/usr/share/ghostscript/${PVM}/doc + dodoc doc/README + dohtml doc/*.html doc/*.htm + ln -s /usr/share/doc/${PF}/html ${D}/usr/share/ghostscript/${PVM}/doc + + if use emacs; then + insinto /usr/share/emacs/site-lisp + doins doc/gsdoc.el + fi + + 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." +} |