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

2025-12-27 Thread Pietro Cerutti via Chicken-users

On Dec 27 2025, 20:19 +, Sasha Reinhard  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 +, 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
Description: S/MIME cryptographic signature


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

2025-12-27 Thread Sasha Reinhard via Chicken-users
Hi!

The manual for that chicken dependency (
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?

On Sat, Dec 27, 2025, 15:03 Pietro Cerutti  wrote:

> On Dec 04 2025, 10:27 +, Mario Domenech Goulart via Chicken-users <
> [email protected]> wrote:
> >On Thu, 4 Dec 2025 03:36:38 -0500 Sasha Reinhard <
> [email protected]> wrote:
> >
> >> ill start making documentation then. and yea thats the raylib i
> wrapped! there was a much older github repo i found
> >> (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 https://eggs.call-cc.org/5
>
> This egg mentions CHICKEN 5.3.0 as its dependencies:
> 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 - https://givingwhatwecan.org
>


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

2025-12-27 Thread Pietro Cerutti via Chicken-users

On Dec 04 2025, 10:27 +, Mario Domenech Goulart via Chicken-users 
 wrote:

On Thu, 4 Dec 2025 03:36:38 -0500 Sasha Reinhard  
wrote:


ill start making documentation then. and yea thats the raylib i wrapped! there 
was a much older github repo i found
(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 https://eggs.call-cc.org/5


This egg mentions CHICKEN 5.3.0 as its dependencies:
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 - https://givingwhatwecan.org


smime.p7s
Description: S/MIME cryptographic signature


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

2025-12-04 Thread Sasha Reinhard via Chicken-users
ill start making documentation then. and yea thats the raylib i wrapped!
there was a much older github repo i found (
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)

On Thu, Dec 4, 2025, 03:25 Mario Domenech Goulart 
wrote:

> Hi,
>
> On Thu, 4 Dec 2025 02:26:56 -0500 Sasha Reinhard via Chicken-users <
> [email protected]> wrote:
>
> > I've started hacking together some decent bindings to the raylib
> game/graphics library. And I've hosted the egg at
> > https://github.com/meowstr/chicken-raylib. There's no documentation
> yet, I'm not sure if that's something I write before
> > or after publishing the egg.
>
> It's up to you, pretty much.  Personally, I like to document my code
> before publishing it because while documenting I always find ways to
> improve it. :-)
>
> > Should I have access to the wiki page for doing that?
>
> It is possible to edit pages anonymously, but not recommended, as we
> have to check whether anonymous edits are spam or not.
>
> See https://wiki.call-cc.org/accounts for instructions on how to request
> an account.
>
> > Anyway I've tested the .release-info
> > with test-new-egg and it said "ok" next to "Installing" so it seems
> fine. The library requires raylib to be globally
> > installed on the users machine by the way (it just uses -lraylib in the
> .egg file). Let me know where I should go from
> > here.
>
> Is the C library it wraps https://github.com/raysan5/raylib ?
>
> All the best.
> Mario
> --
> https://parenteses.org/mario
>