unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile-SDL Demos 3.0 available
@ 2011-12-22 17:35 Thien-Thi Nguyen
  2012-01-10 21:18 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Thien-Thi Nguyen @ 2011-12-22 17:35 UTC (permalink / raw)
  To: guile-sources; +Cc: guile-user

release notes:

  New screenshot on the homepage, too!

  thi

README excerpt:

  This is a collection of small programs released
  under GNU GPL v3 that use Guile-SDL, available at:

    http://www.nongnu.org/guile-sdl/

  NB: These require Guile-SDL 0.4.0 or later.

NEWS excerpt:

  - 3.0 | 2011-12-22

    - programs can be run from anywhere

        Previously, programs had to be invoked from their own directory,
        to able to find their data files (i.e., they looked in ".").
        Now, they look in ‘(dirname (car (command-line)))’.  Note that
        this will fail for symlinks, so if you want to "install" a
        program in ~/bin, for instance, the best way is to create a
        small shell wrapper:

          #!/bin/sh
          exec /path/to/guile-sdl-demos-3.0/PROG/PROG "$@"

        Perhaps we will support "make install" in a future release...

    - programs can be run w/o args

        Previously, such functionality lived in the top-level driver
        script ‘demo’ and some programs would barf if run w/o args.

    - ‘make check’ support

        The command "make check" runs all the demo programs without args.

    - changes to driver script ‘demo’

      - license now GPLv3+

        It used to be GPLv3 (without the "any later version" option).

      - /bin/bash no longer required

        /bin/bash was to implement ‘unpicasso --random’ support, but
        that's moved into unpicasso proper.

      - new option ‘--version’

        This displays the Guile-SDL Demos version and exits successfully.

    - changes to demo ‘view-vcg’

      - VCG files cleanup

        There were two long-standing ‘\D’ in the VCG files.
        Who knows how they got there?

      - workaround for Guile 1.8.7 (ice-9 popen) bug

        Previously, view-vcg used ‘open-input-pipe’ for gathering the
        output of the sed(1) command used as part of reading the vcg
        file.  Unfortunately, Guile 1.8.7 does not return all of the
        subprocess output for some of the larger vcg files, so now we
        filter in two steps, via a temporary file, and avoid pipes
        altogether (sigh).

      - geometry defaults to 300x400

      - option ‘--batch’ dropped

        The program is now always interactive.

    - changes to demo ‘unpicasso’

      - if given a directory, scan it for images

        A file is recognized as an image if its name has one of the
        extensions (portion after last "."): gif, png, jpg, ppm.

      - new option ‘--random’

        This option makes unpicasso run the command ‘locate *.jpg’
        and randomly choos one of the resulting directories for
        scanning (as described above).

        You need a working locate(1) installed on the system.

    - new demo ‘mq’

        This program highlights the difference between KEYUP and KEYDOWN
        events, w/ some alpha blending and fancy blit ordering mixed in.

tarball, prettified source, screenshot, etc. in dir:

  http://www.gnuvola.org/software/guile-sdl-demos/



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

* Re: Guile-SDL Demos 3.0 available
  2011-12-22 17:35 Guile-SDL Demos 3.0 available Thien-Thi Nguyen
@ 2012-01-10 21:18 ` Andy Wingo
  2012-01-11  8:51   ` Thien-Thi Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2012-01-10 21:18 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: guile-user, guile-sources

On Thu 22 Dec 2011 18:35, Thien-Thi Nguyen <ttn@gnuvola.org> writes:

>     - programs can be run from anywhere
>
>         Previously, programs had to be invoked from their own directory,
>         to able to find their data files (i.e., they looked in ".").
>         Now, they look in ‘(dirname (car (command-line)))’.  Note that
>         this will fail for symlinks, so if you want to "install" a
>         program in ~/bin, for instance, the best way is to create a
>         small shell wrapper:
>
>           #!/bin/sh
>           exec /path/to/guile-sdl-demos-3.0/PROG/PROG "$@"
>
>         Perhaps we will support "make install" in a future release...

If you want to, it's probably easier to use `readlink' than to document
the strangeness :-)

Andy
-- 
http://wingolog.org/



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

* Re: Guile-SDL Demos 3.0 available
  2012-01-10 21:18 ` Andy Wingo
@ 2012-01-11  8:51   ` Thien-Thi Nguyen
  0 siblings, 0 replies; 3+ messages in thread
From: Thien-Thi Nguyen @ 2012-01-11  8:51 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-user, guile-sources

() Andy Wingo <wingo@pobox.com>
() Tue, 10 Jan 2012 22:18:45 +0100

   If you want to, it's probably easier to use `readlink' than to
   document the strangeness :-)

Thanks for the tip.  Truly, documentation is not so hard, especially
when it's incomplete!  (The NEWS entry fails to mention that hardlinks
fail, too.)  Unfortunately, ‘readlink’ is no help for hardlinks.

The proper way is to support "make install", and that's real work.



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

end of thread, other threads:[~2012-01-11  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 17:35 Guile-SDL Demos 3.0 available Thien-Thi Nguyen
2012-01-10 21:18 ` Andy Wingo
2012-01-11  8:51   ` 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).