Re: Request for new "raylib" egg to be added!

Pietro Cerutti via Chicken-users <[email protected]> Sat, 27 Dec 2025 20:27:42 +0000
Newsgroups gmane.lisp.scheme.chicken
Message-ID <0107019b617edda6-c686a1a5-3122-4157-b010-2a15356992d5-000000@eu-central-1.amazonses.com>
On Dec 27 2025, 20:19 +0000, Sasha Reinhard <[email protected]> wrote:
[-- Type: text/html; charset=UTF-8, Encoding: quoted-printable, Size: 2.9K --]
>Hi!
>
>The manual for that chicken dependency ([1]https://wiki.call-cc.org/man/5/
>Egg%20specification%20format#dependencies) says that this should be interpreted
>as 5.3.0 minimum. Shouldnt it work for 5.4.0? Not that I think my egg needs
>5.3.0, I think I just followed an example somewhere. Should I remove the
>dependency completely?

Hi,

thanks, yes you're right, your dependency line is correct. Please keep 
it there if it makes sense to you :)

I need to make lay smarter and interpret the "chicken" dependency in a 
special way..  for now, I just fixed lay so it ignores "chicken", no 
matter the version.

Sorry for the noise!

>
>On Sat, Dec 27, 2025, 15:03 Pietro Cerutti <[2][email protected]> wrote:
>
>    On Dec 04 2025, 10:27 +0000, Mario Domenech Goulart via Chicken-users <[3]
>    [email protected]> wrote:
>    >On Thu, 4 Dec 2025 03:36:38 -0500 Sasha Reinhard <[4]
>    [email protected]> wrote:
>    >
>    >> ill start making documentation then. and yea thats the raylib i wrapped!
>    there was a much older github repo i found
>    >> ([5]https://github.com/yashrk/raylib-scm) that did a similar chicken
>    scheme wrapping but its outdated and kinda not ideal
>    >> memory wise (every Vector2 and Rectangle is malloc'd)
>    >
>    >Ok.  Thanks for the information.
>    >
>    >Your egg has been added to CHICKEN 5.  Thanks for sharing your code.
>    >
>    >I noticed that test-new-egg is failing in the category check, but I saw
>    >that you fixed it.  You might want to tag a new release, otherwise your
>    >egg will show up as "Not categorized" in [6]https://eggs.call-cc.org/5
>
>    This egg mentions CHICKEN 5.3.0 as its dependencies:
>    [7]https://github.com/meowstr/chicken-raylib/blob/main/raylib.egg#L6
>
>    This breaks lay's dependency resolver when running on CHICKEN 5.4.0.
>
>    I should probably special-case the "chicken" dependency and always treat
>    it as fulfilled, no matter the version, but perhaps it's worth fixing
>    the egg too?
>
>    --
>    Pietro Cerutti
>    I have pledged to give 10% of income to effective charities
>    and invite you to join me - [8]https://givingwhatwecan.org
>
>
>References:
>
>[1] https://wiki.call-cc.org/man/5/Egg%20specification%20format#dependencies
>[2] mailto:[email protected]
>[3] mailto:[email protected]
>[4] mailto:[email protected]
>[5] https://github.com/yashrk/raylib-scm
>[6] https://eggs.call-cc.org/5
>[7] https://github.com/meowstr/chicken-raylib/blob/main/raylib.egg#L6
>[8] https://givingwhatwecan.org/

[-- Alternative Type #1: text/plain; charset=UTF-8, Encoding: 7bit, Size: 1.7K --]

-- 
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org
smime.p7s (application/pkcs7-signature, 6.7 KB) - not displayed