Re: [sage-devel] Should we include SDL in sage ?
On Wed, Oct 31, 2018 at 12:25 AM Thierry wrote: > > Hi, > > On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel wrote: > > Hi ! > > > > I'm currently working on things in sage that uses the librairy SDL2. > > This librairy is not part of sage if I'm not mistaken, but it is really > > usefull to draw efficiently and interact with the user. > > It's a low level and not too big C librairy, with a licence compatible with > > sage if I'm not mistaken. > > Do you think it is a good idea to include this librairy in sage ? > > Why not ? Because every new SPKG adds potentially exponential overhead to support, especially a large, complex library like SDL. I would focus instead on detecting and using a system version of the library, and only add an (optional) sage SPKG if it's absolutely necessary. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Should we include SDL in sage ?
I just need to use the library from my C code in included in sage. Is it necessary to write an interface for that ? Le mercredi 31 octobre 2018 00:25:34 UTC+1, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel > wrote: > > Hi ! > > > > I'm currently working on things in sage that uses the librairy SDL2. > > This librairy is not part of sage if I'm not mistaken, but it is really > > usefull to draw efficiently and interact with the user. > > It's a low level and not too big C librairy, with a licence compatible > with > > sage if I'm not mistaken. > > Do you think it is a good idea to include this librairy in sage ? > > Why not ? > > > And is it complicated to do ? > > Writing a package for SDL2 is pretty straightforward. However, writing an > interface so that it can be used through Sage will require some work > (unless you did that already). > > Ciao, > Thierry > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Should we include SDL in sage ?
Hi, On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel wrote: > Hi ! > > I'm currently working on things in sage that uses the librairy SDL2. > This librairy is not part of sage if I'm not mistaken, but it is really > usefull to draw efficiently and interact with the user. > It's a low level and not too big C librairy, with a licence compatible with > sage if I'm not mistaken. > Do you think it is a good idea to include this librairy in sage ? Why not ? > And is it complicated to do ? Writing a package for SDL2 is pretty straightforward. However, writing an interface so that it can be used through Sage will require some work (unless you did that already). Ciao, Thierry > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.