diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2010-12-06 01:11:34 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2010-12-06 01:11:34 +0300 |
commit | c5d3c86893aa4060b11b4480389257567204e987 (patch) | |
tree | 285cadb5f99e6f2578b35b783103651c45f85dca /media-gfx | |
parent | virtual/jpeg: fontforge update (diff) | |
download | bircoph-c5d3c86893aa4060b11b4480389257567204e987.tar.gz bircoph-c5d3c86893aa4060b11b4480389257567204e987.tar.bz2 bircoph-c5d3c86893aa4060b11b4480389257567204e987.zip |
virtual/jpeg: transfig update is already in portage
Diffstat (limited to 'media-gfx')
18 files changed, 0 insertions, 2709 deletions
diff --git a/media-gfx/transfig/ChangeLog b/media-gfx/transfig/ChangeLog deleted file mode 100644 index 71186a1..0000000 --- a/media-gfx/transfig/ChangeLog +++ /dev/null @@ -1,221 +0,0 @@ -# ChangeLog for media-gfx/transfig -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.55 2010/09/28 14:41:51 pva Exp $ - -*transfig-3.2.5d (28 Sep 2010) - - 28 Sep 2010; Peter Volkov <pva@gentoo.org> +transfig-3.2.5d.ebuild, - +files/transfig-3.2.5d-fig2mpdf.patch: - Version bump. Use POSIX shell compatible fig2ps2tex.sh to avoid dependency - on tcsh, bug #338295, thank Nathan Phillip Brink (ohnobinki) for report. - - 31 Jan 2010; Markus Meier <maekke@gentoo.org> transfig-3.2.5c.ebuild: - amd64 stable, bug #264575 - - 24 Jan 2010; Raúl Porcel <armin76@gentoo.org> transfig-3.2.5c.ebuild: - alpha/ia64/sparc stable wrt #264575 - - 23 Jan 2010; Christian Faulhammer <fauli@gentoo.org> - transfig-3.2.5c.ebuild: - stable x86, security bug 264575 - - 23 Jan 2010; Brent Baude <ranger@gentoo.org> transfig-3.2.5c.ebuild: - Marking transfig-3.2.5c ppc64 for bug 264575 - -*transfig-3.2.5c (14 Jan 2010) - - 14 Jan 2010; Peter Volkov <pva@gentoo.org> +transfig-3.2.5c.ebuild, - +files/transfig-3.2.5c-avoid_warnings.patch, - +files/transfig-3.2.5c-cups_workaround.patch, - +files/transfig-3.2.5c-fig2mpdf.patch, - +files/transfig-3.2.5c-maxfontsize.patch: - Version bump. Added workaround for printing with cups, fig2mpdf-1.1.2 - patch is separated in two parts to ease applying Debian typo fixes into - manual. - - 02 Dec 2008; Brent Baude <ranger@gentoo.org> transfig-3.2.5-r2.ebuild: - Marking transfig-3.2.5-r2 ppc64 for bug 244957 - - 03 Nov 2008; Raúl Porcel <armin76@gentoo.org> transfig-3.2.5-r2.ebuild: - alpha/ia64/sparc stable wrt #244957 - - 02 Nov 2008; Markus Meier <maekke@gentoo.org> transfig-3.2.5-r2.ebuild: - amd64/x86 stable, bug #244957 - - 01 Nov 2008; nixnut <nixnut@gentoo.org> transfig-3.2.5-r2.ebuild: - Stable on ppc wrt bug 244957 - - 30 Oct 2008; Jeroen Roovers <jer@gentoo.org> transfig-3.2.5-r2.ebuild: - Stable for HPPA (bug #244957). - -*transfig-3.2.5-r2 (27 Aug 2008) - - 27 Aug 2008; Peter Volkov <pva@gentoo.org> - +files/transfig-3.2.5-SetFigFont-params.patch, - +files/transfig-3.2.5-arrows-and-QA.patch, - +files/transfig-3.2.5-displaywho.patch, - +files/transfig-3.2.5-fig2ps2tex_bashisms.patch, - +files/transfig-3.2.5-imagemap.patch, +files/transfig-3.2.5-locale.patch, - +files/transfig-ru_RU.CP1251.ps, +files/transfig-ru_RU.KOI8-R.ps, - +files/transfig-uk_UA.KOI8-U.ps, +transfig-3.2.5-r2.ebuild: - Fix export of arrows into PNG, bug #235348, thank renean AT gmx.de for - report. Backported misc debian patches, see patches itself for - descriptions. - -*transfig-3.2.5-r1 (11 May 2008) - - 11 May 2008; Peter Volkov <pva@gentoo.org> - -files/transfig-3.2.4-gcc-3.3.patch, -files/transfig-3.2.4.patch, - -transfig-3.2.4-r2.ebuild, +transfig-3.2.5-r1.ebuild: - Removed executalbe permission and fixed location of misc files which are - installed into XFIGLIBDIR, bug #221243 thank Volkmar Glauche for report. - - 22 Jul 2007; <pva@gentoo.org> transfig-3.2.4-r2.ebuild, - transfig-3.2.5.ebuild: - Removed virtual/x11 dependency. - - 27 Jun 2007; <pva@gentoo.org> -files/transfig-3.2.3d.patch, - -transfig-3.2.3d-r1.ebuild, -transfig-3.2.4-r1.ebuild: - Cleaning old ebuilds. - - 27 Jun 2007; Markus Rothe <corsair@gentoo.org> transfig-3.2.5.ebuild: - Stable on ppc64; bug #183040 - - 26 Jun 2007; Lars Weiler <pylon@gentoo.org> transfig-3.2.5.ebuild: - Stable on ppc; bug #183040. - - 25 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> transfig-3.2.5.ebuild: - Stable on sparc wrt #183040 - - 25 Jun 2007; Raúl Porcel <armin76@gentoo.org> transfig-3.2.5.ebuild: - alpha/ia64/x86 stable wrt #183040 - - 24 Jun 2007; Jeroen Roovers <jer@gentoo.org> transfig-3.2.5.ebuild: - Stable for HPPA (bug #183040). - - 24 Jun 2007; Christoph Mende <angelos@gentoo.org> transfig-3.2.5.ebuild: - Stable on amd64 wrt bug 183040 - - 05 Apr 2007; <pva@gentoo.org> metadata.xml: - Added myself to metadata - do not want to miss bugs. - -*transfig-3.2.5 (02 Apr 2007) - - 02 Apr 2007; <pva@gentoo.org> transfig-3.2.4-r2.ebuild, - +transfig-3.2.5.ebuild: - Version bump. Droped ppc-macos keyword, see media-libs/jpeg ChangeLog. - - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 02 Sep 2006; Jeroen Roovers <jer@gentoo.org> transfig-3.2.4-r2.ebuild: - Stable for HPPA (bug #140903). - - 05 Aug 2006; Jason Wever <weeve@gentoo.org> transfig-3.2.4-r2.ebuild: - Stable on SPARC wrt bug #140903. - - 03 Aug 2006; Joshua Jackson <tsunam@gentoo.org> transfig-3.2.4-r2.ebuild: - Stable x86; bug #140903 - - 13 Jul 2006; Aron Griffis <agriffis@gentoo.org> transfig-3.2.4-r2.ebuild: - Mark 3.2.4-r2 stable on ia64 - - 08 Jul 2006; Lars Weiler <pylon@gentoo.org> transfig-3.2.4-r2.ebuild: - Stable on ppc; gcc-4 related; bug #138099. - - 29 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> - transfig-3.2.4-r2.ebuild: - Respect CFLAGS and LDFLAGS. - - 28 Mar 2006; <malverian@gentoo.org> transfig-3.2.4-r2.ebuild: - Add proper dependencies for modular xorg. Thanks to Andy Kittner in bug #123073 - - 22 Mar 2006; Aron Griffis <agriffis@gentoo.org> transfig-3.2.4-r2.ebuild: - Mark 3.2.4-r2 ~ia64 - - 18 Jan 2006; Donnie Berkholz <spyderous@gentoo.org>; - transfig-3.2.4-r2.ebuild: - Fix dependencies for modular X. - - 31 Oct 2005; Fabian Groffen <grobian@gentoo.org> transfig-3.2.4-r2.ebuild: - Also apply GGC3.3 patch for GCC4. Allows compilation on ppc-macos, marked - ~ppc-macos (bug #110948) - - 13 Sep 2005; Aron Griffis <agriffis@gentoo.org> transfig-3.2.4-r2.ebuild: - Mark 3.2.4-r2 stable on alpha - - 30 May 2005; Sven Wegener <swegener@gentoo.org> transfig-3.2.4-r1.ebuild, - transfig-3.2.4-r2.ebuild: - Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745. - - 16 Dec 2004; Markus Rothe <corsair@gentoo.org> transfig-3.2.4-r2.ebuild: - Stable on ppc64 - - 01 Nov 2004; Markus Rothe <corsair@gentoo.org> transfig-3.2.4-r2.ebuild: - Marked ~ppc64 - - 01 Nov 2004; Markus Rothe <corsair@gentoo.org> transfig-3.2.4-r1.ebuild: - Marked ~ppc64; bug #66756 - - 06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> - transfig-3.2.4-r2.ebuild: - multilib fixes. - -*transfig-3.2.4-r2 (02 Sep 2004) - - 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +transfig-3.2.4-r2.ebuild: - Added shapepatch. Thanks to Geoffrey <geoffrey@andrews.edu>, see bug #20877. - - 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> transfig-3.2.4-r1.ebuild: - Add inherit eutils - - 05 Dec 2003; Jason Wever <weeve@gentoo.org> transfig-3.2.4-r1.ebuild: - Marked stable on sparc. - -*transfig-3.2.4-r1 (18 Apr 2003) - - 06 Nov 2003; Philip Walls <malverian@gentoo.org> files/transfig-3.2.4.patch : - Fixes emerge -K problems, Xpm support, and png support. Thanks to - splite (splite-gentoo@sigint.cs.purdue.edu) for patch. closes #25076 - - 01 Jul 2003; Guy Martin <gmsoft@gentoo.org> transfig-3.2.4-r1.ebuild - Added hppa to KEYWORDS. - - 21 Jul 2003; Will Woods <wwoods@gentoo.org> transfig-3.2.4-r1.ebuild: - Marked stable for alpha - - 24 Jun 2003; Luca Barbato <lu_zero@gentoo.org> transfig-3.2.4-r1.ebuild: - Fixed gcc-3.3 problems. - - 10 May 2003; Jason Wever <weeve@gentoo.org> transfig-3.2.4-r1.ebuild: - Added ~sparc to keywords. - - 18 Apr 2003; Philip Walls <malverian@gentoo.org> transfig-3.2.4.ebuild - files/transfig-3.2.4.patch : - Stopped from installing into /usr/local - Fixes bug #18983 - -*transfig-3.2.4 (08 Jan 2003) - - 08 Jan 2003; Martin Holzer <mholzer@gentoo.org> transfig-3.2.4.ebuild - files/digest-transfig-3.2.4 ChangeLog : - Version bumped. - -*transfig-3.2.3d-r1 (12 Apr 2002) - - 7 Sep 2002; Owen Stampflee <owen@gentoo.org> : - Added PPC to KEYWORDS. - - 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> transfig-3.2.3d-r1.ebuild : - - Added Description, and compile against newer libpng - -*transfig-3.2.3d (1 Feb 2002) - - 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/media-gfx/transfig/Manifest b/media-gfx/transfig/Manifest deleted file mode 100644 index 27d549f..0000000 --- a/media-gfx/transfig/Manifest +++ /dev/null @@ -1,19 +0,0 @@ -AUX transfig-3.2.5-SetFigFont-params.patch 2752 RMD160 334cfeaa24b5385002db3eb563b9bd03cc6dc0dd SHA1 3e46d70610c9dfa8a16618e5423064969d927d53 SHA256 46c95791fde9a09faa87d8d07e3187cf072d5d4d9d9d7114a22a8854de5069e9 -AUX transfig-3.2.5-arrows-and-QA.patch 2661 RMD160 ad907c86ec3a250f573b1723875604f61cc4015c SHA1 f3b6ac53e959c7048a5b3083b0e8e638ceeffc40 SHA256 49958fed60ff845f9d0ea968de7e330d48067dae6e531fb1ff6a946561f18cdd -AUX transfig-3.2.5-displaywho.patch 2119 RMD160 eb4cddc691a91eb13a2edb78cba0936dadeb7104 SHA1 ae500c5a8d2de6fa7fb186a2ac30ac0fb4eabf07 SHA256 84119560e3fe5b164afb03f9d191eda65b352e0afddf0611ecbdb8e3e1291dcb -AUX transfig-3.2.5-fig2ps2tex_bashisms.patch 966 RMD160 bc80f12a31aa1bb7974b18be439e334998cc5d2c SHA1 452ad3288423fd792b93b1c008e3e7bc4f39c732 SHA256 b9d0c6aae25e4bfd72759eb2ee385b1e0b61d23a0923c57e5b3de9f518049e96 -AUX transfig-3.2.5-imagemap.patch 1385 RMD160 ffacdadeab88f03e38e17892acb01646f8681075 SHA1 84fdcd14fe2294532e32c81eabe6f97451a38e98 SHA256 79aef3d182eccccefa7250e2629fded6e5e4a583af49587ff7cdf850784d4583 -AUX transfig-3.2.5-locale.patch 952 RMD160 3b29c06b4e963f5c905fa0ec2ea10e9e4a0b3556 SHA1 489fc7d1545e621ace35e7fa592f935c4ee24a84 SHA256 160024e4657fa4c36dc75bf22195febb4ec221b5bada81be6a3b3a4813f85b16 -AUX transfig-3.2.5c-avoid_warnings.patch 1326 RMD160 99b267415954c17931507a4bc52b3eb527f529e5 SHA1 06621d30e2fb92de4a9184f8bf559c4dc337e151 SHA256 f4d2f7b9f28818ed023dbfa40f5cda4e646406509a9bdb8d613bc247af33b641 -AUX transfig-3.2.5c-cups_workaround.patch 759 RMD160 605188ec440961d1b78a98ead2b441ae6eca85bc SHA1 952d5686aadeb8d2c7f575a3c3b752cca3c2b885 SHA256 c94ad9d36db495f95cd7ddb0c0d805f024338e6b8f9f1ff509571cb60842e538 -AUX transfig-3.2.5c-fig2mpdf.patch 14934 RMD160 f5fcccd8a4bcefccb55d72e364daa992dbb75c30 SHA1 196f9713d243c6f180e64462b11b0d34bb4f910a SHA256 4898da92e863633aca27a5394c927158f30d1994dfc51050d65858a60dc413e7 -AUX transfig-3.2.5c-maxfontsize.patch 1956 RMD160 8412b3ecb17cb6ba2709c2f88708758e588309fa SHA1 e9538ab6fecee996d752bba2ec0969bdcbcffe47 SHA256 b3f1ff76e940a7912f7617a62355d1cc0aec6cc793da1d2472fb3dcb4c2744c6 -AUX transfig-3.2.5d-fig2mpdf.patch 14711 RMD160 2452dd2827ed68966c1fa5b9c1e497829ec79c0d SHA1 414ff24c38ae41a75dc9e7e7c4b741ce273764f7 SHA256 c05a1b2fdf20b18c9b69fd271194d54588ab28244b411011290d4cb7a9dc55e1 -AUX transfig-ru_RU.CP1251.ps 6079 RMD160 0a1d988be40290aec8e6b8d254738b276acfb4e8 SHA1 253ae79c14c26af0c7e4fac50106694b4223b164 SHA256 8b3ce8f098776fb8ed1623903fe4af70e439d708e6b58444c72023c2b4d45a3c -AUX transfig-ru_RU.KOI8-R.ps 6015 RMD160 a5aa1cbb23e5e65cee9f08f206d06120cbe45613 SHA1 4fe1c011e58753a2f6bd28dc0d9436cbf45a7701 SHA256 af71380057217460eb476e9a6800e3c7bbe22db44420d0d5d6939bd3321a4c86 -AUX transfig-uk_UA.KOI8-U.ps 6023 RMD160 d0cf1242eac3122039306b06da0cc83a5fbb941a SHA1 a56f0cc4c5abaa43da454bc8ef6757e02e6b5fde SHA256 b71427fb5e938ee285aea7290af41bcfc1f6820520f5ca7a2746dd51c00b5eee -DIST fig2mpdf-1.1.2.tar.bz2 191438 RMD160 105b6d279dc1fb533eeb325104837b145b058915 SHA1 e8084c2d70570f0cbf118c73793bad44282e9a71 SHA256 35f02293592244d5ff4a7a60e00023696c05dec855495871226c67669ba4daf3 -DIST transfig.3.2.5d.tar.gz 497451 RMD160 6d6aff522bd9e886029bf317e7b9dcd495a5c0ef SHA1 90ff277cc9b3fa0d0313052fcf5e3ffad8652abc SHA256 ae81214177fb05f91f6e43b0b42633b6e0024570cbc6591a3858e12100ce8aaa -EBUILD transfig-3.2.5d.ebuild 2454 RMD160 e9b7cdb39fcd990e9b0232e61c6fab9b17df79d0 SHA1 8f029e81b05e2551dc18519a8240fe7c57a55c3e SHA256 90c1fd52c9694d25df10270d61e35b771ca4494dad14f359f803912636c79555 -MISC ChangeLog 8156 RMD160 10210e6cb2264cb4d883c25e1734db2be4066d90 SHA1 7c5ad52895d469e0785f1bd3195e895e8027a13d SHA256 5d3a830ac60b10cf84a03294d63e424fadd0f9039a6feff318e1b33aadc22b1d -MISC metadata.xml 250 RMD160 f27bc8272125f15d03c2bfc87e961842bdb303ae SHA1 c4991bbfca89085d81f56ed53f8b0c827a35a4f1 SHA256 68999dde540491efec63a8f47366dbc2d5f2c9f2c1211709d92366a56b6cd27d diff --git a/media-gfx/transfig/files/transfig-3.2.5-SetFigFont-params.patch b/media-gfx/transfig/files/transfig-3.2.5-SetFigFont-params.patch deleted file mode 100644 index a698de7..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-SetFigFont-params.patch +++ /dev/null @@ -1,72 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 11_SetFigFont-params.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Rename TeX macro \SetFigFont to \SetFigFontNFSS if NFSS ist defined. -## DP: this should work around problems of users using PSTEX files generated -## DP: by old and by new fig2dev in the same document. - -@DPATCH@ -diff -urNad transfig~/fig2dev/dev/genepic.c transfig/fig2dev/dev/genepic.c ---- transfig~/fig2dev/dev/genepic.c -+++ transfig/fig2dev/dev/genepic.c -@@ -1227,10 +1227,10 @@ - - #ifdef NFSS - if ( FontSizeOnly ) -- fprintf(tfp, "{\\SetFigFont{%d}{%.1f}", -+ fprintf(tfp, "{\\SetFigFontNFSS{%d}{%.1f}", - texsize, baselineskip ); - else -- fprintf(tfp, "{\\SetFigFont{%d}{%.1f}{%s}{%s}{%s}", -+ fprintf(tfp, "{\\SetFigFontNFSS{%d}{%.1f}{%s}{%s}{%s}", - texsize, baselineskip, - TEXFAMILY(text->font),TEXSERIES(text->font), - TEXSHAPE(text->font)); -diff -urNad transfig~/fig2dev/dev/genmp.c transfig/fig2dev/dev/genmp.c ---- transfig~/fig2dev/dev/genmp.c -+++ transfig/fig2dev/dev/genmp.c -@@ -1273,7 +1273,7 @@ - /* not default font: set the font and font size. */ - if (! isdefaultfont (t->flags, t->font)) { - #ifdef NFSS -- fprintf(tfp," \\SetFigFont{%d}{%.1f}{%s}{%s}{%s}%%\n", -+ fprintf(tfp," \\SetFigFontNFSS{%d}{%.1f}{%s}{%s}{%s}%%\n", - texsize, baselineskip, - TEXFAMILY(t->font),TEXSERIES(t->font),TEXSHAPE(t->font)); - #else -diff -urNad transfig~/fig2dev/dev/genpictex.c transfig/fig2dev/dev/genpictex.c ---- transfig~/fig2dev/dev/genpictex.c -+++ transfig/fig2dev/dev/genpictex.c -@@ -637,7 +637,7 @@ - baselineskip = (texsize * 1.2); - - #ifdef NFSS -- fprintf(tfp, "\\put{\\SetFigFont{%d}{%.1f}{%s}{%s}{%s}", -+ fprintf(tfp, "\\put{\\SetFigFontNFSS{%d}{%.1f}{%s}{%s}{%s}", - texsize, baselineskip, - TEXFAMILY(t->font),TEXSERIES(t->font),TEXSHAPE(t->font)); - #else -diff -urNad transfig~/fig2dev/dev/setfigfont.c transfig/fig2dev/dev/setfigfont.c ---- transfig~/fig2dev/dev/setfigfont.c -+++ transfig/fig2dev/dev/setfigfont.c -@@ -36,15 +36,15 @@ - - if ( FontSizeOnly ) - fprintf(tfp, "%%\n\ --\\begingroup\\makeatletter\\ifx\\SetFigFont\\undefined%%\n\ --\\gdef\\SetFigFont#1#2{%%\n\ -+\\begingroup\\makeatletter\\ifx\\SetFigFontNFSS\\undefined%%\n\ -+\\gdef\\SetFigFontNFSS#1#2{%%\n\ - \\fontsize{#1}{#2pt}%%\n\ - \\selectfont}%%\n\ - \\fi\\endgroup%%\n"); - else - fprintf(tfp, "%%\n\ --\\begingroup\\makeatletter\\ifx\\SetFigFont\\undefined%%\n\ --\\gdef\\SetFigFont#1#2#3#4#5{%%\n\ -+\\begingroup\\makeatletter\\ifx\\SetFigFontNFSS\\undefined%%\n\ -+\\gdef\\SetFigFontNFSS#1#2#3#4#5{%%\n\ - \\reset@font\\fontsize{#1}{#2pt}%%\n\ - \\fontfamily{#3}\\fontseries{#4}\\fontshape{#5}%%\n\ - \\selectfont}%%\n\ diff --git a/media-gfx/transfig/files/transfig-3.2.5-arrows-and-QA.patch b/media-gfx/transfig/files/transfig-3.2.5-arrows-and-QA.patch deleted file mode 100644 index 6716a7c..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-arrows-and-QA.patch +++ /dev/null @@ -1,68 +0,0 @@ -Source: Patch by renean AT gmx.de, bug #235348. -Upstream: Dead - so no new releases, but they suggested this patch -Reason: When using different arrow shapes, only the basic ones can be exported to any -graphics format. The diamond shaped ones e.g. cannot be exported. - -I wrote to the developer and got answer, that this is a problem of fig2dev in -transfig. - -In the source directory in transfig/fig2dev/bound.c remove the - #ifdef NEWARROWTYPES and the - #endif /* NEWARROWTYPES */ - -I tried it and it works perfectly using the latest version of xfig in portage. -Also removed the QA warnings which were due to missing header inclusions. - -diff -Naur transfig.3.2.5/fig2dev/bound.c transfig.3.2.5-patched/fig2dev/bound.c ---- transfig.3.2.5/fig2dev/bound.c 2005-11-24 00:49:31.000000000 +0100 -+++ transfig.3.2.5-patched/fig2dev/bound.c 2008-08-23 13:33:15.000000000 +0200 -@@ -72,7 +72,6 @@ - { 5, 1, 0, True, True, False, 1.5, {{-0.75,0.5},{0,0},{-0.75,-0.5},{-1.0,0},{-0.75,0.5}}}, - /* type 3b filled convex spearhead */ - { 5, 1, 0, True, True, False, 1.5, {{-0.75,0.5},{0,0},{-0.75,-0.5},{-1.0,0},{-0.75,0.5}}}, --#ifdef NEWARROWTYPES - /* type 4a diamond */ - { 5, 1, 0, True, True, False, 1.15, {{-0.5,0.5},{0,0},{-0.5,-0.5},{-1.0,0},{-0.5,0.5}}}, - /* type 4b filled diamond */ -@@ -120,7 +119,6 @@ - { 4, 0, 0, True, True, False, -1.0, {{0,0.5},{-1.0,0.5},{-1.0,-0.5},{0,-0.5}}}, - /* type 14b backward two-prong fork */ - { 4, 1, 0, True, True, False, 0.0, {{-1.0,0.5,},{0,0.5},{0,-0.5},{-1.0,-0.5}}}, --#endif /* NEWARROWTYPES */ - }; - - void -diff -Naur transfig.3.2.5/transfig/sys.c transfig.3.2.5-patched/transfig/sys.c ---- transfig.3.2.5/transfig/sys.c 2005-10-27 20:23:42.000000000 +0200 -+++ transfig.3.2.5-patched/transfig/sys.c 2008-08-23 13:38:15.614628350 +0200 -@@ -15,6 +15,8 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include "transfig.h" - - #define MAXSYS 10000 -diff -Naur transfig.3.2.5/transfig/transfig.c transfig.3.2.5-patched/transfig/transfig.c ---- transfig.3.2.5/transfig/transfig.c 2003-04-15 20:31:10.000000000 +0200 -+++ transfig.3.2.5-patched/transfig/transfig.c 2008-08-23 13:37:18.706627399 +0200 -@@ -25,6 +25,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include "patchlevel.h" - #include "transfig.h" - -diff -Naur transfig.3.2.5/transfig/txfile.c transfig.3.2.5-patched/transfig/txfile.c ---- transfig.3.2.5/transfig/txfile.c 2003-10-31 19:26:27.000000000 +0100 -+++ transfig.3.2.5-patched/transfig/txfile.c 2008-08-23 13:37:33.530628914 +0200 -@@ -15,6 +15,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include "transfig.h" - - /* diff --git a/media-gfx/transfig/files/transfig-3.2.5-displaywho.patch b/media-gfx/transfig/files/transfig-3.2.5-displaywho.patch deleted file mode 100644 index e5f3042..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-displaywho.patch +++ /dev/null @@ -1,72 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 04_displaywho.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Remove comment "For: <user>@<host> (<Realname>)" from PS files -## DP: (generated in genps.c and genpictex.c), because we won't ship personal -## DP: information in output files (Closes: #316382). - -@DPATCH@ ---- transfig~/fig2dev/dev/genpictex.c -+++ transfig/fig2dev/dev/genpictex.c -@@ -125,7 +125,9 @@ - { - char host[256]; - time_t when; -+#ifdef DISPLAYWHO - struct passwd *who; -+#endif - - texfontsizes[0] = texfontsizes[1] = - TEXFONTSIZE(font_size != 0.0? font_size : DEFAULT_FONT_SIZE); -@@ -139,12 +141,16 @@ - fprintf(tfp, "%%%%Created by: %s Version %s Patchlevel %s\n", - prog, VERSION, PATCHLEVEL); - fprintf(tfp, "%%%%CreationDate: %s", ctime(&when)); -+#ifdef DISPLAYWHO - who = getpwuid(getuid()); -+#endif - if (gethostname(host, sizeof(host)) == -1) - (void)strcpy(host, "unknown-host!?!?"); -+#ifdef DISPLAYWHO - if (who) - fprintf(tfp, "%%%%User: %s@%s (%s)\n", - who->pw_name, host, who->pw_gecos); -+#endif - - /* print any whole-figure comments prefixed with "% " */ - if (objects->comments) { ---- transfig~/fig2dev/dev/genps.c -+++ transfig/fig2dev/dev/genps.c -@@ -449,7 +449,9 @@ - F_compound *objects; - { - char host[256]; -+#ifdef DISPLAYWHO - struct passwd *who; -+#endif - time_t when; - int itmp, jtmp; - int i; -@@ -618,7 +620,9 @@ - else - fprintf(tfp, "%%!PS-Adobe-2.0\n"); /* PostScript magic strings */ - -+#ifdef DISPLAYWHO - who = getpwuid(getuid()); -+#endif - if (gethostname(host, sizeof(host)) == -1) - (void)strcpy(host, "unknown-host!?!?"); - (void) time(&when); -@@ -627,9 +631,11 @@ - fprintf(tfp, "%%%%Creator: %s Version %s Patchlevel %s\n", - prog, VERSION, PATCHLEVEL); - fprintf(tfp, "%%%%CreationDate: %s", ctime(&when)); -+#ifdef DISPLAYWHO - if (who) - fprintf(tfp, "%%%%For: %s@%s (%s)\n", - who->pw_name, host, who->pw_gecos); -+#endif DISPLAYWHO - - /* calc initial clipping area to size of the bounding box (this is needed - for later clipping by arrowheads */ diff --git a/media-gfx/transfig/files/transfig-3.2.5-fig2ps2tex_bashisms.patch b/media-gfx/transfig/files/transfig-3.2.5-fig2ps2tex_bashisms.patch deleted file mode 100644 index 8e26ee4..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-fig2ps2tex_bashisms.patch +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 18_fig2ps2tex_bashisms.dpatch by Chris Lamb <chris@chris-lamb.co.uk> - -## DP: Fix Bashisms in fig2ps2tex /bin/sh script - -@DPATCH@ -diff -urNad transfig-3.2.5-rel.orig/fig2dev/fig2ps2tex.sh.script transfig-3.2.5-rel/fig2dev/fig2ps2tex.sh.script ---- transfig-3.2.5-rel.orig/fig2dev/fig2ps2tex.sh.script 2008-05-24 16:04:20.000000000 +0100 -+++ transfig-3.2.5-rel/fig2dev/fig2ps2tex.sh.script 2008-05-24 16:27:35.000000000 +0100 -@@ -14,11 +14,11 @@ - xsp=`echo "scale=3; ( $bbox4 - $bbox2 ) / 72" | bc` - ysp=`echo "scale=3; ( $bbox5 - $bbox3 ) / 72" | bc` - --echo "\makebox[${xsp}in][l]{" --echo " \vbox to ${ysp}in{" --echo " \vfill" --echo " \special{psfile=$1}" --echo " }" --echo " \vspace{-\baselineskip}" --echo "}" -+printf "\makebox[${xsp}in][l]{\n" -+printf " \\\vbox to ${ysp}in{\n" -+printf " \\\vfill\n" -+printf " \special{psfile=$1}\n" -+printf " }\n" -+printf " \\\vspace{-\\\baselineskip}\n" -+printf "}\n" - diff --git a/media-gfx/transfig/files/transfig-3.2.5-imagemap.patch b/media-gfx/transfig/files/transfig-3.2.5-imagemap.patch deleted file mode 100644 index f1fed0d..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-imagemap.patch +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 12_PNG_imagemap.dpatch by Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Use PNG instead of GIF in HTML image maps. - -@DPATCH@ -diff -urNad transfig~/doc/fig2dev.1 transfig/doc/fig2dev.1 ---- transfig~/doc/fig2dev.1 -+++ transfig/doc/fig2dev.1 -@@ -473,7 +473,7 @@ - that have href="some_html_reference" in their comments. - Any Fig object except compound objects may used for this. - Usually, besides generating the map file, you would also --generate a GIF file, which is the image to which the map refers. -+generate a PNG file, which is the image to which the map refers. - .sp - For example, you may have an xfig drawing with an - imported image that has the comment -diff -urNad transfig~/fig2dev/dev/genmap.c transfig/fig2dev/dev/genmap.c ---- transfig~/fig2dev/dev/genmap.c -+++ transfig/fig2dev/dev/genmap.c -@@ -172,7 +172,7 @@ - fprintf(tfp, "<P>You can copy the following lines into your HTML document.\n"); - fprintf(tfp, "You may need to edit the name of the image file in the first line.</P>\n"); - fprintf(tfp, "\n"); -- fprintf(tfp, "<IMG SRC=\"%s.gif\" USEMAP=\"#%s\">\n", basename, basename); -+ fprintf(tfp, "<IMG SRC=\"%s.png\" USEMAP=\"#%s\">\n", basename, basename); - fprintf(tfp, "<MAP NAME=\"%s\">\n", basename); - - ref = is_link(objects->comments); diff --git a/media-gfx/transfig/files/transfig-3.2.5-locale.patch b/media-gfx/transfig/files/transfig-3.2.5-locale.patch deleted file mode 100644 index 12dc63b..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5-locale.patch +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 05_locale.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: fix locale settings. - -Set LC_CTYPE otherwise we will have strange effects with LC_NUMERIC creating -"," as the decimal separator, which is wrong for postscript code. - -@DPATCH@ ---- transfig~/fig2dev/dev/genps.c -+++ transfig/fig2dev/dev/genps.c -@@ -42,6 +42,7 @@ - #include "bound.h" - #include "psencode.h" - #include "psfonts.h" -+#include <locale.h> - - /* for the xpm package */ - #ifdef USE_XPM ---- transfig~/fig2dev/fig2dev.c -+++ transfig/fig2dev/fig2dev.c -@@ -24,6 +24,7 @@ - #include <sys/types.h> - #endif - #include <sys/file.h> -+#include <locale.h> - #include "fig2dev.h" - #include "alloc.h" - #include "object.h" -@@ -378,6 +379,7 @@ - F_compound objects; - int status; - -+ setlocale(LC_CTYPE, ""); - #ifdef HAVE_SETMODE - setmode(1,O_BINARY); /* stdout is binary */ - #endif diff --git a/media-gfx/transfig/files/transfig-3.2.5c-avoid_warnings.patch b/media-gfx/transfig/files/transfig-3.2.5c-avoid_warnings.patch deleted file mode 100644 index 1743250..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5c-avoid_warnings.patch +++ /dev/null @@ -1,55 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 07_avoid_warnings.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Some changes to avoid compiler warnings. - -@DPATCH@ -diff -urNad transfig~/fig2dev/dev/genpstex.c transfig/fig2dev/dev/genpstex.c ---- transfig~/fig2dev/dev/genpstex.c -+++ transfig/fig2dev/dev/genpstex.c -@@ -167,6 +167,10 @@ - INCLUDE_TEXT - }; - -+extern void genpdf_option(); -+extern void genpdf_start(); -+extern int genpdf_end(); -+ - struct driver dev_pdftex = { - genpdf_option, - genpdf_start, -diff -urNad transfig~/transfig/sys.c transfig/transfig/sys.c ---- transfig~/transfig/sys.c -+++ transfig/transfig/sys.c -@@ -15,6 +15,8 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include "transfig.h" - - #define MAXSYS 10000 -diff -urNad transfig~/transfig/transfig.c transfig/transfig/transfig.c ---- transfig~/transfig/transfig.c -+++ transfig/transfig/transfig.c -@@ -25,6 +25,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include "patchlevel.h" - #include "transfig.h" - -diff -urNad transfig~/transfig/txfile.c transfig/transfig/txfile.c ---- transfig~/transfig/txfile.c -+++ transfig/transfig/txfile.c -@@ -15,6 +15,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include "transfig.h" - - /* diff --git a/media-gfx/transfig/files/transfig-3.2.5c-cups_workaround.patch b/media-gfx/transfig/files/transfig-3.2.5c-cups_workaround.patch deleted file mode 100644 index d026b98..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5c-cups_workaround.patch +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 19_cups_workaround.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Change PS magic string from PS-Adobe-2.0 to PS to work around -## DP: incompatibilities with CUPS (Closes: #443832). - -@DPATCH@ -diff -urNad transfig~/fig2dev/dev/genps.c transfig/fig2dev/dev/genps.c ---- transfig~/fig2dev/dev/genps.c -+++ transfig/fig2dev/dev/genps.c -@@ -619,7 +619,7 @@ - if (epsflag) - fprintf(tfp, "%%!PS-Adobe-2.0 EPSF-2.0\n"); /* Encapsulated PostScript */ - else -- fprintf(tfp, "%%!PS-Adobe-2.0\n"); /* PostScript magic strings */ -+ fprintf(tfp, "%%!PS\n"); /* PostScript magic strings */ - - #ifdef DISPLAYWHO - who = getpwuid(getuid()); diff --git a/media-gfx/transfig/files/transfig-3.2.5c-fig2mpdf.patch b/media-gfx/transfig/files/transfig-3.2.5c-fig2mpdf.patch deleted file mode 100644 index fd075cb..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5c-fig2mpdf.patch +++ /dev/null @@ -1,529 +0,0 @@ -Creating multiple PDF or EPS figures for overlaying - -http://p3f.gmxhome.de/fig2mpdf/fig2mpdf.html - -This patch includes only transfig driver part. For script itself and example -usage take a look on fig2mpdf-1.1.2.tar.bz2. - -=== modified file 'doc/fig2dev.1' ---- doc/fig2dev.1 2010-01-12 12:50:24 +0000 -+++ doc/fig2dev.1 2010-01-12 12:50:38 +0000 -@@ -53,8 +53,8 @@ - \fBbox, cgm, epic, eepic, eepicemu, emf, eps, gbx (Gerber beta driver), gif, ibmgl, jpeg, - latex, map (HTML image map), mf (MetaFont), - mp (MetaPost), mmp (Multi-MetaPost), --pcx, pdf, pdftex, pdftex_t, pic, pictex, png, ppm, ps, --pstex, pstex_t, ptk (Perl/tk), -+pcx, pdf, pdftex, pdftex_t, pdftex_p, pic, pictex, png, ppm, ps, -+pstex, pstex_t, pstex_p, ptk (Perl/tk), - shape (LaTeX shaped paragraphs), sld (AutoCad slide format), - svg (beta driver), textyl, - tiff, tk (tcl/tk), tpic, xbm and -@@ -880,6 +880,62 @@ - 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. - -+.SH PSTEX_P and PDFTEX_P OPTIONS -+The \fBpstex_p\fR language has the same intention as -+the combination of \fBpstex\fR and \fBpstex_t\fR. -+The only reason to use \fBpstex_p\fR is that you have partially overlayed texts. -+\fBpstex_p\fR splits the Fig file concerning the depths of existing texts. Because -+of it's necessary to get the resulting size of the figure for the pdf document -+you have to specify the target document format -+(i.e. using \fBpstex_p\fR rsp. \fBpdftex_p\fR). -+.br -+Two files results by using this language: -+.br -+.HP +.3i -+1) A bash script for creating and removing the necessary graphics files. -+Extension: \fB.create\fR -+.HP +.3i -+.HP +.3i -+2) The latex code which includes all graphics files and special texts. Content is -+put to stdout. -+ -+.TP -+The \fBpstex_p\fR driver has the following special options: -+ -+.TP -+.B \-p basename -+specifies the basename of the files to be created (see (1) above). This option -+is mandatory. -+.TP -+.B "\-d dmag" -+Set a separate magnification for the length of line dashes to -+.I dmag. -+.TP -+.B \-E num -+Set encoding for latex text translation (0 no translation, 1 ISO-8859-1, 2 ISO-8859-2) -+.TP -+.B "\-l lwidth" -+Sets the threshold between LaTeX thin and thick lines to -+.I lwidth -+pixels. -+LaTeX supports only two different line width: \\thinlines and \\thicklines. -+Lines of width greater than -+.I lwidth -+pixels are drawn as \\thicklines. -+Also affects the size of dots in dotted line style. -+The default is 1. -+.TP -+.B \-v -+Verbose mode. -+.TP -+.B \-F -+Don't set the font face, series, and style; only set it's size and the -+baselineskip. By default, fig2dev sets all 5 font parameters when it -+puts some text. The disadvantage is that you can't set the font from your -+LaTeX document. With this option on, you can set the font from your LaTeX -+document (like "\fB\\sfshape \\input picture.eepic\fR"). -+ -+ - .SH TK and PTK OPTIONS (tcl/tk and Perl/tk) - .TP - .B -l dummy_arg -@@ -925,6 +981,13 @@ - .PP - Rotated text is only supported in the IBM-GL (HP/GL) and PostScript (including eps) - languages. -+.PP -+In \fBpdftex_p\fR language \fIfig2dev\fR can not determine the exact sizes of -+the special texts set by pdflatex afterwards. If these texts are bigger than -+expected the calculated bounding box might be too small so that some texts passes -+over the figure boundaries. If this happen you have to put an invisible -+rectangle (line width 0) around the text or the entire figure. -+ - .SH COPYRIGHT - Copyright (c) 1991 Micah Beck - .br -@@ -1005,3 +1068,7 @@ - The GBX (Gerber) driver was written by - .br - Edward Grace (ej.grace@imperial.ac.uk). -+.sp -+The PSTEX_P and PDFTEX_P drivers (overlayed LaTeX texts) was written by -+.br -+Michael Pfeiffer (p3f@gmx.de) - -=== modified file 'fig2dev/dev/genpstex.c' ---- fig2dev/dev/genpstex.c 2010-01-12 12:50:24 +0000 -+++ fig2dev/dev/genpstex.c 2010-01-12 12:50:38 +0000 -@@ -70,7 +70,307 @@ - genps_end (); - - static char pstex_file[1000] = ""; -- -+static int iObjectsRead = 0; -+static int iTextRead = 0; -+static int iObjectsFileNumber = 0; -+static int iStartDepth; -+static int iLastDepth; -+static FILE * ptCreateFile; -+static char szFileName[1000]; -+static int iLength; -+static int iPdfOutputs = 0; -+ -+#ifdef never -+static double unitlength; -+static double dash_mag = 1.0; -+ -+static int (*translate_coordinates)() = NULL; -+static int (*translate_coordinates_d)() = NULL; -+#else -+extern double unitlength; -+extern double dash_mag; -+ -+extern int (*translate_coordinates)(); -+extern int (*translate_coordinates_d)(); -+#endif -+ -+#define TOP 840 -+#define SWAP(x,y) {tmp=x; x=y; y=tmp;} -+#define TRANS(x,y) (*translate_coordinates)(&x,&y) -+#define TRANS2(x1,y1,x2,y2) (*translate_coordinates)(&x1,&y1); \ -+ (*translate_coordinates)(&x2,&y2) -+#define TRANSD(x,y) (*translate_coordinates_d)(&x,&y) -+ -+static void genpstex_p_finalize_objects(int depth); -+ -+/************************************************************************* -+ *************************************************************************/ -+static -+translate2(xp, yp) -+ int *xp, *yp; -+{ -+ *xp = *xp + 1; -+ *yp = (double)(TOP - *yp -1); -+ } -+ -+static -+translate1_d(xp, yp) -+ double *xp, *yp; -+{ -+ *xp = *xp + 1.0; -+ *yp = *yp + 1.0; -+ } -+ -+static -+translate2_d(xp, yp) -+ double *xp, *yp; -+{ -+ *xp = *xp + 1.0; -+ *yp = (double)TOP - *yp -1.0; -+ } -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_option(opt, optarg) -+char opt, *optarg; -+{ -+ if (opt == 'p') -+ { -+ strcpy(pstex_file, optarg); -+ } -+ else -+ genlatex_option(opt, optarg); -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_start(objects) -+ F_compound *objects; -+{ -+ int tmp; -+ struct stat tStat; -+ long lUnitLength; -+ -+ if (*pstex_file == '\0') -+ { -+ put_msg("Argument -p is mandatory to pstex_p."); -+ exit(1); -+ } -+ -+ strncpy(szFileName, pstex_file, 900); -+ iLength = strlen(szFileName); -+ -+ sprintf(szFileName + iLength, ".create"); -+ ptCreateFile = fopen (szFileName, "wb"); -+ -+ if ( ! ptCreateFile) -+ { -+ put_msg("Couldn't open %s for writing", szFileName); -+ exit(1); -+ } -+ fstat(fileno(ptCreateFile), & tStat); -+ fchmod (fileno(ptCreateFile), tStat.st_mode | ((tStat.st_mode & (S_IRUSR | S_IRGRP | S_IROTH)) >> 2)); -+ fprintf(ptCreateFile, "#!/bin/bash\n\n", szFileName); -+ -+ fprintf(ptCreateFile, "while getopts \"r\" Option\n"); -+ fprintf(ptCreateFile, "do\n"); -+ fprintf(ptCreateFile, " case $Option in\n"); -+ fprintf(ptCreateFile, " r) iOptRemove=1;;\n"); -+ fprintf(ptCreateFile, " *) echo \"illegal option -$Option\"\n"); -+ fprintf(ptCreateFile, " esac\n"); -+ fprintf(ptCreateFile, "done\n"); -+ fprintf(ptCreateFile, "shift $(($OPTIND - 1))\n"); -+ -+ texfontsizes[0] = texfontsizes[1] = -+ TEXFONTSIZE(font_size != 0.0? font_size : DEFAULT_FONT_SIZE); -+ -+ unitlength = mag/ppi; -+ dash_mag /= unitlength*80.0; -+ -+ translate_coordinates = translate2; -+ translate_coordinates_d = translate2_d; -+ -+ TRANS2(llx, lly, urx, ury); -+ if (llx > urx) SWAP(llx, urx) -+ if (lly > ury) SWAP(lly, ury) -+ -+ /* LaTeX start */ -+ -+ /* print any whole-figure comments prefixed with "%" */ -+ if (objects->comments) { -+ fprintf(tfp,"%%\n"); -+ print_comments("% ",objects->comments, ""); -+ fprintf(tfp,"%%\n"); -+ } -+ -+ lUnitLength = (long) (round(4736286.72*unitlength)); -+ fprintf(tfp, "\\setlength{\\unitlength}{%lisp}%%\n", -+ lUnitLength); -+ /* define the SetFigFont macro */ -+ define_setfigfont(tfp); -+ -+ sprintf(szFileName + iLength, ".size"); -+ fprintf(ptCreateFile, "if [ \"$iOptRemove\" == \"\" ]; then\n"); -+ if (iPdfOutputs) -+ fprintf(ptCreateFile, " echo \"\\setlength\\pdfpagewidth{%3.2fpt}\\setlength\\pdfpageheight{%3.2fpt}\" > %s\n", -+ (float) lUnitLength / 65536 * (urx - llx), (float) lUnitLength / 65536 * (ury - lly), szFileName); -+ else -+ fprintf(ptCreateFile, "echo -n\"\" > %s\n", szFileName); -+ fprintf(ptCreateFile, "else\n rm -f %s\nfi\n", szFileName); -+} -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpdftex_p_start(objects) -+ F_compound *objects; -+{ -+ iPdfOutputs = 1; -+ genpstex_p_start(objects); -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+int genpstex_p_end() -+{ -+ if (iTextRead) -+ { -+ fprintf(tfp, "\\end{picture}%%\n"); -+ iTextRead = 0; -+ } -+ if (iObjectsRead) -+ { -+ genpstex_p_finalize_objects(iLastDepth); -+ iObjectsRead = 0; -+ } -+ -+ /* LaTeX ending */ -+ fprintf(tfp, "\\begin{picture}(%d,%d)\n", urx-llx, ury-lly); -+ fprintf(tfp, "\\end{picture}%%\n"); -+ -+ fclose(ptCreateFile); -+ -+ /* all ok */ -+ return 0; -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_finalize_objects(depth) -+int depth; -+{ -+ char szFileName[1000]; -+ int iLength; -+ -+ strncpy(szFileName, pstex_file, 900); -+ iLength = strlen(szFileName); -+ -+ -+ sprintf(szFileName + iLength, "%03d", iObjectsFileNumber++); -+ fprintf(ptCreateFile, "if [ \"$iOptRemove\" == \"\" ]; then\n"); -+ if (iPdfOutputs) -+ { -+ fprintf(ptCreateFile, " %s -L pstex -D +%d:%d %s", prog, depth, iStartDepth, from, szFileName); -+ fprintf(ptCreateFile, " | epstopdf -f --outfile %s.pdf\n", szFileName, szFileName); -+ } -+ else -+ fprintf(ptCreateFile, "%s -L pstex -D +%d:%d %s %s.eps\n", prog, depth, iStartDepth, from, szFileName); -+ fprintf(ptCreateFile, "else\n rm -f %s.", szFileName); -+ if (iPdfOutputs) -+ fprintf(ptCreateFile, "pdf"); -+ else -+ fprintf(ptCreateFile, "eps"); -+ fprintf(ptCreateFile, "\nfi\n"); -+ -+ fprintf(tfp, "\\begin{picture}(0,0)%%\n"); -+/* newer includegraphics directive suggested by Stephen Harker 1/13/99 */ -+#if defined(LATEX2E_GRAPHICS) -+# if defined(EPSFIG) -+ fprintf(tfp, "\\epsfig{file=%s.eps}%%\n",szFileName); -+# else -+ fprintf(tfp, "\\includegraphics{%s}%%\n",szFileName); -+# endif -+#else -+ fprintf(tfp, "\\special{psfile=%s.eps}%%\n",szFileName); -+#endif -+ fprintf(tfp, "\\end{picture}%%\n"); -+} -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_object(depth) -+int depth; -+{ -+ if (iTextRead) -+ { -+ fprintf(tfp, "\\end{picture}%%\n"); -+ iTextRead = 0; -+ } -+ if (iObjectsRead == 0) -+ { -+ iStartDepth = depth; -+ iObjectsRead = 1; -+ } -+ iLastDepth = depth; -+ -+} -+ -+void genpstex_p_arc(obj) -+F_arc *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+ -+void genpstex_p_ellipse(obj) -+F_ellipse *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+void genpstex_p_line(obj) -+F_line *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+void genpstex_p_spline(obj) -+F_spline *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_text(t) -+F_text *t; -+{ -+ -+ if (!special_text(t)) -+ genpstex_p_object(t->depth); -+ else -+ { -+ if (iObjectsRead) -+ { -+ genpstex_p_finalize_objects(iLastDepth); -+ iObjectsRead = 0; -+ } -+ if (iTextRead == 0) -+ { -+ fprintf(tfp, "\\begin{picture}(0,0)(%d,%d)\n", llx, lly); -+ iTextRead = 1; -+ } -+ genlatex_text(t); -+ } -+ -+} -+ -+/************************************************************************* -+ *************************************************************************/ - void genpstex_t_option(opt, optarg) - char opt, *optarg; - { -@@ -112,6 +412,8 @@ - else genlatex_text(t); - } - -+/************************************************************************* -+ *************************************************************************/ - void genpstex_text(t) - F_text *t; - { -@@ -128,6 +430,32 @@ - genlatex_option(opt, optarg); - } - -+struct driver dev_pstex_p = { -+ genpstex_p_option, -+ genpstex_p_start, -+ gendev_null, -+ genpstex_p_arc, -+ genpstex_p_ellipse, -+ genpstex_p_line, -+ genpstex_p_spline, -+ genpstex_p_text, -+ genpstex_p_end, -+ INCLUDE_TEXT -+}; -+ -+struct driver dev_pdftex_p = { -+ genpstex_p_option, -+ genpdftex_p_start, -+ gendev_null, -+ genpstex_p_arc, -+ genpstex_p_ellipse, -+ genpstex_p_line, -+ genpstex_p_spline, -+ genpstex_p_text, -+ genpstex_p_end, -+ INCLUDE_TEXT -+}; -+ - struct driver dev_pstex_t = { - genpstex_t_option, - genpstex_t_start, - -=== modified file 'fig2dev/drivers.h' ---- fig2dev/drivers.h 2010-01-12 12:50:24 +0000 -+++ fig2dev/drivers.h 2010-01-12 12:50:38 +0000 -@@ -30,8 +30,10 @@ - extern struct driver dev_pdf; - extern struct driver dev_pdftex; - extern struct driver dev_pdftex_t; -+extern struct driver dev_pdftex_p; - extern struct driver dev_pstex; - extern struct driver dev_pstex_t; -+extern struct driver dev_pstex_p; - extern struct driver dev_textyl; - extern struct driver dev_tk; - extern struct driver dev_ptk; -@@ -74,6 +76,7 @@ - {"pdf", &dev_pdf}, - {"pdftex", &dev_pdftex}, - {"pdftex_t", &dev_pdftex_t}, -+ {"pdftex_p", &dev_pdftex_p}, - {"pic", &dev_pic}, - {"pictex", &dev_pictex}, - {"png", &dev_bitmaps}, -@@ -81,6 +84,7 @@ - {"ps", &dev_ps}, - {"pstex", &dev_pstex}, - {"pstex_t", &dev_pstex_t}, -+ {"pstex_p", &dev_pstex_p}, - {"ptk", &dev_ptk}, - {"shape", &dev_shape}, - {"sld", &dev_bitmaps}, - -=== modified file 'fig2dev/fig2dev.c' ---- fig2dev/fig2dev.c 2010-01-12 12:50:24 +0000 -+++ fig2dev/fig2dev.c 2010-01-12 12:50:38 +0000 -@@ -614,6 +614,18 @@ - #endif /* NFSS */ - printf(" -p name name of the PostScript file to be overlaid\n"); - -+ printf("PSTEX_P and PDFTEX_P Options:\n"); -+ printf(" -p name basename of the files to be created\n"); -+#ifdef NFSS -+ printf(" -F don't set font family/series/shape, so you can\n"); -+ printf(" set it from latex\n"); -+#endif /* NFSS */ -+ printf(" -d dmag set separate magnification for length of line dashes to dmag\n"); -+ printf(" -E num set encoding for text translation (0 no translation,\n"); -+ printf(" 1 ISO-8859-1, 2 ISO-8859-2)\n"); -+ printf(" -l lwidth set threshold between thin and thick lines to lwidth\n"); -+ printf(" -v verbose mode\n"); -+ - printf("SHAPE (ShapePar driver) Options:\n"); - printf(" -n name Set basename of the macro (e.g. \"face\" gives faceshape and facepar)\n"); - printf("Tcl/Tk (tk) and Perl/Tk (ptk) Options:\n"); -@@ -741,6 +753,12 @@ - int rec_comp(r1, r2) - struct obj_rec *r1, *r2; - { -+ if (r2->depth == r1->depth) -+ { -+ if ((r1->gendev == dev->text) ^ (r2->gendev == dev->text)) -+ return ((r1->gendev == dev->text) * 2 - 1); -+ return (0); -+ } - return (r2->depth - r1->depth); - } - - diff --git a/media-gfx/transfig/files/transfig-3.2.5c-maxfontsize.patch b/media-gfx/transfig/files/transfig-3.2.5c-maxfontsize.patch deleted file mode 100644 index 9ce105f..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5c-maxfontsize.patch +++ /dev/null @@ -1,44 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 09_maxfontsize.dpatch by Roland Rosenfeld <roland@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: For fonts >=42pt use the given font size in TeX instead of -## DP: restricting this to 42pt. This allows to create posters using -## DP: \usepackage{type1cm}. See -## DP: http://linuxgazette.vlsm.org/issue96/artime.html and Bug#343139 - -@DPATCH@ -diff -urNad transfig~/LATEX.AND.XFIG transfig/LATEX.AND.XFIG ---- transfig~/LATEX.AND.XFIG -+++ transfig/LATEX.AND.XFIG -@@ -55,7 +55,7 @@ - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LaTeX Preamble %%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - --\documentstyle[12pt,bezier,amstex]{article} % include bezier curves -+\documentclass[12pt,bezier,amstex]{article} % include bezier curves - \renewcommand\baselinestretch{1.0} % single space - \pagestyle{empty} % no headers and page numbers - \oddsidemargin -10 true pt % Left margin on odd-numbered pages. -@@ -72,7 +72,9 @@ - \usepackage{epsfig} - - \usepackage{graphicx} % Graphics package -- -+ -+\usepackage{type1cm} % Necessary for fonts bigger than 42pt -+ - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Document Beginning %%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -diff -urNad transfig~/fig2dev/dev/texfonts.h transfig/fig2dev/dev/texfonts.h ---- transfig~/fig2dev/dev/texfonts.h -+++ transfig/fig2dev/dev/texfonts.h -@@ -86,6 +86,7 @@ - - #define TEXFONTSIZE(S) (texfontsizes[((S) <= MAXFONTSIZE) ? (int)(round(S))\ - : (MAXFONTSIZE-1)]) -+#define TEXFONTSIZE(S) (((S) <= MAXFONTSIZE) ? texfontsizes[(int)(round(S))] : (S)) - #define TEXFONTMAG(T) TEXFONTSIZE(T->size*(rigid_text(T) ? 1.0 : fontmag)) - - void setfigfont( F_text *text ); /* genepic.c */ diff --git a/media-gfx/transfig/files/transfig-3.2.5d-fig2mpdf.patch b/media-gfx/transfig/files/transfig-3.2.5d-fig2mpdf.patch deleted file mode 100644 index b04478f..0000000 --- a/media-gfx/transfig/files/transfig-3.2.5d-fig2mpdf.patch +++ /dev/null @@ -1,522 +0,0 @@ -=== modified file 'doc/fig2dev.1' ---- doc/fig2dev.1 2010-09-28 13:22:38 +0000 -+++ doc/fig2dev.1 2010-09-28 13:28:26 +0000 -@@ -53,8 +53,8 @@ - \fBbox, cgm, epic, eepic, eepicemu, emf, eps, gbx (Gerber beta driver), gif, ibmgl, jpeg, - latex, map (HTML image map), mf (MetaFont), - mp (MetaPost), mmp (Multi-MetaPost), --pcx, pdf, pdftex, pdftex_t, pic, pictex, png, ppm, ps, --pstex, pstex_t, pstricks, ptk (Perl/tk), -+pcx, pdf, pdftex, pdftex_t, pdftex_p, pic, pictex, png, ppm, ps, -+pstex, pstex_t, pstex_p, pstricks, ptk (Perl/tk), - shape (LaTeX shaped paragraphs), sld (AutoCad slide format), - svg (beta driver), textyl, - tiff, tk (tcl/tk), tpic, xbm and -@@ -1062,6 +1062,62 @@ - font. Option 1 sets LaTeX font size only. Option 2 issues no font - commands at all. - -+.SH PSTEX_P and PDFTEX_P OPTIONS -+The \fBpstex_p\fR language has the same intention as -+the combination of \fBpstex\fR and \fBpstex_t\fR. -+The only reason to use \fBpstex_p\fR is that you have partially overlayed texts. -+\fBpstex_p\fR splits the Fig file concerning the depths of existing texts. Because -+of it's necessary to get the resulting size of the figure for the pdf document -+you have to specify the target document format -+(i.e. using \fBpstex_p\fR rsp. \fBpdftex_p\fR). -+.br -+Two files results by using this language: -+.br -+.HP +.3i -+1) A bash script for creating and removing the necessary graphics files. -+Extension: \fB.create\fR -+.HP +.3i -+.HP +.3i -+2) The latex code which includes all graphics files and special texts. Content is -+put to stdout. -+ -+.TP -+The \fBpstex_p\fR driver has the following special options: -+ -+.TP -+.B \-p basename -+specifies the basename of the files to be created (see (1) above). This option -+is mandatory. -+.TP -+.B "\-d dmag" -+Set a separate magnification for the length of line dashes to -+.I dmag. -+.TP -+.B \-E num -+Set encoding for latex text translation (0 no translation, 1 ISO-8859-1, 2 ISO-8859-2) -+.TP -+.B "\-l lwidth" -+Sets the threshold between LaTeX thin and thick lines to -+.I lwidth -+pixels. -+LaTeX supports only two different line width: \\thinlines and \\thicklines. -+Lines of width greater than -+.I lwidth -+pixels are drawn as \\thicklines. -+Also affects the size of dots in dotted line style. -+The default is 1. -+.TP -+.B \-v -+Verbose mode. -+.TP -+.B \-F -+Don't set the font face, series, and style; only set it's size and the -+baselineskip. By default, fig2dev sets all 5 font parameters when it -+puts some text. The disadvantage is that you can't set the font from your -+LaTeX document. With this option on, you can set the font from your LaTeX -+document (like "\fB\\sfshape \\input picture.eepic\fR"). -+ -+ - .SH TK and PTK OPTIONS (tcl/tk and Perl/tk) - .TP - .B -l dummy_arg -@@ -1107,6 +1163,13 @@ - .PP - Rotated text is only supported in the IBM-GL (HP/GL) and PostScript (including eps) - languages. -+.PP -+In \fBpdftex_p\fR language \fIfig2dev\fR can not determine the exact sizes of -+the special texts set by pdflatex afterwards. If these texts are bigger than -+expected the calculated bounding box might be too small so that some texts passes -+over the figure boundaries. If this happen you have to put an invisible -+rectangle (line width 0) around the text or the entire figure. -+ - .SH COPYRIGHT - Copyright (c) 1991 Micah Beck - .br -@@ -1187,3 +1250,7 @@ - The GBX (Gerber) driver was written by - .br - Edward Grace (ej.grace@imperial.ac.uk). -+.sp -+The PSTEX_P and PDFTEX_P drivers (overlayed LaTeX texts) was written by -+.br -+Michael Pfeiffer (p3f@gmx.de) - -=== modified file 'fig2dev/dev/genpstex.c' ---- fig2dev/dev/genpstex.c 2010-09-28 13:22:38 +0000 -+++ fig2dev/dev/genpstex.c 2010-09-28 13:26:39 +0000 -@@ -70,7 +70,307 @@ - genps_end (); - - static char pstex_file[1000] = ""; -- -+static int iObjectsRead = 0; -+static int iTextRead = 0; -+static int iObjectsFileNumber = 0; -+static int iStartDepth; -+static int iLastDepth; -+static FILE * ptCreateFile; -+static char szFileName[1000]; -+static int iLength; -+static int iPdfOutputs = 0; -+ -+#ifdef never -+static double unitlength; -+static double dash_mag = 1.0; -+ -+static int (*translate_coordinates)() = NULL; -+static int (*translate_coordinates_d)() = NULL; -+#else -+extern double unitlength; -+extern double dash_mag; -+ -+extern int (*translate_coordinates)(); -+extern int (*translate_coordinates_d)(); -+#endif -+ -+#define TOP 840 -+#define SWAP(x,y) {tmp=x; x=y; y=tmp;} -+#define TRANS(x,y) (*translate_coordinates)(&x,&y) -+#define TRANS2(x1,y1,x2,y2) (*translate_coordinates)(&x1,&y1); \ -+ (*translate_coordinates)(&x2,&y2) -+#define TRANSD(x,y) (*translate_coordinates_d)(&x,&y) -+ -+static void genpstex_p_finalize_objects(int depth); -+ -+/************************************************************************* -+ *************************************************************************/ -+static -+translate2(xp, yp) -+ int *xp, *yp; -+{ -+ *xp = *xp + 1; -+ *yp = (double)(TOP - *yp -1); -+ } -+ -+static -+translate1_d(xp, yp) -+ double *xp, *yp; -+{ -+ *xp = *xp + 1.0; -+ *yp = *yp + 1.0; -+ } -+ -+static -+translate2_d(xp, yp) -+ double *xp, *yp; -+{ -+ *xp = *xp + 1.0; -+ *yp = (double)TOP - *yp -1.0; -+ } -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_option(opt, optarg) -+char opt, *optarg; -+{ -+ if (opt == 'p') -+ { -+ strcpy(pstex_file, optarg); -+ } -+ else -+ genlatex_option(opt, optarg); -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_start(objects) -+ F_compound *objects; -+{ -+ int tmp; -+ struct stat tStat; -+ long lUnitLength; -+ -+ if (*pstex_file == '\0') -+ { -+ put_msg("Argument -p is mandatory to pstex_p."); -+ exit(1); -+ } -+ -+ strncpy(szFileName, pstex_file, 900); -+ iLength = strlen(szFileName); -+ -+ sprintf(szFileName + iLength, ".create"); -+ ptCreateFile = fopen (szFileName, "wb"); -+ -+ if ( ! ptCreateFile) -+ { -+ put_msg("Couldn't open %s for writing", szFileName); -+ exit(1); -+ } -+ fstat(fileno(ptCreateFile), & tStat); -+ fchmod (fileno(ptCreateFile), tStat.st_mode | ((tStat.st_mode & (S_IRUSR | S_IRGRP | S_IROTH)) >> 2)); -+ fprintf(ptCreateFile, "#!/bin/bash\n\n", szFileName); -+ -+ fprintf(ptCreateFile, "while getopts \"r\" Option\n"); -+ fprintf(ptCreateFile, "do\n"); -+ fprintf(ptCreateFile, " case $Option in\n"); -+ fprintf(ptCreateFile, " r) iOptRemove=1;;\n"); -+ fprintf(ptCreateFile, " *) echo \"illegal option -$Option\"\n"); -+ fprintf(ptCreateFile, " esac\n"); -+ fprintf(ptCreateFile, "done\n"); -+ fprintf(ptCreateFile, "shift $(($OPTIND - 1))\n"); -+ -+ texfontsizes[0] = texfontsizes[1] = -+ TEXFONTSIZE(font_size != 0.0? font_size : DEFAULT_FONT_SIZE); -+ -+ unitlength = mag/ppi; -+ dash_mag /= unitlength*80.0; -+ -+ translate_coordinates = translate2; -+ translate_coordinates_d = translate2_d; -+ -+ TRANS2(llx, lly, urx, ury); -+ if (llx > urx) SWAP(llx, urx) -+ if (lly > ury) SWAP(lly, ury) -+ -+ /* LaTeX start */ -+ -+ /* print any whole-figure comments prefixed with "%" */ -+ if (objects->comments) { -+ fprintf(tfp,"%%\n"); -+ print_comments("% ",objects->comments, ""); -+ fprintf(tfp,"%%\n"); -+ } -+ -+ lUnitLength = (long) (round(4736286.72*unitlength)); -+ fprintf(tfp, "\\setlength{\\unitlength}{%lisp}%%\n", -+ lUnitLength); -+ /* define the SetFigFont macro */ -+ define_setfigfont(tfp); -+ -+ sprintf(szFileName + iLength, ".size"); -+ fprintf(ptCreateFile, "if [ \"$iOptRemove\" == \"\" ]; then\n"); -+ if (iPdfOutputs) -+ fprintf(ptCreateFile, " echo \"\\setlength\\pdfpagewidth{%3.2fpt}\\setlength\\pdfpageheight{%3.2fpt}\" > %s\n", -+ (float) lUnitLength / 65536 * (urx - llx), (float) lUnitLength / 65536 * (ury - lly), szFileName); -+ else -+ fprintf(ptCreateFile, "echo -n\"\" > %s\n", szFileName); -+ fprintf(ptCreateFile, "else\n rm -f %s\nfi\n", szFileName); -+} -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpdftex_p_start(objects) -+ F_compound *objects; -+{ -+ iPdfOutputs = 1; -+ genpstex_p_start(objects); -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+int genpstex_p_end() -+{ -+ if (iTextRead) -+ { -+ fprintf(tfp, "\\end{picture}%%\n"); -+ iTextRead = 0; -+ } -+ if (iObjectsRead) -+ { -+ genpstex_p_finalize_objects(iLastDepth); -+ iObjectsRead = 0; -+ } -+ -+ /* LaTeX ending */ -+ fprintf(tfp, "\\begin{picture}(%d,%d)\n", urx-llx, ury-lly); -+ fprintf(tfp, "\\end{picture}%%\n"); -+ -+ fclose(ptCreateFile); -+ -+ /* all ok */ -+ return 0; -+} -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_finalize_objects(depth) -+int depth; -+{ -+ char szFileName[1000]; -+ int iLength; -+ -+ strncpy(szFileName, pstex_file, 900); -+ iLength = strlen(szFileName); -+ -+ -+ sprintf(szFileName + iLength, "%03d", iObjectsFileNumber++); -+ fprintf(ptCreateFile, "if [ \"$iOptRemove\" == \"\" ]; then\n"); -+ if (iPdfOutputs) -+ { -+ fprintf(ptCreateFile, " %s -L pstex -D +%d:%d %s", prog, depth, iStartDepth, from, szFileName); -+ fprintf(ptCreateFile, " | epstopdf -f --outfile %s.pdf\n", szFileName, szFileName); -+ } -+ else -+ fprintf(ptCreateFile, "%s -L pstex -D +%d:%d %s %s.eps\n", prog, depth, iStartDepth, from, szFileName); -+ fprintf(ptCreateFile, "else\n rm -f %s.", szFileName); -+ if (iPdfOutputs) -+ fprintf(ptCreateFile, "pdf"); -+ else -+ fprintf(ptCreateFile, "eps"); -+ fprintf(ptCreateFile, "\nfi\n"); -+ -+ fprintf(tfp, "\\begin{picture}(0,0)%%\n"); -+/* newer includegraphics directive suggested by Stephen Harker 1/13/99 */ -+#if defined(LATEX2E_GRAPHICS) -+# if defined(EPSFIG) -+ fprintf(tfp, "\\epsfig{file=%s.eps}%%\n",szFileName); -+# else -+ fprintf(tfp, "\\includegraphics{%s}%%\n",szFileName); -+# endif -+#else -+ fprintf(tfp, "\\special{psfile=%s.eps}%%\n",szFileName); -+#endif -+ fprintf(tfp, "\\end{picture}%%\n"); -+} -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_object(depth) -+int depth; -+{ -+ if (iTextRead) -+ { -+ fprintf(tfp, "\\end{picture}%%\n"); -+ iTextRead = 0; -+ } -+ if (iObjectsRead == 0) -+ { -+ iStartDepth = depth; -+ iObjectsRead = 1; -+ } -+ iLastDepth = depth; -+ -+} -+ -+void genpstex_p_arc(obj) -+F_arc *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+ -+void genpstex_p_ellipse(obj) -+F_ellipse *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+void genpstex_p_line(obj) -+F_line *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+void genpstex_p_spline(obj) -+F_spline *obj; -+{ -+ genpstex_p_object(obj->depth); -+} -+ -+ -+ -+/************************************************************************* -+ *************************************************************************/ -+void genpstex_p_text(t) -+F_text *t; -+{ -+ -+ if (!special_text(t)) -+ genpstex_p_object(t->depth); -+ else -+ { -+ if (iObjectsRead) -+ { -+ genpstex_p_finalize_objects(iLastDepth); -+ iObjectsRead = 0; -+ } -+ if (iTextRead == 0) -+ { -+ fprintf(tfp, "\\begin{picture}(0,0)(%d,%d)\n", llx, lly); -+ iTextRead = 1; -+ } -+ genlatex_text(t); -+ } -+ -+} -+ -+/************************************************************************* -+ *************************************************************************/ - void genpstex_t_option(opt, optarg) - char opt, *optarg; - { -@@ -112,6 +412,8 @@ - else genlatex_text(t); - } - -+/************************************************************************* -+ *************************************************************************/ - void genpstex_text(t) - F_text *t; - { -@@ -128,6 +430,32 @@ - genlatex_option(opt, optarg); - } - -+struct driver dev_pstex_p = { -+ genpstex_p_option, -+ genpstex_p_start, -+ gendev_null, -+ genpstex_p_arc, -+ genpstex_p_ellipse, -+ genpstex_p_line, -+ genpstex_p_spline, -+ genpstex_p_text, -+ genpstex_p_end, -+ INCLUDE_TEXT -+}; -+ -+struct driver dev_pdftex_p = { -+ genpstex_p_option, -+ genpdftex_p_start, -+ gendev_null, -+ genpstex_p_arc, -+ genpstex_p_ellipse, -+ genpstex_p_line, -+ genpstex_p_spline, -+ genpstex_p_text, -+ genpstex_p_end, -+ INCLUDE_TEXT -+}; -+ - struct driver dev_pstex_t = { - genpstex_t_option, - genpstex_t_start, - -=== modified file 'fig2dev/drivers.h' ---- fig2dev/drivers.h 2010-09-28 13:22:38 +0000 -+++ fig2dev/drivers.h 2010-09-28 13:29:46 +0000 -@@ -30,8 +30,10 @@ - extern struct driver dev_pdf; - extern struct driver dev_pdftex; - extern struct driver dev_pdftex_t; -+extern struct driver dev_pdftex_p; - extern struct driver dev_pstex; - extern struct driver dev_pstex_t; -+extern struct driver dev_pstex_p; - extern struct driver dev_pstricks; - extern struct driver dev_textyl; - extern struct driver dev_tk; -@@ -75,6 +77,7 @@ - {"pdf", &dev_pdf}, - {"pdftex", &dev_pdftex}, - {"pdftex_t", &dev_pdftex_t}, -+ {"pdftex_p", &dev_pdftex_p}, - {"pic", &dev_pic}, - {"pictex", &dev_pictex}, - {"png", &dev_bitmaps}, -@@ -82,6 +85,7 @@ - {"ps", &dev_ps}, - {"pstex", &dev_pstex}, - {"pstex_t", &dev_pstex_t}, -+ {"pstex_p", &dev_pstex_p}, - {"pstricks", &dev_pstricks}, - {"ptk", &dev_ptk}, - {"shape", &dev_shape}, - -=== modified file 'fig2dev/fig2dev.c' ---- fig2dev/fig2dev.c 2010-09-28 13:22:38 +0000 -+++ fig2dev/fig2dev.c 2010-09-28 13:26:39 +0000 -@@ -649,6 +649,18 @@ - #endif /* NFSS */ - printf(" -p name name of the PostScript file to be overlaid\n"); - -+ printf("PSTEX_P and PDFTEX_P Options:\n"); -+ printf(" -p name basename of the files to be created\n"); -+#ifdef NFSS -+ printf(" -F don't set font family/series/shape, so you can\n"); -+ printf(" set it from latex\n"); -+#endif /* NFSS */ -+ printf(" -d dmag set separate magnification for length of line dashes to dmag\n"); -+ printf(" -E num set encoding for text translation (0 no translation,\n"); -+ printf(" 1 ISO-8859-1, 2 ISO-8859-2)\n"); -+ printf(" -l lwidth set threshold between thin and thick lines to lwidth\n"); -+ printf(" -v verbose mode\n"); -+ - printf("SHAPE (ShapePar driver) Options:\n"); - printf(" -n name Set basename of the macro (e.g. \"face\" gives faceshape and facepar)\n"); - printf("Tcl/Tk (tk) and Perl/Tk (ptk) Options:\n"); -@@ -776,6 +788,12 @@ - int rec_comp(r1, r2) - struct obj_rec *r1, *r2; - { -+ if (r2->depth == r1->depth) -+ { -+ if ((r1->gendev == dev->text) ^ (r2->gendev == dev->text)) -+ return ((r1->gendev == dev->text) * 2 - 1); -+ return (0); -+ } - return (r2->depth - r1->depth); - } - - diff --git a/media-gfx/transfig/files/transfig-ru_RU.CP1251.ps b/media-gfx/transfig/files/transfig-ru_RU.CP1251.ps deleted file mode 100644 index f8c142a..0000000 --- a/media-gfx/transfig/files/transfig-ru_RU.CP1251.ps +++ /dev/null @@ -1,298 +0,0 @@ -%% Begining of ru_RU.CP1251.ps -%% -%% Author: Yura Zotov <yz@altlinux.ru> -%% based on cs_CZ.ps made by Radim Gelner <radim.gelner@suse.cz> -%% -%%BeginResource: encoding ISOLatin2Encoding - -/isol2vec [ -10#0 /.notdef -10#1 /.notdef -10#2 /.notdef -10#3 /.notdef -10#4 /.notdef -10#5 /.notdef -10#6 /.notdef -10#7 /.notdef -10#8 /.notdef -10#9 /.notdef -10#10 /.notdef -10#11 /.notdef -10#12 /.notdef -10#13 /.notdef -10#14 /.notdef -10#15 /.notdef -10#16 /.notdef -10#17 /.notdef -10#18 /.notdef -10#19 /.notdef -10#20 /.notdef -10#21 /.notdef -10#22 /.notdef -10#23 /.notdef -10#24 /.notdef -10#25 /.notdef -10#26 /.notdef -10#27 /.notdef -10#28 /.notdef -10#29 /.notdef -10#30 /.notdef -10#31 /.notdef -10#32 /space -10#33 /exclam -10#34 /quotedbl -10#35 /numbersign -10#36 /dollar -10#37 /percent -10#38 /ampersand -10#39 /quoteright -10#40 /parenleft -10#41 /parenright -10#42 /asterisk -10#43 /plus -10#44 /comma -10#45 /hyphen -10#46 /period -10#47 /slash -10#48 /zero -10#49 /one -10#50 /two -10#51 /three -10#52 /four -10#53 /five -10#54 /six -10#55 /seven -10#56 /eight -10#57 /nine -10#58 /colon -10#59 /semicolon -10#60 /less -10#61 /equal -10#62 /greater -10#63 /question -10#64 /at -10#65 /A -10#66 /B -10#67 /C -10#68 /D -10#69 /E -10#70 /F -10#71 /G -10#72 /H -10#73 /I -10#74 /J -10#75 /K -10#76 /L -10#77 /M -10#78 /N -10#79 /O -10#80 /P -10#81 /Q -10#82 /R -10#83 /S -10#84 /T -10#85 /U -10#86 /V -10#87 /W -10#88 /X -10#89 /Y -10#90 /Z -10#91 /bracketleft -10#92 /backslash -10#93 /bracketright -10#94 /asciicircum -10#95 /underscore -10#96 /quoteleft -10#97 /a -10#98 /b -10#99 /c -10#100 /d -10#101 /e -10#102 /f -10#103 /g -10#104 /h -10#105 /i -10#106 /j -10#107 /k -10#108 /l -10#109 /m -10#110 /n -10#111 /o -10#112 /p -10#113 /q -10#114 /r -10#115 /s -10#116 /t -10#117 /u -10#118 /v -10#119 /w -10#120 /x -10#121 /y -10#122 /z -10#123 /braceleft -10#124 /bar -10#125 /braceright -10#126 /asciitilde -10#127 /.notdef -10#128 /afii10051 -10#129 /afii10052 -10#130 /quotesinglbase -10#131 /afii10100 -10#132 /quotedblbase -10#133 /ellipsis -10#134 /dagger -10#135 /daggerdbl -10#136 /Euro -10#137 /perthousand -10#138 /afii10058 -10#139 /guilsinglleft -10#140 /afii10059 -10#141 /afii10061 -10#142 /afii10060 -10#143 /afii10145 -10#144 /afii10099 -10#145 /quoteleft -10#146 /quoteright -10#147 /quotedblleft -10#148 /quotedblright -10#149 /bullet -10#150 /endash -10#151 /emdash -10#152 /tilde -10#153 /trademark -10#154 /afii10106 -10#155 /guilsinglright -10#156 /afii10107 -10#157 /afii10109 -10#158 /afii10108 -10#159 /afii10193 -10#160 /.notdef -10#161 /afii10062 -10#162 /afii10110 -10#163 /afii10057 -10#164 /currency -10#165 /afii10050 -10#166 /brokenbar -10#167 /section -10#168 /afii10023 -10#169 /copyright -10#170 /afii10053 -10#171 /guillemotleft -10#172 /logicalnot -10#173 /hyphen -10#174 /registered -10#175 /afii10056 -10#176 /degree -10#177 /plusminus -10#178 /afii10055 -10#179 /afii10103 -10#180 /afii10098 -10#181 /mu -10#182 /paragraph -10#183 /periodcentered -10#184 /afii10071 -10#185 /afii61352 -10#186 /afii10101 -10#187 /guillemotright -10#188 /afii10105 -10#189 /afii10054 -10#190 /afii10102 -10#191 /afii10104 -10#192 /afii10017 -10#193 /afii10018 -10#194 /afii10019 -10#195 /afii10020 -10#196 /afii10021 -10#197 /afii10022 -10#198 /afii10024 -10#199 /afii10025 -10#200 /afii10026 -10#201 /afii10027 -10#202 /afii10028 -10#203 /afii10029 -10#204 /afii10030 -10#205 /afii10031 -10#206 /afii10032 -10#207 /afii10033 -10#208 /afii10034 -10#209 /afii10035 -10#210 /afii10036 -10#211 /afii10037 -10#212 /afii10038 -10#213 /afii10039 -10#214 /afii10040 -10#215 /afii10041 -10#216 /afii10042 -10#217 /afii10043 -10#218 /afii10044 -10#219 /afii10045 -10#220 /afii10046 -10#221 /afii10047 -10#222 /afii10048 -10#223 /afii10049 -10#224 /afii10065 -10#225 /afii10066 -10#226 /afii10067 -10#227 /afii10068 -10#228 /afii10069 -10#229 /afii10070 -10#230 /afii10072 -10#231 /afii10073 -10#232 /afii10074 -10#233 /afii10075 -10#234 /afii10076 -10#235 /afii10077 -10#236 /afii10078 -10#237 /afii10079 -10#238 /afii10080 -10#239 /afii10081 -10#240 /afii10082 -10#241 /afii10083 -10#242 /afii10084 -10#243 /afii10085 -10#244 /afii10086 -10#245 /afii10087 -10#246 /afii10088 -10#247 /afii10089 -10#248 /afii10090 -10#249 /afii10091 -10#250 /afii10092 -10#251 /afii10093 -10#252 /afii10094 -10#253 /afii10095 -10#254 /afii10096 -10#255 /afii10097] def -%%EndResource -/Times-Roman /Times-Roman-iso isol2vec ReEncode -/Times-Italic /Times-Italic-iso isol2vec ReEncode -/Times-Bold /Times-Bold-iso isol2vec ReEncode -/Times-BoldItalic /Times-BoldItalic-iso isol2vec ReEncode -/AvantGarde-Book /AvantGarde-Book-iso isol2vec ReEncode -/AvantGarde-BookOblique /AvantGarde-BookOblique-iso isol2vec ReEncode -/AvantGarde-Demi /AvantGarde-Demi-iso isol2vec ReEncode -/AvantGarde-DemiOblique /AvantGarde-DemiOblique-iso isol2vec ReEncode -/Bookman-Light /Bookman-Light-iso isol2vec ReEncode -/Bookman-LightItalic /Bookman-LightItalic-iso isol2vec ReEncode -/Bookman-Demi /Bookman-Demi-iso isol2vec ReEncode -/Bookman-DemiItalic /Bookman-DemiItalic-iso isol2vec ReEncode -/Courier /Courier-iso isol2vec ReEncode -/Courier-Oblique /Courier-Oblique-iso isol2vec ReEncode -/Courier-Bold /Courier-Bold-iso isol2vec ReEncode -/Courier-BoldOblique /Courier-BoldOblique-iso isol2vec ReEncode -/Helvetica /Helvetica-iso isol2vec ReEncode -/Helvetica-Oblique /Helvetica-Oblique-iso isol2vec ReEncode -/Helvetica-Bold /Helvetica-Bold-iso isol2vec ReEncode -/Helvetica-BoldOblique /Helvetica-BoldOblique-iso isol2vec ReEncode -/Helvetica-Narrow /Helvetica-Narrow-iso isol2vec ReEncode -/Helvetica-Narrow-Oblique /Helvetica-Narrow-Oblique-iso isol2vec ReEncode -/Helvetica-Narrow-Bold /Helvetica-Narrow-Bold-iso isol2vec ReEncode -/Helvetica-Narrow-BoldOblique /Helvetica-Narrow-BoldOblique-iso isol2vec ReEncode -/NewCenturySchlbk-Roman /NewCenturySchlbk-Roman-iso isol2vec ReEncode -/NewCenturySchlbk-Italic /NewCenturySchlbk-Italic-iso isol2vec ReEncode -/NewCenturySchlbk-Bold /NewCenturySchlbk-Bold-iso isol2vec ReEncode -/NewCenturySchlbk-BoldItalic /NewCenturySchlbk-BoldItalic-iso isol2vec ReEncode -/Palatino-Roman /Palatino-Roman-iso isol2vec ReEncode -/Palatino-Italic /Palatino-Italic-iso isol2vec ReEncode -/Palatino-Bold /Palatino-Bold-iso isol2vec ReEncode -/Palatino-BoldItalic /Palatino-BoldItalic-iso isol2vec ReEncode -%% End of ru_RU.CP1251.ps diff --git a/media-gfx/transfig/files/transfig-ru_RU.KOI8-R.ps b/media-gfx/transfig/files/transfig-ru_RU.KOI8-R.ps deleted file mode 100644 index 1bda0b2..0000000 --- a/media-gfx/transfig/files/transfig-ru_RU.KOI8-R.ps +++ /dev/null @@ -1,298 +0,0 @@ -%% Begining of ru_RU.KOI8-R.ps -%% -%% Author: Yura Zotov <yz@altlinux.ru> -%% based on cs_CZ.ps made by Radim Gelner <radim.gelner@suse.cz> -%% -%%BeginResource: encoding ISOLatin2Encoding - -/isol2vec [ -10#0 /.notdef -10#1 /.notdef -10#2 /.notdef -10#3 /.notdef -10#4 /.notdef -10#5 /.notdef -10#6 /.notdef -10#7 /.notdef -10#8 /.notdef -10#9 /.notdef -10#10 /.notdef -10#11 /.notdef -10#12 /.notdef -10#13 /.notdef -10#14 /.notdef -10#15 /.notdef -10#16 /.notdef -10#17 /.notdef -10#18 /.notdef -10#19 /.notdef -10#20 /.notdef -10#21 /.notdef -10#22 /.notdef -10#23 /.notdef -10#24 /.notdef -10#25 /.notdef -10#26 /.notdef -10#27 /.notdef -10#28 /.notdef -10#29 /.notdef -10#30 /.notdef -10#31 /.notdef -10#32 /space -10#33 /exclam -10#34 /quotedbl -10#35 /numbersign -10#36 /dollar -10#37 /percent -10#38 /ampersand -10#39 /quotesingle -10#40 /parenleft -10#41 /parenright -10#42 /asterisk -10#43 /plus -10#44 /comma -10#45 /hyphen -10#46 /period -10#47 /slash -10#48 /zero -10#49 /one -10#50 /two -10#51 /three -10#52 /four -10#53 /five -10#54 /six -10#55 /seven -10#56 /eight -10#57 /nine -10#58 /colon -10#59 /semicolon -10#60 /less -10#61 /equal -10#62 /greater -10#63 /question -10#64 /at -10#65 /A -10#66 /B -10#67 /C -10#68 /D -10#69 /E -10#70 /F -10#71 /G -10#72 /H -10#73 /I -10#74 /J -10#75 /K -10#76 /L -10#77 /M -10#78 /N -10#79 /O -10#80 /P -10#81 /Q -10#82 /R -10#83 /S -10#84 /T -10#85 /U -10#86 /V -10#87 /W -10#88 /X -10#89 /Y -10#90 /Z -10#91 /bracketleft -10#92 /backslash -10#93 /bracketright -10#94 /asciicircum -10#95 /underscore -10#96 /grave -10#97 /a -10#98 /b -10#99 /c -10#100 /d -10#101 /e -10#102 /f -10#103 /g -10#104 /h -10#105 /i -10#106 /j -10#107 /k -10#108 /l -10#109 /m -10#110 /n -10#111 /o -10#112 /p -10#113 /q -10#114 /r -10#115 /s -10#116 /t -10#117 /u -10#118 /v -10#119 /w -10#120 /x -10#121 /y -10#122 /z -10#123 /braceleft -10#124 /bar -10#125 /braceright -10#126 /asciitilde -10#127 /.notdef -10#128 /SF100000 -10#129 /SF110000 -10#130 /SF010000 -10#131 /SF030000 -10#132 /SF020000 -10#133 /SF040000 -10#134 /SF080000 -10#135 /SF090000 -10#136 /SF060000 -10#137 /SF070000 -10#138 /SF050000 -10#139 /upblock -10#140 /dnblock -10#141 /block -10#142 /lfblock -10#143 /rtblock -10#144 /ltshade -10#145 /shade -10#146 /dkshade -10#147 /integraltp -10#148 /filledbox -10#149 /uni2219 -10#150 /radical -10#151 /approxequal -10#152 /lessequal -10#153 /greaterequal -10#154 /uni00A0 -10#155 /integralbt -10#156 /degree -10#157 /twosuperior -10#158 /periodcentered -10#159 /divide -10#160 /SF430000 -10#161 /SF240000 -10#162 /SF510000 -10#163 /afii10071 -10#164 /SF520000 -10#165 /SF390000 -10#166 /SF220000 -10#167 /SF210000 -10#168 /SF250000 -10#169 /SF500000 -10#170 /SF490000 -10#171 /SF380000 -10#172 /SF280000 -10#173 /SF270000 -10#174 /SF260000 -10#175 /SF360000 -10#176 /SF370000 -10#177 /SF420000 -10#178 /SF190000 -10#179 /afii10023 -10#180 /SF200000 -10#181 /SF230000 -10#182 /SF470000 -10#183 /SF480000 -10#184 /SF410000 -10#185 /SF450000 -10#186 /SF460000 -10#187 /SF400000 -10#188 /SF540000 -10#189 /SF530000 -10#190 /SF440000 -10#191 /copyright -10#192 /afii10096 -10#193 /afii10065 -10#194 /afii10066 -10#195 /afii10088 -10#196 /afii10069 -10#197 /afii10070 -10#198 /afii10086 -10#199 /afii10068 -10#200 /afii10087 -10#201 /afii10074 -10#202 /afii10075 -10#203 /afii10076 -10#204 /afii10077 -10#205 /afii10078 -10#206 /afii10079 -10#207 /afii10080 -10#208 /afii10081 -10#209 /afii10097 -10#210 /afii10082 -10#211 /afii10083 -10#212 /afii10084 -10#213 /afii10085 -10#214 /afii10072 -10#215 /afii10067 -10#216 /afii10094 -10#217 /afii10093 -10#218 /afii10073 -10#219 /afii10090 -10#220 /afii10095 -10#221 /afii10091 -10#222 /afii10089 -10#223 /afii10092 -10#224 /afii10048 -10#225 /afii10017 -10#226 /afii10018 -10#227 /afii10040 -10#228 /afii10021 -10#229 /afii10022 -10#230 /afii10038 -10#231 /afii10020 -10#232 /afii10039 -10#233 /afii10026 -10#234 /afii10027 -10#235 /afii10028 -10#236 /afii10029 -10#237 /afii10030 -10#238 /afii10031 -10#239 /afii10032 -10#240 /afii10033 -10#241 /afii10049 -10#242 /afii10034 -10#243 /afii10035 -10#244 /afii10036 -10#245 /afii10037 -10#246 /afii10024 -10#247 /afii10019 -10#248 /afii10046 -10#249 /afii10045 -10#250 /afii10025 -10#251 /afii10042 -10#252 /afii10047 -10#253 /afii10043 -10#254 /afii10041 -10#255 /afii10044] def -%%EndResource -/Times-Roman /Times-Roman-iso isol2vec ReEncode -/Times-Italic /Times-Italic-iso isol2vec ReEncode -/Times-Bold /Times-Bold-iso isol2vec ReEncode -/Times-BoldItalic /Times-BoldItalic-iso isol2vec ReEncode -/AvantGarde-Book /AvantGarde-Book-iso isol2vec ReEncode -/AvantGarde-BookOblique /AvantGarde-BookOblique-iso isol2vec ReEncode -/AvantGarde-Demi /AvantGarde-Demi-iso isol2vec ReEncode -/AvantGarde-DemiOblique /AvantGarde-DemiOblique-iso isol2vec ReEncode -/Bookman-Light /Bookman-Light-iso isol2vec ReEncode -/Bookman-LightItalic /Bookman-LightItalic-iso isol2vec ReEncode -/Bookman-Demi /Bookman-Demi-iso isol2vec ReEncode -/Bookman-DemiItalic /Bookman-DemiItalic-iso isol2vec ReEncode -/Courier /Courier-iso isol2vec ReEncode -/Courier-Oblique /Courier-Oblique-iso isol2vec ReEncode -/Courier-Bold /Courier-Bold-iso isol2vec ReEncode -/Courier-BoldOblique /Courier-BoldOblique-iso isol2vec ReEncode -/Helvetica /Helvetica-iso isol2vec ReEncode -/Helvetica-Oblique /Helvetica-Oblique-iso isol2vec ReEncode -/Helvetica-Bold /Helvetica-Bold-iso isol2vec ReEncode -/Helvetica-BoldOblique /Helvetica-BoldOblique-iso isol2vec ReEncode -/Helvetica-Narrow /Helvetica-Narrow-iso isol2vec ReEncode -/Helvetica-Narrow-Oblique /Helvetica-Narrow-Oblique-iso isol2vec ReEncode -/Helvetica-Narrow-Bold /Helvetica-Narrow-Bold-iso isol2vec ReEncode -/Helvetica-Narrow-BoldOblique /Helvetica-Narrow-BoldOblique-iso isol2vec ReEncode -/NewCenturySchlbk-Roman /NewCenturySchlbk-Roman-iso isol2vec ReEncode -/NewCenturySchlbk-Italic /NewCenturySchlbk-Italic-iso isol2vec ReEncode -/NewCenturySchlbk-Bold /NewCenturySchlbk-Bold-iso isol2vec ReEncode -/NewCenturySchlbk-BoldItalic /NewCenturySchlbk-BoldItalic-iso isol2vec ReEncode -/Palatino-Roman /Palatino-Roman-iso isol2vec ReEncode -/Palatino-Italic /Palatino-Italic-iso isol2vec ReEncode -/Palatino-Bold /Palatino-Bold-iso isol2vec ReEncode -/Palatino-BoldItalic /Palatino-BoldItalic-iso isol2vec ReEncode -%% End of ru_RU.KOI8-R.ps diff --git a/media-gfx/transfig/files/transfig-uk_UA.KOI8-U.ps b/media-gfx/transfig/files/transfig-uk_UA.KOI8-U.ps deleted file mode 100644 index 8803c72..0000000 --- a/media-gfx/transfig/files/transfig-uk_UA.KOI8-U.ps +++ /dev/null @@ -1,298 +0,0 @@ -%% Begining of uk_UA.KOI8-U.ps -%% -%% Author: Yura Zotov <yz@altlinux.ru> -%% based on cs_CZ.ps made by Radim Gelner <radim.gelner@suse.cz> -%% -%%BeginResource: encoding ISOLatin2Encoding - -/isol2vec [ -10#0 /.notdef -10#1 /.notdef -10#2 /.notdef -10#3 /.notdef -10#4 /.notdef -10#5 /.notdef -10#6 /.notdef -10#7 /.notdef -10#8 /.notdef -10#9 /.notdef -10#10 /.notdef -10#11 /.notdef -10#12 /.notdef -10#13 /.notdef -10#14 /.notdef -10#15 /.notdef -10#16 /.notdef -10#17 /.notdef -10#18 /.notdef -10#19 /.notdef -10#20 /.notdef -10#21 /.notdef -10#22 /.notdef -10#23 /.notdef -10#24 /.notdef -10#25 /.notdef -10#26 /.notdef -10#27 /.notdef -10#28 /.notdef -10#29 /.notdef -10#30 /.notdef -10#31 /.notdef -10#32 /space -10#33 /exclam -10#34 /quotedbl -10#35 /numbersign -10#36 /dollar -10#37 /percent -10#38 /ampersand -10#39 /quotesingle -10#40 /parenleft -10#41 /parenright -10#42 /asterisk -10#43 /plus -10#44 /comma -10#45 /hyphen -10#46 /period -10#47 /slash -10#48 /zero -10#49 /one -10#50 /two -10#51 /three -10#52 /four -10#53 /five -10#54 /six -10#55 /seven -10#56 /eight -10#57 /nine -10#58 /colon -10#59 /semicolon -10#60 /less -10#61 /equal -10#62 /greater -10#63 /question -10#64 /at -10#65 /A -10#66 /B -10#67 /C -10#68 /D -10#69 /E -10#70 /F -10#71 /G -10#72 /H -10#73 /I -10#74 /J -10#75 /K -10#76 /L -10#77 /M -10#78 /N -10#79 /O -10#80 /P -10#81 /Q -10#82 /R -10#83 /S -10#84 /T -10#85 /U -10#86 /V -10#87 /W -10#88 /X -10#89 /Y -10#90 /Z -10#91 /bracketleft -10#92 /backslash -10#93 /bracketright -10#94 /asciicircum -10#95 /underscore -10#96 /grave -10#97 /a -10#98 /b -10#99 /c -10#100 /d -10#101 /e -10#102 /f -10#103 /g -10#104 /h -10#105 /i -10#106 /j -10#107 /k -10#108 /l -10#109 /m -10#110 /n -10#111 /o -10#112 /p -10#113 /q -10#114 /r -10#115 /s -10#116 /t -10#117 /u -10#118 /v -10#119 /w -10#120 /x -10#121 /y -10#122 /z -10#123 /braceleft -10#124 /bar -10#125 /braceright -10#126 /asciitilde -10#127 /.notdef -10#128 /SF100000 -10#129 /SF110000 -10#130 /SF010000 -10#131 /SF030000 -10#132 /SF020000 -10#133 /SF040000 -10#134 /SF080000 -10#135 /SF090000 -10#136 /SF060000 -10#137 /SF070000 -10#138 /SF050000 -10#139 /upblock -10#140 /dnblock -10#141 /block -10#142 /lfblock -10#143 /rtblock -10#144 /ltshade -10#145 /shade -10#146 /dkshade -10#147 /integraltp -10#148 /filledbox -10#149 /uni2219 -10#150 /radical -10#151 /approxequal -10#152 /lessequal -10#153 /greaterequal -10#154 /uni00A0 -10#155 /integralbt -10#156 /degree -10#157 /twosuperior -10#158 /periodcentered -10#159 /divide -10#160 /SF430000 -10#161 /SF240000 -10#162 /SF510000 -10#163 /afii10071 -10#164 /afii10101 -10#165 /SF390000 -10#166 /afii10103 -10#167 /afii10104 -10#168 /SF250000 -10#169 /SF500000 -10#170 /SF490000 -10#171 /SF380000 -10#172 /SF280000 -10#173 /afii10098 -10#174 /SF260000 -10#175 /SF360000 -10#176 /SF370000 -10#177 /SF420000 -10#178 /SF190000 -10#179 /afii10023 -10#180 /afii10053 -10#181 /SF230000 -10#182 /afii10055 -10#183 /afii10056 -10#184 /SF410000 -10#185 /SF450000 -10#186 /SF460000 -10#187 /SF400000 -10#188 /SF540000 -10#189 /afii10050 -10#190 /SF440000 -10#191 /copyright -10#192 /afii10096 -10#193 /afii10065 -10#194 /afii10066 -10#195 /afii10088 -10#196 /afii10069 -10#197 /afii10070 -10#198 /afii10086 -10#199 /afii10068 -10#200 /afii10087 -10#201 /afii10074 -10#202 /afii10075 -10#203 /afii10076 -10#204 /afii10077 -10#205 /afii10078 -10#206 /afii10079 -10#207 /afii10080 -10#208 /afii10081 -10#209 /afii10097 -10#210 /afii10082 -10#211 /afii10083 -10#212 /afii10084 -10#213 /afii10085 -10#214 /afii10072 -10#215 /afii10067 -10#216 /afii10094 -10#217 /afii10093 -10#218 /afii10073 -10#219 /afii10090 -10#220 /afii10095 -10#221 /afii10091 -10#222 /afii10089 -10#223 /afii10092 -10#224 /afii10048 -10#225 /afii10017 -10#226 /afii10018 -10#227 /afii10040 -10#228 /afii10021 -10#229 /afii10022 -10#230 /afii10038 -10#231 /afii10020 -10#232 /afii10039 -10#233 /afii10026 -10#234 /afii10027 -10#235 /afii10028 -10#236 /afii10029 -10#237 /afii10030 -10#238 /afii10031 -10#239 /afii10032 -10#240 /afii10033 -10#241 /afii10049 -10#242 /afii10034 -10#243 /afii10035 -10#244 /afii10036 -10#245 /afii10037 -10#246 /afii10024 -10#247 /afii10019 -10#248 /afii10046 -10#249 /afii10045 -10#250 /afii10025 -10#251 /afii10042 -10#252 /afii10047 -10#253 /afii10043 -10#254 /afii10041 -10#255 /afii10044] def -%%EndResource -/Times-Roman /Times-Roman-iso isol2vec ReEncode -/Times-Italic /Times-Italic-iso isol2vec ReEncode -/Times-Bold /Times-Bold-iso isol2vec ReEncode -/Times-BoldItalic /Times-BoldItalic-iso isol2vec ReEncode -/AvantGarde-Book /AvantGarde-Book-iso isol2vec ReEncode -/AvantGarde-BookOblique /AvantGarde-BookOblique-iso isol2vec ReEncode -/AvantGarde-Demi /AvantGarde-Demi-iso isol2vec ReEncode -/AvantGarde-DemiOblique /AvantGarde-DemiOblique-iso isol2vec ReEncode -/Bookman-Light /Bookman-Light-iso isol2vec ReEncode -/Bookman-LightItalic /Bookman-LightItalic-iso isol2vec ReEncode -/Bookman-Demi /Bookman-Demi-iso isol2vec ReEncode -/Bookman-DemiItalic /Bookman-DemiItalic-iso isol2vec ReEncode -/Courier /Courier-iso isol2vec ReEncode -/Courier-Oblique /Courier-Oblique-iso isol2vec ReEncode -/Courier-Bold /Courier-Bold-iso isol2vec ReEncode -/Courier-BoldOblique /Courier-BoldOblique-iso isol2vec ReEncode -/Helvetica /Helvetica-iso isol2vec ReEncode -/Helvetica-Oblique /Helvetica-Oblique-iso isol2vec ReEncode -/Helvetica-Bold /Helvetica-Bold-iso isol2vec ReEncode -/Helvetica-BoldOblique /Helvetica-BoldOblique-iso isol2vec ReEncode -/Helvetica-Narrow /Helvetica-Narrow-iso isol2vec ReEncode -/Helvetica-Narrow-Oblique /Helvetica-Narrow-Oblique-iso isol2vec ReEncode -/Helvetica-Narrow-Bold /Helvetica-Narrow-Bold-iso isol2vec ReEncode -/Helvetica-Narrow-BoldOblique /Helvetica-Narrow-BoldOblique-iso isol2vec ReEncode -/NewCenturySchlbk-Roman /NewCenturySchlbk-Roman-iso isol2vec ReEncode -/NewCenturySchlbk-Italic /NewCenturySchlbk-Italic-iso isol2vec ReEncode -/NewCenturySchlbk-Bold /NewCenturySchlbk-Bold-iso isol2vec ReEncode -/NewCenturySchlbk-BoldItalic /NewCenturySchlbk-BoldItalic-iso isol2vec ReEncode -/Palatino-Roman /Palatino-Roman-iso isol2vec ReEncode -/Palatino-Italic /Palatino-Italic-iso isol2vec ReEncode -/Palatino-Bold /Palatino-Bold-iso isol2vec ReEncode -/Palatino-BoldItalic /Palatino-BoldItalic-iso isol2vec ReEncode -%% End of uk_UA.KOI8-U.ps diff --git a/media-gfx/transfig/metadata.xml b/media-gfx/transfig/metadata.xml deleted file mode 100644 index fe8a273..0000000 --- a/media-gfx/transfig/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>pva@gentoo.org</email> - <name>Peter Volkov</name> - </maintainer> -</pkgmetadata> diff --git a/media-gfx/transfig/transfig-3.2.5d.ebuild b/media-gfx/transfig/transfig-3.2.5d.ebuild deleted file mode 100644 index 86fa62d..0000000 --- a/media-gfx/transfig/transfig-3.2.5d.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5d.ebuild,v 1.1 2010/09/28 14:41:51 pva Exp $ - -EAPI="2" -inherit toolchain-funcs eutils flag-o-matic - -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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -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=/usr/bin - MANDIR=/usr/share/man/man\$\(MANSUFFIX\) - XFIGLIBDIR=/usr/share/xfig - USEINLINE=-DUSE_INLINE - RGB=/usr/share/X11/rgb.txt - FIG2DEV_LIBDIR=/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}"/${P}-fig2mpdf.patch - epatch "${FILESDIR}"/${PN}-3.2.5c-maxfontsize.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 || die "make Makefiles failed" - - emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \ - USRLIBDIR=/usr/$(get_libdir) || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" \ - ${transfig_conf} install install.man || die - - dobin "${WORKDIR}/fig2mpdf/fig2mpdf" || die - doman "${WORKDIR}/fig2mpdf/fig2mpdf.1" || die - - insinto /usr/share/fig2dev/ - newins "${FILESDIR}/transfig-ru_RU.CP1251.ps" ru_RU.CP1251.ps || die - newins "${FILESDIR}/transfig-ru_RU.KOI8-R.ps" ru_RU.KOI8-R.ps || die - newins "${FILESDIR}/transfig-uk_UA.KOI8-U.ps" uk_UA.KOI8-U.ps || die - - dohtml "${WORKDIR}/fig2mpdf/doc/"* || die - - mv "${D}"/usr/bin/fig2ps2tex{.sh,} || die #338295 - - dodoc README CHANGES LATEX.AND.XFIG NOTES || die -} - -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." -} |