Re: [Chicken-users] zlib for chicken 5

2019-04-09 Thread Mario Domenech Goulart
Hi Robert,

On Mon, 8 Apr 2019 22:08:44 -0400 Robert Jensen  
wrote:

> I ported [1] to Chicken 5. You can find the source at [2].
>
> [1] http://wiki.call-cc.org/eggref/4/zlib
> [2] https://github.com/r1b/zlib/releases/tag/0.6

Have you tried to contact the author to check whether he is ok at
handing over the egg?

All the best.
Mario
-- 
http://parenteses.org/mario

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] zlib for chicken 5

2019-04-09 Thread Kristian Lein-Mathisen
Hi Robert,

and thanks for doing this. It seems the sources for zlib for C4 has
disappeared! That makes things awkward.

You have both a README.md and a README.org, could those be merged perhaps?

K.

On Tue, Apr 9, 2019 at 4:11 AM Robert Jensen 
wrote:

> Hello,
>
> I ported [1] to Chicken 5. You can find the source at [2].
>
> All the best,
> Rob
>
> [1] http://wiki.call-cc.org/eggref/4/zlib
> [2] https://github.com/r1b/zlib/releases/tag/0.6
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] error when building freetype egg

2019-04-09 Thread kooda
Vasilij Schneidermann  wrote:
> Hey Kristian,
> 
> > When I chicken-install freetype, I get this:
> > 
> > /home/klm/.chicken-install/cache/freetype/freetype.c: In function
> > ‘stub2714’:
> > /home/klm/.chicken-install/cache/freetype/freetype.c:820:6: error:
> > ‘FT_GlyphSlotRec’ {aka ‘struct FT_GlyphSlotRec_’} has no member named
> > ‘reserved’
> >  g2615->reserved = g2616;
> 
> I can reproduce this.  It's a breaking change in freetype.h:
> 
> FT_UInt glyph_index; /* new in 2.10; was reserved previously */
> 
> > Maybe someone can look into a proper fix for this. Thanks,

Fixed in the 0.3 release of the egg.

I just removed the code that generated accessors and setters to that
struct slot. They probably aren’t used by anyone.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] error when building freetype egg

2019-04-09 Thread Vasilij Schneidermann
Hey Kristian,

> When I chicken-install freetype, I get this:
> 
> /home/klm/.chicken-install/cache/freetype/freetype.c: In function
> ‘stub2714’:
> /home/klm/.chicken-install/cache/freetype/freetype.c:820:6: error:
> ‘FT_GlyphSlotRec’ {aka ‘struct FT_GlyphSlotRec_’} has no member named
> ‘reserved’
>  g2615->reserved = g2616;

I can reproduce this.  It's a breaking change in freetype.h:

FT_UInt glyph_index; /* new in 2.10; was reserved previously */

> Maybe someone can look into a proper fix for this. Thanks,

I suspect you'd have to do some ugly preprocessor/cond-expand tricks.
Help with the latter is welcome :)  Freetype2 gives us the
FREETYPE_MAJOR/_MINOR/_PATCH macros (useful at build time) and the
FT_Library_Version function (useful at run time) to determine the
current version.


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users