diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-21 10:28:25 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-21 10:28:25 +0000 |
commit | a3a04855558d0d4b1fffc07c8da174f820bac1cc (patch) | |
tree | 5f71b0671114931d8204662b9976f67e67573572 /app-text/ghostscript-gnu | |
parent | As 1.1.2 is the last version without unconditional mp3 support, rename mad us... (diff) | |
download | historical-a3a04855558d0d4b1fffc07c8da174f820bac1cc.tar.gz historical-a3a04855558d0d4b1fffc07c8da174f820bac1cc.tar.bz2 historical-a3a04855558d0d4b1fffc07c8da174f820bac1cc.zip |
version bump thanks to Didier Link <didier.link@wanadoo.fr> in bug 152144
Package-Manager: portage-2.1.2_pre3-r6
Diffstat (limited to 'app-text/ghostscript-gnu')
7 files changed, 651 insertions, 1 deletions
diff --git a/app-text/ghostscript-gnu/ChangeLog b/app-text/ghostscript-gnu/ChangeLog index f293bf6bfce7..f90c05bdde8a 100644 --- a/app-text/ghostscript-gnu/ChangeLog +++ b/app-text/ghostscript-gnu/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-text/ghostscript-gnu # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.25 2006/08/12 22:06:22 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.26 2006/10/21 10:28:25 genstef Exp $ + +*ghostscript-gnu-8.55 (21 Oct 2006) + + 21 Oct 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-cups-destdir.diff, +files/gdevcups.patch, + -files/ghostscript-fontconfig.patch, -ghostscript-gnu-8.16-r1.ebuild, + -ghostscript-gnu-8.16-r3.ebuild, +ghostscript-gnu-8.55.ebuild: + version bump thanks to Didier Link <didier.link@wanadoo.fr> in bug 152144 12 Aug 2006; Stefan Schweizer <genstef@gentoo.org> ghostscript-gnu-8.16-r1.ebuild, ghostscript-gnu-8.16-r3.ebuild: diff --git a/app-text/ghostscript-gnu/files/digest-ghostscript-gnu-8.55 b/app-text/ghostscript-gnu/files/digest-ghostscript-gnu-8.55 new file mode 100644 index 000000000000..537c445cdc43 --- /dev/null +++ b/app-text/ghostscript-gnu/files/digest-ghostscript-gnu-8.55 @@ -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 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 d48d7574b74846f1c4ffbe541955367f gnu-ghostscript-8.55.tar.bz2 7947779 +RMD160 b87371aaffe8c25f49c8d3b62bb84e397bef3b2f gnu-ghostscript-8.55.tar.bz2 7947779 +SHA256 8812a1b9643e79487a7d598b27082224784e176c8c6ca0190187b2dc2b1a1751 gnu-ghostscript-8.55.tar.bz2 7947779 diff --git a/app-text/ghostscript-gnu/files/gdevcups.patch b/app-text/ghostscript-gnu/files/gdevcups.patch new file mode 100644 index 000000000000..81f04d536785 --- /dev/null +++ b/app-text/ghostscript-gnu/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-gnu/files/ghostscript-afpl-8.54-cups-destdir.diff b/app-text/ghostscript-gnu/files/ghostscript-afpl-8.54-cups-destdir.diff new file mode 100644 index 000000000000..8f9e67c53da2 --- /dev/null +++ b/app-text/ghostscript-gnu/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-gnu/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk b/app-text/ghostscript-gnu/files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk new file mode 100644 index 000000000000..b66760b9c96c --- /dev/null +++ b/app-text/ghostscript-gnu/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-gnu/files/ghostscript-esp-8.15.2-cidfmap.cjk b/app-text/ghostscript-gnu/files/ghostscript-esp-8.15.2-cidfmap.cjk new file mode 100644 index 000000000000..04e4fd51e63f --- /dev/null +++ b/app-text/ghostscript-gnu/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-gnu/ghostscript-gnu-8.55.ebuild b/app-text/ghostscript-gnu/ghostscript-gnu-8.55.ebuild new file mode 100644 index 000000000000..847d652173c7 --- /dev/null +++ b/app-text/ghostscript-gnu/ghostscript-gnu-8.55.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.55.ebuild,v 1.1 2006/10/21 10:28:25 genstef Exp $ + +WANT_AUTOMAKE=1.6 +inherit autotools elisp-common eutils versionator flag-o-matic + +DESCRIPTION="GNU Ghostscript - patched GPL Ghostscript" +HOMEPAGE="http://www.gnu.org/software/ghostscript/" + +CUPS_PV=1.1.23 +MY_P=gnu-ghostscript-${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 ) + cups? ( mirror://gentoo/cups-${CUPS_PV}-source.tar.bz2 ) + ftp://ftp.gnu.org/gnu/ghostscript/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd" +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-gpl" + +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} + ln -s Makefile.in src/Makefile.in + + if ! use gtk; then + sed -i "s:\$(GSSOX)::" src/*.mak || die "gsx sed failed" + sed -i "s:.*\$(GSSOX_XENAME)$::" src/*.mak || die "gsxso sed failed" + fi + + # search path fix + sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \ + -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ + -e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \ + -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 STDDIRS || 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" +} |