[Slackbuilds-users] DevIL

Phillip Warner pc_warner at yahoo.com
Mon Jul 7 03:42:31 UTC 2008


DevIL did not just get lost in the transfer from 12.0 to 12.1.  David Somero brought the new gcc issues to my attention back in early April and I developed a full patch to fix those issues (*much* more is needed than just the small patch you have shown- it will compile, but it will be a broken, buggy library).  However, the patch I made was quite ugly and so I contacted the DevIL developers about releasing an official patch or a cvs snapshot.  I have not received a response from them for over two months now.  I sent a reminder to them about this last week.

You are actually the first person other than David who has requested a fix for this.  I actually stopped using DevIL in favor of some other image libraries, but I still have all the files from the new slackBuild I made.  Since upstream support seems to be waning perhaps it is time I post what I made.

What do you think, David?  Also, do you want me to continue a copy of this thread in the slackbuilds-devel mailing list as it was before?

--phil


--- On Sun, 7/6/08, LukenShiro <lukenshiro at ngi.it> wrote:

> From: LukenShiro <lukenshiro at ngi.it>
> Subject: DevIL
> To: slackbuilds-users at slackbuilds.org
> Cc: "Phillip Warner" <pc_warner at yahoo.com>
> Date: Sunday, July 6, 2008, 1:00 PM
> I've noticed libraries/DevIL got lost in transfer form
> 12.0 to 12.1
> 
> 
> 
> BTW compiling 12.0 version's DevIL slackbuild I've
> seen an error 
> in "include/IL/ilut.h" file while compiling (it
> seems to lack a capital 
> letter "I" just before Lstring):
> 
> [..]
> In file included from
> ../../src-ILUT/include/ilut_internal.h:39,
>                  from ilut_allegro.c:14:
> ../../include/IL/ilut.h:237: error: expected ‘)’ before
> ‘FileName’
> make[2]: *** [ilut_allegro.lo] Error 1
> make[2]: Leaving directory
> `/tmp/SBo/DevIL-1.6.8/src-ILUT/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/tmp/SBo/DevIL-1.6.8/src-ILUT'
> make: *** [all-recursive] Error 1
> 
> So I've modified it:
> ====================================================
> --- /tmp/SBo/DevIL-1.6.8/include/IL/ilut.h	2006-07-04
> 16:43:23.000000000 
> +0200
> +++ ilut.h_new	2008-07-06 21:21:13.718281714 +0200
> @@ -234,7 +234,7 @@
>  extern "C" {
>  #endif
>  
> -	ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(Lstring
> FileName);
> +	ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(ILstring
> FileName);
>  	ILAPI BITMAP* ILAPIENTRY ilutConvertToAlleg(PALETTE Pal);
>  #endif//ILUT_USE_ALLEGRO
> 
> ====================================================
> 
> After editing it compiles well (maybe it hasn't been
> noticed before, 
> because allegro was not installed and this chunk's use
> depends on 
> allegro availability? Just a guess).
> 
> -- 
> GNU/Linux * Slackware 'current'
> LU #210970 LM #98222 SU #12583
> "A celebrity is a person who is known for his
> well-knownness."


      


More information about the SlackBuilds-users mailing list