diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-03-17 11:14:16 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-03-17 11:14:16 +0000 |
commit | 6d587875d2b75be21101ef18b8af5b3ebb237a81 (patch) | |
tree | 3e02e06216a1bea853d345470f80d807965214c1 /dev-tex | |
parent | move dev-tex/pdftex to app-text/texlive-core; standalone pdftex is not going ... (diff) | |
download | gentoo-2-6d587875d2b75be21101ef18b8af5b3ebb237a81.tar.gz gentoo-2-6d587875d2b75be21101ef18b8af5b3ebb237a81.tar.bz2 gentoo-2-6d587875d2b75be21101ef18b8af5b3ebb237a81.zip |
remove standalone pdftex
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/pdftex/ChangeLog | 137 | ||||
-rw-r--r-- | dev-tex/pdftex/Manifest | 15 | ||||
-rw-r--r-- | dev-tex/pdftex/files/pdftex-1.40.11-libpng15.patch | 211 | ||||
-rw-r--r-- | dev-tex/pdftex/metadata.xml | 13 | ||||
-rw-r--r-- | dev-tex/pdftex/pdftex-1.40.11.ebuild | 84 |
5 files changed, 0 insertions, 460 deletions
diff --git a/dev-tex/pdftex/ChangeLog b/dev-tex/pdftex/ChangeLog deleted file mode 100644 index cdb7fec37224..000000000000 --- a/dev-tex/pdftex/ChangeLog +++ /dev/null @@ -1,137 +0,0 @@ -# ChangeLog for dev-tex/pdftex -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/ChangeLog,v 1.37 2012/11/05 11:02:23 aballier Exp $ - - 05 Nov 2012; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.11.ebuild: - create S in src_unpack, bug #441002 by Janmejay Singh - - 08 Aug 2012; Andreas K. Huettel <dilfridge@gentoo.org> pdftex-1.40.11.ebuild: - Bump EAPI to 4; xpdf-headers useflag for poppler is going away - - 02 May 2012; Jeff Horelick <jdhore@gentoo.org> pdftex-1.40.11.ebuild: - dev-util/pkgconfig -> virtual/pkgconfig - - 09 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -pdftex-1.40.10.ebuild, - -files/pdftex-1.40.10-poppler.patch: - old - - 11 Jul 2011; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.11.ebuild: - keyword ~x86-fbsd, bug #347461 - - 27 Feb 2011; Raúl Porcel <armin76@gentoo.org> pdftex-1.40.11.ebuild: - Add ~alpha/~ia64/~s390/~sh/~sparc wrt #347461 - - 20 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> pdftex-1.40.11.ebuild: - Marked ~ppc/~ppc64 wrt #347461 - - 16 Feb 2011; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.11.ebuild, - +files/pdftex-1.40.11-libpng15.patch: - Import a fix from upstream for libpng 1.5 compatibility. - -*pdftex-1.40.11 (02 Jan 2011) - - 02 Jan 2011; Alexis Ballier <aballier@gentoo.org> +pdftex-1.40.11.ebuild: - version bump, bug #347461 - - 09 Jun 2010; Alexis Ballier <aballier@gentoo.org> -pdftex-1.40.9.ebuild, - -files/pdftex-1.40.9-getline.patch, -files/pdftex-1.40.9-poppler.patch, - -files/pdftex-1.40.9-poppler-0.11.3.patch, - -files/pdftex-1.40.9-poppler-0.11.patch, - -files/pdftex-1.40.9-xpdfversion.patch: - remove old - - 21 May 2010; Peter Volkov <pva@gentoo.org> pdftex-1.40.10.ebuild: - amd64 stable, bug 302203 - - 11 Feb 2010; Jeroen Roovers <jer@gentoo.org> pdftex-1.40.10.ebuild: - Stable for HPPA (bug #302203). - - 10 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> pdftex-1.40.9.ebuild, - pdftex-1.40.10.ebuild: - Fix poppler depend. - - 07 Feb 2010; Raúl Porcel <armin76@gentoo.org> pdftex-1.40.10.ebuild: - alpha/arm/ia64/s390/sh/sparc stable wrt #302203 - - 01 Feb 2010; Christian Faulhammer <fauli@gentoo.org> - pdftex-1.40.10.ebuild: - stable x86, bug 302203 - - 09 Jan 2010; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.10.ebuild: - Add missing tex-base dep - - 09 Jan 2010; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.10.ebuild: - Use system kpathsea with texlive 2009 - - 12 Dec 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, - pdftex-1.40.10.ebuild: - Set LC_ALL to C to avoid problems with different locales, bug #293199 - -*pdftex-1.40.10 (12 Dec 2009) - - 12 Dec 2009; Alexis Ballier <aballier@gentoo.org> +pdftex-1.40.10.ebuild, - +files/pdftex-1.40.10-poppler.patch: - version bump - - 27 Aug 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, - +files/pdftex-1.40.9-poppler-0.11.3.patch: - Fix build with latest poppler, bug #282833 - - 23 May 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, - +files/pdftex-1.40.9-getline.patch: - fix build with glibc 2.10, bug #270779, ported from tl-core - - 14 May 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild, - +files/pdftex-1.40.9-poppler-0.11.patch: - fix build with latest poppler, bug #269545 - - 30 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> pdftex-1.40.9.ebuild: - Update dependencies w.r.t. bug 264230, fully-split-out poppler transition. - - 18 Mar 2009; Raúl Porcel <armin76@gentoo.org> pdftex-1.40.9.ebuild: - alpha/arm/ia64/s390/sh stable wrt #253551 - - 11 Mar 2009; Markus Meier <maekke@gentoo.org> pdftex-1.40.9.ebuild: - amd64 stable, bug #253551 - - 10 Mar 2009; Raúl Porcel <armin76@gentoo.org> pdftex-1.40.9.ebuild: - Add ~arm/~s390/~sh - - 07 Mar 2009; Christian Faulhammer <fauli@gentoo.org> pdftex-1.40.9.ebuild: - x86 stable, bug 253551 - - 06 Mar 2009; Jeroen Roovers <jer@gentoo.org> pdftex-1.40.9.ebuild: - Stable for HPPA (bug #253551). - - 27 Feb 2009; Ferris McCormick <fmccor@gentoo.org> pdftex-1.40.9.ebuild: - Sparc stable, part of Bug #253551. - - 19 Nov 2008; Ferris McCormick <fmccor@gentoo.org> pdftex-1.40.9.ebuild: - Add ~sparc for testing, cleanup for Bug #237202. - - 15 Oct 2008; Jeroen Roovers <jer@gentoo.org> pdftex-1.40.9.ebuild: - Marked ~hppa too. - - 04 Oct 2008; Brent Baude <ranger@gentoo.org> pdftex-1.40.9.ebuild: - Marking pdftex-1.40.9 ~ppc for bug 237202 - - 30 Sep 2008; Alexis Ballier <aballier@gentoo.org> - +files/pdftex-1.40.9-xpdfversion.patch, pdftex-1.40.9.ebuild: - Stop using xpdfVersion, it's gone from latest poppler and we don't really - need it. - - 24 Sep 2008; Raúl Porcel <armin76@gentoo.org> pdftex-1.40.9.ebuild: - Add ~alpha/~ia64 wrt #237202 - - 21 Sep 2008; Brent Baude <ranger@gentoo.org> pdftex-1.40.9.ebuild: - Marking pdftex-1.40.9 ~ppc64 for bug 237202 - - 11 Sep 2008; Markus Meier <maekke@gentoo.org> pdftex-1.40.9.ebuild: - add ~x86, bug #237202 - -*pdftex-1.40.9 (03 Sep 2008) - - 03 Sep 2008; Alexis Ballier <aballier@gentoo.org> - +files/pdftex-1.40.9-poppler.patch, +metadata.xml, +pdftex-1.40.9.ebuild: - Initial import. Standalone pdftex patched to use poppler. - diff --git a/dev-tex/pdftex/Manifest b/dev-tex/pdftex/Manifest deleted file mode 100644 index 7def5aa58ad4..000000000000 --- a/dev-tex/pdftex/Manifest +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX pdftex-1.40.11-libpng15.patch 8384 SHA256 3f054bb6e987cf54e852234496bb2e22bb7e6b26962ffff56bcec3c6174b695c SHA512 c45e606a53ffb016d4d86e8d9c336995e8bd4513814c70db839e456b4034aec0e61121cae45abebacc2572a766ca36d259ea62402f4be48e4426855997fbfaf1 WHIRLPOOL 5b016cda7f9e74bed971e182f70034734a71e62330c98f4d509f4f14ee7a7dde252e0987556a480536436da2bd10007d0cfccd82129fa773b2b6600681a6734a -DIST pdftex-1.40.11.tar.bz2 6108613 SHA256 17bd8ac40f73cfb60328591c8353d82e8709f2472a251d170db695af9999036f SHA512 cd183506e208bc464772ba52cb5b7f90d5d4d4585764e74d5f85661f5249b666869d2cb1ca572d31b517a336d292dc8ae7f1232037b4e867c6d3c4700496e24b WHIRLPOOL 738ecfafe6808f6a58bbba7ba3b7ad1554e8e3f5809ed4e3e62c26defd7f663eaa21c4dc299a42a2bb022421a7b9958daed868967afb69861c854ad2403a1026 -EBUILD pdftex-1.40.11.ebuild 2067 SHA256 02dd5c426bf82bad5a67531acaf091d2b6f0d372334a9709ed6bba0a2f09caa7 SHA512 53950b76608aa9e90d743e9426af9dd42079af74c11ab7d225951eaa7c2872731656b72c8422c0b87c385bb62548973e645ce7b56e15dce18442483173dd1d6c WHIRLPOOL 1795a80c569e7b17ab15f7b0fc6b16cd711ef3210a0a42c9019386867c46e9878a7e32a4b598da490e0fc00d54fb34f3c86d608ed950d40768cdb8ec3c4b7711 -MISC ChangeLog 5121 SHA256 e15b88331216f3dcc51f55d89cb5ff7e54e90aca19ed1f3c0e2cfdc448ca38eb SHA512 2b5806c19bf0e58d4106d731a10f58ede20503a0c70a0ececf958c12b791fe45622f65b1d467cdefe41819a6972ff18d8a06855cba84fc14b1842aa2e43116b9 WHIRLPOOL 336ecfb1c14c7d81df50d6a160c0790e297c5d0b03fc43033253cf0356f90e4c22e0320744e4c1eec38b755ce949c84fb1c38d7ddec8a0580d7f3a2066685d37 -MISC metadata.xml 638 SHA256 b28290517ed75fbaaa0282cdca3692f11635d173ee5dc5cb342f6071dbb3d3ea SHA512 578b9c582f50840e0acfe8c5e8f904388ca4000aa0e44acdb77473f64033b59e7d491aaf2ce36f4f08be6c45a0756e5d02cdc574fd2c3aa7281b0c00552141f4 WHIRLPOOL c720bd8c989310eecbaf47cdb0eaa978276497ecaffbd25e04a6a95588d5586a1013f9b361902a8352517f9e2c6c3369f667928d445df4db069b329edb546325 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlCXnMEACgkQvFcC4BYPU0rNRwCfdb4nZiTeODm69YZ9HCVag8DY -ldYAnRMdesITryczPA+Y0orjYpj0hKka -=8XmM ------END PGP SIGNATURE----- diff --git a/dev-tex/pdftex/files/pdftex-1.40.11-libpng15.patch b/dev-tex/pdftex/files/pdftex-1.40.11-libpng15.patch deleted file mode 100644 index 1c177c983647..000000000000 --- a/dev-tex/pdftex/files/pdftex-1.40.11-libpng15.patch +++ /dev/null @@ -1,211 +0,0 @@ -Index: source/texk/web2c/pdftexdir/writepng.c -=================================================================== ---- source/texk/web2c/pdftexdir/writepng.c (revision 21236) -+++ source/texk/web2c/pdftexdir/writepng.c (revision 21237) -@@ -21,47 +21,19 @@ - #include "ptexlib.h" - #include "image.h" - --#if PNG_LIBPNG_VER_MINOR > 2 -- - /* ToDo: -- * use png_get_PLTE() to access num_palette and palette -- * use xxx to access transformations -+ * Check if multiple use of, e.g., png_bit_depth(img) should be -+ * replaced by -+ * int bitdepth = png_bit_depth(img); -+ * and subsequent use of bitdepth - */ -- - #define png_bit_depth(N) png_get_bit_depth(png_ptr(N), png_info(N)) - #define png_color_type(N) png_get_color_type(png_ptr(N), png_info(N)) - #define png_height(N) png_get_image_height(png_ptr(N), png_info(N)) - #define png_interlace_type(N) png_get_interlace_type(png_ptr(N), png_info(N)) --#define png_io_ptr(N) png_get_io_ptr(png_ptr(N)) --#define png_num_palette(N) png_info(N)->num_palette --#define png_palette(N) png_info(N)->palette - #define png_rowbytes(N) png_get_rowbytes(png_ptr(N), png_info(N)) --#define png_transformations(N) png_ptr(N)->transformations --#define png_valid(N,flag) png_get_valid(png_ptr(N), png_info(N), flag) - #define png_width(N) png_get_image_width(png_ptr(N), png_info(N)) - --#define png_ptr_bit_depth(N) png_get_bit_depth(png_ptr(N), png_info(N)) --#define png_ptr_color_type(N) png_get_color_type(png_ptr(N), png_info(N)) -- --#else -- --#define png_bit_depth(N) png_info(N)->bit_depth --#define png_color_type(N) png_info(N)->color_type --#define png_height(N) png_info(N)->height --#define png_interlace_type(N) png_info(N)->interlace_type --#define png_io_ptr(N) png_ptr(N)->io_ptr --#define png_num_palette(N) png_info(N)->num_palette --#define png_palette(N) png_info(N)->palette --#define png_rowbytes(N) png_info(N)->rowbytes --#define png_transformations(N) png_ptr(N)->transformations --#define png_valid(N,flag) png_info(N)->valid & (flag) --#define png_width(N) png_info(N)->width -- --#define png_ptr_bit_depth(N) png_ptr(N)->bit_depth --#define png_ptr_color_type(N) png_ptr(N)->color_type -- --#endif -- - static int transparent_page_group = -1; - - void read_png_info(integer img) -@@ -84,7 +56,7 @@ - } - /* alpha channel support */ - if (fixedpdfminorversion < 4 -- && png_ptr_color_type(img) | PNG_COLOR_MASK_ALPHA) -+ && png_color_type(img) | PNG_COLOR_MASK_ALPHA) - png_set_strip_alpha(png_ptr(img)); - /* 16bit depth support */ - if (fixedpdfminorversion < 5) -@@ -104,7 +76,7 @@ - /* resolution support */ - img_width(img) = png_width(img); - img_height(img) = png_height(img); -- if (png_valid(img, PNG_INFO_pHYs)) { -+ if (png_get_valid(png_ptr(img), png_info(img), PNG_INFO_pHYs)) { - img_xres(img) = - round(0.0254 * - png_get_x_pixels_per_meter(png_ptr(img), png_info(img))); -@@ -201,14 +173,18 @@ - int i, j, k, l; - png_bytep row, r, *rows; - integer palette_objnum = 0; -+ png_colorp palette; -+ int num_palette; -+ -+ png_get_PLTE(png_ptr(img), png_info(img), &palette, &num_palette); -+ - pdfcreateobj(0, 0); - palette_objnum = objptr; - if (img_colorspace_ref(img) != 0) { - pdf_printf("%i 0 R\n", (int) img_colorspace_ref(img)); - } else { - pdf_printf("[/Indexed /DeviceRGB %i %i 0 R]\n", -- (int) (png_num_palette(img) - 1), -- (int) palette_objnum); -+ num_palette -1, (int) palette_objnum); - } - pdfbeginstream(); - if (png_interlace_type(img) == PNG_INTERLACE_NONE) { -@@ -230,11 +206,11 @@ - if (palette_objnum > 0) { - pdfbegindict(palette_objnum, 0); - pdfbeginstream(); -- for (i = 0; (unsigned) i < png_num_palette(img); i++) { -+ for (i = 0; (unsigned) i < num_palette; i++) { - pdfroom(3); -- pdfbuf[pdfptr++] = png_palette(img)[i].red; -- pdfbuf[pdfptr++] = png_palette(img)[i].green; -- pdfbuf[pdfptr++] = png_palette(img)[i].blue; -+ pdfbuf[pdfptr++] = palette[i].red; -+ pdfbuf[pdfptr++] = palette[i].green; -+ pdfbuf[pdfptr++] = palette[i].blue; - } - pdfendstream(); - } -@@ -461,7 +437,7 @@ - - static void copy_png(integer img) - { -- FILE *fp = (FILE *) png_io_ptr(img); -+ FILE *fp = (FILE *) png_get_io_ptr(png_ptr(img)); - int i, len, type, streamlength = 0; - boolean endflag = false; - int idat = 0; /* flag to check continuous IDAT chunks sequence */ -@@ -553,7 +529,12 @@ - double gamma, checked_gamma; - int i; - integer palette_objnum = 0; -+ png_colorp palette; -+ int num_palette; - last_png_needs_page_group = false; -+ -+ png_get_PLTE(png_ptr(img), png_info(img), &palette, &num_palette); -+ - if (fixedpdfminorversion < 5) - fixedimagehicolor = 0; - -@@ -570,16 +551,12 @@ - checked_gamma = (fixedgamma / 1000.0) * (1000.0 / fixedimagegamma); - } - } -- /* the switching between |png_info| and |png_ptr| queries has been trial and error. -- */ - if (fixedpdfminorversion > 1 - && png_interlace_type(img) == PNG_INTERLACE_NONE -- && (png_transformations(img) == PNG_TRANSFORM_IDENTITY -- || png_transformations(img) == 0x2000) - /* gamma */ -- && !(png_ptr_color_type(img) == PNG_COLOR_TYPE_GRAY_ALPHA || -- png_ptr_color_type(img) == PNG_COLOR_TYPE_RGB_ALPHA) -- && (fixedimagehicolor || (png_ptr_bit_depth(img) <= 8)) -+ && !(png_color_type(img) == PNG_COLOR_TYPE_GRAY_ALPHA || -+ png_color_type(img) == PNG_COLOR_TYPE_RGB_ALPHA) -+ && (fixedimagehicolor || (png_bit_depth(img) <= 8)) - && (checked_gamma <= 1.01 && checked_gamma > 0.99) - ) { - if (img_colorspace_ref(img) != 0) { -@@ -590,8 +567,7 @@ - pdfcreateobj(0, 0); - palette_objnum = objptr; - pdf_printf("[/Indexed /DeviceRGB %i %i 0 R]\n", -- (int) (png_num_palette(img) - 1), -- (int) palette_objnum); -+ num_palette - 1, (int) palette_objnum); - break; - case PNG_COLOR_TYPE_GRAY: - pdf_puts("/DeviceGray\n"); -@@ -605,11 +581,11 @@ - if (palette_objnum > 0) { - pdfbegindict(palette_objnum, 0); - pdfbeginstream(); -- for (i = 0; i < png_num_palette(img); i++) { -+ for (i = 0; i < num_palette; i++) { - pdfroom(3); -- pdfbuf[pdfptr++] = png_palette(img)[i].red; -- pdfbuf[pdfptr++] = png_palette(img)[i].green; -- pdfbuf[pdfptr++] = png_palette(img)[i].blue; -+ pdfbuf[pdfptr++] = palette[i].red; -+ pdfbuf[pdfptr++] = palette[i].green; -+ pdfbuf[pdfptr++] = palette[i].blue; - } - pdfendstream(); - } -@@ -619,9 +595,6 @@ - if (fixedimageapplygamma && - (checked_gamma > 1.01 || checked_gamma < 0.99)) - tex_printf("gamma delta=%lf ", checked_gamma); -- if (png_transformations(img) != PNG_TRANSFORM_IDENTITY) -- tex_printf("transform=%lu", -- (long) png_transformations(img)); - if ((png_color_type(img) != PNG_COLOR_TYPE_GRAY) - && (png_color_type(img) != PNG_COLOR_TYPE_RGB) - && (png_color_type(img) != PNG_COLOR_TYPE_PALETTE)) -Index: source/texk/web2c/pdftexdir/writeimg.c -=================================================================== ---- source/texk/web2c/pdftexdir/writeimg.c (revision 19947) -+++ source/texk/web2c/pdftexdir/writeimg.c (revision 19948) -@@ -137,7 +137,7 @@ - { - switch (img_type(img)) { - case IMAGE_TYPE_PNG: -- return png_info(img)->bit_depth; -+ return png_get_bit_depth(png_ptr(img), png_info(img)); - case IMAGE_TYPE_JPG: - return jpg_ptr(img)->bits_per_component; - case IMAGE_TYPE_JBIG2: -@@ -389,7 +389,7 @@ - epdf_delete(); - break; - case IMAGE_TYPE_PNG: -- xfclose((FILE *) png_ptr(img)->io_ptr, cur_file_name); -+ xfclose((FILE *) png_get_io_ptr(png_ptr(img)), cur_file_name); - png_destroy_read_struct(&(png_ptr(img)), &(png_info(img)), NULL); - break; - case IMAGE_TYPE_JPG: diff --git a/dev-tex/pdftex/metadata.xml b/dev-tex/pdftex/metadata.xml deleted file mode 100644 index ec725e3d2591..000000000000 --- a/dev-tex/pdftex/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>tex</herd> -<longdescription lang="en"> - An extended version of eTeX that can create PDF directly from TeX source - files and enhance the result of TeX typesetting with the help of PDF. When - PDF output is not selected, pdfTeX produces normal DVI output, otherwise - it produces PDF output that looks identical to the DVI output. An important - aspect of this project is to investigate alternative justification - algorithms, optionally making use of multiple master fonts. -</longdescription> -</pkgmetadata> diff --git a/dev-tex/pdftex/pdftex-1.40.11.ebuild b/dev-tex/pdftex/pdftex-1.40.11.ebuild deleted file mode 100644 index 3f3ea059966f..000000000000 --- a/dev-tex/pdftex/pdftex-1.40.11.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/pdftex-1.40.11.ebuild,v 1.8 2012/11/05 11:02:23 aballier Exp $ - -EAPI=4 -inherit libtool toolchain-funcs eutils - -DESCRIPTION="Standalone version of pdftex that can be used to replace TeX Live's" -HOMEPAGE="http://www.pdftex.org/" -SLOT="0" -LICENSE="GPL-2" - -SRC_URI="http://sarovar.org/frs/download.php/1300/${P}.tar.bz2" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="" - -RDEPEND=">=app-text/poppler-0.12.3-r3[xpdf-headers(+)] - >=media-libs/libpng-1.4 - sys-libs/zlib - dev-libs/kpathsea - app-admin/eselect-pdftex" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${P}/build - -src_unpack() { - unpack ${A} - mkdir "${S}" || die -} - -src_prepare() { - cd "${WORKDIR}/${P}/src" || die - epatch "${FILESDIR}/${P}-libpng15.patch" - elibtoolize -} - -src_configure() { - # Too many regexps use A-Z a-z constructs, what causes problems with locales - # that don't have the same alphabetical order than ascii. Bug #293199 - # So we set LC_ALL to C in order to avoid problems. - export LC_ALL=C - - ECONF_SOURCE="${WORKDIR}/${P}/src" econf -C \ - --disable-cxx-runtime-hack \ - --disable-all-pkgs \ - --disable-ptex \ - --enable-pdftex \ - --disable-native-texlive-build \ - --without-mf-x-toolkit \ - --without-x \ - --disable-shared \ - --disable-largefile \ - --with-system-xpdf \ - --with-system-zlib \ - --with-system-pnglib \ - --disable-multiplatform \ - --with-system-kpathsea \ - --with-system-ptexenc -} - -src_compile() { - emake SHELL=/bin/sh || die - cd "${S}/texk/web2c" || die - emake pdftex || die -} - -src_install() { - cd "${S}/texk/web2c" || die - emake DESTDIR="${D}" \ - SUBDIRS="" \ - bin_PROGRAMS="pdftex" \ - nodist_man_MANS="" \ - dist_man_MANS="" \ - install-binPROGRAMS || die - # Rename it - mv "${D}/usr/bin/pdftex" "${D}/usr/bin/pdftex-${P}" || die "renaming failed" -} - -pkg_postinst(){ - einfo "Calling eselect pdftex update" - eselect pdftex update -} |