diff options
author | 2014-06-08 19:49:11 +0000 | |
---|---|---|
committer | 2014-06-08 19:49:11 +0000 | |
commit | dafe8412ba0fa6c2723d8d95fccb47a4f0327eaa (patch) | |
tree | 97670b5f444308e9d875e1a128983b6b3a4b4a0e /media-gfx/transfig | |
parent | Move to maintainer needed as I am no longer taking care of it and noone from ... (diff) | |
download | historical-dafe8412ba0fa6c2723d8d95fccb47a4f0327eaa.tar.gz historical-dafe8412ba0fa6c2723d8d95fccb47a4f0327eaa.tar.bz2 historical-dafe8412ba0fa6c2723d8d95fccb47a4f0327eaa.zip |
Version bump, bug #487710, thank Martin Walch for report.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xF1989B07
Diffstat (limited to 'media-gfx/transfig')
-rw-r--r-- | media-gfx/transfig/ChangeLog | 12 | ||||
-rw-r--r-- | media-gfx/transfig/Manifest | 21 | ||||
-rw-r--r-- | media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch | 55 | ||||
-rw-r--r-- | media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch | 530 | ||||
-rw-r--r-- | media-gfx/transfig/files/transfig-3.2.5e-typos.patch | 25 | ||||
-rw-r--r-- | media-gfx/transfig/metadata.xml | 3 | ||||
-rw-r--r-- | media-gfx/transfig/transfig-3.2.5e.ebuild | 94 |
7 files changed, 727 insertions, 13 deletions
diff --git a/media-gfx/transfig/ChangeLog b/media-gfx/transfig/ChangeLog index c8793056af39..fb5ecd6ff3fa 100644 --- a/media-gfx/transfig/ChangeLog +++ b/media-gfx/transfig/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/transfig -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.75 2013/04/30 02:14:16 ottxor Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.76 2014/06/08 19:49:07 pva Exp $ + +*transfig-3.2.5e (08 Jun 2014) + + 08 Jun 2014; Peter Volkov <pva@gentoo.org> +transfig-3.2.5e.ebuild, + +files/transfig-3.2.5e-fprintf_format_warnings.patch, + +files/transfig-3.2.5e-man-hyphen.patch, +files/transfig-3.2.5e-typos.patch, + metadata.xml: + Version bump, bug #487710, thank Martin Walch for report. 30 Apr 2013; Christoph Junghans <ottxor@gentoo.org> transfig-3.2.5d-r1.ebuild: added ~arm (tested by me) diff --git a/media-gfx/transfig/Manifest b/media-gfx/transfig/Manifest index 15e4f713cfc4..e24fda7ad2a3 100644 --- a/media-gfx/transfig/Manifest +++ b/media-gfx/transfig/Manifest @@ -9,22 +9,23 @@ AUX transfig-3.2.5d-fig2mpdf.patch 14711 SHA256 c05a1b2fdf20b18c9b69fd271194d545 AUX transfig-3.2.5d-leadspace.patch 725 SHA256 dbb22b727835186d5c9422decf130cf2b292b7fde288aa212b9e52144de4f79f SHA512 70b3f171f028febee8689bcbca66d67de524c734bd09a978eae40b9c15ade06d884380e77dccd69518a2af286e4f3033b1aedd188871b4a5c701e020fc2607d5 WHIRLPOOL a14b46505dc2f2ccb6ce15dca16f3b0ff9f10b3c544302d691341dc83529d3736769b56a5b8d42e95e7a084dc2ad3b934f3b393cbc4430f7870daae3c27b6357 AUX transfig-3.2.5d-libpng-1.5.patch 1449 SHA256 8621fc408f700225ff9498f0743afabb135c729b244a2bcafd3418692d2a4230 SHA512 66c0018a62a22cec02df59ac80326e0d77399190b66a7df125886bb76d1e682655ef1a498e940b7ab0a5e12e2156dc98b3d88a5d81513a47154ebf4c62ba02dc WHIRLPOOL cccf802ab472fb76ed4f1e306a60560927bdcca647f339da3038790664092e41a61f1a6fdc17aee00833f474c66e43ea8d83ef4d0a9f8afc1fdca53f42a7d955 AUX transfig-3.2.5d-precision.patch 1633 SHA256 e2d4c992e438df5271d462cae48c5472a485517fb4093577c4461b6f97e45bb0 SHA512 8ed38b2f295da48a56049368f0643b8e1c26d06c3a340c81999e67608ec70854d72703ae81be89006efb54a0a9a4145b71100c4dc48d9602dd1cb86545cf2763 WHIRLPOOL dc27333136aeeb83082d2e857dba2086ddd0f80ebfda24447bd8e6290ce069daa8db0ad9d6ff6ec1e07ecd021526a457d7fdd68038512bdb3103136677396bad +AUX transfig-3.2.5e-fprintf_format_warnings.patch 1463 SHA256 359845d2da3b7273d8e85d7a4fe8b9ec39b0cdfea02fb2da3276b353c937d6d1 SHA512 28d85316b96d371fb1c8459ebcccf5f482f66c94edc7b11830007c10d7fb0d444430af36f951bde1c49f4b313fce4585454913bce179814de20154bf755647cf WHIRLPOOL d0a58d5664123c22e4b325d6ccd32985a6bc52cdee2deb97e25c221dbe9e38835474899990e3badd7de426a840d15963138a0728f2a5a90b635c120eebc6a902 +AUX transfig-3.2.5e-man-hyphen.patch 16349 SHA256 85d64fcc42bf0e1c14ac4a621535e1a778e9164f840f2c2d077c5d42fadc0266 SHA512 61a0ee8b5e91929806d1255cf18e4431142c59855285c381fb983241ebda8b6c4c9186a152f1cd448190cb144ffb8a5c7d8b8d7d17c789909edebdb0bd71ab32 WHIRLPOOL b8ddbf572c6d317d9fcc549f7cf725740ede1887e0de32e14c3cdd284d3188fffcb8ff62c1f401681a2ac26221a6e8e264d5aca2e8a7e4b0f0e96760a37624e8 +AUX transfig-3.2.5e-typos.patch 801 SHA256 755994323cff774c7f6e48834a98048998fdabd44de9ce152cf2035fd0cc5e86 SHA512 2cdc36f2361a2606164688d18ae8a2e23debb6d16b656bf0f3762d52a2a6175c7b279bb6ee3226f3f884ca043b03ce39aec9870800890eff017f6734486c3707 WHIRLPOOL 0f7dff1b45a789e03f83027ae49ffc1fdb14619c2b396d5f0c537de58f17dd90036697e81c654da4638cba4bafd94bf96b74c132c2cb5ab2932b330959ef9c02 AUX transfig-ru_RU.CP1251.ps 6079 SHA256 8b3ce8f098776fb8ed1623903fe4af70e439d708e6b58444c72023c2b4d45a3c SHA512 aba314ed3ec3ff2f2b07c97195d1059c0c64f6c5dbfeb41b93bc0d3bb77becffffbaae8aecf552d27f3fc337d23e150601c0dd703997bba9fc18b154c89ddda1 WHIRLPOOL 4c4cc3c24d8b6f84533262abc795fc47ea7e848447b6ea72c8fcb98d3673523d90baaf04731f3ff40f78143a0492763bd7258247690d1cd560d2736290e3165e AUX transfig-ru_RU.KOI8-R.ps 6015 SHA256 af71380057217460eb476e9a6800e3c7bbe22db44420d0d5d6939bd3321a4c86 SHA512 1222403ca7fa7e1a796e46e9693237d9a7afa8889e66af17b5c705f0383ab32382a21a499059f0fef5b6a3640385f74da77e5d1a8e4406ef1c635e48a551885d WHIRLPOOL 6c661b755be14a959d62f2f7fbe9e6fad8d335bc8fa32686b5b1042dd5057b45025303f1f8fe493b7783e888f6d3b0a78249d381846a6903c9f55dba79f33f94 AUX transfig-uk_UA.KOI8-U.ps 6023 SHA256 b71427fb5e938ee285aea7290af41bcfc1f6820520f5ca7a2746dd51c00b5eee SHA512 e7dd914414594e27e38905c114e9ce86a29a551facadf08ba8beb7087e5e30e400a3e3cc4472d31dce3b2f0cf1b864806915c71efd76b518d3a815a98bb2d020 WHIRLPOOL eb1f5579de8c4845db836a4cb418bf9205a47d2c938626ff6b4a4bf59241c833d6967d5b40c32fdaf6965fabb62090a596586be0b272dc6636aec2d13e46eaec DIST fig2mpdf-1.1.2.tar.bz2 191438 SHA256 35f02293592244d5ff4a7a60e00023696c05dec855495871226c67669ba4daf3 SHA512 36dea40008371386b47a4451e2f311cc2540ab063e3b61e628a535775d62a8840c5cc20c37b80465184bf041c6e583aaf3e5156079e72211d0a87ff3346d2980 WHIRLPOOL 73f98e0c8f26a0a9f5a06ba38169a107587dd09ecce69c69d251d46274697db7a1923479030693bf9079705820ce67b3df62d0de54492039acd0ac71f4f22fa7 DIST transfig.3.2.5d.tar.gz 497451 SHA256 ae81214177fb05f91f6e43b0b42633b6e0024570cbc6591a3858e12100ce8aaa SHA512 6e9b9551bf3bff7a94d6a0d8bac336c36b2721f9babc4cf38472737ac737afd27f93dcb012e510d6c439c6aaeed95ba03b19508b4229386915c0dc0751daac10 WHIRLPOOL ca503a9ba228f54d20a6771dfca9dd0e6bb127618db8bc94bf1a62149e007627786fe2eee8f15a47723781d8381950cfac97264b5846550f7c669a8d8c82a1f2 +DIST transfig.3.2.5e.tar.gz 531256 SHA256 8ec5a8f13254dd155622ed3ee0fda1382b1e2b5882d83b9aca1871f12a3e7744 SHA512 ed1379f1112514d90a4b3eecd3222baad311d804b5090e8e66867ec299e4f9a5f8d83ef8939aa6ecaa85a18143b8fb9b97f78e078ac5eeb934a158c55de6bb1e WHIRLPOOL a781dd6fd85ff7ff12219444a8fbc91fc8c7f6fe1b4628cc1fd6bb3feae29392edc62a8f3a4db0945bdf2e67a67af7046864826024acdbaa8a8581a873cdb82f EBUILD transfig-3.2.5d-r1.ebuild 2821 SHA256 3758f4a726462a1933fbe331d2cf3c57c16e8032a98e43323d90c0d2bd436104 SHA512 04c51cb9d2ea4029d21b029da3cfdcaccfef05bdaede4288798573386d1f7ab5e650fb3d6f735d10811ff5967c1f36a7ce2bff6125dccab7a619b4aa6a91a675 WHIRLPOOL 4db4445331b15f5918503dd1603fd30276fbd8db8d12b8d778053c801fe987e996d70db76e6dcbf88b0429821941a9d964d8437bd976b3dd036cac3eab62f514 -MISC ChangeLog 11888 SHA256 141ca27bc6ff8918ee54532cd1d5b435b97e9f20523a1f7a8a7e9eb69010ef31 SHA512 d2a00390d842b7d1eee3b5696d4d3e121fe544f0e02f35c84f8139f82fd96b30b6fb1ff91c589fd64415e939baba02546bfc5cbb996178ca23793e0f8ae2801e WHIRLPOOL 665a7c64f4329345d90da4b39f13e38a38dd08cb2ba7794402b40b960160a4183f43c6e78ecaf32d27704cf421a91d7bb669442c00c548352ec9a8b491c2bf69 -MISC metadata.xml 214 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 SHA512 701b8c51f43f8660d40700929c243a2dae9f19dcbc7b8eca877e20eadc1ae2e0c84f7c7d8c3cb576055c1a49a55e9c759ef469eeda67026ce252d341937f6691 WHIRLPOOL 977119e736e0795137df14faae681f7fa07ba8297a19ef4a7d7b93de7efceaed16f7103f179a762be41b8849c33c535b55d16d2fd0ea795df0525592752e0156 +EBUILD transfig-3.2.5e.ebuild 2814 SHA256 9c3076c398420839a904ac3bf0fa7635f88e1add1a9d05fd672140d5810424cb SHA512 6cbcd16f37aa605d2d817c375ed7273ade3e85096a40e3582a3a1dd208da1864818388d47728497e38ac778709f3668cefe08e70d4da795aee0dac542f04e5d4 WHIRLPOOL 7d77f32ffa01d2d291527046bb65d37d75982f4be98c6c6e6e34a99ce01590bfcc0e98f4851f51c5f3004d7efb7ad00880bcbeced186d35d6c86885b767d4793 +MISC ChangeLog 12199 SHA256 cd2eac1fe85b3059cd2aa2b3987eb67a447b002f329dd1e44557006b2199a181 SHA512 747b2b0a55cc4f5b5cf7db49eb96b995aea81ab9b12bea58b952938600f619f813ee759fab08b6e462f1f0a5ed8c828a2101e1efcb5fbb3cc67a5c0cd695f33d WHIRLPOOL 82e2cbf6fc27689666f499e5b399ceda034c49a58d7ea19ed8d1a01d46f4871fb0315aefb0828d557c431d165ee58b45d61a8787cdf0f9db70799fb9d3549dd7 +MISC metadata.xml 226 SHA256 6208c825175df56cd1c9614b8e7ab6688c9ddff2057bef8fb8a791a175712741 SHA512 81992d02f744eff7cf7507b6e8525cf54d04898c60d6bee43b71d244b71e8d9b108ed104d69e50250663ad305007b5d4e29f9f2eb38c3bea8f27b6a8b6c2afed WHIRLPOOL 536ca87d933efc229880bf87f1838e5b5854d6e7a8233cb3844099099890f2cee831b018ac50822cd99209ec7c167d03624f1e09cfa0ea7d94fdabe2aa3e5de7 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJRfykCAAoJEOeBhlrCAAWGNrAH/j++hTl/RLMA8oddCcrS2Kiw -4jN4cu1jnyEdpYVDtLwRQdvv63h3CJ1+Hn1JQwQcK3awKWtJRveDoU5FL7jmC2Lu -wwdwmzHwgKG8/nSApKLFUG/JvjoFXM9SB2tYGF2pd7sPuO0z0pawRE7LTnhWu9X+ -GpfXXLUZCbjWtBDaF5ktPsQGc/VmOq+PrcbRVRs52noPcwIvwqy0yTy0BvB159Ho -1yZYe11Cb/PDRsWZxpaJxeLyl6qRmRigdAHUjkoLIUuWpcjILFtLNJ6W0r517SUP -YkSRzohqfWC5tJ52rdzcAHtzBmBuYl8+F9Q0Hk3jpBkn1GBhFq4Vk10WUUf+tvg= -=8DFV +iF4EAREIAAYFAlOUvkUACgkQGrk+8vGYmwe8twD/cLSpiBytx+yokfxD1wTrsolU +zDaJJ998BEcMR7jg4eQA/i40NNk6UNbnEtI7YKh6EhbXgjMxTKIsKQTMMjnLhmTc +=yumW -----END PGP SIGNATURE----- diff --git a/media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch b/media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch new file mode 100644 index 000000000000..6b3f8a7d870d --- /dev/null +++ b/media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch @@ -0,0 +1,55 @@ +Author: Roland Rosenfeld <roland@debian.org> +Description: Add a format string to fprintf()/sprintf() call instead + of directly printing out Err_Mem. This is needed by harding options. + +--- a/fig2dev/trans_spline.c ++++ b/fig2dev/trans_spline.c +@@ -648,7 +648,7 @@ + F_control *cp; + + if ((cp = (F_control *) malloc(CONTROL_SIZE)) == NULL) +- fprintf(stderr,Err_mem); ++ fprintf(stderr, "%s", Err_mem); + return cp; + } + +@@ -659,7 +659,7 @@ + F_line *l; + + if ((l = (F_line *) malloc(LINOBJ_SIZE)) == NULL) +- fprintf(stderr,Err_mem); ++ fprintf(stderr, "%s", Err_mem); + l->pic = NULL; + l->next = NULL; + l->for_arrow = NULL; +--- a/fig2dev/dev/gencgm.c ++++ b/fig2dev/dev/gencgm.c +@@ -139,7 +139,7 @@ + + if (from) { + figname = malloc(strlen(from)+1); +- sprintf(figname, from); ++ sprintf(figname, "%s", from); + p = strrchr(figname, '/'); + if (p) + figname = p+1; /* remove path from name for comment in file */ +--- a/fig2dev/dev/genmp.c ++++ b/fig2dev/dev/genmp.c +@@ -1150,7 +1150,7 @@ + } + } else { + /* special text in latex mode: just write the text. */ +- fprintf(tfp, t->cstring); ++ fprintf(tfp, "%s", t->cstring); + } + fprintf(tfp," etex;\n"); + +@@ -1164,7 +1164,7 @@ + + fprintf(tfp," picture q;\n"); + fprintf(tfp," q=thelabel.urt(\""); +- fprintf(tfp, t->cstring); ++ fprintf(tfp, "%s", t->cstring); + fprintf(tfp, "\" infont "); + if (t->font<0) { + fprintf(tfp, "defaultfont"); diff --git a/media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch b/media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch new file mode 100644 index 000000000000..bb79ec82c92c --- /dev/null +++ b/media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch @@ -0,0 +1,530 @@ +Author: Roland Rosenfeld <roland@debian.org> +Description: Escape hyphen '-' in man pages + +--- a/doc/fig2dev.1 ++++ b/doc/fig2dev.1 +@@ -63,9 +63,9 @@ + Notes: + .br + .I dvips +-and ++ and + .I xdvi +-must be compiled with the tpic support (-DTPIC) for epic, eepic and tpic to work. ++must be compiled with the tpic support (\-DTPIC) for epic, eepic and tpic to work. + .br + You must have ghostscript and ps2pdf, which comes with the ghostscript distribution + to get the pdf output and the bitmap formats (png, jpeg, etc.), and the netpbm (pbmplus) +@@ -81,16 +81,16 @@ + + .TP + .B "\-D +/-rangelist" +-With +rangelist, keep only those depths in the list. With -rangelist, keep all ++With +rangelist, keep only those depths in the list. With \-rangelist, keep all + depths except those in the list. The rangelist may be a list of comma-separated +-numbers or ranges separated by colon (:). For example, -D +10,40,55:70,80 ++numbers or ranges separated by colon (:). For example, \-D +10,40,55:70,80 + means keep only layers 10, 40, 55 \fBthrough\fR 70, and 80. + + .TP +-.B -K +-The selection of the depths with the '-D +/-rangelist' option does normally not ++.B \-K ++The selection of the depths with the '\-D +/\-rangelist' option does normally not + affect the calcualtion of the bounding box. Thus the generated document might +-have a much larger bounding box than necessary. If -K is given then the ++have a much larger bounding box than necessary. If \-K is given then the + bounding box is adjusted to include only those objects in the selected depths. + + .TP +@@ -107,10 +107,10 @@ + .TP + .B "\-G minor[:major][:unit]" + Draws a grid on the page. Specify thin, or thin and thick line +-spacing in one of several units. For example, "-G .25:1cm" draws a thin, ++spacing in one of several units. For example, "\-G .25:1cm" draws a thin, + gray line every .25 cm and a thicker gray line every 1 cm. Specifying +-"-G 1in" draws a thin line every 1 inch. +-Fractions may be used, e.g. "-G 1/16:1/2in" will draw a thin line every ++"\-G 1in" draws a thin line every 1 inch. ++Fractions may be used, e.g. "\-G 1/16:1/2in" will draw a thin line every + 1/16 inch (0.0625 inch) and a thick line every 1/2 inch. + .br + Allowable units are: i, in, inch, f, ft, feet, c, cm, mm, and m. +@@ -126,7 +126,7 @@ + Set the magnification at which the figure is rendered to + .I mag. + The default is 1.0. +-This may not be used with the maxdimension option (-Z). ++This may not be used with the maxdimension option (\-Z). + + .TP + .B "\-s size" +@@ -141,7 +141,7 @@ + .I maxdimension + inches or cm, depending on whether the figure was saved with + imperial or metric units. +-This may not be used with the magnification option (-m). ++This may not be used with the magnification option (\-m). + + .TP + .I other options +@@ -157,7 +157,7 @@ + something that they won't do with EPS files that have an ASCII preview. + .TP + .B "\-b dummyarg" +-Generate binary output (dummy argument required after the "-b"). ++Generate binary output (dummy argument required after the "\-b"). + + .TP + .B \-r +@@ -335,7 +335,7 @@ + file. + The table must have 21 entries - one for each of the area fill patterns. + Each entry consists of 5 numbers which specify the +-1.) pattern number (-1 - 6), ++1.) pattern number (\-1 - 6), + 2.) pattern length (inches), + 3.) fill type (1 - 5), + 4.) fill spacing (inches) and +@@ -390,7 +390,7 @@ + .TP + .B \-F + Use correct font sizes (points, 1/72 inch) instead of the traditional size that xfig/fig2dev uses, +-which is (1/80 inch). The corresponding xfig command-line option is -correct_font_size. ++which is (1/80 inch). The corresponding xfig command-line option is \-correct_font_size. + + .TP + .B \-g color +@@ -403,13 +403,13 @@ + Convert all colors to grayscale. + + .TP +-.B -S smoothfactor ++.B \-S smoothfactor + This will smooth the output by passing + .I smoothfactor + to ghostscript in the +-.I -dTextAlphaBits ++.I \-dTextAlphaBits + and +-.I -dGraphicsAlphaBits ++.I \-dGraphicsAlphaBits + options to improve font rendering and graphic smoothing. + A value of 2 for + .I smoothfactor +@@ -418,7 +418,7 @@ + .SH GIF OPTIONS + + .TP +-.B -t color ++.B \-t color + Use + .I color + for the transparent color in the GIF file. This must be specified +@@ -428,7 +428,7 @@ + + .SH JPEG OPTIONS + .TP +-.B -q image_quality ++.B \-q image_quality + use the integer value + .I image_quality + for the JPEG "Quality" factor. Valid values are 0-100, with the default being 75. +@@ -495,7 +495,7 @@ + .I fig2dev + scales the figure by 1/8 before generating METAFONT code. + The magnification can be further changed with the +-.B -m ++.B \-m + option or by giving magnification options to + .B mf. + .LP +@@ -506,33 +506,33 @@ + under the subdirectory: graphics/mfpic + + .TP +-.B -C code ++.B \-C code + specifies the starting METAFONT font code. The default is 32. + .TP +-.B -n name ++.B \-n name + specifies the name to use in the output file. + .TP +-.B -p pen_magnification ++.B \-p pen_magnification + specifies how much the line width should be magnified compared to the + original figure. The default is 1. + .TP +-.B -t top ++.B \-t top + specifies the top of the whole coordinate system. The default is + .B ypos. + .TP +-.B -x xmin ++.B \-x xmin + specifies the minimum x coordinate value of the figure (inches). The + default is 0. + .TP +-.B -y ymin ++.B \-y ymin + specifies the minumum y coordinate value of the figure (inches). The + default is 0. + .TP +-.B -X xmax ++.B \-X xmax + specifies the maximum x coordinate value of the figure (inches). The + default is 8. + .TP +-.B -Y ymax ++.B \-Y ymax + specifies the maximum y coordinate value of the figure (inches). The + default is 8. + +@@ -546,7 +546,7 @@ + Include file content as additional header. + + .TP +-.B -o ++.B \-o + Old mode (no latex). + + .TP +@@ -597,15 +597,15 @@ + Set encoding for latex text translation (0 no translation, 1 ISO-8859-1, 2 ISO-8859-2) + + .SH GBX OPTIONS (Gerber, RS-247-X) +-Typically you will wish to set the y scale to -1. See +-.B -g ++Typically you will wish to set the y scale to \-1. See ++.B \-g + for more information. + .TP +-.B -d [mm|in] ++.B \-d [mm|in] + Output dimensions should be assumed to be millimeters (mm) or inches + (in). The default is millimeters. + .TP +-.B -p [pos|neg] ++.B \-p [pos|neg] + Select the image polarity. For positive images lines drawn in the fig + file will generate lines of material. For negative images lines drawn + in the fig file will result in removed material. Consider etching a +@@ -613,29 +613,29 @@ + choosing 'neg' will result in these lines being etched through the + chrome, leaving transparent lines. + .TP +-.B -g <x scale>x<y scale>+<x offset>+<y offset> ++.B \-g <x scale>x<y scale>+<x offset>+<y offset> + This controls the geometry of the output, scaling the dimensions as + shown and applying the given offset. Typically you will wish to set +-the y scale to -1, mirroring about the x axis. This is because Gerber ++the y scale to \-1, mirroring about the x axis. This is because Gerber + assumes the origin to be bottom left, while xfig selects top left. + .TP +-.B -f <n digits>.<n digits> ++.B \-f <n digits>.<n digits> + This controls the number of digits of precision before and after the +-implied decimal point. With -f 5.3 the following number 12345678 +-corresponds to 12345.678. Whereas with -f 3.5 it corresponds to ++implied decimal point. With \-f 5.3 the following number 12345678 ++corresponds to 12345.678. Whereas with \-f 3.5 it corresponds to + 123.45678. The default is for 3 places before the decimal point and 5 + after. This corresponds, to a range of 0 to 1m in 10 micron + increments. + .TP +-.B -i [on|off] ++.B \-i [on|off] + Controls the output of comments describing the type of objects being + output. The text appears as comments starting with ## on each line in + the output file. By default this is on. + + .SH POSTSCRIPT, ENCAPSULATED POSTSCRIPT (EPS), and PDF OPTIONS + With PostScript, xfig can be used to create multiple page figures +-Specify the -M option to produce a multi-page output. +-For posters, add -O to overlap the pages slightly to get around the problem of ++Specify the \-M option to produce a multi-page output. ++For posters, add \-O to overlap the pages slightly to get around the problem of + the unprintable area in most printers, then cut and paste the pages together. + Due to memory limitations of most laser printers, the figure should not + have large imported images (bitmaps). Great for text with very big letters. +@@ -658,7 +658,7 @@ + .LP + The EPS driver has the following two special options: + .TP +-.B -B 'Wx [Wy X0 Y0]' ++.B \-B 'Wx [Wy X0 Y0]' + This specifies that the bounding box of the EPS file should have the + width Wx and the height Wy. + Note that it doesn't scale the figure to this size, it merely sets the bounding box. +@@ -667,13 +667,13 @@ + screen (0,0) (upper-left). + Wx, Wy, X0 and Y0 are interpreted in centimeters or inches depending on the measure + given in the fig-file. +-Remember to put either quotes (") or apostrophes (') to group the arguments to -B. ++Remember to put either quotes (") or apostrophes (') to group the arguments to \-B. + .TP +-.B -R 'Wx [Wy X0 Y0]' +-Same as the -B option except that X0 and Y0 is relative to the lower ++.B \-R 'Wx [Wy X0 Y0]' ++Same as the \-B option except that X0 and Y0 is relative to the lower + left corner of the + .B figure. +-Remember to put either quotes (") or apostrophes (') to group the arguments to -R. ++Remember to put either quotes (") or apostrophes (') to group the arguments to \-R. + .LP + The PDF driver uses all the PostScript options. + .LP +@@ -697,106 +697,106 @@ + In addition, there are 16 patterns such as bricks, diagonal lines, + crosshatch, etc. + .TP +-.B -A ++.B \-A + Add an ASCII (EPSI) preview. + .TP +-.B -b borderwidth ++.B \-b borderwidth + Make blank border around figure of width + .I borderwidth. + .br +-Not availble in EPS. ++Not available in EPS. + + .TP +-.B -C dummy_arg ++.B \-C dummy_arg + Add a color *binary* TIFF preview for Microsoft products that need a binary preview. +-See also -T (monochrome preview). A dummy argument must be supplied for historical reasons. ++See also \-T (monochrome preview). A dummy argument must be supplied for historical reasons. + .TP +-.B -c ++.B \-c + option centers the figure on the page. + The centering may not be accurate if there are texts in the + .I fig_file + that extends too far to the right of other objects. + .TP +-.B -e ++.B \-e + option puts the figure against the edge (not centered) of the page. +-Not availble in EPS. ++Not available in EPS. + + .TP +-.B -F ++.B \-F + Use correct font sizes (points) instead of the traditional size that xfig/fig2dev uses, +-which is 1/80 inch. The corresponding xfig command-line option is -correct_font_size. ++which is 1/80 inch. The corresponding xfig command-line option is \-correct_font_size. + + .TP +-.B -g color ++.B \-g color + Use + .I color + for the background. + .TP +-.B -l dummy_arg ++.B \-l dummy_arg + Generate figure in landscape mode. The dummy argument is ignored, + but must appear on the command line for reasons of compatibility. + This option will override the orientation specification in the + file (for file versions 3.0 and higher). + .br +-Not availble in EPS. ++Not available in EPS. + .TP +-.B -M ++.B \-M + Generate multiple pages if figure exceeds paper size. + .br +-Not availble in EPS. ++Not available in EPS. + .TP + .B \-N + Convert all colors to grayscale. + + .TP +-.B -n name ++.B \-n name + Set the Title part of the PostScript output to + .I name. + This is useful when the input to + .I fig2dev + comes from standard input. + .TP +-.B -O ++.B \-O + When used with \fB-M\fR, + overlaps the pages slightly to get around the problem of + the unprintable area in most printers. + .br +-Not availble in EPS. ++Not available in EPS. + .TP +-.B -p dummy_arg ++.B \-p dummy_arg + Generate figure in portrait mode. The dummy argument is ignored, + but must appear on the command line for reasons of compatibility. + This option will override the orientation specification in the + file (for file versions 3.0 and higher). + This is the default for Fig files of version 2.1 or lower. + .br +-Not availble in EPS. ++Not available in EPS. + + .TP +-.B -T ++.B \-T + Add a monochrome *binary* TIFF preview for Microsoft products that need a binary preview. +-See also -C (color preview). ++See also \-C (color preview). + .TP + .TP +-.B -x offset ++.B \-x offset + shift the figure in the X direction by + .I offset + units (1/72 inch). + A negative value shifts the figure to the left and a positive value to the right. + .br +-Not availble in EPS. ++Not available in EPS. + .TP +-.B -y offset ++.B \-y offset + shift the figure in the Y direction by + .I offset + units (1/72 inch). + A negative value shifts the figure up and a positive value down. + .br +-Not availble in EPS. ++Not available in EPS. + .TP +-.B -z papersize ++.B \-z papersize + Sets the papersize. +-Not availble in EPS. ++Not available in EPS. + .br + Available paper sizes are: + .nf +@@ -839,17 +839,17 @@ + special text. + + .TP +-.B -F ++.B \-F + Use correct font sizes (points) instead of the traditional size that xfig/fig2dev uses, +-which is 1/80 inch. The corresponding xfig command-line option is -correct_font_size. ++which is 1/80 inch. The corresponding xfig command-line option is \-correct_font_size. + + .TP +-.B -g color ++.B \-g color + Use + .I color + for the background. + .TP +-.B -n name ++.B \-n name + sets the Title part of the PostScript output to + .I name. + This is useful when the input to +@@ -876,7 +876,7 @@ + LaTeX document. With this option on, you can set the font from your LaTeX + document (like "\fB\\sfshape \\input picture.eepic\fR"). + .TP +-.B -p file ++.B \-p file + specifies the name of the PostScript file to be overlaid. + If not set or its value is null then no PS file will be inserted. + +@@ -977,7 +977,7 @@ + .TP + .B \-P + Shorthand for +-.B -n 3 ++.B \-n 3 + . + + .TP +@@ -992,7 +992,7 @@ + directory! Don't put your stuff here. The + .B includegraphics + commands in the output file refer to this directory. Even +-if the -p option is not used, ++if the \-p option is not used, + .B includegrpahics + commands follow this convention with the default directory + .I "\./eps". +@@ -1064,26 +1064,26 @@ + + .SH TK and PTK OPTIONS (tcl/tk and Perl/tk) + .TP +-.B -l dummy_arg ++.B \-l dummy_arg + Generate figure in landscape mode. The dummy argument is ignored, + but must appear on the command line for reasons of compatibility. + This option will override the orientation specification in the + file (for file versions 3.0 and higher). + .TP +-.B -p dummy_arg ++.B \-p dummy_arg + Generate figure in portrait mode. The dummy argument is ignored, + but must appear on the command line for reasons of compatibility. + This option will override the orientation specification in the + file (for file versions 3.0 and higher). + This is the default for Fig files of version 2.1 or lower. + .TP +-.B -P ++.B \-P + Generate canvas of full page size instead of using the bounding box + of the figure's objects. The default is to use only the bounding box. + .TP +-.B -z papersize ++.B \-z papersize + Sets the papersize. See the POSTSCRIPT OPTIONS for available paper sizes. +-This is only used when the -P option (use full page) is used. ++This is only used when the \-P option (use full page) is used. + + .SH "SEE ALSO" + [x]fig(1), +--- a/doc/transfig.1 ++++ b/doc/transfig.1 +@@ -3,11 +3,11 @@ + transfig \- creates a makefile for portable LaTeX figures + .SH SYNOPSIS + .B transfig +-[ -L \fIlanguage\fR ] +-[ -M \fImakefile\fR ] +-[ -T \fItexfile\fR ] +-[ -I \fImacrofile\fR ] +-[ -V ] ++[ \-L \fIlanguage\fR ] ++[ \-M \fImakefile\fR ] ++[ \-T \fItexfile\fR ] ++[ \-I \fImacrofile\fR ] ++[ \-V ] + [ \fIcontrol_specs\fR figfile ... ] + .SH DESCRIPTION + .I Transfig +@@ -76,13 +76,13 @@ + is the default. + .PP + The names of the makefile and TeX macro file can be set with the +--M and -T options. ++\-M and \-T options. + The default names are "Makefile" and "transfig.tex", respectively. + If there is already an existing \fImakefile\fR in the directory, transfig + first renames it to \fImakefile~\fR. The same holds for any existing TeX macro file. +-If the -I option is specified, then a command to read in \fImacrofile\fR is ++If the \-I option is specified, then a command to read in \fImacrofile\fR is + inserted into the TeX macro file. +-If the -V option is specified, the program version number is printed only. ++If the \-V option is specified, the program version number is printed only. + .PP + Control specifiers are + .TP diff --git a/media-gfx/transfig/files/transfig-3.2.5e-typos.patch b/media-gfx/transfig/files/transfig-3.2.5e-typos.patch new file mode 100644 index 000000000000..0a0e5cd60b1e --- /dev/null +++ b/media-gfx/transfig/files/transfig-3.2.5e-typos.patch @@ -0,0 +1,25 @@ +Author: Roland Rosenfeld <roland@debian.org> +Description: Fix some spelling errors in the binaries + +--- a/fig2dev/dev/readgif.c ++++ b/fig2dev/dev/readgif.c +@@ -151,7 +151,7 @@ + + if (c == '!') { /* Extension */ + if (! ReadOK(file,&c,1)) +- fprintf(stderr,"GIF read error on extention function code\n"); ++ fprintf(stderr,"GIF read error on extension function code\n"); + (void) DoGIFextension(file, c); + continue; + } +--- a/fig2dev/read.c ++++ b/fig2dev/read.c +@@ -109,7 +109,7 @@ + /* Format error; relevant error message is already delivered */ + } + else +- put_msg("File \"%s\" is not accessable; %s", file, strerror(err)); ++ put_msg("File \"%s\" is not accessible; %s", file, strerror(err)); + } + + /********************************************************** diff --git a/media-gfx/transfig/metadata.xml b/media-gfx/transfig/metadata.xml index 91f4e72fb544..3eece155aa85 100644 --- a/media-gfx/transfig/metadata.xml +++ b/media-gfx/transfig/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>maintainer-needed@gentoo.org</email> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> </maintainer> </pkgmetadata> diff --git a/media-gfx/transfig/transfig-3.2.5e.ebuild b/media-gfx/transfig/transfig-3.2.5e.ebuild new file mode 100644 index 000000000000..bca4ace7cd90 --- /dev/null +++ b/media-gfx/transfig/transfig-3.2.5e.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5e.ebuild,v 1.1 2014/06/08 19:49:07 pva Exp $ + +EAPI="4" +inherit toolchain-funcs eutils flag-o-matic multilib + +MY_P=${PN}.${PV} + +DESCRIPTION="A set of tools for creating TeX documents with graphics" +HOMEPAGE="http://www.xfig.org/" +SRC_URI="mirror://sourceforge/mcj/${MY_P}.tar.gz + mirror://gentoo/fig2mpdf-1.1.2.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="x11-libs/libXpm + virtual/jpeg + media-libs/libpng + x11-apps/rgb" +DEPEND="${RDEPEND} + x11-misc/imake + app-text/rman" + +S=${WORKDIR}/${MY_P} + +sed_Imakefile() { + # see fig2dev/Imakefile for details + vars2subs="BINDIR=${EPREFIX}/usr/bin + MANDIR=${EPREFIX}/usr/share/man/man\$\(MANSUFFIX\) + XFIGLIBDIR=${EPREFIX}/usr/share/xfig + PNGINC=-I${EPREFIX}/usr/include/X11 + XPMINC=-I${EPREFIX}/usr/include/X11 + USEINLINE=-DUSE_INLINE + RGB=${EPREFIX}/usr/share/X11/rgb.txt + FIG2DEV_LIBDIR=${EPREFIX}/usr/share/fig2dev" + + for variable in ${vars2subs} ; do + varname=${variable%%=*} + varval=${variable##*=} + sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@" + done +} + +src_prepare() { + find . -type f -exec chmod a-x '{}' \; + find . -name Makefile -delete + epatch "${FILESDIR}"/${PN}-3.2.5d-fig2mpdf-r1.patch + epatch "${FILESDIR}"/${PN}-3.2.5c-maxfontsize.patch + epatch "${FILESDIR}"/${PN}-3.2.5-solaris.patch + epatch "${FILESDIR}"/${PN}-3.2.5e-typos.patch + epatch "${FILESDIR}"/${PN}-3.2.5e-man-hyphen.patch + epatch "${FILESDIR}"/${PN}-3.2.5e-fprintf_format_warnings.patch + + sed -e 's:-L$(ZLIBDIR) -lz::' \ + -e 's: -lX11::' \ + -i fig2dev/Imakefile || die + sed_Imakefile fig2dev/Imakefile fig2dev/dev/Imakefile +} + +src_compile() { + xmkmf || die "xmkmf failed" + emake Makefiles + + emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \ + USRLIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" \ + ${transfig_conf} install install.man + + dobin "${WORKDIR}/fig2mpdf/fig2mpdf" + doman "${WORKDIR}/fig2mpdf/fig2mpdf.1" + + insinto /usr/share/fig2dev/ + newins "${FILESDIR}/transfig-ru_RU.CP1251.ps" ru_RU.CP1251.ps + newins "${FILESDIR}/transfig-ru_RU.KOI8-R.ps" ru_RU.KOI8-R.ps + newins "${FILESDIR}/transfig-uk_UA.KOI8-U.ps" uk_UA.KOI8-U.ps + + dohtml "${WORKDIR}/fig2mpdf/doc/"* || die + + mv "${ED}"/usr/bin/fig2ps2tex{.sh,} || die #338295 + + dodoc README CHANGES LATEX.AND.XFIG NOTES +} + +pkg_postinst() { + elog "Note, that defaults are changed and now if you don't want to ship" + elog "personal information into output files, use fig2dev with -a option." +} |