Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189814 - provide Scheme Now! aka Snow
Summary: provide Scheme Now! aka Snow
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Default Assignee for New Packages
URL: http://snow.iro.umontreal.ca/
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2007-08-22 10:01 UTC by Marijn Schouten (RETIRED)
Modified: 2013-01-28 19:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
snow-1.1.2.ebuild (snow-1.1.2.ebuild,2.48 KB, text/plain)
2008-05-09 17:04 UTC, Nguyen Thai Ngoc Duy (RETIRED)
Details
1.1.2-makefile.patch (1.1.2-makefile.patch,2.59 KB, patch)
2008-05-09 17:05 UTC, Nguyen Thai Ngoc Duy (RETIRED)
Details | Diff
1.1.2-snow.patch (1.1.2-snow.patch,439 bytes, patch)
2008-05-09 17:06 UTC, Nguyen Thai Ngoc Duy (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2007-08-22 10:01:57 UTC
Scheme Now!, also know as Snow, is a repository of Scheme packages that are portable to several popular implementations of Scheme.

We wants it, my preciousss.
Comment 1 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-09 17:03:11 UTC
I want it too. So let's get the ball rolling now because such a package may take long time before it can be ready to use in Gentoo.

The first question could be "how to deal with multiple implementation support". We can't depend on VDB so probably put "snow" useflag to scheme impl that supports snow, then put some variables on system and let snow read them. Comments?

Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-09 17:04:59 UTC
Created attachment 152639 [details]
snow-1.1.2.ebuild

My first attempt at it. It only supports gambit now though. Very rough.
snowman did not work so I had to "snow -- /usr/bin/snowman" baaahh
Comment 3 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-09 17:05:35 UTC
Created attachment 152641 [details, diff]
1.1.2-makefile.patch

Support DESTDIR. Will push this upstream
Comment 4 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-09 17:06:44 UTC
Created attachment 152645 [details, diff]
1.1.2-snow.patch

Unless I missed something, snow won't work without SNOW_SITE_DIR exported.
Comment 5 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-11 08:10:49 UTC
(In reply to comment #2)
> snowman did not work so I had to "snow -- /usr/bin/snowman" baaahh

Turns out that there were some problems interacting between bash and screen. So without screen, snowman should work. 

Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2008-05-16 23:32:45 UTC
that DESTDIR patch should prolly go upstream right away, and we need a SRC_URI that works.
Comment 7 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-18 08:46:40 UTC
(In reply to comment #6)
> that DESTDIR patch should prolly go upstream right away,

Sent. No response.

> and we need a SRC_URI that works.

This one works (as a work around because snowfort may need to be extended). Though I don't know if other package managers work.

SRC_URI="http://snow.iro.umontreal.ca/?operation=download&pkg=snow-generic/v${PV}&fakeoutput=/snow-generic-v${PV//./_}.tgz"
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2008-05-18 11:16:00 UTC
thanks, that SRC_URI works. Why do you choose not to run the configure? Also don't quote A, unpack "${A}" should be unpack ${A}.
Comment 9 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-05-18 12:14:50 UTC
configure do checks for scheme implementations. It misidentified gsc from ghostscript as gambit's gsc.  It also tried to install missing scheme implementations. I think we may want to have finer control over it. Anyway the ebuild is not ready yet, just a start.
Comment 10 Marijn Schouten (RETIRED) gentoo-dev 2008-05-18 13:05:58 UTC
(In reply to comment #1)
> The first question could be "how to deal with multiple implementation support".
> We can't depend on VDB so probably put "snow" useflag to scheme impl that
> supports snow, then put some variables on system and let snow read them.
> Comments?

We can do this for the Schemes that have a special implementation of snow. Not sure what you (do not) want to use VDB for?
For the snow-generic package I think it should have use flags for the schemes it supports. I'm looking into that.

Comment 11 Marijn Schouten (RETIRED) gentoo-dev 2008-05-18 16:12:46 UTC
I've added snow-generic to the overlay.