unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* ttn-pers-scheme 0.48 available
@ 2007-04-07 21:34 Thien-Thi Nguyen
  2007-04-09  5:48 ` Issac Trotts
  0 siblings, 1 reply; 5+ messages in thread
From: Thien-Thi Nguyen @ 2007-04-07 21:34 UTC (permalink / raw)
  To: guile-sources; +Cc: guile-user

release notes:

  more web stuff dabbling.
  emacs calls, now...

  thi

README excerpt:

  This directory contains ttn's personal scheme library,
  a collection of Guile Scheme code and intervening text
  (-: as well as a maintenance methodology :-).

NEWS excerpt:

  - 0.48 | 2007-04-07
  
    - After DATE, THING will be removed; DO NOT rely on it
  
      - 2007-10-15: proc `(ttn html-world) render-html-world'
      - 2008-04-15: proc `(ttn-html-world) html-world'
  
        You can use `html-world.html-data' (cleaner, more general).
  
    - Dropped module: (ttn echo)
    - Dropped module: (ttn stringutils)
  
        These were announced in release 0.44 (2005-09-04).
  
    - Dropped (ttn abbrev-tree) proc: scrub
    - Dropped (ttn abbrev-tree) proc: split-first-word
    - Dropped (ttn abbrev-tree) proc: list->sep-string
  
        These were announced (in the manual but not in NEWS -- oops!)
        in release 0.43 (2005-08-20).
  
    - Dropped module: (ttn moduleutils)
    - Dropped feature: quoting support in `read-text-db-table'
  
        These were announced in release 0.42 (2005-06-05).
  
    - Changes to module (ttn html-world)
  
      - External program no longer needed: mogrify(1)
  
        This is part of the package `ImageMagick' and was used to invert
        a ppm image .  Now, this is done with another external program,
        pnminvert(1), part of the package `Netpbm'.  See modules.af for
        a full list.
  
      - New #:gen method: #:ppmforge
  
        This uses ppmforge(1) with options `-quiet -stars 0' to create
        the ppm image.  A large majority of the time, the image does not
        correspond to any landmass found on Earth, but sometimes a vague
        similarity occurs.  The #:ppmforge method is now the default for
        `html-world' and `html-world.html-data'.
  
      - New keyword arg for `html-world.html-data': #:link-tree
  
        Normally, the proc `href' from module (ttn html-data) is used to
        construct the tree (nested list of strings) that represents a
        chunk of text that is to be marked up w/ an HTML <A HREF...></A>
        tag.  This option lets you use another proc.
  
      - New proc: string<-image-command
      - New proc: randomly-hyperlinked
  
        These are the underlying mechanisms in `html-world.html-data',
        now generalized and documented.  Let the madness begin...
  
    - Optimization: `flatten' does nothing for the null string
  
    - New (ttn html-data) procs: tt, pre, div, span
  
    - New keyword for `listener': #:catch-tag SYMBOL
  
    - New (ttn dirutils) macro: with-cwd
  
    - New (ttn shell-command-to-string) proc: file-lines
  
    - New (ttn sanity) proc: ppsrc
  
    - New module: (ttn markup)
  
        Procedures in this module support definition of markup languages
        and related tree (nested list of strings) construction.  Flatten
        the trees to get the grotty <ELEM ATTR=VALUE>BODY</ELEM> stuff.
  
    - New homepage: http://www.gnuvola.org/software/ttn-pers-scheme/
  
        Please update your bookmarks.  Old glug.org urls can be
        munged to get the new url by passing them through:
  
        sed 's,/people/ttn/,/,;s,/ps/,/ttn-pers-scheme/,'
  
        Note: old urls in NEWS will remain unchanged, intentionally.

tarball, prettified source, etc, in dir:

  http://www.gnuvola.org/software/ttn-pers-scheme/


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ttn-pers-scheme 0.48 available
  2007-04-07 21:34 ttn-pers-scheme 0.48 available Thien-Thi Nguyen
@ 2007-04-09  5:48 ` Issac Trotts
  2007-04-09 18:59   ` Thien-Thi Nguyen
  0 siblings, 1 reply; 5+ messages in thread
From: Issac Trotts @ 2007-04-09  5:48 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: guile-user, guile-sources


[-- Attachment #1.1: Type: text/plain, Size: 4343 bytes --]

Here's what it does on my installation of guile 1.9.0:

checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for install-info... install-info
checking for guile... /usr/local/bin/guile
checking for guile-config... /usr/local/bin/guile-config
checking for guile-tools... /usr/local/bin/guile-tools
checking if (guile-user) exports `identity'... yes
checking if (guile-user) exports `close-all-fdes-except'... no
configure: error: module (guile-user) does not export close-all-fdes-except;
required

Do you know how to fix this?

-ijt

On 4/7/07, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
>
> release notes:
>
>   more web stuff dabbling.
>   emacs calls, now...
>
>   thi
>
> README excerpt:
>
>   This directory contains ttn's personal scheme library,
>   a collection of Guile Scheme code and intervening text
>   (-: as well as a maintenance methodology :-).
>
> NEWS excerpt:
>
>   - 0.48 | 2007-04-07
>
>     - After DATE, THING will be removed; DO NOT rely on it
>
>       - 2007-10-15: proc `(ttn html-world) render-html-world'
>       - 2008-04-15: proc `(ttn-html-world) html-world'
>
>         You can use `html-world.html-data' (cleaner, more general).
>
>     - Dropped module: (ttn echo)
>     - Dropped module: (ttn stringutils)
>
>         These were announced in release 0.44 (2005-09-04).
>
>     - Dropped (ttn abbrev-tree) proc: scrub
>     - Dropped (ttn abbrev-tree) proc: split-first-word
>     - Dropped (ttn abbrev-tree) proc: list->sep-string
>
>         These were announced (in the manual but not in NEWS -- oops!)
>         in release 0.43 (2005-08-20).
>
>     - Dropped module: (ttn moduleutils)
>     - Dropped feature: quoting support in `read-text-db-table'
>
>         These were announced in release 0.42 (2005-06-05).
>
>     - Changes to module (ttn html-world)
>
>       - External program no longer needed: mogrify(1)
>
>         This is part of the package `ImageMagick' and was used to invert
>         a ppm image .  Now, this is done with another external program,
>         pnminvert(1), part of the package `Netpbm'.  See modules.af for
>         a full list.
>
>       - New #:gen method: #:ppmforge
>
>         This uses ppmforge(1) with options `-quiet -stars 0' to create
>         the ppm image.  A large majority of the time, the image does not
>         correspond to any landmass found on Earth, but sometimes a vague
>         similarity occurs.  The #:ppmforge method is now the default for
>         `html-world' and `html-world.html-data'.
>
>       - New keyword arg for `html-world.html-data': #:link-tree
>
>         Normally, the proc `href' from module (ttn html-data) is used to
>         construct the tree (nested list of strings) that represents a
>         chunk of text that is to be marked up w/ an HTML <A HREF...></A>
>         tag.  This option lets you use another proc.
>
>       - New proc: string<-image-command
>       - New proc: randomly-hyperlinked
>
>         These are the underlying mechanisms in `html-world.html-data',
>         now generalized and documented.  Let the madness begin...
>
>     - Optimization: `flatten' does nothing for the null string
>
>     - New (ttn html-data) procs: tt, pre, div, span
>
>     - New keyword for `listener': #:catch-tag SYMBOL
>
>     - New (ttn dirutils) macro: with-cwd
>
>     - New (ttn shell-command-to-string) proc: file-lines
>
>     - New (ttn sanity) proc: ppsrc
>
>     - New module: (ttn markup)
>
>         Procedures in this module support definition of markup languages
>         and related tree (nested list of strings) construction.  Flatten
>         the trees to get the grotty <ELEM ATTR=VALUE>BODY</ELEM> stuff.
>
>     - New homepage: http://www.gnuvola.org/software/ttn-pers-scheme/
>
>         Please update your bookmarks.  Old glug.org urls can be
>         munged to get the new url by passing them through:
>
>         sed 's,/people/ttn/,/,;s,/ps/,/ttn-pers-scheme/,'
>
>         Note: old urls in NEWS will remain unchanged, intentionally.
>
> tarball, prettified source, etc, in dir:
>
>   http://www.gnuvola.org/software/ttn-pers-scheme/
>
>
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-user
>

[-- Attachment #1.2: Type: text/html, Size: 7014 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ttn-pers-scheme 0.48 available
  2007-04-09  5:48 ` Issac Trotts
