diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-27 08:13:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-27 08:13:40 +0000 |
commit | 16893b641bd057a8f1bc62b2e8082993499150aa (patch) | |
tree | 6192e6462639a6969daaf6a0d1279446157030c3 /app-text/ghostscript-gpl | |
parent | add quotes to user variable setup (diff) | |
download | gentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.tar.gz gentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.tar.bz2 gentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.zip |
Move ghostscript-afpl to ghostscript-gpl and change the license, thanks to Ernst Rohlicek <ernst.rohlicek@inode.at> in bug 137289
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'app-text/ghostscript-gpl')
17 files changed, 1423 insertions, 0 deletions
diff --git a/app-text/ghostscript-gpl/ChangeLog b/app-text/ghostscript-gpl/ChangeLog new file mode 100644 index 000000000000..9768ae1afc36 --- /dev/null +++ b/app-text/ghostscript-gpl/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for app-text/ghostscript-gpl +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ChangeLog,v 1.1 2006/06/27 08:13:40 genstef Exp $ + +*ghostscript-gpl-8.54 (27 Jun 2006) + + 27 Jun 2006; Stefan Schweizer <genstef@gentoo.org> + +files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk, + +files/ghostscript-esp-8.15.2-cidfmap.cjk, + +files/ghostscript-afpl-8.54-big-cmap-post.patch, + +files/ghostscript-afpl-8.54-cups-destdir.diff, + +files/ghostscript-afpl-8.54-cups-lib.patch, + +files/ghostscript-afpl-8.54-destdir.diff, + +files/ghostscript-afpl-8.54-gtk2.patch, + +files/ghostscript-afpl-8.54-ps2epsi-afpl.diff, + +files/ghostscript-afpl-8.54-rinkj.patch, + +files/ghostscript-afpl-8.54-segfault.patch, +files/gdevcups.patch, + +files/gdevhl12-hl1250.mak, +metadata.xml, +ghostscript-gpl-8.54.ebuild: + Move ghostscript-afpl to ghostscript-gpl and change the license, thanks to + Ernst Rohlicek <ernst.rohlicek@inode.at> in bug 137289 + diff --git a/app-text/ghostscript-gpl/Manifest b/app-text/ghostscript-gpl/Manifest new file mode 100644 index 000000000000..7e0e63ccda41 --- /dev/null +++ b/app-text/ghostscript-gpl/Manifest @@ -0,0 +1,68 @@ +AUX gdevcups.patch 14468 RMD160 957e089ff3c85bec4412fa876570503eeedab167 SHA1 23798ea3a739b71fadcf9066b27ad6f3b4c1c608 SHA256 6759754addb447874b682f99058e3f620819814ae51ca24b97c2d70452f98869 +MD5 8b3c391af1131b4fce97bef3659e57d3 files/gdevcups.patch 14468 +RMD160 957e089ff3c85bec4412fa876570503eeedab167 files/gdevcups.patch 14468 +SHA256 6759754addb447874b682f99058e3f620819814ae51ca24b97c2d70452f98869 files/gdevcups.patch 14468 +AUX gdevhl12-hl1250.mak 678 RMD160 10640a63ece09315186c4567802d1bf21f72c8a4 SHA1 b2ff2d3dae8ceee713350d22032c791bf3fb5804 SHA256 1acde11d9ebd11a590e33b76ec3a1ead12ab775e42b0ebb52d685310380ff7a8 +MD5 e5838642567ec2da6660ef2d6a602cff files/gdevhl12-hl1250.mak 678 +RMD160 10640a63ece09315186c4567802d1bf21f72c8a4 files/gdevhl12-hl1250.mak 678 +SHA256 1acde11d9ebd11a590e33b76ec3a1ead12ab775e42b0ebb52d685310380ff7a8 files/gdevhl12-hl1250.mak 678 +AUX ghostscript-afpl-8.54-big-cmap-post.patch 7588 RMD160 7afa1acae19228903e94b7203515602701d45bff SHA1 4b1e94f885053c63d4f90d5289474bff15be0e2c SHA256 e207a316591ab6d827c1752efd79e7d5c0b072e93a7adca1508bf63b51cae549 +MD5 33ed647c4208f611993c427a0d5a0264 files/ghostscript-afpl-8.54-big-cmap-post.patch 7588 +RMD160 7afa1acae19228903e94b7203515602701d45bff files/ghostscript-afpl-8.54-big-cmap-post.patch 7588 +SHA256 e207a316591ab6d827c1752efd79e7d5c0b072e93a7adca1508bf63b51cae549 files/ghostscript-afpl-8.54-big-cmap-post.patch 7588 +AUX ghostscript-afpl-8.54-cups-destdir.diff 699 RMD160 290c2f81a51d1656f0f0907fb061170595938964 SHA1 8b5327ed8b7726cd103a13094a6aac9907fc226f SHA256 d739789264b0051a52764e68af298cd5da0edaa8e65fb909f022b0fc44fc5f56 +MD5 c75892c93d1df123f1a1c84fed8df9c6 files/ghostscript-afpl-8.54-cups-destdir.diff 699 +RMD160 290c2f81a51d1656f0f0907fb061170595938964 files/ghostscript-afpl-8.54-cups-destdir.diff 699 +SHA256 d739789264b0051a52764e68af298cd5da0edaa8e65fb909f022b0fc44fc5f56 files/ghostscript-afpl-8.54-cups-destdir.diff 699 +AUX ghostscript-afpl-8.54-cups-lib.patch 4053 RMD160 62b00a754179c3b564b03e2dc7d0fe191b2652e0 SHA1 58f53e82b7d23e01885a8f65ca6b52249d19f144 SHA256 d6d8732c32a21bffafc6bab544f44d02041f15d8135bb940bedd851955eef678 +MD5 f8d20e0e6dfd916554ecbef5e5d66f07 files/ghostscript-afpl-8.54-cups-lib.patch 4053 +RMD160 62b00a754179c3b564b03e2dc7d0fe191b2652e0 files/ghostscript-afpl-8.54-cups-lib.patch 4053 +SHA256 d6d8732c32a21bffafc6bab544f44d02041f15d8135bb940bedd851955eef678 files/ghostscript-afpl-8.54-cups-lib.patch 4053 +AUX ghostscript-afpl-8.54-destdir.diff 11133 RMD160 e23c41dbe807b9388d00cd1974e1d2a710ed2a5d SHA1 d3cf9da7e848fb55e08672c7e4f556fbf58a97e8 SHA256 05837115e7671768f7ef3a698cff5ea5e6d385bab87e98257ea42c8528c27e67 +MD5 d638424ef6990aa5172f21b35c5506ac files/ghostscript-afpl-8.54-destdir.diff 11133 +RMD160 e23c41dbe807b9388d00cd1974e1d2a710ed2a5d files/ghostscript-afpl-8.54-destdir.diff 11133 +SHA256 05837115e7671768f7ef3a698cff5ea5e6d385bab87e98257ea42c8528c27e67 files/ghostscript-afpl-8.54-destdir.diff 11133 +AUX ghostscript-afpl-8.54-gtk2.patch 610 RMD160 b6f6ff2b5667e698d38c6340fcb027e381e765de SHA1 3d3b60695510dbe7537f9d24327350ab7dab66f3 SHA256 5330aedcdccc78af21d87179f93917d0e025a41bcce3b863301bdd0e4f9d23ea +MD5 e8974faf06541ccb8c271180d87175bd files/ghostscript-afpl-8.54-gtk2.patch 610 +RMD160 b6f6ff2b5667e698d38c6340fcb027e381e765de files/ghostscript-afpl-8.54-gtk2.patch 610 +SHA256 5330aedcdccc78af21d87179f93917d0e025a41bcce3b863301bdd0e4f9d23ea files/ghostscript-afpl-8.54-gtk2.patch 610 +AUX ghostscript-afpl-8.54-ps2epsi-afpl.diff 512 RMD160 3526f3cacd3f0301d3ffb074e20a41b7d2dd1ce7 SHA1 baf85dbd717d68a934fe041ffc8216f51c082ad0 SHA256 eab97d56696dd7482297fc5dec03af04e1e779056dbcc18ddf841f444a2a2213 +MD5 9b8d204124945fc5cdacc9c4f22eb3e5 files/ghostscript-afpl-8.54-ps2epsi-afpl.diff 512 +RMD160 3526f3cacd3f0301d3ffb074e20a41b7d2dd1ce7 files/ghostscript-afpl-8.54-ps2epsi-afpl.diff 512 +SHA256 eab97d56696dd7482297fc5dec03af04e1e779056dbcc18ddf841f444a2a2213 files/ghostscript-afpl-8.54-ps2epsi-afpl.diff 512 +AUX ghostscript-afpl-8.54-rinkj.patch 983 RMD160 9206c5acf0631512c77437931811bb6fcebe4c53 SHA1 33b99a947b3e16e21023058439ac33c5a4d4eac7 SHA256 b159586fac2ef5dc397371db0fb7207e726fc3c6472fe9e479664fd7dea2a0e9 +MD5 0f7664981cfc60e05a0890e28a5c1611 files/ghostscript-afpl-8.54-rinkj.patch 983 +RMD160 9206c5acf0631512c77437931811bb6fcebe4c53 files/ghostscript-afpl-8.54-rinkj.patch 983 +SHA256 b159586fac2ef5dc397371db0fb7207e726fc3c6472fe9e479664fd7dea2a0e9 files/ghostscript-afpl-8.54-rinkj.patch 983 +AUX ghostscript-afpl-8.54-segfault.patch 505 RMD160 c02811990117b8b78934ba9b636007c782bb29f7 SHA1 4357a5e9e67ab1066b642fc7b6ed0bf591b161ca SHA256 63e75cf1815cc19529d02be94d3eba5be5f5a1d6e3f20cf680e2e4b5bd1c35e0 +MD5 f343c63f09ff29ea27783b73e202f823 files/ghostscript-afpl-8.54-segfault.patch 505 +RMD160 c02811990117b8b78934ba9b636007c782bb29f7 files/ghostscript-afpl-8.54-segfault.patch 505 +SHA256 63e75cf1815cc19529d02be94d3eba5be5f5a1d6e3f20cf680e2e4b5bd1c35e0 files/ghostscript-afpl-8.54-segfault.patch 505 +AUX ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2902 RMD160 a248b8db74aefe41d548c3712dc6603975a09698 SHA1 8a63a7cbe94414343154594a709c886b3c0ab712 SHA256 3ec8e039c1cbb94043d2b79e7d3d84016595804f27d67bb251eba2c33611ccab +MD5 ddd297dd9f783163b0f13ec97dcb13bc files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2902 +RMD160 a248b8db74aefe41d548c3712dc6603975a09698 files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2902 +SHA256 3ec8e039c1cbb94043d2b79e7d3d84016595804f27d67bb251eba2c33611ccab files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2902 +AUX ghostscript-esp-8.15.2-cidfmap.cjk 2095 RMD160 8e1b461f58df3282768c20b988312ec37cf3bbdf SHA1 698a7b5c8958c49ea8e72ab131da1846a022ccd3 SHA256 1773c5e7f0f7088434d7a1cc8e27850225b57500cf9f8f2f6ea0f266daedaf5c +MD5 b3d8b5d824f41ce4fd5416940aca2b89 files/ghostscript-esp-8.15.2-cidfmap.cjk 2095 +RMD160 8e1b461f58df3282768c20b988312ec37cf3bbdf files/ghostscript-esp-8.15.2-cidfmap.cjk 2095 +SHA256 1773c5e7f0f7088434d7a1cc8e27850225b57500cf9f8f2f6ea0f266daedaf5c files/ghostscript-esp-8.15.2-cidfmap.cjk 2095 +DIST acro5-cmaps-2001.tar.gz 631653 RMD160 c723afc2207157a434988b46bcf0a458281c29a4 SHA1 fbc8715eae880f59e2251ae8fa99f79fbcfbd3e5 SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4 +DIST adobe-cmaps-200406.tar.gz 5001983 RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 SHA1 b846292af4541d907dd9041e397c2f1d8c72a056 SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689 +DIST cups-1.1.23-source.tar.bz2 8705521 RMD160 255ec4c22422b14f2367d69f3ec7e590dc46bea5 SHA1 32d5bfb44c4edc1b54ccb014b5a44499295c6c5c SHA256 87da0f7b1e03236e183045f1e787957132658ead56c4b0f80ac7f86c1574a85e +DIST gdevhl12.c.gz 7613 RMD160 3adffbf7df824abd02242dadf847b09246f411bb SHA1 b5ac9ebe654b0ace453f1aec501dd363311efeed SHA256 3905677ab494a1b82ee2a6cc78975a5fdc08d81a65c12af35746bb3d2889b3e2 +DIST ghostscript-8.54-gpl.tar.bz2 12365361 RMD160 f61f6da568ffe440a466cd0d7b5871a3d87d1116 SHA1 5da69b04ddc8a4660a2c40b0e561a358c737c310 SHA256 64f43553223390a3e519efed2b3dfee8a4c79df5a373a0e96861483565957e1b +EBUILD ghostscript-gpl-8.54.ebuild 4980 RMD160 102e800f3f6c5deb800d110e0cc54f892dc1b8d4 SHA1 07e595f449d0aacb03a95e74f563706e8e2fb6da SHA256 030d91c5d5865febd092d2d3466f5d11e47705550fcb3919a37291cd964a1fc9 +MD5 918b852fad795aff5c5839ccb5826706 ghostscript-gpl-8.54.ebuild 4980 +RMD160 102e800f3f6c5deb800d110e0cc54f892dc1b8d4 ghostscript-gpl-8.54.ebuild 4980 +SHA256 030d91c5d5865febd092d2d3466f5d11e47705550fcb3919a37291cd964a1fc9 ghostscript-gpl-8.54.ebuild 4980 +MISC ChangeLog 920 RMD160 22b93c6aa8c2a4ddd81c84594e806dcf727964b0 SHA1 87f62127507ff4c6aa726ac4dbc34215c94cb491 SHA256 6721ffc50acde864a0bd13c3230ce6a957afba6a680bec062719360297fd7fe5 +MD5 34ccab99c7f0ee20f6745522549ae4d4 ChangeLog 920 +RMD160 22b93c6aa8c2a4ddd81c84594e806dcf727964b0 ChangeLog 920 +SHA256 6721ffc50acde864a0bd13c3230ce6a957afba6a680bec062719360297fd7fe5 ChangeLog 920 +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 f413f662af5f87988a599dc33e91d034 files/digest-ghostscript-gpl-8.54 1256 +RMD160 791369f9e6660f57a5ea66017149ebfd9681d38f files/digest-ghostscript-gpl-8.54 1256 +SHA256 54f7d51625c2e99b3c3b66ea76109a8168805dd3b4314f35a749837c3dad5762 files/digest-ghostscript-gpl-8.54 1256 diff --git a/app-text/ghostscript-gpl/files/digest-ghostscript-gpl-8.54 b/app-text/ghostscript-gpl/files/digest-ghostscript-gpl-8.54 new file mode 100644 index 000000000000..a3388250d133 --- /dev/null +++ b/app-text/ghostscript-gpl/files/digest-ghostscript-gpl-8.54 @@ -0,0 +1,15 @@ +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 4ce09b1dce09b6b9398af0daae9adf63 cups-1.1.23-source.tar.bz2 8705521 +RMD160 255ec4c22422b14f2367d69f3ec7e590dc46bea5 cups-1.1.23-source.tar.bz2 8705521 +SHA256 87da0f7b1e03236e183045f1e787957132658ead56c4b0f80ac7f86c1574a85e cups-1.1.23-source.tar.bz2 8705521 +MD5 ecf57b4597f1d8c54ba8e6068a9119ab gdevhl12.c.gz 7613 +RMD160 3adffbf7df824abd02242dadf847b09246f411bb gdevhl12.c.gz 7613 +SHA256 3905677ab494a1b82ee2a6cc78975a5fdc08d81a65c12af35746bb3d2889b3e2 gdevhl12.c.gz 7613 +MD5 5d0ad0da8297fe459a788200f0eaeeba ghostscript-8.54-gpl.tar.bz2 12365361 +RMD160 f61f6da568ffe440a466cd0d7b5871a3d87d1116 ghostscript-8.54-gpl.tar.bz2 12365361 +SHA256 64f43553223390a3e519efed2b3dfee8a4c79df5a373a0e96861483565957e1b ghostscript-8.54-gpl.tar.bz2 12365361 diff --git a/app-text/ghostscript-gpl/files/gdevcups.patch b/app-text/ghostscript-gpl/files/gdevcups.patch new file mode 100644 index 000000000000..81f04d536785 --- /dev/null +++ b/app-text/ghostscript-gpl/files/gdevcups.patch @@ -0,0 +1,432 @@ +--- aaa/ghostscript-8.53/pstoraster/gdevcups.c 2005-01-24 14:17:24.016026784 +0100 ++++ bbb/ghostscript-8.53/pstoraster/gdevcups.c 2005-01-24 14:16:53.037736200 +0100 +408c408 +< fprintf(stderr, "DEBUG2: cups_close(%p)\n", pdev); +--- +> dpf("DEBUG2: cups_close(%p)\n", pdev); +561c561 +< fprintf(stderr, "DEBUG2: cups_get_matrix(%p, %p)\n", pdev, pmat); +--- +> dpf("DEBUG2: cups_get_matrix(%p, %p)\n", pdev, pmat); +575,576c575,576 +< fprintf(stderr, "DEBUG: cups->header.Duplex = %d\n", cups->header.Duplex); +< fprintf(stderr, "DEBUG: cups->page = %d\n", cups->page); +--- +> dpf("DEBUG: cups->header.Duplex = %d\n", cups->header.Duplex); +> dpf("DEBUG: cups->page = %d\n", cups->page); +580,581c580,581 +< fprintf(stderr, "DEBUG: cupsPPD = %p\n", cupsPPD); +< fprintf(stderr, "DEBUG: cupsPPD->flip_duplex = %d\n", cupsPPD->flip_duplex); +--- +> dpf("DEBUG: cupsPPD = %p\n", cupsPPD); +> dpf("DEBUG: cupsPPD->flip_duplex = %d\n", cupsPPD->flip_duplex); +632c632 +< fprintf(stderr, "DEBUG: width = %d, height = %d\n", cups->width, +--- +> dpf("DEBUG: width = %d, height = %d\n", cups->width, +634c634 +< fprintf(stderr, "DEBUG: PageSize = [ %d %d ], HWResolution = [ %d %d ]\n", +--- +> dpf("DEBUG: PageSize = [ %d %d ], HWResolution = [ %d %d ]\n", +637c637 +< fprintf(stderr, "DEBUG: HWMargins = [ %.3f %.3f %.3f %.3f ]\n", +--- +> dpf("DEBUG: HWMargins = [ %.3f %.3f %.3f %.3f ]\n", +640c640 +< fprintf(stderr, "DEBUG: matrix = [ %.3f %.3f %.3f %.3f %.3f %.3f ]\n", +--- +> dpf("DEBUG: matrix = [ %.3f %.3f %.3f %.3f %.3f %.3f ]\n", +663c663 +< fprintf(stderr, "DEBUG2: cups_get_params(%p, %p)\n", pdev, plist); +--- +> dpf("DEBUG2: cups_get_params(%p, %p)\n", pdev, plist); +671c671 +< fputs("DEBUG2: before gdev_prn_get_params()\n", stderr); +--- +> dputs("DEBUG2: before gdev_prn_get_params()\n"); +678c678 +< fputs("DEBUG2: after gdev_prn_get_params()\n", stderr); +--- +> dputs("DEBUG2: after gdev_prn_get_params()\n"); +686c686 +< fputs("DEBUG2: Adding MediaClass\n", stderr); +--- +> dputs("DEBUG2: Adding MediaClass\n"); +694c694 +< fputs("DEBUG2: Adding AdvanceDistance\n", stderr); +--- +> dputs("DEBUG2: Adding AdvanceDistance\n"); +702c702 +< fputs("DEBUG2: Adding AdvanceDistance\n", stderr); +--- +> dputs("DEBUG2: Adding AdvanceDistance\n"); +710c710 +< fputs("DEBUG2: Adding Collate\n", stderr); +--- +> dputs("DEBUG2: Adding Collate\n"); +718c718 +< fputs("DEBUG2: Adding CutMedia\n", stderr); +--- +> dputs("DEBUG2: Adding CutMedia\n"); +726c726 +< fputs("DEBUG2: Adding InsertSheet\n", stderr); +--- +> dputs("DEBUG2: Adding InsertSheet\n"); +734c734 +< fputs("DEBUG2: Adding Jog\n", stderr); +--- +> dputs("DEBUG2: Adding Jog\n"); +742c742 +< fputs("DEBUG2: Adding LeadingEdge\n", stderr); +--- +> dputs("DEBUG2: Adding LeadingEdge\n"); +750c750 +< fputs("DEBUG2: Adding ManualFeed\n", stderr); +--- +> dputs("DEBUG2: Adding ManualFeed\n"); +758c758 +< fputs("DEBUG2: Adding MediaPosition\n", stderr); +--- +> dputs("DEBUG2: Adding MediaPosition\n"); +766c766 +< fputs("DEBUG2: Adding MirrorPrint\n", stderr); +--- +> dputs("DEBUG2: Adding MirrorPrint\n"); +774c774 +< fputs("DEBUG2: Adding NegativePrint\n", stderr); +--- +> dputs("DEBUG2: Adding NegativePrint\n"); +782c782 +< fputs("DEBUG2: Adding OutputFaceUp\n", stderr); +--- +> dputs("DEBUG2: Adding OutputFaceUp\n"); +790c790 +< fputs("DEBUG2: Adding Separations\n", stderr); +--- +> dputs("DEBUG2: Adding Separations\n"); +798c798 +< fputs("DEBUG2: Adding TraySwitch\n", stderr); +--- +> dputs("DEBUG2: Adding TraySwitch\n"); +806c806 +< fputs("DEBUG2: Adding Tumble\n", stderr); +--- +> dputs("DEBUG2: Adding Tumble\n"); +814c814 +< fputs("DEBUG2: Adding cupsWidth\n", stderr); +--- +> dputs("DEBUG2: Adding cupsWidth\n"); +822c822 +< fputs("DEBUG2: Adding cupsHeight\n", stderr); +--- +> dputs("DEBUG2: Adding cupsHeight\n"); +830c830 +< fputs("DEBUG2: Adding cupsMediaType\n", stderr); +--- +> dputs("DEBUG2: Adding cupsMediaType\n"); +838c838 +< fputs("DEBUG2: Adding cupsBitsPerColor\n", stderr); +--- +> dputs("DEBUG2: Adding cupsBitsPerColor\n"); +846c846 +< fputs("DEBUG2: Adding cupsBitsPerPixel\n", stderr); +--- +> dputs("DEBUG2: Adding cupsBitsPerPixel\n"); +854c854 +< fputs("DEBUG2: Adding cupsBytesPerLine\n", stderr); +--- +> dputs("DEBUG2: Adding cupsBytesPerLine\n"); +862c862 +< fputs("DEBUG2: Adding cupsColorOrder\n", stderr); +--- +> dputs("DEBUG2: Adding cupsColorOrder\n"); +870c870 +< fputs("DEBUG2: Adding cupsColorSpace\n", stderr); +--- +> dputs("DEBUG2: Adding cupsColorSpace\n"); +878c878 +< fputs("DEBUG2: Adding cupsCompression\n", stderr); +--- +> dputs("DEBUG2: Adding cupsCompression\n"); +886c886 +< fputs("DEBUG2: Adding cupsRowCount\n", stderr); +--- +> dputs("DEBUG2: Adding cupsRowCount\n"); +894c894 +< fputs("DEBUG2: Adding cupsRowFeed\n", stderr); +--- +> dputs("DEBUG2: Adding cupsRowFeed\n"); +902c902 +< fputs("DEBUG2: Adding cupsRowStep\n", stderr); +--- +> dputs("DEBUG2: Adding cupsRowStep\n"); +911c911 +< fputs("DEBUG2: Adding cupsNumColors\n", stderr); +--- +> dputs("DEBUG2: Adding cupsNumColors\n"); +919c919 +< fputs("DEBUG2: Adding cupsInteger\n", stderr); +--- +> dputs("DEBUG2: Adding cupsInteger\n"); +931c931 +< fputs("DEBUG2: Adding cupsReal\n", stderr); +--- +> dputs("DEBUG2: Adding cupsReal\n"); +943c943 +< fputs("DEBUG2: Adding cupsString\n", stderr); +--- +> dputs("DEBUG2: Adding cupsString\n"); +955c955 +< fputs("DEBUG2: Adding cupsMarkerType\n", stderr); +--- +> dputs("DEBUG2: Adding cupsMarkerType\n"); +963c963 +< fputs("DEBUG2: Adding cupsRenderingIntent\n", stderr); +--- +> dputs("DEBUG2: Adding cupsRenderingIntent\n"); +972c972 +< fputs("DEBUG2: Leaving cups_get_params()\n", stderr); +--- +> dputs("DEBUG2: Leaving cups_get_params()\n"); +995c995 +< fprintf(stderr, "DEBUG2: cups_get_space_params(%p, %p)\n", pdev, space_params); +--- +> dpf("DEBUG2: cups_get_space_params(%p, %p)\n", pdev, space_params); +1023c1023 +< fprintf(stderr, "DEBUG: cache_size = %.0f\n", cache_size); +--- +> dpf("DEBUG: cache_size = %.0f\n", cache_size); +1071c1071 +< fprintf(stderr, "DEBUG2: cups_map_cmyk(%p, %d, %d, %d, %d, %p)\n", +--- +> dpf("DEBUG2: cups_map_cmyk(%p, %d, %d, %d, %d, %p)\n", +1434c1434 +< fprintf(stderr, "DEBUG2: \\=== COLOR %d\n", out[0]); +--- +> dpf("DEBUG2: \\=== COLOR %d\n", out[0]); +1440c1440 +< fprintf(stderr, "DEBUG2: \\=== COLOR %d, %d, %d\n", +--- +> dpf("DEBUG2: \\=== COLOR %d, %d, %d\n", +1447c1447 +< fprintf(stderr, "DEBUG2: \\=== COLOR %d, %d, %d, %d\n", +--- +> dpf("DEBUG2: \\=== COLOR %d, %d, %d, %d\n", +1465c1465 +< fprintf(stderr, "DEBUG2: cups_map_gray(%p, %d, %p)\n", +--- +> dpf("DEBUG2: cups_map_gray(%p, %d, %p)\n", +1496c1496 +< fprintf(stderr, "DEBUG2: cups_map_rgb(%p, %p, %d, %d, %d, %p)\n", +--- +> dpf("DEBUG2: cups_map_rgb(%p, %p, %d, %d, %d, %p)\n", +1586c1586 +< fprintf(stderr, "DEBUG2: cups_map_cmyk_color(%p, %d, %d, %d, %d)\n", pdev, +--- +> dpf("DEBUG2: cups_map_cmyk_color(%p, %d, %d, %d, %d)\n", pdev, +1701c1701 +< fprintf(stderr, "DEBUG2: CMYK (%d,%d,%d,%d) -> CMYK %08x (%d,%d,%d,%d)\n", +--- +> dpf("DEBUG2: CMYK (%d,%d,%d,%d) -> CMYK %08x (%d,%d,%d,%d)\n", +1731c1731 +< fprintf(stderr, "DEBUG2: cups_map_color_rgb(%p, %d, %p)\n", pdev, +--- +> dpf("DEBUG2: cups_map_color_rgb(%p, %d, %p)\n", pdev, +1743c1743 +< fprintf(stderr, "DEBUG2: COLOR %08x = ", (unsigned)color); +--- +> dpf("DEBUG2: COLOR %08x = ", (unsigned)color); +1921c1921 +< fprintf(stderr, "%d,%d,%d\n", prgb[0], prgb[1], prgb[2]); +--- +> dpf("%d,%d,%d\n", prgb[0], prgb[1], prgb[2]); +1953c1953 +< fprintf(stderr, "DEBUG2: cups_map_rgb_color(%p, %d, %d, %d)\n", pdev, r, g, b); +--- +> dpf("DEBUG2: cups_map_rgb_color(%p, %d, %d, %d)\n", pdev, r, g, b); +2162c2162 +< fprintf(stderr, "DEBUG2: CMY (%d,%d,%d) -> CMYK %08x (%d,%d,%d,%d)\n", +--- +> dpf("DEBUG2: CMY (%d,%d,%d) -> CMYK %08x (%d,%d,%d,%d)\n", +2406c2406 +< fprintf(stderr, "DEBUG2: RGB %d,%d,%d = %08x\n", r, g, b, (unsigned)i); +--- +> dpf("DEBUG2: RGB %d,%d,%d = %08x\n", r, g, b, (unsigned)i); +2425c2425 +< fprintf(stderr, "DEBUG2: cups_open(%p)\n", pdev); +--- +> dpf("DEBUG2: cups_open(%p)\n", pdev); +2432c2432 +< fputs("INFO: Processing page 1...\n", stderr); +--- +> dpf("INFO: Processing page 1...\n"); +2468c2468 +< fprintf(stderr, "DEBUG2: cups_print_pages(%p, %p, %d)\n", pdev, fp, +--- +> dpf("DEBUG2: cups_print_pages(%p, %p, %d)\n", pdev, fp, +2507c2507 +< fprintf(stderr, "DEBUG2: cupsBitsPerPixel = %d, cupsWidth = %d, cupsBytesPerLine = %d, srcbytes = %d\n", +--- +> dpf("DEBUG2: cupsBitsPerPixel = %d, cupsWidth = %d, cupsBytesPerLine = %d, srcbytes = %d\n", +2512c2512 +< src = (unsigned char *)gs_malloc(srcbytes, 1, "cups_print_pages"); +--- +> src = (unsigned char *)gs_malloc(pdev->memory, srcbytes, 1, "cups_print_pages"); +2521c2521 +< dst = (unsigned char *)gs_malloc(cups->header.cupsBytesPerLine, 2, +--- +> dst = (unsigned char *)gs_malloc(pdev->memory, cups->header.cupsBytesPerLine, 2, +2537c2537 +< gs_exit(0); +--- +> gs_exit(pdev->memory, 0); +2555c2555 +< fprintf(stderr, "DEBUG2: cupsWidth = %d, cupsHeight = %d, cupsBytesPerLine = %d\n", +--- +> dpf("DEBUG2: cupsWidth = %d, cupsHeight = %d, cupsBytesPerLine = %d\n", +2585,2586c2585,2586 +< gs_free((char *)src, srcbytes, 1, "cups_print_pages"); +< gs_free((char *)dst, cups->header.cupsBytesPerLine, 1, "cups_print_pages"); +--- +> gs_free(pdev->memory, (char *)src, srcbytes, 1, "cups_print_pages"); +> gs_free(pdev->memory, (char *)dst, cups->header.cupsBytesPerLine, 1, "cups_print_pages"); +2589c2589 +< fprintf(stderr, "INFO: Processing page %d...\n", cups->page); +--- +> dpf("INFO: Processing page %d...\n", cups->page); +2623c2623 +< fprintf(stderr, "DEBUG2: cups_put_params(%p, %p)\n", pdev, plist); +--- +> dpf("DEBUG2: cups_put_params(%p, %p)\n", pdev, plist); +2651c2651 +< fprintf(stderr, "DEBUG: Setting %s to %d...\n", sname, intval); \ +--- +> dpf("DEBUG: Setting %s to %d...\n", sname, intval); \ +2790c2790 +< fprintf(stderr, "DEBUG: Updating PageSize to [%.0f %.0f]...\n", +--- +> dpf("DEBUG: Updating PageSize to [%.0f %.0f]...\n", +2816c2816 +< fprintf(stderr, "DEBUG: size = %s\n", size->name); +--- +> dpf("DEBUG: size = %s\n", size->name); +2845c2845 +< fprintf(stderr, "DEBUG: landscape size = %s\n", size->name); +--- +> dpf("DEBUG: landscape size = %s\n", size->name); +2862c2862 +< fputs("DEBUG: size = Custom\n", stderr); +--- +> dputs("DEBUG: size = Custom\n"); +2869c2869 +< fprintf(stderr, "DEBUG: margins[] = [ %f %f %f %f ]\n", +--- +> dpf("DEBUG: margins[] = [ %f %f %f %f ]\n", +2934c2934 +< fprintf(stderr, "DEBUG: Reallocating memory, [%.0f %.0f] = %dx%d pixels...\n", +--- +> dpf("DEBUG: Reallocating memory, [%.0f %.0f] = %dx%d pixels...\n", +2948c2948 +< fprintf(stderr, "DEBUG: Setting initial media size, [%.0f %.0f] = %dx%d pixels...\n", +--- +> dpf("DEBUG: Setting initial media size, [%.0f %.0f] = %dx%d pixels...\n", +2957,2958c2957,2958 +< fprintf(stderr, "DEBUG2: ppd = %p\n", cupsPPD); +< fprintf(stderr, "DEBUG2: PageSize = [ %.3f %.3f ]\n", +--- +> dpf("DEBUG2: ppd = %p\n", cupsPPD); +> dpf("DEBUG2: PageSize = [ %.3f %.3f ]\n", +2960c2960 +< fprintf(stderr, "DEBUG2: margins = [ %.3f %.3f %.3f %.3f ]\n", +--- +> dpf("DEBUG2: margins = [ %.3f %.3f %.3f %.3f ]\n", +2962c2962 +< fprintf(stderr, "DEBUG2: HWResolution = [ %.3f %.3f ]\n", +--- +> dpf("DEBUG2: HWResolution = [ %.3f %.3f ]\n", +2964c2964 +< fprintf(stderr, "DEBUG2: width = %d, height = %d\n", +--- +> dpf("DEBUG2: width = %d, height = %d\n", +2966c2966 +< fprintf(stderr, "DEBUG2: HWMargins = [ %.3f %.3f %.3f %.3f ]\n", +--- +> dpf("DEBUG2: HWMargins = [ %.3f %.3f %.3f %.3f ]\n", +2992c2992 +< fprintf(stderr, "DEBUG2: cups_set_color_info(%p)\n", pdev); +--- +> dpf("DEBUG2: cups_set_color_info(%p)\n", pdev); +3216c3216 +< fprintf(stderr, "DEBUG2: cupsEncodeLUT[%d] = %d\n", i, cupsEncodeLUT[i]); +--- +> dpf("DEBUG2: cupsEncodeLUT[%d] = %d\n", i, cupsEncodeLUT[i]); +3223c3223 +< fprintf(stderr, "DEBUG: num_components = %d, depth = %d\n", +--- +> dpf("DEBUG: num_components = %d, depth = %d\n", +3225c3225 +< fprintf(stderr, "DEBUG: cupsColorSpace = %d, cupsColorOrder = %d\n", +--- +> dpf("DEBUG: cupsColorSpace = %d, cupsColorOrder = %d\n", +3227c3227 +< fprintf(stderr, "DEBUG: cupsBitsPerPixel = %d, cupsBitsPerColor = %d\n", +--- +> dpf("DEBUG: cupsBitsPerPixel = %d, cupsBitsPerColor = %d\n", +3229c3229 +< fprintf(stderr, "DEBUG: max_gray = %d, dither_grays = %d\n", +--- +> dpf("DEBUG: max_gray = %d, dither_grays = %d\n", +3231c3231 +< fprintf(stderr, "DEBUG: max_color = %d, dither_colors = %d\n", +--- +> dpf("DEBUG: max_color = %d, dither_colors = %d\n", +3246c3246 +< fprintf(stderr, "DEBUG: Using user-defined profile \"%s\"...\n", cupsProfile); +--- +> dpf("DEBUG: Using user-defined profile \"%s\"...\n", cupsProfile); +3252c3252 +< fputs("DEBUG: User-defined profile does not contain 11 integers!\n", stderr); +--- +> dputs("DEBUG: User-defined profile does not contain 11 integers!\n"); +3301c3301 +< fputs("DEBUG: Using color profile in PPD file!\n", stderr); +--- +> dputs("DEBUG: Using color profile in PPD file!\n"); +3322c3322 +< fprintf(stderr, "DEBUG2: cupsMatrix[%d][%d][%d] = %d\n", +--- +> dpf("DEBUG2: cupsMatrix[%d][%d][%d] = %d\n", +3336c3336 +< fprintf(stderr, "DEBUG2: cupsDensity[%d] = %d\n", k, cupsDensity[k]); +--- +> dpf("DEBUG2: cupsDensity[%d] = %d\n", k, cupsDensity[k]); +3355c3355 +< fprintf(stderr, "INFO: Processing page %d...\n", cups->page); +--- +> dpf("INFO: Processing page %d...\n", cups->page); +3388c3388 +< fprintf(stderr, "DEBUG: cups_print_chunked - flip = %d, height = %d\n", +--- +> dpf("DEBUG: cups_print_chunked - flip = %d, height = %d\n", +3404,3405c3404,3405 +< fprintf(stderr, "ERROR: Unable to get scanline %d!\n", y); +< gs_exit(1); +--- +> dpf("ERROR: Unable to get scanline %d!\n", y); +> gs_exit(pdev->memory, 1); +3541c3541 +< fprintf(stderr, "DEBUG: cups_print_banded - flip = %d, height = %d\n", +--- +> dpf("DEBUG: cups_print_banded - flip = %d, height = %d\n", +3559,3560c3559,3560 +< fprintf(stderr, "ERROR: Unable to get scanline %d!\n", y); +< gs_exit(1); +--- +> dpf("ERROR: Unable to get scanline %d!\n", y); +> gs_exit(pdev->memory, 1); +4144,4145c4144,4145 +< fprintf(stderr, "ERROR: Unable to get scanline %d!\n", y); +< gs_exit(1); +--- +> dpf("ERROR: Unable to get scanline %d!\n", y); +> gs_exit(pdev->memory, 1); diff --git a/app-text/ghostscript-gpl/files/gdevhl12-hl1250.mak b/app-text/ghostscript-gpl/files/gdevhl12-hl1250.mak new file mode 100644 index 000000000000..8e1421ad1f03 --- /dev/null +++ b/app-text/ghostscript-gpl/files/gdevhl12-hl1250.mak @@ -0,0 +1,16 @@ +### -------------------- The Brother HL-1250 printer -------------------- ### +### This printer is ljet4-compatible, plus support for source tray ### +### selection and special 1200x600 dpi mode. ### + +hl1250_=$(GLOBJ)gdevhl12.$(OBJ) $(HPDLJM) +$(DD)hl1250.dev : $(hl1250_) $(DD)page.dev + $(SETPDEV) $(DD)hl1250 $(hl1250_) + +$(DD)hl1240.dev : $(hl1250_) $(DD)page.dev + $(SETPDEV) $(DD)hl1240 $(hl1250_) + +# Author: Marek Michalkiewicz <marekm@linux.org.pl> +# Printer: Brother HL-1250 (may work with some other models too) +$(GLOBJ)gdevhl12.$(OBJ) : $(GLSRC)gdevhl12.c $(PDEVH) $(gdevdljm_h) + $(GLCC) $(GLO_)gdevhl12.$(OBJ) $(C_) $(GLSRC)gdevhl12.c + diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-big-cmap-post.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-big-cmap-post.patch new file mode 100644 index 000000000000..f0f72fcbd4ed --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-big-cmap-post.patch @@ -0,0 +1,198 @@ +diff -ur ghostscript-8.54.orig/lib/gs_ttf.ps ghostscript-8.54/lib/gs_ttf.ps +--- ghostscript-8.54.orig/lib/gs_ttf.ps 2006-05-23 19:31:05.000000000 +0200 ++++ ghostscript-8.54/lib/gs_ttf.ps 2006-05-23 19:33:32.000000000 +0200 +@@ -273,6 +273,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 +@@ -363,14 +411,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 +@@ -382,8 +430,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 +@@ -404,8 +452,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 +@@ -417,15 +465,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 +@@ -448,12 +496,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 { +@@ -591,7 +639,7 @@ + % Adobe requirement that each sfnts entry have even length. + /readtables mark + % Ordinary tables +- (cmap) //call.readtable ++ (cmap) //call.readbigtable + (head) 1 index + (hhea) 1 index + (maxp) 1 index +@@ -964,10 +1012,17 @@ + } ifelse + % Stack: ... /FontInfo mark key1 value1 ... + post null ne { +- /ItalicAngle first_post_string 4 gets32 65536.0 div +- /isFixedPitch first_post_string 12 getu32 0 ne +- /UnderlinePosition first_post_string 8 gets16 upem div +- /UnderlineThickness first_post_string 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] +@@ -1026,22 +1081,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-gpl/files/ghostscript-afpl-8.54-cups-destdir.diff b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-cups-destdir.diff new file mode 100644 index 000000000000..8f9e67c53da2 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-cups-destdir.diff @@ -0,0 +1,16 @@ +diff -ur ghostscript-8.54.orig/pstoraster/cups.mak ghostscript-8.54/pstoraster/cups.mak +--- ghostscript-8.54.orig/pstoraster/cups.mak 2006-05-23 19:59:45.000000000 +0200 ++++ ghostscript-8.54/pstoraster/cups.mak 2006-05-23 20:32:44.000000000 +0200 +@@ -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 --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-cups-lib.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-cups-lib.patch new file mode 100644 index 000000000000..0271fd996376 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-cups-lib.patch @@ -0,0 +1,114 @@ +diff -u lib/gs_init.ps.orig lib/gs_init.ps +--- lib/gs_init.ps.orig 2006-02-21 22:29:07.000000000 +0100 ++++ lib/gs_init.ps 2006-05-17 22:31:11.000000000 +0200 +@@ -152,6 +152,7 @@ + currentdict /NOFONTPATH known /NOFONTPATH exch def + currentdict /NOGC known /NOGC exch def + currentdict /NOINTERPOLATE .knownget { /INTERPOLATE exch not def } if ++currentdict /NOMEDIAATTRS known /NOMEDIAATTRS exch def + currentdict /NOOUTERSAVE known /NOOUTERSAVE exch def + currentdict /NOPAGEPROMPT known /NOPAGEPROMPT exch def + currentdict /NOPAUSE known /NOPAUSE exch def +diff -u lib/gs_setpd.ps.orig lib/gs_setpd.ps +--- lib/gs_setpd.ps.orig 2005-12-28 20:56:24.000000000 +0100 ++++ lib/gs_setpd.ps 2006-05-17 22:33:54.000000000 +0200 +@@ -375,21 +375,42 @@ + } bind + .dicttomark readonly def + +-% Define the keys used in input attribute matching. +-/.inputattrkeys [ +- /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet /ManualFeed +- % The following are documented in Adobe's supplement for v2017. +- /LeadingEdge /MediaClass +-] readonly def +-% Define other keys used in media selection. +-/.inputselectionkeys [ +- /MediaPosition /Orientation +-] readonly def +- +-% Define the keys used in output attribute matching. +-/.outputattrkeys [ +- /OutputType +-] readonly def ++% M. Sweet, Easy Software Products: ++% ++% Define NOMEDIAATTRS to turn off the default (but unimplementable) media ++% selection policies for setpagedevice. This is used by CUPS to support ++% the standard Adobe media attributes. ++NOMEDIAATTRS { ++ % Define only PageSize for input attribute matching. ++ /.inputattrkeys [ ++ /PageSize ++ ] readonly def ++ % Define no other keys used in media selection. ++ /.inputselectionkeys [ ++ /noInputSelectionsKeys ++ ] readonly def ++ ++ % Define no keys used in output attribute matching. ++ /.outputattrkeys [ ++ /noOutputAttrKeys ++ ] readonly def ++} { ++ % Define the keys used in input attribute matching. ++ /.inputattrkeys [ ++ /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet /ManualFeed ++ % The following are documented in Adobe's supplement for v2017. ++ /LeadingEdge /MediaClass ++ ] readonly def ++ % Define other keys used in media selection. ++ /.inputselectionkeys [ ++ /MediaPosition /Orientation ++ ] readonly def ++ ++ % Define the keys used in output attribute matching. ++ /.outputattrkeys [ ++ /OutputType ++ ] readonly def ++} ifelse + + % Define all the parameters that should always be copied to the merged + % dictionary. +@@ -418,7 +439,13 @@ + /PageSize //false % obsolete alias for .MediaSize + /InputAttributes //false + .inputattrkeys +- { dup /PageSize eq ++ % M. Sweet, Easy Software Products: ++ % ++ % Treat LeadingEdge like PageSize so that a common Ghostscript driver ++ % doesn't need the NOMEDIAATTRS definition. ++ % ++ % { dup /PageSize eq ++ { dup dup /PageSize eq exch /LeadingEdge eq or + { pop } + { { 2 index /InputAttributes .knownget { //null eq } { //true } ifelse } } + ifelse +@@ -499,11 +526,23 @@ + % They are expected to consume the top 2 operands. + % NOTE: we currently treat all values other than 0, 1, or 7 (for PageSize) + % the same as 0, i.e., we signal an error. ++% ++% M. Sweet, Easy Software Products: ++% ++% Define NOMEDIAATTRS to turn off the default (but unimplementable) media ++% selection policies for setpagedevice. This is used by CUPS to support ++% the standard Adobe media attributes. ++ SETPDDEBUG { (Rolling back.) = pstack flush } if + 0 { % Set errorinfo and signal a configurationerror. +- pop dup 4 index exch get 2 array astore +- $error /errorinfo 3 -1 roll put +- cleartomark ++ NOMEDIAATTRS { ++ % NOMEDIAATTRS means that the default policy is 7... ++ pop 2 index exch 7 put ++ } { ++ pop dup 4 index exch get 2 array astore ++ $error /errorinfo 3 -1 roll put ++ cleartomark + /setpagedevice .systemvar /configurationerror signalerror ++ } ifelse + } bind + 1 { % Roll back the failed request to its previous status. + SETPDDEBUG { (Rolling back.) = pstack flush } if diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-destdir.diff b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-destdir.diff new file mode 100644 index 000000000000..77762119d017 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-destdir.diff @@ -0,0 +1,279 @@ +diff -ur ghostscript-8.54.orig/src/all-arch.mak ghostscript-8.54/src/all-arch.mak +--- ghostscript-8.54.orig/src/all-arch.mak 2006-05-23 19:59:45.000000000 +0200 ++++ ghostscript-8.54/src/all-arch.mak 2006-05-23 20:32:44.000000000 +0200 +@@ -295,24 +295,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` ; \ +@@ -320,14 +320,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: +@@ -336,9 +336,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 + + #======================================================================= +Only in ghostscript-8.54/src: all-arch.mak.orig +diff -ur ghostscript-8.54.orig/src/macos-fw.mak ghostscript-8.54/src/macos-fw.mak +--- ghostscript-8.54.orig/src/macos-fw.mak 2006-05-23 19:59:45.000000000 +0200 ++++ ghostscript-8.54/src/macos-fw.mak 2006-05-23 20:32:44.000000000 +0200 +@@ -100,19 +100,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 + +@@ -141,8 +141,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 +Only in ghostscript-8.54/src: macos-fw.mak.orig +diff -ur ghostscript-8.54.orig/src/unix-dll.mak ghostscript-8.54/src/unix-dll.mak +--- ghostscript-8.54.orig/src/unix-dll.mak 2006-05-23 19:59:45.000000000 +0200 ++++ ghostscript-8.54/src/unix-dll.mak 2006-05-23 20:32:49.000000000 +0200 +@@ -93,19 +93,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 + +Only in ghostscript-8.54/src: unix-dll.mak.orig +diff -ur ghostscript-8.54.orig/src/unixinst.mak ghostscript-8.54/src/unixinst.mak +--- ghostscript-8.54.orig/src/unixinst.mak 2006-05-23 19:59:45.000000000 +0200 ++++ ghostscript-8.54/src/unixinst.mak 2006-05-23 20:39:35.000000000 +0200 +@@ -25,17 +25,17 @@ + # rules, just in case bindir or scriptdir is a subdirectory of any of these. + + install-exec: STDDIRS $(GS_XE) +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(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 $(gsdir) +- -mkdir -p $(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 dumphint dvipdf eps2eps font2c \ +@@ -44,7 +44,7 @@ + fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ + do if ( test -f $(PSLIBDIR)/$$f ); then \ + (cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=[^ \t]*/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \ +- $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(scriptdir)/$$f; \ ++ $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ + fi;\ + done' + +@@ -59,10 +59,10 @@ + # one file from each subdirectory just as a sanity check. + + install-libdata: +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(gsdatadir) +- -mkdir -p $(gsdatadir)/lib ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir) ++ -mkdir -p $(DESTDIR)$(gsdatadir)/lib + $(SH) -c 'for f in \ + $(EXTRA_INIT_FILES) Fontmap.GS \ + ht_ccsto.ps \ +@@ -78,24 +78,24 @@ + viewpcx.ps viewpbm.ps viewps2a.ps \ + winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \ + pdf2dsc.ps pdfopt.ps ;\ +- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(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 $(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 $(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 $(gsdir) +- -mkdir -p $(gsdatadir)/Resource ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir)/Resource + $(SH) -c 'for dir in $(RES_CATEGORIES); do \ +- rdir=$(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 \ +@@ -119,9 +119,9 @@ + Source.htm Testing.htm Unix-lpr.htm \ + Use.htm Xfonts.htm + install-doc: $(PSDOCDIR)/News.htm +- -mkdir -p $(docdir) ++ -mkdir -p $(DESTDIR)$(docdir) + $(SH) -c 'for f in $(DOC_PAGES) ;\ +- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(docdir); fi;\ ++ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ + done' + + # install the man pages for each locale +@@ -130,9 +130,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 ;\ +@@ -159,10 +159,10 @@ + + # install the example files + install-examples: +- -mkdir -p $(exdir) ++ -mkdir -p $(DESTDIR)$(exdir) + for f in \ + alphabet.ps annots.pdf chess.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 $(exdir) ;\ ++ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\ + done +Only in ghostscript-8.54/src: unixinst.mak.orig +Only in ghostscript-8.54/src: unixinst.mak.rej diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-gtk2.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-gtk2.patch new file mode 100644 index 000000000000..6a70be4c34d3 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-gtk2.patch @@ -0,0 +1,11 @@ +--- 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) diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-ps2epsi-afpl.diff b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-ps2epsi-afpl.diff new file mode 100644 index 000000000000..63e499dbfaba --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-ps2epsi-afpl.diff @@ -0,0 +1,13 @@ +--- ghostscript-8.53/lib/ps2epsi.orig 2006-04-03 18:22:05.000000000 +0200 ++++ ghostscript-8.53/lib/ps2epsi 2006-04-03 18:23:00.000000000 +0200 +@@ -62,8 +62,8 @@ + BEGINEPS + + cat "${infile}" | +-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' ++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' + + cat << ENDEPS + %%Trailer diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-rinkj.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-rinkj.patch new file mode 100644 index 000000000000..ef309d92ce56 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-rinkj.patch @@ -0,0 +1,19 @@ +--- ghostscript-8.54.orig/src/gdevrinkj.c 2006-03-13 17:18:19.000000000 +0100 ++++ ghostscript-8.54/src/gdevrinkj.c 2006-05-18 09:38:00.000000000 +0200 +@@ -214,6 +214,7 @@ + /* DeviceN device specific parameters */ + RINKJ_DEVICE_CMYK, /* Color model */ + 8, /* Bits per color - must match ncomp, depth, etc. above */ ++ 0, + (&DeviceCMYKComponents), /* Names of color model colorants */ + 4, /* Number colorants for CMYK */ + {0}, /* SeparationNames */ +@@ -757,7 +758,7 @@ + * number if the name is found. It returns a negative value if not found. + */ + private int +-rinkj_get_color_comp_index(const gx_device * dev, const char * pname, int name_size, int src_index) ++rinkj_get_color_comp_index(gx_device * dev, const char * pname, int name_size, int src_index) + { + /* TO_DO_DEVICEN This routine needs to include the effects of the SeparationOrder array */ + const fixed_colorant_names_list * list = ((const rinkj_device *)dev)->std_colorant_names; diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch new file mode 100644 index 000000000000..2c1beb591e8b --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch @@ -0,0 +1,13 @@ +Index: gs/src/gxfcopy.c +=================================================================== +--- gs/src/gxfcopy.c (revision 6764) ++++ gs/src/gxfcopy.c (working copy) +@@ -2391,7 +2391,7 @@ + a[j++] = &cfdata->names[i]; + } + } +- qsort(a, cfdata->num_glyphs, sizeof(int), compare_glyph_names); ++ qsort(a, cfdata->num_glyphs, sizeof(*a), compare_glyph_names); + for (; j >= 0; j--) + cfdata->glyphs[j].order_index = a[j] - cfdata->names; + gs_free_object(memory, a, "order_font_data"); diff --git a/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk b/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk new file mode 100644 index 000000000000..b66760b9c96c --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk @@ -0,0 +1,29 @@ +% FAPIcidfmap.zh_CN +/BousungEG-Light-GB << /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/GBZenKai-Medium << /Path (/usr/share/fonts/arphicfonts/gkai00mp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/MSungGBK-Light << /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; +/Adobe-GB1 << /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(GB1) 4] >> ; + +% FAPIcidfmap.zh_TW +/ZenKai-Medium << /Path (/usr/share/fonts/arphicfonts/gkai00mp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; +/ShanHeiSun-Light << /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; +/Adobe-CNS1 << /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(CNS1) 4] >> ; + +% FAPIcidfmap.ja +/Kochi-Mincho << /Path (/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Kochi-Gothic << /Path (/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Adobe-Japan1 << /Path (/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/Adobe-Japan2 << /Path (/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan2) 0] >> ; +/Ryumin-Light << /Path (/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; +/GothicBBB-Medium << /Path (/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Japan1) 6] >> ; + +% FAPIcidfmap.ko +/Baekmuk-Batang << /Path (/usr/share/fonts/baekmuk-fonts/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum << /Path (/usr/share/fonts/baekmuk-fonts/dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim << /Path (/usr/share/fonts/baekmuk-fonts/gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline << /Path (/usr/share/fonts/baekmuk-fonts/hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Batang-Regular << /Path (/usr/share/fonts/baekmuk-fonts/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum-Regular << /Path (/usr/share/fonts/baekmuk-fonts/dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim-Regular << /Path (/usr/share/fonts/baekmuk-fonts/gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline-Regular << /Path (/usr/share/fonts/baekmuk-fonts/hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; +/Adobe-Korea1 << /Path (/usr/share/fonts/baekmuk-fonts/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ; diff --git a/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-cidfmap.cjk b/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-cidfmap.cjk new file mode 100644 index 000000000000..04e4fd51e63f --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-esp-8.15.2-cidfmap.cjk @@ -0,0 +1,35 @@ +% cidfmap.zh_CN +/BousungEG-Light-GB << /FileType /TrueType /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CSI [(GB1) 4] >> ; +/GBZenKai-Medium << /FileType /TrueType /Path (/usr/share/fonts/arphicfonts/gkai00mp.ttf) /CSI [(GB1) 4] >> ; +/MSungGBK-Light /BousungEG-Light-GB ; +/Adobe-GB1 /BousungEG-Light-GB ; + +% cidfmap.zh_TW +/ZenKai-Medium << /FileType /TrueType /Path (/usr/share/fonts/arphicfonts/gkai00mp.ttf) /CSI [(CNS1) 4] >> ; +/ShanHeiSun-Light << /FileType /TrueType /Path (/usr/share/fonts/arphicfonts/gbsn00lp.ttf) /CSI [(CNS1) 4] >> ; +/Adobe-CNS1 /ShanHeiSun-Light ; + +% cidfmap.ja +/Kochi-Gothic << /FileType /TrueType /Path (/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf) /CSI [(Japan1) 6] >> ; +/Kochi-Gothic-Regular /Kochi-Gothic ; +/Kochi-Gothic-JaH << /FileType /TrueType /Path (/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf) /CSI [(Japan2) 0] >> ; +/Kochi-Gothic-Regular-JaH /Kochi-Gothic-JaH ; +/Kochi-Mincho << /FileType /TrueType /Path (/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf) /CSI [(Japan1) 6] >> ; +/Kochi-Mincho-Regular /Kochi-Mincho ; +/Kochi-Mincho-JaH << /FileType /TrueType /Path (/usr/share/fonts/kochi-substitute/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 (/usr/share/fonts/baekmuk-fonts/batang.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Batang-Regular /Baekmuk-Batang ; +/Baekmuk-Dotum << /FileType /TrueType /Path (/usr/share/fonts/baekmuk-fonts/dotum.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Dotum-Regular /Baekmuk-Dotum ; +/Baekmuk-Gulim << /FileType /TrueType /Path (/usr/share/fonts/baekmuk-fonts/gulim.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Gulim-Regular /Baekmuk-Gulim ; +/Baekmuk-Headline << /FileType /TrueType /Path (/usr/share/fonts/baekmuk-fonts/hline.ttf) /CSI [(Korea1) 2] >> ; +/Baekmuk-Headline-Regular /Baekmuk-Headline ; +/Adobe-Korea1 /Baekmuk-Batang ; diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-8.54.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-8.54.ebuild new file mode 100644 index 000000000000..8970162c0fb0 --- /dev/null +++ b/app-text/ghostscript-gpl/ghostscript-gpl-8.54.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ghostscript-gpl-8.54.ebuild,v 1.1 2006/06/27 08:13:40 genstef Exp $ + +inherit autotools elisp-common eutils versionator + +DESCRIPTION="GPL Ghostscript - the most current Ghostscript, AFPL, relicensed" +HOMEPAGE="http://www.cs.wisc.edu/~ghost/" + +CUPS_PV=1.1.23 +MY_P=ghostscript-${PV}-gpl +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 ) + cups? ( mirror://gentoo/cups-${CUPS_PV}-source.tar.bz2 ) + mirror://sourceforge/ghostscript/${MY_P}.tar.bz2 + mirror://gentoo/gdevhl12.c.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="X cups cjk emacs gtk jpeg2k" + +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 ) + jpeg2k? ( media-libs/jasper ) + !app-text/ghostscript-esp + !app-text/ghostscript-gnu" + +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 + cd ${WORKDIR} + fi + + # cups support + if use cups; then + cp -r cups-${CUPS_PV}/pstoraster ${S} + cd ${S}/pstoraster + sed -e 's:@prefix@:/usr:' -e 's:@exec_prefix@:${prefix}:' -e \ + 's:@bindir@:${exec_prefix}/bin:' -e 's:@GS@:gs:' \ + pstopxl.in > pstopxl || die "pstopxlsed failed" + sed -i -e 's:OUTPUTFILE="%stdout" $profile $6$:\0 -:' \ + -e 's:/usr/local:/usr:' pstoraster || die "pstorastersed failed" + sed -i -e "s:pstopcl6:pstopxl:" cups.mak || die "cupssed failed" + cd .. + epatch ${FILESDIR}/gdevcups.patch + epatch ${FILESDIR}/ghostscript-afpl-8.54-cups-destdir.diff + + echo 'include pstoraster/cups.mak' >> src/Makefile.in + sed -i -e 's:DEVICE_DEVS17=:\0$(DD)cups.dev:' src/Makefile.in || die "sed failed" + sed -i -e 's:EXTRALIBS=.*:\0 -lcups -lcupsimage:' src/Makefile.in || die "sed failed" + fi + cd ${S} + epatch ${FILESDIR}/ghostscript-afpl-8.54-cups-lib.patch + epatch ${FILESDIR}/ghostscript-afpl-8.54-big-cmap-post.patch + + # enable cfax device (bug #56704) and rinkj device + sed -i -e 's:DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev:\0 $(DD)cfax.dev $(DD)rinkj.dev:' ${S}/src/Makefile.in || die "sed failed" + + # http://www.linuxprinting.org/download/printing/ghostscript-8.x/drivers/hl1250 + # http://bugs.ghostscript.com/show_bug.cgi?id=687484 + cp ${WORKDIR}/gdevhl12.c ${S}/src/gdevhl12.c || die + cat ${FILESDIR}/gdevhl12-hl1250.mak >> ${S}/src/contrib.mak || die + sed -e 's#^\(DEVICE_DEVS6=.*\)$#\1 $(DD)hl1240.dev $(DD)hl1250.dev#' \ + -i "${S}"/src/Makefile.in || die + sed -i -e "s:#if 1:#if 0:" "${S}"/src/gdevhl12.c || die + + # #128650, #128645, http://bugs.ghostscript.com/show_bug.cgi?id=688703 + epatch ${FILESDIR}/ghostscript-afpl-8.54-ps2epsi-afpl.diff + epatch ${FILESDIR}/ghostscript-afpl-8.54-rinkj.patch + epatch ${FILESDIR}/ghostscript-afpl-8.54-destdir.diff + + # already fixed inSVN, http://bugs.ghostscript.com/show_bug.cgi?id=688702 + epatch ${FILESDIR}/ghostscript-afpl-8.54-gtk2.patch + 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 + + # fixed inSVN http://bugs.ghostscript.com/show_bug.cgi?id=688721 + epatch ${FILESDIR}/ghostscript-afpl-8.54-segfault.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" + sed -i -e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \ + -e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \ + src/Makefile.in src/*.mak || die "sed failed" +} + +src_compile() { + econf $(use_with X x) \ + $(use_with jpeg2k jasper) \ + --with-ijs \ + --with-jbig2dec || die "econf failed" + emake so all || die "emake failed" + + cd ijs + econf || die "ijs econf failed" + emake || die "ijs emake failed" +} + +src_install() { + emake DESTDIR="${D}" install soinstall || die "emake install failed" + + rm -fr ${D}/usr/share/doc/${PF}/html/{README,PUBLIC} + dodoc doc/README + use emacs && elisp-site-file-install doc/gsdoc.el + + cd ${S}/ijs + emake DESTDIR="${D}" install || die "emake ijs install failed" +} diff --git a/app-text/ghostscript-gpl/metadata.xml b/app-text/ghostscript-gpl/metadata.xml new file mode 100644 index 000000000000..1fa0ca569505 --- /dev/null +++ b/app-text/ghostscript-gpl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>printing</herd> +</pkgmetadata> |