Re: SLIB support

2007-10-01 Thread Ludovic Courtès
Hello! I committed the attached patch that appears to solve the `(ice-9 slib)' problem. Note that I also updated the instructions in the manual. Feedback welcome! Thanks, Ludovic. --- orig/ChangeLog +++ mod/ChangeLog @@ -1,3 +1,7 @@ +2007-10-02 Ludovic Courtès <[EMAIL PROTECTED]> + + * NEWS:

Re: SLIB support

2007-09-15 Thread Rob Browning
Andreas Rottmann <[EMAIL PROTECTED]> writes: > I've now prepared a patch (attached) that's hopefully good enough > for upstream use. > +(define-module (ice-9 slib) > + :export (slib:load slib:load-source defmacro:load > +implementation-vicinity library-vicinity home-vicinity > +s

Re: SLIB support

2007-09-15 Thread Rob Browning
[EMAIL PROTECTED] (Ludovic Courtès) writes: > Hi, > > Andreas Rottmann <[EMAIL PROTECTED]> writes: > >> The latter. I agree that doing this in the Debian diff is >> cleaner/preferable. > > So `(load-from-path "guile.init")' (rather than "slib/guile.init") is OK > for everyone? I would say somethi

Re: SLIB support

2007-09-15 Thread Greg Troxel
[EMAIL PROTECTED] (Ludovic Courtès) writes: > What you're saying seems to be specific to pkgsrc. > > Leaving packaging systems aside, instructions in the Guile manual read > this: > > 1. Unpack slib somewhere, e.g., `/usr/local/share/slib'. > > 2. Create a symlink in the Guile site directory t

Re: SLIB support

2007-09-15 Thread Ludovic Courtès
Hi, Greg Troxel <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: > >> So `(load-from-path "guile.init")' (rather than "slib/guile.init") is OK >> for everyone? > > No, on pkgsrc(NetBSD), which isn't trying to change paths, you need > slib/guile.init. What you're saying s

Re: SLIB support

2007-09-15 Thread Greg Troxel
[EMAIL PROTECTED] (Ludovic Courtès) writes: > So `(load-from-path "guile.init")' (rather than "slib/guile.init") is OK > for everyone? No, on pkgsrc(NetBSD), which isn't trying to change paths, you need slib/guile.init. Real data follows because it's too hard to say unambigiously "the slib dir i

Re: SLIB support

2007-09-15 Thread Ludovic Courtès
Hi, Andreas Rottmann <[EMAIL PROTECTED]> writes: > The latter. I agree that doing this in the Debian diff is > cleaner/preferable. So `(load-from-path "guile.init")' (rather than "slib/guile.init") is OK for everyone? On Debian, this needs to be changed to `(load "/usr/share/slib/init/guile.ini

Re: SLIB support

2007-09-13 Thread Andreas Rottmann
Rob Browning <[EMAIL PROTECTED]> writes: > Greg Troxel <[EMAIL PROTECTED]> writes: > >> Shouldn't slib/guile.init, being the standard place, be first? Or >> has slib moved it in a more recent version? > > I think ice-9/slib.scm should only look for guile.init in it's normal, > default upstream lo

Re: SLIB support

2007-09-13 Thread Rob Browning
Greg Troxel <[EMAIL PROTECTED]> writes: > Shouldn't slib/guile.init, being the standard place, be first? Or > has slib moved it in a more recent version? I think ice-9/slib.scm should only look for guile.init in it's normal, default upstream location. Has SLIB used both locations, or is one of

Re: SLIB support

2007-09-13 Thread Andreas Rottmann
Greg Troxel <[EMAIL PROTECTED]> writes: > That should work on NetBSD: > > fnord gdt 11 /usr/pkgsrc/devel/guile-slib > l > /usr/pkg/share/guile/site/slib/guile.init > -r--r--r-- 1 root wheel 19273 Mar 15 12:35 > /usr/pkg/share/guile/site/slib/guile.init > fnord gdt 12 /usr/pkgsrc/devel/guile-

Re: SLIB support

2007-09-13 Thread Greg Troxel
That should work on NetBSD: fnord gdt 11 /usr/pkgsrc/devel/guile-slib > l /usr/pkg/share/guile/site/slib/guile.init -r--r--r-- 1 root wheel 19273 Mar 15 12:35 /usr/pkg/share/guile/site/slib/guile.init fnord gdt 12 /usr/pkgsrc/devel/guile-slib > guile guile> %load-path ("/usr/pkg/share/guile/

Re: SLIB support

2007-09-13 Thread Andreas Rottmann
[EMAIL PROTECTED] (Ludovic Courtès) writes: > Hi Andreas, > > Andreas Rottmann <[EMAIL PROTECTED]> writes: > >>> Currently on my System (Debian sid), Guile 1.8 does not support >>> SLIB. I have done a preliminary patch (attached) that makes the module >>> (ice-9 slib) load the guile.init file from

Re: SLIB support

2007-09-13 Thread Ludovic Courtès
Hi Andreas, Andreas Rottmann <[EMAIL PROTECTED]> writes: >> Currently on my System (Debian sid), Guile 1.8 does not support >> SLIB. I have done a preliminary patch (attached) that makes the module >> (ice-9 slib) load the guile.init file from SLIB, which seems to work >> fine AFAICS. The status

Re: SLIB support

2007-09-12 Thread Andreas Rottmann
Andreas Rottmann <[EMAIL PROTECTED]> writes: > Hi! > > Currently on my System (Debian sid), Guile 1.8 does not support > SLIB. I have done a preliminary patch (attached) that makes the module > (ice-9 slib) load the guile.init file from SLIB, which seems to work > fine AFAICS. > > Currently, the p

Re: SLIB support

2007-09-12 Thread Andreas Rottmann
Andreas Rottmann <[EMAIL PROTECTED]> writes: > Hi! > > Currently on my System (Debian sid), Guile 1.8 does not support > SLIB. I have done a preliminary patch (attached) that makes the module > (ice-9 slib) load the guile.init file from SLIB, which seems to work > fine AFAICS. > > Currently, the p

SLIB support

2007-09-11 Thread Andreas Rottmann
Hi! Currently on my System (Debian sid), Guile 1.8 does not support SLIB. I have done a preliminary patch (attached) that makes the module (ice-9 slib) load the guile.init file from SLIB, which seems to work fine AFAICS. Currently, the patch hard-codes the location of the guile.init file, (which