diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-07-13 07:25:11 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-07-13 07:25:11 +0000 |
commit | fbfa3e72b66ec760bf134c46948e1ad083714d54 (patch) | |
tree | 5840bf6a00808b2e118c0fdfd0081a8941ce0c2e /dev-tcltk/tkimg | |
parent | Corrected version (diff) | |
download | historical-fbfa3e72b66ec760bf134c46948e1ad083714d54.tar.gz historical-fbfa3e72b66ec760bf134c46948e1ad083714d54.tar.bz2 historical-fbfa3e72b66ec760bf134c46948e1ad083714d54.zip |
Version Bump
Package-Manager: portage-2.2.0_alpha44/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk/tkimg')
-rw-r--r-- | dev-tcltk/tkimg/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tcltk/tkimg/Manifest | 16 | ||||
-rw-r--r-- | dev-tcltk/tkimg/files/tkimg-1.5_pre324-unbundle.patch | 238 | ||||
-rw-r--r-- | dev-tcltk/tkimg/metadata.xml | 4 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild | 81 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.5_pre324.ebuild | 57 |
6 files changed, 397 insertions, 9 deletions
diff --git a/dev-tcltk/tkimg/ChangeLog b/dev-tcltk/tkimg/ChangeLog index cf734cc5702c..1aa227ca2c8b 100644 --- a/dev-tcltk/tkimg/ChangeLog +++ b/dev-tcltk/tkimg/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-tcltk/tkimg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.24 2011/06/29 18:55:26 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.25 2011/07/13 07:25:10 jlec Exp $ + +*tkimg-1.5_pre324-r1 (13 Jul 2011) +*tkimg-1.5_pre324 (13 Jul 2011) + + 13 Jul 2011; Justin Lecher <jlec@gentoo.org> +tkimg-1.5_pre324.ebuild, + +tkimg-1.5_pre324-r1.ebuild, +files/tkimg-1.5_pre324-unbundle.patch, + metadata.xml: + Version Bump 29 Jun 2011; Markus Meier <maekke@gentoo.org> tkimg-1.4.ebuild: x86 stable, bug #373101 diff --git a/dev-tcltk/tkimg/Manifest b/dev-tcltk/tkimg/Manifest index 54d7f824e200..97815b5bdd13 100644 --- a/dev-tcltk/tkimg/Manifest +++ b/dev-tcltk/tkimg/Manifest @@ -1,18 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX tkimg-1.4.20100510-boolean.patch 373 RMD160 ff69fb2a48110947f38e30a0fe01c8827628bef8 SHA1 e9b12c418d87e7933fa64f6b183ec8802a1c9b37 SHA256 b68d29f6396bda665c5b11996a9f4c3b8295059a876ed7499509c6460e06fb97 AUX tkimg-1.4.20100510-gentoo.patch 7306 RMD160 3f985a98b8cdbf8c485e573aff42b9ee6a94c271 SHA1 4d590b309fa19ebf73a0e377ab4a7ebfda34309e SHA256 d85a72bc293c8b2abe15381edba28ad29649a72bf2fa647f11ff8a1db583df40 +AUX tkimg-1.5_pre324-unbundle.patch 9950 RMD160 ceda455ef2abc0417eab3b5cee9473937a071f9f SHA1 c894acae64e0f408b12cb6b92048b057c2e4413a SHA256 6a83f1490ab55635cdf9d48255ad7a2910914b908ca164645afa0ed02c90a1f3 DIST tkimg-1.4.20100510.tar.bz2 4625881 RMD160 3d5a6e4186afd4487333e6b069a756810560147d SHA1 42befa7cf86c5c6271fe86bdbad2f0e0953acee1 SHA256 74b60431d6ae3767132d7f334af1a208b978d99e7b2710db84dc3da95b5ff0ae +DIST tkimg-1.5_pre324.tar.xz 2663020 RMD160 76956a458aa9211a4e085a879e2b495c8b5c0500 SHA1 8dfa1081dac8cdd528eca4af88483a377979cd94 SHA256 e351f8f658fd82f8639a664ef32390ff143315419ce4f0eb1213d860c8be5214 DIST tkimg1.4.tar.bz2 4912894 RMD160 a05adf3e911ce7ab9304bddd89cf53c55c27b8fc SHA1 aa519474e3eb9640977a0ea7c61da6ba5129220b SHA256 a6beb98a8f98040f979eee60c133319f4338f1a5a3ab87379fb69b473e73e3b1 EBUILD tkimg-1.4.20100510.ebuild 1506 RMD160 0184d6498a21e7104b363cb60703563c53151bb5 SHA1 371913f903a640baa54f31477b19ddd4b2835f0c SHA256 bcb6c37a97257dd40da7f54d359739a44e6a452f3066dcc097cd65afd4c45234 EBUILD tkimg-1.4.ebuild 1296 RMD160 9381262370b7381c902dded1b5f9f871816b96e3 SHA1 25700fdfa38992c9d4c4db53e6b1b0bad2a1f3e5 SHA256 dde69df8b9f7f5131ecb71448ca17622440144c86d7bba3afeda5a9f2f529cc5 -MISC ChangeLog 4298 RMD160 b8a63fb59be5b1ff2c1bf169b7130e6fe05171a4 SHA1 708004e2d39b9e0de568c20ad9f3ddfe9868ffa5 SHA256 d181b6bf2661977c79d079bd1f5a172e29962d255d59181eeb24583b6dc0a1a9 -MISC metadata.xml 264 RMD160 88eefa6a63d6a9ace7296b7763a3092a3ff38c89 SHA1 8a84ccda465fb091c6f9479519989ca166b01c9c SHA256 a4b1985ffd3154ede13b4ed78675505c5b20e11a9452c1a2676b100b31158a7c +EBUILD tkimg-1.5_pre324-r1.ebuild 1789 RMD160 d6881c279f53311692aa99822281cf6d026a07be SHA1 621d7b4bbca5330a76eb85c2a8dcc481dd83e70a SHA256 31962a129d82a655f6a0a195ac9bb914e2a727fc55f2f0684cc1d7c630b9cc34 +EBUILD tkimg-1.5_pre324.ebuild 1287 RMD160 78620ffca0a9202852ba0b6aa6d984a6bddb8dec SHA1 c91e62dd46c3394312216253906930b4fdd1260c SHA256 97b14be3b08c26f56baba8d6fb27c8ec2670197b9136e04fcf3ca0f3c7c2ff96 +MISC ChangeLog 4540 RMD160 44a7838db60b5b20a1cc36ccad58f71956860288 SHA1 ae1989d7a2dd1ecb3b35f2a2e75416f16e26e855 SHA256 61c13282c260c35c244ea31959172b5b6795053a42d4c7047cd47f5abeed2dbf +MISC metadata.xml 266 RMD160 d7c5f086c7291a9ac127633d31c5f78b0dbf6297 SHA1 88e958c8725427b9ce9156c4457703914a19992c SHA256 fe07b2bee63764c9cb9e3aaeac927f511dd11d3ff45e40021def110ac46cebbe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk4LdTgACgkQkKaRLQcq0GIxvgCdGLySlO/+fNQ+MyNP9vYUagBF -GFUAn2v4xfUdyPygDkIWq6QokwR/bTLI -=70nw +iEYEAREKAAYFAk4dSGIACgkQgAnW8HDreRbaZgCdGDUJ6yFjj9YYZ7AoYzJdme/5 +GqMAn2850/5U2+ZZVqyBH3qYtCLZ6wWA +=NJ/4 -----END PGP SIGNATURE----- diff --git a/dev-tcltk/tkimg/files/tkimg-1.5_pre324-unbundle.patch b/dev-tcltk/tkimg/files/tkimg-1.5_pre324-unbundle.patch new file mode 100644 index 000000000000..30cfafa8b307 --- /dev/null +++ b/dev-tcltk/tkimg/files/tkimg-1.5_pre324-unbundle.patch @@ -0,0 +1,238 @@ + libjpeg/configure.in | 21 +-------------------- + libjpeg/jpegtclDecls.h | 4 ++-- + libpng/configure.in | 10 +--------- + libpng/pngtclDecls.h | 2 +- + libtiff/configure.in | 19 ++----------------- + libtiff/tifftcl.decls | 3 --- + libtiff/tifftclDecls.h | 7 +++---- + libtiff/tifftclStubInit.c | 1 - + zlib/configure.in | 7 +------ + zlib/zlibtclDecls.h | 2 +- + 10 files changed, 12 insertions(+), 64 deletions(-) + +diff --git a/libjpeg/configure.in b/libjpeg/configure.in +index ebf24a1..c38f766 100644 +--- a/libjpeg/configure.in ++++ b/libjpeg/configure.in +@@ -54,30 +54,11 @@ JPEG_CC=$CC + + TEA_ADD_SOURCES([jpegtcl.c jpegtclStubInit.c]) + +-TEA_ADD_SOURCES([ +- ../compat/libjpeg/jcapimin.c ../compat/libjpeg/jcapistd.c ../compat/libjpeg/jccoefct.c +- ../compat/libjpeg/jccolor.c ../compat/libjpeg/jcdctmgr.c ../compat/libjpeg/jchuff.c +- ../compat/libjpeg/jcinit.c ../compat/libjpeg/jcmainct.c ../compat/libjpeg/jcmarker.c +- ../compat/libjpeg/jcmaster.c ../compat/libjpeg/jcomapi.c ../compat/libjpeg/jcparam.c +- ../compat/libjpeg/jcarith.c ../compat/libjpeg/jcprepct.c ../compat/libjpeg/jcsample.c +- ../compat/libjpeg/jctrans.c ../compat/libjpeg/jdapimin.c ../compat/libjpeg/jdapistd.c +- ../compat/libjpeg/jdatadst.c ../compat/libjpeg/jdatasrc.c ../compat/libjpeg/jdcoefct.c +- ../compat/libjpeg/jdcolor.c ../compat/libjpeg/jddctmgr.c ../compat/libjpeg/jdhuff.c +- ../compat/libjpeg/jdinput.c ../compat/libjpeg/jdmainct.c ../compat/libjpeg/jdmarker.c +- ../compat/libjpeg/jdmaster.c ../compat/libjpeg/jdmerge.c ../compat/libjpeg/jdarith.c +- ../compat/libjpeg/jdpostct.c ../compat/libjpeg/jdsample.c ../compat/libjpeg/jdtrans.c +- ../compat/libjpeg/jerror.c ../compat/libjpeg/jfdctflt.c ../compat/libjpeg/jfdctfst.c +- ../compat/libjpeg/jfdctint.c ../compat/libjpeg/jidctflt.c ../compat/libjpeg/jidctfst.c +- ../compat/libjpeg/jidctint.c ../compat/libjpeg/jaricom.c ../compat/libjpeg/jquant1.c +- ../compat/libjpeg/jquant2.c ../compat/libjpeg/jutils.c ../compat/libjpeg/jmemmgr.c +- ../compat/libjpeg/jmemansi.c +-]) +- + TEA_ADD_HEADERS([jpegtcl.h jpegtclDecls.h]) + + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) + TEA_ADD_INCLUDES([-I\"./libjpeg\"]) +-TEA_ADD_LIBS([]) ++TEA_ADD_LIBS([-ljpeg]) + TEA_ADD_CFLAGS([]) + TEA_ADD_STUB_SOURCES([jpegtclStubLib.c]) + TEA_ADD_SOURCES([jpegtclStubLib.c]) +diff --git a/libjpeg/jpegtclDecls.h b/libjpeg/jpegtclDecls.h +index e4cd005..34106b0 100644 +--- a/libjpeg/jpegtclDecls.h ++++ b/libjpeg/jpegtclDecls.h +@@ -33,8 +33,8 @@ EXTERN int Jpegtcl_SafeInit(Tcl_Interp *interp); + #if !defined(NO_PROTOTYPES) && !defined(HAVE_PROTOTYPES) + # define HAVE_PROTOTYPES 1 + #endif +-#include "../compat/libjpeg/jpeglib.h" +-#include "../compat/libjpeg/jerror.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/jpeglib.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/jerror.h" + + /* !BEGIN!: Do not edit below this line. */ + +diff --git a/libpng/configure.in b/libpng/configure.in +index 4bfe863..7380680 100644 +--- a/libpng/configure.in ++++ b/libpng/configure.in +@@ -65,19 +65,11 @@ IMG_SRCPATH(zlibtcl) + + TEA_ADD_SOURCES([pngtcl.c pngtclStubInit.c]) + +-TEA_ADD_SOURCES([ +- ../compat/libpng/png.c ../compat/libpng/pngerror.c ../compat/libpng/pngmem.c +- ../compat/libpng/pngpread.c ../compat/libpng/pngread.c ../compat/libpng/pngrio.c +- ../compat/libpng/pngrtran.c ../compat/libpng/pngrutil.c ../compat/libpng/pngset.c +- ../compat/libpng/pngtrans.c ../compat/libpng/pngwio.c ../compat/libpng/pngwrite.c +- ../compat/libpng/pngwtran.c ../compat/libpng/pngwutil.c ../compat/libpng/pngget.c +-]) +- + TEA_ADD_HEADERS([pngtcl.h pngtclDecls.h]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${zlibtcl_SRC_PATH}`\"]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${zlibtcl_BUILD_PATH}`\"]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) +-TEA_ADD_LIBS([-lm]) ++TEA_ADD_LIBS([-lm -lpng]) + TEA_ADD_CFLAGS([-DZLIBTCL_VERSION=\\\"${zlibtcl_VERSION}\\\"]) + TEA_ADD_STUB_SOURCES([pngtclStubLib.c]) + TEA_ADD_SOURCES([pngtclStubLib.c]) +diff --git a/libpng/pngtclDecls.h b/libpng/pngtclDecls.h +index 32baeab..a535e25 100644 +--- a/libpng/pngtclDecls.h ++++ b/libpng/pngtclDecls.h +@@ -28,7 +28,7 @@ + EXTERN int Pngtcl_Init(Tcl_Interp *interp); + EXTERN int Pngtcl_SafeInit(Tcl_Interp *interp); + +-#include "../compat/libpng/png.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/png.h" + + /* !BEGIN!: Do not edit below this line. */ + +diff --git a/libtiff/configure.in b/libtiff/configure.in +index 64e5bdf..20a8dd1 100644 +--- a/libtiff/configure.in ++++ b/libtiff/configure.in +@@ -68,7 +68,7 @@ else + TIFFHOST="$host" + fi + ${srcdir}/../compat/libtiff/configure --disable-zlib --disable-pixarlog --disable-jpeg \ +- "--with-CC=$TIFFCC" $TIFFHOST ++ $TIFFHOST + mv -f tifftcl_confdefs.h confdefs.h + + #----------------------------------------------------------------------- +@@ -82,20 +82,6 @@ mv -f tifftcl_confdefs.h confdefs.h + + TEA_ADD_SOURCES([tifftcl.c tifftclStubInit.c]) + +-TEA_ADD_SOURCES([ +- ../compat/libtiff/libtiff/tif_aux.c ../compat/libtiff/libtiff/tif_close.c ../compat/libtiff/libtiff/tif_codec.c +- ../compat/libtiff/libtiff/tif_compress.c ../compat/libtiff/libtiff/tif_dir.c ../compat/libtiff/libtiff/tif_dirinfo.c +- ../compat/libtiff/libtiff/tif_dirread.c ../compat/libtiff/libtiff/tif_dirwrite.c ../compat/libtiff/libtiff/tif_dumpmode.c +- ../compat/libtiff/libtiff/tif_error.c ../compat/libtiff/libtiff/tif_fax3.c +- ../compat/libtiff/libtiff/tif_getimage.c ../compat/libtiff/libtiff/tif_flush.c ../compat/libtiff/libtiff/tif_luv.c +- ../compat/libtiff/libtiff/tif_lzw.c ../compat/libtiff/libtiff/tif_next.c ../compat/libtiff/libtiff/tif_open.c +- ../compat/libtiff/libtiff/tif_packbits.c ../compat/libtiff/libtiff/tif_predict.c ../compat/libtiff/libtiff/tif_print.c +- ../compat/libtiff/libtiff/tif_read.c ../compat/libtiff/libtiff/tif_swab.c ../compat/libtiff/libtiff/tif_strip.c +- ../compat/libtiff/libtiff/tif_thunder.c ../compat/libtiff/libtiff/tif_tile.c ../compat/libtiff/libtiff/tif_version.c +- ../compat/libtiff/libtiff/tif_warning.c ../compat/libtiff/libtiff/tif_write.c +- ../compat/libtiff/libtiff/tif_color.c ../compat/libtiff/libtiff/tif_extension.c +-]) +- + TEA_ADD_HEADERS([tifftcl.h tifftclDecls.h]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) + TEA_ADD_INCLUDES([-I\"./libtiff\"]) +@@ -133,7 +119,6 @@ if test "${TEA_PLATFORM}" = "windows" ; then + TEA_ADD_SOURCES([../compat/libtiff/libtiff/tif_win32.c]) + else + CLEANFILES="" +- TEA_ADD_SOURCES([../compat/libtiff/libtiff/tif_unix.c]) + fi + AC_SUBST(CLEANFILES) + +@@ -198,7 +183,7 @@ TEA_MAKE_LIB + if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes" ; then + TEA_ADD_LIBS([user32.lib]) + else +- TEA_ADD_LIBS([-lm]) ++ TEA_ADD_LIBS([-lm -ltiff]) + fi + + #-------------------------------------------------------------------- +diff --git a/libtiff/tifftcl.decls b/libtiff/tifftcl.decls +index bed9be1..e7f1433 100644 +--- a/libtiff/tifftcl.decls ++++ b/libtiff/tifftcl.decls +@@ -172,9 +172,6 @@ declare 48 { + declare 49 { + int TIFFWriteDirectory(TIFF *tiffptr) + } +-declare 50 { +- int TIFFReassignTagToIgnore(enum TIFFIgnoreSense a, int b) +-} + declare 51 { + void TIFFPrintDirectory(TIFF *tiffptr, FILE *a, long b) + } +diff --git a/libtiff/tifftclDecls.h b/libtiff/tifftclDecls.h +index 1732cad..8ae1967 100644 +--- a/libtiff/tifftclDecls.h ++++ b/libtiff/tifftclDecls.h +@@ -34,7 +34,9 @@ EXTERN int Tifftcl_SafeInit(Tcl_Interp *interp); + */ + #undef INLINE + +-#include "../compat/libtiff/libtiff/tiffio.h" ++#include "../compat/libtiff/libtiff/tiffiop.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/tiff.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/tiffio.h" + #include "../compat/libtiff/libtiff/tiffiop.h" + #include "../compat/libtiff/libtiff/tif_predict.h" + +@@ -150,9 +152,6 @@ TIFFTCLAPI int TIFFSetField(TIFF *tiffptr, ttag_t a, ...); + TIFFTCLAPI int TIFFVSetField(TIFF *tiffptr, ttag_t a, va_list b); + /* 49 */ + TIFFTCLAPI int TIFFWriteDirectory(TIFF *tiffptr); +-/* 50 */ +-TIFFTCLAPI int TIFFReassignTagToIgnore(enum TIFFIgnoreSense a, +- int b); + /* 51 */ + TIFFTCLAPI void TIFFPrintDirectory(TIFF *tiffptr, FILE *a, long b); + /* 52 */ +diff --git a/libtiff/tifftclStubInit.c b/libtiff/tifftclStubInit.c +index cf9448f..7302310 100644 +--- a/libtiff/tifftclStubInit.c ++++ b/libtiff/tifftclStubInit.c +@@ -70,7 +70,6 @@ const TifftclStubs tifftclStubs = { + TIFFSetField, /* 47 */ + TIFFVSetField, /* 48 */ + TIFFWriteDirectory, /* 49 */ +- TIFFReassignTagToIgnore, /* 50 */ + TIFFPrintDirectory, /* 51 */ + TIFFReadScanline, /* 52 */ + TIFFWriteScanline, /* 53 */ +diff --git a/zlib/configure.in b/zlib/configure.in +index 713bc51..2aff164 100644 +--- a/zlib/configure.in ++++ b/zlib/configure.in +@@ -51,16 +51,11 @@ TEA_SETUP_COMPILER + #----------------------------------------------------------------------- + + TEA_ADD_SOURCES([zlibtcl.c zlibtclStubInit.c]) +-TEA_ADD_SOURCES([../compat/zlib/adler32.c ../compat/zlib/compress.c ../compat/zlib/crc32.c]) +-TEA_ADD_SOURCES([../compat/zlib/deflate.c ../compat/zlib/gzclose.c ../compat/zlib/gzlib.c]) +-TEA_ADD_SOURCES([../compat/zlib/gzread.c ../compat/zlib/gzwrite.c ../compat/zlib/infback.c]) +-TEA_ADD_SOURCES([../compat/zlib/inffast.c ../compat/zlib/inflate.c ../compat/zlib/inftrees.c]) +-TEA_ADD_SOURCES([../compat/zlib/trees.c ../compat/zlib/uncompr.c ../compat/zlib/zutil.c]) + + TEA_ADD_HEADERS([zlibtcl.h zlibtclDecls.h]) + + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) +-TEA_ADD_LIBS([]) ++TEA_ADD_LIBS([-lz]) + TEA_ADD_CFLAGS([]) + TEA_ADD_STUB_SOURCES([zlibtclStubLib.c]) + TEA_ADD_SOURCES([zlibtclStubLib.c]) +diff --git a/zlib/zlibtclDecls.h b/zlib/zlibtclDecls.h +index 2f7ecb2..d6666ab 100644 +--- a/zlib/zlibtclDecls.h ++++ b/zlib/zlibtclDecls.h +@@ -28,7 +28,7 @@ + EXTERN int Zlibtcl_Init(Tcl_Interp *interp); + EXTERN int Zlibtcl_SafeInit(Tcl_Interp *interp); + +-#include "../compat/zlib/zlib.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/zlib.h" + + /* !BEGIN!: Do not edit below this line. */ + diff --git a/dev-tcltk/tkimg/metadata.xml b/dev-tcltk/tkimg/metadata.xml index a58d166a02f1..6c44e51dcb60 100644 --- a/dev-tcltk/tkimg/metadata.xml +++ b/dev-tcltk/tkimg/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>tcltk</herd> -<longdescription lang="en"> + <herd>tcltk</herd> + <longdescription lang="en"> The "Img" package adds a lot of image formats to Tcl/Tk. </longdescription> </pkgmetadata> diff --git a/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild b/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild new file mode 100644 index 000000000000..985be4dd279c --- /dev/null +++ b/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild,v 1.1 2011/07/13 07:25:11 jlec Exp $ + +EAPI=3 + +VIRTUALX_USE=test + +inherit eutils virtualx autotools flag-o-matic prefix + +MYP="${PN}${PV}" + +DESCRIPTION="Adds a lot of image formats to Tcl/Tk" +HOMEPAGE="http://tkimg.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +IUSE="doc test" +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-lang/tk + >=dev-tcltk/tcllib-1.11 + >=media-libs/libpng-1.4.7 + virtual/jpeg + media-libs/tiff" +DEPEND="${RDEPEND} + test? ( + x11-apps/xhost + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + +src_prepare() { + local i + + export tcl_cv_cc_visibility_hidden=no + + append-cppflags -DPNG_NO_READ_APNG -DPNG_NO_WRITE_APNG + + epatch "${FILESDIR}"/${P}-unbundle.patch + + rm -rf compat/{libtiff,libjpeg,libpng,zlib}/*.c* + + for i in zlib libpng libjpeg libtiff; do + pushd ${i} > /dev/null + einfo "Reconfiguring in ${i} ..." + eautoreconf + popd > /dev/null + done + + eprefixify \ + libjpeg/jpegtclDecls.h \ + libpng/pngtclDecls.h \ + libtiff/tifftclDecls.h \ + zlib/zlibtclDecls.h +} + +src_test() { + Xmake test || die "Xmake failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + INSTALL_ROOT="${D}" \ + install || die "emake install failed" + # Make library links + for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do + bl=$(basename $l) + dosym Img1.4/${bl} /usr/$(get_libdir)/${bl} + done + + dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE || die + if use doc; then + insinto /usr/share/doc/${PF} + doins demo.tcl || die + insinto /usr/share/doc/${PF}/html + doins -r doc/* || die + fi +} diff --git a/dev-tcltk/tkimg/tkimg-1.5_pre324.ebuild b/dev-tcltk/tkimg/tkimg-1.5_pre324.ebuild new file mode 100644 index 000000000000..3eb9b6a597d3 --- /dev/null +++ b/dev-tcltk/tkimg/tkimg-1.5_pre324.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.5_pre324.ebuild,v 1.1 2011/07/13 07:25:11 jlec Exp $ + +EAPI=3 + +VIRTUALX_USE=test + +inherit eutils virtualx autotools + +MYP="${PN}${PV}" + +DESCRIPTION="Adds a lot of image formats to Tcl/Tk" +HOMEPAGE="http://tkimg.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +IUSE="doc test" +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-lang/tk + >=dev-tcltk/tcllib-1.11 + >=media-libs/libpng-1.4.7 + virtual/jpeg + media-libs/tiff" +DEPEND="${RDEPEND} + test? ( + x11-apps/xhost + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + + +src_test() { + Xmake test || die "Xmake failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + INSTALL_ROOT="${D}" \ + install || die "emake install failed" + # Make library links + for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do + bl=$(basename $l) + dosym Img1.4/${bl} /usr/$(get_libdir)/${bl} + done + + dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE || die + if use doc; then + insinto /usr/share/doc/${PF} + doins demo.tcl || die + insinto /usr/share/doc/${PF}/html + doins -r doc/* || die + fi +} |