diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2007-06-24 22:16:33 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2007-06-24 22:16:33 +0000 |
commit | ae793f899e9a459873eb2e1ccec585bb357edc2c (patch) | |
tree | 1f4eb204ba78980ab6cecea790be9093bb19097a /media-libs/imlib | |
parent | arm/sh stable (diff) | |
download | historical-ae793f899e9a459873eb2e1ccec585bb357edc2c.tar.gz historical-ae793f899e9a459873eb2e1ccec585bb357edc2c.tar.bz2 historical-ae793f899e9a459873eb2e1ccec585bb357edc2c.zip |
old
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'media-libs/imlib')
-rw-r--r-- | media-libs/imlib/Manifest | 16 | ||||
-rw-r--r-- | media-libs/imlib/files/digest-imlib-1.9.14-r3 | 3 | ||||
-rw-r--r-- | media-libs/imlib/files/imlib-1.9.14-bound.patch | 372 | ||||
-rw-r--r-- | media-libs/imlib/files/imlib-1.9.14-m4.patch | 15 | ||||
-rw-r--r-- | media-libs/imlib/imlib-1.9.14-r3.ebuild | 54 |
5 files changed, 0 insertions, 460 deletions
diff --git a/media-libs/imlib/Manifest b/media-libs/imlib/Manifest index 8959985d63cd..dd81e9a9a683 100644 --- a/media-libs/imlib/Manifest +++ b/media-libs/imlib/Manifest @@ -1,11 +1,3 @@ -AUX imlib-1.9.14-bound.patch 11764 RMD160 df5062158d71f7aadbdfdbc99bacc5c4c247d51c SHA1 7b58364758d7e567602a7bbc207a286003d35fc7 SHA256 e4fc097e9e8aa893b8af40146a5c2326488d581d67378b3ecf66c7966c5f79bf -MD5 785e01e32ee3640d632ac61e28d14aa4 files/imlib-1.9.14-bound.patch 11764 -RMD160 df5062158d71f7aadbdfdbc99bacc5c4c247d51c files/imlib-1.9.14-bound.patch 11764 -SHA256 e4fc097e9e8aa893b8af40146a5c2326488d581d67378b3ecf66c7966c5f79bf files/imlib-1.9.14-bound.patch 11764 -AUX imlib-1.9.14-m4.patch 436 RMD160 b6fb39be5db68e2bb4ef1ad8da53483538839bf6 SHA1 1194ddbb2e1b8d90d7ee8ea7c271b5fc4fae4bc0 SHA256 eb442e227dc20a5aa574cd1334c2e8d2062c54a4f0a45ad9418ea1e46091962f -MD5 8e77a50e166c6610a16692c5e35adfe9 files/imlib-1.9.14-m4.patch 436 -RMD160 b6fb39be5db68e2bb4ef1ad8da53483538839bf6 files/imlib-1.9.14-m4.patch 436 -SHA256 eb442e227dc20a5aa574cd1334c2e8d2062c54a4f0a45ad9418ea1e46091962f files/imlib-1.9.14-m4.patch 436 AUX imlib-1.9.15.patch 2253 RMD160 beb86753cc2024a9eb671acdc3886b7a5692b526 SHA1 29fb949680e5b2d95392b4c5efd1fdfa21f2df3d SHA256 43dd12dae7913475f968f35a4fa4b1ef4670451e58c712cbd6e5460f20fc9197 MD5 8328ba4002a30764a848de8b9b70f158 files/imlib-1.9.15.patch 2253 RMD160 beb86753cc2024a9eb671acdc3886b7a5692b526 files/imlib-1.9.15.patch 2253 @@ -14,12 +6,7 @@ AUX imlib-security.patch 13040 RMD160 432377938bd85f9974bff8f08aca6d93d310057c S MD5 b273d36aa60adbfaacaf6062234e4c1f files/imlib-security.patch 13040 RMD160 432377938bd85f9974bff8f08aca6d93d310057c files/imlib-security.patch 13040 SHA256 d67a7faa2dba8d361cf25b6fc8125c1da92f25b612bffe909daacdeda577dd57 files/imlib-security.patch 13040 -DIST imlib-1.9.14.tar.bz2 587947 RMD160 363a9ef22e533b8714dc72ac06a25314860b7c4c SHA1 92eb60b4b45443d6ab5ed2e4672808c91845ab9d SHA256 0bee75cf9e751953156e1b9b82aad27c349269206aa8b27b3c0145dbbc70d4a7 DIST imlib-1.9.15.tar.bz2 683242 RMD160 195b80833167134ba2d9a9574d420279f9cf55f4 SHA1 c9a732a354fbb3c7e1a426e5d19fc92d73f8f720 SHA256 4e6a270308a9ae16586bfc133c1a3dfb2e56f431edb66aaa3a80e36e5ed84ce0 -EBUILD imlib-1.9.14-r3.ebuild 1178 RMD160 4ae0e5eb52a8cc5c1300f8ad93b719c72c7e5599 SHA1 8fa203142f60a5d1fa08563cc0a49f20be856098 SHA256 067b59609aa7ff1e7b7ebec2a161f8e8af56b6c030646f9a3f23a29339f5a66f -MD5 f22395a942ddc506300e711c36ae9e55 imlib-1.9.14-r3.ebuild 1178 -RMD160 4ae0e5eb52a8cc5c1300f8ad93b719c72c7e5599 imlib-1.9.14-r3.ebuild 1178 -SHA256 067b59609aa7ff1e7b7ebec2a161f8e8af56b6c030646f9a3f23a29339f5a66f imlib-1.9.14-r3.ebuild 1178 EBUILD imlib-1.9.15-r1.ebuild 1338 RMD160 0db39025da51749543077d7e7a33e1fc2d7e0dc9 SHA1 b20135c2a45e009c25ac48c09896c44ef981652e SHA256 9664f16ffbd6f0e871b03406d25291ba3c02187a87806c3105096da105688c38 MD5 c9bb069017eed01fa3daec06114398bd imlib-1.9.15-r1.ebuild 1338 RMD160 0db39025da51749543077d7e7a33e1fc2d7e0dc9 imlib-1.9.15-r1.ebuild 1338 @@ -32,9 +19,6 @@ MISC metadata.xml 223 RMD160 2fff04beb8d1d190f0ade4a52bb13e3b29af65cb SHA1 a91ca MD5 1e889c7f863a0fc30caf92bce27a25d3 metadata.xml 223 RMD160 2fff04beb8d1d190f0ade4a52bb13e3b29af65cb metadata.xml 223 SHA256 b589c118502c8401bcc833956c80ac3cdb0e484a332e7509a332352721a9f8c6 metadata.xml 223 -MD5 7d8943e4540b953388cc87b41ed392a1 files/digest-imlib-1.9.14-r3 241 -RMD160 3ed410a2157023b27faff6ca7c8256f15ebbb9dc files/digest-imlib-1.9.14-r3 241 -SHA256 428e5761ccd271e004869673db035c46d40c623d7d90f262911706b0d9888132 files/digest-imlib-1.9.14-r3 241 MD5 3ca74ed1d09e760b3ba65e3ea3f0c88d files/digest-imlib-1.9.15-r1 241 RMD160 039218e55a8fed0fb8c45920058885c1d84c22df files/digest-imlib-1.9.15-r1 241 SHA256 79835fd763b99e818f64104e0bf5f475c9dc57a629506db65b9694b4eec1c997 files/digest-imlib-1.9.15-r1 241 diff --git a/media-libs/imlib/files/digest-imlib-1.9.14-r3 b/media-libs/imlib/files/digest-imlib-1.9.14-r3 deleted file mode 100644 index 8e4091387052..000000000000 --- a/media-libs/imlib/files/digest-imlib-1.9.14-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a337643f75bb431034d7213ac74f13dc imlib-1.9.14.tar.bz2 587947 -RMD160 363a9ef22e533b8714dc72ac06a25314860b7c4c imlib-1.9.14.tar.bz2 587947 -SHA256 0bee75cf9e751953156e1b9b82aad27c349269206aa8b27b3c0145dbbc70d4a7 imlib-1.9.14.tar.bz2 587947 diff --git a/media-libs/imlib/files/imlib-1.9.14-bound.patch b/media-libs/imlib/files/imlib-1.9.14-bound.patch deleted file mode 100644 index d2385e529392..000000000000 --- a/media-libs/imlib/files/imlib-1.9.14-bound.patch +++ /dev/null @@ -1,372 +0,0 @@ -diff -uprk.orig imlib-1.9.14.orig/gdk_imlib/io-bmp.c imlib-1.9.14/gdk_imlib/io-bmp.c ---- imlib-1.9.14.orig/gdk_imlib/io-bmp.c 2002-03-04 20:06:29 +0300 -+++ imlib-1.9.14/gdk_imlib/io-bmp.c 2004-09-02 16:36:16 +0400 -@@ -10,7 +10,7 @@ loader_bmp (FILE *file, int *w, int *h, - linesize, linepos, rshift = 0, gshift = 0, bshift = 0; - unsigned char byte; - short int word; -- long int dbuf[4], dword, rmask = 0, gmask = 0, bmask = 0, offset, -+ long int dbuf[4], dword, rmask = 0xff, gmask = 0xff, bmask = 0xff, offset, - size; - signed char bbuf[4]; - struct _cmap -@@ -32,7 +32,7 @@ loader_bmp (FILE *file, int *w, int *h, - * Reading the bmp header - */ - -- fread(&bbuf, 1, 2, file); -+ fread(bbuf, 1, 2, file); - - fread(dbuf, 4, 4, file); - -@@ -42,12 +42,12 @@ loader_bmp (FILE *file, int *w, int *h, - fread(dbuf, 4, 2, file); - *w = (int)dbuf[0]; - *h = (int)dbuf[1]; -- if (*w > 32767) -+ if ((*w < 0) || (*w > 32767)) - { - fprintf(stderr, "IMLIB ERROR: Image width > 32767 pixels for file\n"); - return NULL; - } -- if (*h > 32767) -+ if ((*h < 0) || (*h > 32767)) - { - fprintf(stderr, "IMLIB ERROR: Image height > 32767 pixels for file\n"); - return NULL; -@@ -72,6 +72,9 @@ loader_bmp (FILE *file, int *w, int *h, - ncolors = (int)dbuf[0]; - if (ncolors == 0) - ncolors = 1 << bpp; -+ if ((ncolors < 0) || (ncolors > (1 << bpp))) -+ ncolors = 1 << bpp; -+ - /* some more sanity checks */ - if (((comp == BI_RLE4) && (bpp != 4)) || ((comp == BI_RLE8) && (bpp != 8)) || ((comp == BI_BITFIELDS) && (bpp != 16 && bpp != 32))) - { -@@ -197,9 +200,13 @@ loader_bmp (FILE *file, int *w, int *h, - for (bit = 0; bit < 8; bit++) - { - index = ((byte & (0x80 >> bit)) ? 1 : 0); -- ptr[poffset] = cmap[index].r; -- ptr[poffset + 1] = cmap[index].g; -- ptr[poffset + 2] = cmap[index].b; -+ /* possibly corrupted file? */ -+ if (index < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[index].r; -+ ptr[poffset + 1] = cmap[index].g; -+ ptr[poffset + 2] = cmap[index].b; -+ } - column++; - } - } -@@ -221,9 +228,13 @@ loader_bmp (FILE *file, int *w, int *h, - index = ((byte & (0xF0 >> nibble * 4)) >> (!nibble * 4)); - if (index >= 16) - index = 15; -- ptr[poffset] = cmap[index].r; -- ptr[poffset + 1] = cmap[index].g; -- ptr[poffset + 2] = cmap[index].b; -+ /* possibly corrupted file? */ -+ if (index < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[index].r; -+ ptr[poffset + 1] = cmap[index].g; -+ ptr[poffset + 2] = cmap[index].b; -+ } - column++; - } - } -@@ -263,9 +274,13 @@ loader_bmp (FILE *file, int *w, int *h, - { - linepos++; - byte = getc(file); -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; - } - if (absolute & 0x01) -@@ -276,9 +291,13 @@ loader_bmp (FILE *file, int *w, int *h, - { - for (i = 0; i < first; i++) - { -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; - linepos++; - } -@@ -286,20 +305,27 @@ loader_bmp (FILE *file, int *w, int *h, - } - else - { -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; -- linepos += size; - } - } - } - else if (bpp == 24) - { -- linepos += fread(&bbuf, 1, 3, file); -- ptr[poffset] = (unsigned char)bbuf[2]; -- ptr[poffset + 1] = (unsigned char)bbuf[1]; -- ptr[poffset + 2] = (unsigned char)bbuf[0]; -+ linepos += fread(bbuf, 1, 3, file); -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ ptr[poffset] = (unsigned char)bbuf[2]; -+ ptr[poffset + 1] = (unsigned char)bbuf[1]; -+ ptr[poffset + 2] = (unsigned char)bbuf[0]; -+ } - column++; - } - else if (bpp == 16) -@@ -307,12 +333,16 @@ loader_bmp (FILE *file, int *w, int *h, - unsigned char temp; - - linepos += fread(&word, 2, 1, file); -- temp = (word & rmask) >> rshift; -- ptr[poffset] = temp; -- temp = (word & gmask) >> gshift; -- ptr[poffset + 1] = temp; -- temp = (word & bmask) >> gshift; -- ptr[poffset + 2] = temp; -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ temp = (word & rmask) >> rshift; -+ ptr[poffset] = temp; -+ temp = (word & gmask) >> gshift; -+ ptr[poffset + 1] = temp; -+ temp = (word & bmask) >> gshift; -+ ptr[poffset + 2] = temp; -+ } - column++; - } - else -@@ -320,12 +350,16 @@ loader_bmp (FILE *file, int *w, int *h, - unsigned char temp; - - linepos += fread(&dword, 4, 1, file); -- temp = (dword & rmask) >> rshift; -- ptr[poffset] = temp; -- temp = (dword & gmask) >> gshift; -- ptr[poffset + 1] = temp; -- temp = (dword & bmask) >> bshift; -- ptr[poffset + 2] = temp; -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ temp = (dword & rmask) >> rshift; -+ ptr[poffset] = temp; -+ temp = (dword & gmask) >> gshift; -+ ptr[poffset + 1] = temp; -+ temp = (dword & bmask) >> bshift; -+ ptr[poffset + 2] = temp; -+ } - column++; - } - } -diff -uprk.orig imlib-1.9.14.orig/Imlib/load.c imlib-1.9.14/Imlib/load.c ---- imlib-1.9.14.orig/Imlib/load.c 2002-03-22 17:43:04 +0300 -+++ imlib-1.9.14/Imlib/load.c 2004-09-02 16:34:16 +0400 -@@ -631,12 +631,12 @@ _LoadBMP(ImlibData * id, FILE *file, int - fread(dbuf, 4, 2, file); - *w = (int)dbuf[0]; - *h = (int)dbuf[1]; -- if (*w > 32767) -+ if ((*w < 0) || (*w > 32767)) - { - fprintf(stderr, "IMLIB ERROR: Image width > 32767 pixels for file\n"); - return NULL; - } -- if (*h > 32767) -+ if ((*h < 0) || (*h > 32767)) - { - fprintf(stderr, "IMLIB ERROR: Image height > 32767 pixels for file\n"); - return NULL; -@@ -661,6 +661,9 @@ _LoadBMP(ImlibData * id, FILE *file, int - ncolors = (int)dbuf[0]; - if (ncolors == 0) - ncolors = 1 << bpp; -+ if ((ncolors < 0) || (ncolors > (1 << bpp))) -+ ncolors = 1 << bpp; -+ - /* some more sanity checks */ - if (((comp == BI_RLE4) && (bpp != 4)) || ((comp == BI_RLE8) && (bpp != 8)) || ((comp == BI_BITFIELDS) && (bpp != 16 && bpp != 32))) - { -@@ -786,9 +789,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - for (bit = 0; bit < 8; bit++) - { - index = ((byte & (0x80 >> bit)) ? 1 : 0); -- ptr[poffset] = cmap[index].r; -- ptr[poffset + 1] = cmap[index].g; -- ptr[poffset + 2] = cmap[index].b; -+ /* possibly corrupted file? */ -+ if (index < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[index].r; -+ ptr[poffset + 1] = cmap[index].g; -+ ptr[poffset + 2] = cmap[index].b; -+ } - column++; - } - } -@@ -810,9 +817,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - index = ((byte & (0xF0 >> nibble * 4)) >> (!nibble * 4)); - if (index >= 16) - index = 15; -- ptr[poffset] = cmap[index].r; -- ptr[poffset + 1] = cmap[index].g; -- ptr[poffset + 2] = cmap[index].b; -+ /* possibly corrupted file? */ -+ if (index < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[index].r; -+ ptr[poffset + 1] = cmap[index].g; -+ ptr[poffset + 2] = cmap[index].b; -+ } - column++; - } - } -@@ -851,9 +862,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - { - linepos++; - byte = getc(file); -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; - } - if (absolute & 0x01) -@@ -864,9 +879,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - { - for (i = 0; i < first; i++) - { -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; - linepos++; - } -@@ -874,9 +893,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - } - else - { -- ptr[poffset] = cmap[byte].r; -- ptr[poffset + 1] = cmap[byte].g; -- ptr[poffset + 2] = cmap[byte].b; -+ /* possibly corrupted file? */ -+ if (byte < ncolors && poffset < *w * *h * 3) -+ { -+ ptr[poffset] = cmap[byte].r; -+ ptr[poffset + 1] = cmap[byte].g; -+ ptr[poffset + 2] = cmap[byte].b; -+ } - column++; - } - } -@@ -884,9 +907,13 @@ _LoadBMP(ImlibData * id, FILE *file, int - else if (bpp == 24) - { - linepos += fread(bbuf, 1, 3, file); -- ptr[poffset] = (unsigned char)bbuf[2]; -- ptr[poffset + 1] = (unsigned char)bbuf[1]; -- ptr[poffset + 2] = (unsigned char)bbuf[0]; -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ ptr[poffset] = (unsigned char)bbuf[2]; -+ ptr[poffset + 1] = (unsigned char)bbuf[1]; -+ ptr[poffset + 2] = (unsigned char)bbuf[0]; -+ } - column++; - } - else if (bpp == 16) -@@ -894,12 +921,16 @@ _LoadBMP(ImlibData * id, FILE *file, int - unsigned char temp; - - linepos += fread(&word, 2, 1, file); -- temp = (word & rmask) >> rshift; -- ptr[poffset] = temp; -- temp = (word & gmask) >> gshift; -- ptr[poffset + 1] = temp; -- temp = (word & bmask) >> gshift; -- ptr[poffset + 2] = temp; -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ temp = (word & rmask) >> rshift; -+ ptr[poffset] = temp; -+ temp = (word & gmask) >> gshift; -+ ptr[poffset + 1] = temp; -+ temp = (word & bmask) >> gshift; -+ ptr[poffset + 2] = temp; -+ } - column++; - } - else -@@ -907,12 +938,16 @@ _LoadBMP(ImlibData * id, FILE *file, int - unsigned char temp; - - linepos += fread(&dword, 4, 1, file); -- temp = (dword & rmask) >> rshift; -- ptr[poffset] = temp; -- temp = (dword & gmask) >> gshift; -- ptr[poffset + 1] = temp; -- temp = (dword & bmask) >> bshift; -- ptr[poffset + 2] = temp; -+ /* possibly corrupted file? */ -+ if (poffset < *w * *h * 3) -+ { -+ temp = (dword & rmask) >> rshift; -+ ptr[poffset] = temp; -+ temp = (dword & gmask) >> gshift; -+ ptr[poffset + 1] = temp; -+ temp = (dword & bmask) >> bshift; -+ ptr[poffset + 2] = temp; -+ } - column++; - } - } diff --git a/media-libs/imlib/files/imlib-1.9.14-m4.patch b/media-libs/imlib/files/imlib-1.9.14-m4.patch deleted file mode 100644 index cc7a1baaa03d..000000000000 --- a/media-libs/imlib/files/imlib-1.9.14-m4.patch +++ /dev/null @@ -1,15 +0,0 @@ -Get rid of aclocal warning: -/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB -/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB ---- imlib-1.9.14/imlib.m4 -+++ imlib-1.9.14/imlib.m4 -@@ -8,3 +8,3 @@ - dnl --AC_DEFUN(AM_PATH_IMLIB, -+AC_DEFUN([AM_PATH_IMLIB], - [dnl -@@ -166,3 +166,3 @@ - # Check for gdk-imlib --AC_DEFUN(AM_PATH_GDK_IMLIB, -+AC_DEFUN([AM_PATH_GDK_IMLIB], - [dnl diff --git a/media-libs/imlib/imlib-1.9.14-r3.ebuild b/media-libs/imlib/imlib-1.9.14-r3.ebuild deleted file mode 100644 index 21d90cab3d5a..000000000000 --- a/media-libs/imlib/imlib-1.9.14-r3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.14-r3.ebuild,v 1.14 2007/02/05 22:06:51 drac Exp $ - -inherit gnome.org libtool eutils - -DESCRIPTION="Image loading and rendering library" -HOMEPAGE="http://www.enlightenment.org/Libraries/Imlib.html" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="" - -DEPEND="=x11-libs/gtk+-1.2* - >=media-libs/tiff-3.5.5 - >=media-libs/giflib-4.1.0 - >=media-libs/libpng-1.2.1 - >=media-libs/jpeg-6b" - -src_unpack() { - unpack ${A} - cd "${S}" - - # fix config script #3425 - sed -i \ - -e "49,51D" \ - -e "55,57D" \ - imlib-config.in - - # Security fix per bug #62487 - epatch "${FILESDIR}"/${P}-bound.patch - #Security fix for bug #72681 - epatch "${FILESDIR}"/${PN}-security.patch - # shutup aclocal - epatch "${FILESDIR}"/${P}-m4.patch - - elibtoolize -} - -src_compile() { - econf --sysconfdir=/etc/imlib || die - emake || die -} - -src_install() { - einstall \ - includedir="${D}"/usr/include \ - sysconfdir="${D}"/etc/imlib \ - || die - - dodoc AUTHORS ChangeLog README NEWS - dohtml -r doc -} |