[racket-dev] Icons issues

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Dec 5 20:08:03 EST 2011

One more issue related to the icons collection. I see this in util.rkt:

(define svg-icons-base-path (collection-path "icons/private/svg"))

which means that the cons won't work when embedded executables (that
line'll just fail at runtime). The simple thing to do is to replace that
with a use of define-runtime-path, but that means that all of the icons
will be pulled in when any one is touched in an executable. Planetcute
works around this with some macro trickery that you might want to take a
look at.

FWIW, if a svg support is coming down the pike, then I think doing the
simple define-runtime-path is just fine as a temporary measure (and then do
something better when we have the svg support).

Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20111205/b42ceabe/attachment.html>

Posted on the dev mailing list.