@ 2007-04-09 18:59   ` Thien-Thi Nguyen
  2007-04-09 20:37     ` Issac Trotts
  0 siblings, 1 reply; 5+ messages in thread
From: Thien-Thi Nguyen @ 2007-04-09 18:59 UTC (permalink / raw)
  To: Issac Trotts; +Cc: guile-user, guile-sources

[-- Attachment #1: Type: text/plain, Size: 1932 bytes --]

() "Issac Trotts" <issac.trotts@gmail.com>
() Sun, 8 Apr 2007 22:48:41 -0700

   Here's what it does on my installation of guile 1.9.0:

   [...]
   checking if (guile-user) exports `close-all-fdes-except'... no
   configure: error: module (guile-user) does not export close-all-fdes-except;
   required

   Do you know how to fix this?

one way is to try Guile 1.4.x, but i suspect that is not what you would
prefer.

another way is to avoid using module (ttn call-process) and its
downstreams.  here is a pruned list of dependencies:

x (ttn call-process)
			 autoload	(ttn-do run-signed-batch-job)
i (ttn call-process)
			 regular	(ttn call-process-to-buffers)
i (ttn call-process-to-buffers)
			 regular	(ttn make-buffered-caller)
i (ttn make-buffered-caller)
			 autoload	(ttn gpgutils)
x (ttn make-buffered-caller)
			 regular	(ttn-do htmlize-scheme)
			 regular	(ttn-do publish)
			 autoload	(ttn-do run-signed-batch-job)
			 regular	(ttn-do snap-iso)

it might be incomplete.  here is the emacs-lisp expression evaluated to
get all the deps (tweak to suit your site):

  (shell-command "
   cd ~/build/ttn-pers-scheme && \
   ( cat ~/build/gnuvola/software/*/frisk.out ;
     echo ;
     echo '(internal downstream)' ;
     guile-tools frisk -id ttn/*.scm ) \\
   | uniq | tee `date +.ttn.usage.%Y-%m-%d`")

full list can be found (temporarily, for a couple days) at:
<http://www.gnuvola.org/.ttn.usage.2007-04-09>

once you've decided you can live w/o these things, you can hack the
configure script to not fail due to that missing function.

thirdly, another way is to add the function to your guile then restart
the installation to ttn-pers-scheme.  attached (to avoid mail system
mangling) is the function extracted from libguile/ioext.c.  some minor
porting probably required.

lastly, another way is to change (ttn call-process) so that it doesn't
need the function at all.  perhaps that is easy, i don't know.

thi



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: close-all-fdes-except from libguile/ioext.c --]
[-- Type: text/x-csrc, Size: 1414 bytes --]

SCM_DEFINE (scm_close_all_fdes_except, "close-all-fdes-except", 0, 0, 1,
            (SCM fdes_list),
	    "Close all file descriptors for ports used by the interpreter\n"
	    "except for those supplied as arguments.  This procedure\n"
	    "is intended to be used before an exec(2) call.  The related\n"
            "procedure @code{close-all-ports-except} is unsuitable for that\n"
            "because it flushes port buffers.")
#define FUNC_NAME s_scm_close_all_fdes_except
{
  int i, sysrv;

  SCM_VALIDATE_REST_ARGUMENT (fdes_list);
  for (i = 0; i < scm_port_table_size; i++)
    {
      SCM thisport = scm_port_table[i]->port;
      SCM ls = fdes_list; int matchp = 0;
      SCM fd;

      if (! SCM_OPFPORTP (thisport))
        continue;

      fd = scm_fileno (thisport);

      while (SCM_NNULLP (ls) && !matchp)
        {
          if (SCM_EQ_P (SCM_CAR (ls), fd))
            {
              /* This used to simply goto next_port, but gcc 3.3.2 warns
                 "deprecated use of label at end of compound statement".
                 The march of progress and all that.  */
              matchp = 1;
              break;
            }
          ls = SCM_CDR (ls);
        }
      if (!matchp)
        {
          SCM_SYSCALL (sysrv = close (SCM_INUM (fd)));
          if (sysrv < 0)
            SCM_SYSERROR;
        }
      /* next_port: */
    }
  return SCM_UNSPECIFIED;
}
#undef FUNC_NAME

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ttn-pers-scheme 0.48 available
  2007-04-09 18:59   ` Thien-Thi Nguyen
@ 2007-04-09 20:37     ` Issac Trotts
  2007-04-09 21:43       ` Thien-Thi Nguyen
  0 siblings, 1 reply; 5+ messages in thread
From: Issac Trotts @ 2007-04-09 20:37 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: guile-user, guile-sources


[-- Attachment #1.1: Type: text/plain, Size: 3339 bytes --]

On 4/9/07, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
>
> () "Issac Trotts" <issac.trotts@gmail.com>
> () Sun, 8 Apr 2007 22:48:41 -0700
>
>    Here's what it does on my installation of guile 1.9.0:
>
>    [...]
>    checking if (guile-user) exports `close-all-fdes-except'... no
>    configure: error: module (guile-user) does not export
> close-all-fdes-except;
>    required
>
>    Do you know how to fix this?
>
> one way is to try Guile 1.4.x, but i suspect that is not what you would
> prefer.


Here's what happens when configuring ttn-pers-scheme under guile-1.4.1.107,
grabbed from http://www.gnuvola.org/software

issac@jaynes:~/downloads/ttn-pers-scheme-0.48$ ./configure
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for install-info... install-info
checking for guile... /usr/local/bin/guile
checking for guile-config... /usr/local/bin/guile-config
checking for guile-tools... /usr/local/bin/guile-tools
checking if (guile-user) exports `identity'... yes
checking if (guile-user) exports `close-all-fdes-except'... yes
checking for Guile site directory... ${prefix}/share/guile/site
checking if Guile supports :prefix in use-modules clause... yes
checking if (ice-9 string-fun) is available... yes
checking if (ice-9 rdelim) is available... yes
checking if (ice-9 accumulate) is available... no
configure: error: required guile module not found: (ice-9 accumulate)

Where can I get ice-9 accumulate?

Issac


another way is to avoid using module (ttn call-process) and its
> downstreams.  here is a pruned list of dependencies:
>
> x (ttn call-process)
>                          autoload       (ttn-do run-signed-batch-job)
> i (ttn call-process)
>                          regular        (ttn call-process-to-buffers)
> i (ttn call-process-to-buffers)
>                          regular        (ttn make-buffered-caller)
> i (ttn make-buffered-caller)
>                          autoload       (ttn gpgutils)
> x (ttn make-buffered-caller)
>                          regular        (ttn-do htmlize-scheme)
>                          regular        (ttn-do publish)
>                          autoload       (ttn-do run-signed-batch-job)
>                          regular        (ttn-do snap-iso)
>
> it might be incomplete.  here is the emacs-lisp expression evaluated to
> get all the deps (tweak to suit your site):
>
>   (shell-command "
>    cd ~/build/ttn-pers-scheme && \
>    ( cat ~/build/gnuvola/software/*/frisk.out ;
>      echo ;
>      echo '(internal downstream)' ;
>      guile-tools frisk -id ttn/*.scm ) \\
>    | uniq | tee `date +.ttn.usage.%Y-%m-%d`")
>
> full list can be found (temporarily, for a couple days) at:
> <http://www.gnuvola.org/.ttn.usage.2007-04-09>
>
> once you've decided you can live w/o these things, you can hack the
> configure script to not fail due to that missing function.
>
> thirdly, another way is to add the function to your guile then restart
> the installation to ttn-pers-scheme.  attached (to avoid mail system
> mangling) is the function extracted from libguile/ioext.c.  some minor
> porting probably required.
>
> lastly, another way is to change (ttn call-process) so that it doesn't
> need the function at all.  perhaps that is easy, i don't know.
>
> thi
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5613 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ttn-pers-scheme 0.48 available
  2007-04-09 20:37     ` Issac Trotts
@ 2007-04-09 21:43       ` Thien-Thi Nguyen
  0 siblings, 0 replies; 5+ messages in thread
From: Thien-Thi Nguyen @ 2007-04-09 21:43 UTC (permalink / raw)
  To: Issac Trotts; +Cc: guile-user, guile-sources

() "Issac Trotts" <issac.trotts@gmail.com>
() Mon, 9 Apr 2007 13:37:53 -0700

   [problems] configuring ttn-pers-scheme under guile-1.4.1.107,
   grabbed from http://www.gnuvola.org/software

   Where can I get ice-9 accumulate?

hmm, looks like i have gone out-of-order publishing-wise.  sloppy!
sorry about that.  since you show appearance of having adventurous
spirit, try this out:

<http://www.gnuvola.org/tmp/guile-1.4.1.107.9.0.3.tar.gz>

bug-reports and other feedback welcome.

thi


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-09 21:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-07 21:34 ttn-pers-scheme 0.48 available Thien-Thi Nguyen
2007-04-09  5:48 ` Issac Trotts
2007-04-09 18:59   ` Thien-Thi Nguyen
2007-04-09 20:37     ` Issac Trotts
2007-04-09 21:43       ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).