Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8818418d9d8743358f5b1c434348dcf38d156ecb
commit 8818418d9d8743358f5b1c434348dcf38d156ecb Author: DeX77 <[email protected]> Date: Tue Sep 26 14:18:33 2017 +0200 devil-1.8.0-1-x86_64 * version bump diff --git a/source/xlib-extra/devil/FrugalBuild b/source/xlib-extra/devil/FrugalBuild index 4cc2f17..00ec247 100644 --- a/source/xlib-extra/devil/FrugalBuild +++ b/source/xlib-extra/devil/FrugalBuild @@ -2,24 +2,22 @@ # Maintainer: Devil505 <[email protected]> pkgname=devil -pkgver=1.7.8 -pkgrel=8 +pkgver=1.8.0 +pkgrel=1 pkgdesc="Library for reading several different image formats" _F_sourceforge_dirname="openil" _F_sourceforge_realname="DevIL" _F_sourceforge_name="DevIL" -_F_cd_path="$pkgname-$pkgver" -Finclude sourceforge +Finclude sourceforge cmake up2date="lynx -dump http://sourceforge.net/projects/openil/files/DevIL/ | grep 'http.*openil/.*DevIL/.*/$'|sed 's|.*/\(.*\)/|\1|;q' " -source=($source 'devil-1.7.8-libpng14.patch' 'gcc-5.0.patch' 'jasper.patch') depends=('libpng>=1.6.25' 'libmng>=2.0.3' 'jasper>=2.0.10' 'openexr' 'sdl') -makedepends=('x11-protos') +makedepends+=('x11-protos') groups=('xlib-extra') -archs=('i686' 'x86_64') +archs=('x86_64') +_F_cd_path="DevIL/DevIL" Fconfopts+=" --with-gnu-ld --enable-ILUT" -sha1sums=('bc27e3e830ba666a3af03548789700d10561fcb1' \ - '178ba5806c6c8b6e554647dd0298092c78b6aa18' \ - 'c0538269b48352cca6ad4f563dce5f9e6cac0664' \ - '4184988d8084623f5f76373f4c5c84d65041ccc8') +source+=("fix_invalid_conversion_error.patch") +sha1sums=('fe5b65e46e8fe5345e4d6d741d966cfd2d25f2c3' \ + '2e995d0ccbedf4eeaad4b14247c20d2841ba46c3') # optimization OK diff --git a/source/xlib-extra/devil/devil-1.7.8-libpng14.patch b/source/xlib-extra/devil/devil-1.7.8-libpng14.patch deleted file mode 100644 index b7fc15c..0000000 --- a/source/xlib-extra/devil/devil-1.7.8-libpng14.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -Nur devil-1.7.8.orig/src-IL/src/il_icon.c devil-1.7.8/src-IL/src/il_icon.c ---- devil-1.7.8.orig/src-IL/src/il_icon.c 2009-03-08 09:10:09.000000000 +0200 -+++ devil-1.7.8/src-IL/src/il_icon.c 2010-01-17 00:54:09.000000000 +0200 -@@ -525,7 +525,7 @@ - - // Expand low-bit-depth grayscale images to 8 bits - if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { -- png_set_gray_1_2_4_to_8(ico_png_ptr); -+ png_set_expand_gray_1_2_4_to_8(ico_png_ptr); - } - - // Expand RGB images with transparency to full alpha channels -diff -Nur devil-1.7.8.orig/src-IL/src/il_png.c devil-1.7.8/src-IL/src/il_png.c ---- devil-1.7.8.orig/src-IL/src/il_png.c 2009-03-08 09:10:09.000000000 +0200 -+++ devil-1.7.8/src-IL/src/il_png.c 2010-01-17 00:55:26.000000000 +0200 -@@ -105,7 +105,7 @@ - Read = iread(Signature, 1, 8); - iseek(-Read, IL_SEEK_CUR); - -- return png_check_sig(Signature, 8); -+ return png_sig_cmp(Signature, 0, 8) == 0; - } - - -@@ -278,7 +278,7 @@ - - // Expand low-bit-depth grayscale images to 8 bits - if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - // Expand RGB images with transparency to full alpha channels - diff --git a/source/xlib-extra/devil/fix_invalid_conversion_error.patch b/source/xlib-extra/devil/fix_invalid_conversion_error.patch new file mode 100644 index 0000000..17d9189 --- /dev/null +++ b/source/xlib-extra/devil/fix_invalid_conversion_error.patch @@ -0,0 +1,87 @@ +--- DevIL/src-IL/src/il_jpeg.cpp 2017-01-02 01:03:56.000000000 +0100 ++++ DevIL.new/src-IL/src/il_jpeg.cpp 2017-09-26 14:17:09.963668097 +0200 +@@ -223,7 +223,7 @@ + init_source (j_decompress_ptr cinfo) + { + iread_ptr src = (iread_ptr) cinfo->src; +- src->start_of_file = TRUE; ++ src->start_of_file = (boolean)IL_TRUE; + } + + +@@ -245,7 +245,7 @@ + src->buffer[0] = (JOCTET) 0xFF; + src->buffer[1] = (JOCTET) JPEG_EOI; + nbytes = 2; +- return IL_FALSE; ++ return (boolean)IL_FALSE; + } + if (nbytes < INPUT_BUF_SIZE) { + ilGetError(); // Gets rid of the IL_FILE_READ_ERROR. +@@ -253,9 +253,9 @@ + + src->pub.next_input_byte = src->buffer; + src->pub.bytes_in_buffer = nbytes; +- src->start_of_file = IL_FALSE; ++ src->start_of_file = (boolean)IL_FALSE; + +- return IL_TRUE; ++ return (boolean)IL_TRUE; + } + + +@@ -334,13 +334,13 @@ + + if ((result = setjmp(JpegJumpBuffer) == 0) != IL_FALSE) { + jpeg_create_decompress(&JpegInfo); +- JpegInfo.do_block_smoothing = IL_TRUE; +- JpegInfo.do_fancy_upsampling = IL_TRUE; ++ JpegInfo.do_block_smoothing = (boolean)IL_TRUE; ++ JpegInfo.do_fancy_upsampling = (boolean)IL_TRUE; + + //jpeg_stdio_src(&JpegInfo, iGetFile()); + + devil_jpeg_read_init(&JpegInfo); +- jpeg_read_header(&JpegInfo, IL_TRUE); ++ jpeg_read_header(&JpegInfo, (boolean)IL_TRUE); + + result = ilLoadFromJpegStruct(&JpegInfo); + +@@ -391,7 +391,7 @@ + iwrite(dest->buffer, 1, OUTPUT_BUF_SIZE); + dest->pub.next_output_byte = dest->buffer; + dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; +- return IL_TRUE; ++ return (boolean)IL_TRUE; + } + + METHODDEF(void) +@@ -550,16 +550,16 @@ + } //EXIF not present in libjpeg... + #else*/ + Type = Type; +- JpegInfo.write_JFIF_header = TRUE; ++ JpegInfo.write_JFIF_header = (boolean)TRUE; + //#endif//IL_USE_JPEGLIB_UNMODIFIED + + // Set the quality output +- jpeg_set_quality(&JpegInfo, iGetInt(IL_JPG_QUALITY), IL_TRUE); ++ jpeg_set_quality(&JpegInfo, iGetInt(IL_JPG_QUALITY), (boolean)IL_TRUE); + // Sets progressive saving here + if (ilGetBoolean(IL_JPG_PROGRESSIVE)) + jpeg_simple_progression(&JpegInfo); + +- jpeg_start_compress(&JpegInfo, IL_TRUE); ++ jpeg_start_compress(&JpegInfo, (boolean)IL_TRUE); + + //row_stride = image_width * 3; // JSAMPLEs per row in image_buffer + +@@ -970,7 +970,7 @@ + JpegInfo->image_height = TempImage->Height; + JpegInfo->input_components = TempImage->Bpp; // # of color components per pixel + +- jpeg_start_compress(JpegInfo, IL_TRUE); ++ jpeg_start_compress(JpegInfo, (boolean)IL_TRUE); + + //row_stride = image_width * 3; // JSAMPLEs per row in image_buffer + diff --git a/source/xlib-extra/devil/gcc-5.0.patch b/source/xlib-extra/devil/gcc-5.0.patch deleted file mode 100644 index 6e78837..0000000 --- a/source/xlib-extra/devil/gcc-5.0.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -ru devil-1.7.8/src-IL/src/il_exr.cpp devil-1.7.8a/src-IL/src/il_exr.cpp ---- devil-1.7.8/src-IL/src/il_exr.cpp 2009-03-08 08:10:09.000000000 +0100 -+++ devil-1.7.8a/src-IL/src/il_exr.cpp 2015-05-15 18:50:35.700339353 +0200 -@@ -11,6 +11,7 @@ - //----------------------------------------------------------------------------- - - -+#include "il.h" - #include "il_internal.h" - #ifndef IL_NO_EXR - -diff -ru devil-1.7.8/src-IL/src/il_nvidia.cpp devil-1.7.8a/src-IL/src/il_nvidia.cpp ---- devil-1.7.8/src-IL/src/il_nvidia.cpp 2009-03-08 08:10:09.000000000 +0100 -+++ devil-1.7.8a/src-IL/src/il_nvidia.cpp 2015-05-15 18:50:46.490308339 +0200 -@@ -11,6 +11,7 @@ - //----------------------------------------------------------------------------- - - -+#include "il.h" - #include "il_internal.h" - #include "il_dds.h" - #include "il_manip.h" -diff -ru devil-1.7.8/src-IL/src/il_squish.cpp devil-1.7.8a/src-IL/src/il_squish.cpp ---- devil-1.7.8/src-IL/src/il_squish.cpp 2009-03-08 08:10:09.000000000 +0100 -+++ devil-1.7.8a/src-IL/src/il_squish.cpp 2015-05-15 18:56:13.935820622 +0200 -@@ -11,6 +11,7 @@ - //----------------------------------------------------------------------------- - - -+#include "il.h" - #include "il_internal.h" - /*#include "il_dds.h" - #include "il_manip.h" -diff -ru devil-1.7.8/src-IL/src/il_utx.cpp devil-1.7.8a/src-IL/src/il_utx.cpp ---- devil-1.7.8/src-IL/src/il_utx.cpp 2009-03-08 08:10:09.000000000 +0100 -+++ devil-1.7.8a/src-IL/src/il_utx.cpp 2015-05-15 18:56:33.572405684 +0200 -@@ -12,6 +12,8 @@ - // - //----------------------------------------------------------------------------- - -+ -+#include "il.h" - #include "il_internal.h" - #ifndef IL_NO_UTX - #include "il_utx.h" diff --git a/source/xlib-extra/devil/jasper.patch b/source/xlib-extra/devil/jasper.patch deleted file mode 100644 index c1fc440..0000000 --- a/source/xlib-extra/devil/jasper.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- devil-1.7.8/src-IL/src/il_jp2.c 2016-11-22 18:17:06.620646464 +0100 -+++ devil-1.7.8/src-IL/src/il_jp2.c 2016-11-22 18:17:26.543961083 +0100 -@@ -459,7 +459,7 @@ - /* The buffer must be large enough to accommodate maximum - putback. */ - assert(bufsize > JAS_STREAM_MAXPUTBACK); -- stream->bufbase_ = JAS_CAST(uchar *, buf); -+ stream->bufbase_ = JAS_CAST(jas_uchar *, buf); - stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK; - } - } else { _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
