Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 189814

Summary: provide Scheme Now! aka Snow
Product: Gentoo Linux Reporter: Marijn Schouten (RETIRED) <hkbst>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: normal CC: pchrist, pclouds, scheme
Priority: High Keywords: InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://snow.iro.umontreal.ca/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: snow-1.1.2.ebuild
1.1.2-makefile.patch
1.1.2-snow.patch

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.