OSLib cvs repository
Tom Hughes
tom at compton.nu
Tue Jun 18 19:50:30 BST 2002
In message <3e8699484b.Tony at mk-net.demon.co.uk>
Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> I really don't think you should be looking at the makefiles for the culprit.
> I believe your problem must lie in filename translation. Certainly your work
> directory should contain files of the form oslib.swi.xxx; anything else is
> wrong.
Unfortunately that is what will happen if you use anything other than
the RISC OS CVS client to check it out as no other versions of CVS know
anything about the filename mangling that the RISC OS version does.
> I have not "changed" any filenames as such, but have, as Jonathan suggests,
> treated "swi" as a filename extension rather than a directory name for the
> purposes of UNIX filename translation. I believe that was how the system was
> intended to work. Whether or not it was a good idea for me to carry this
> through to the CVS repository can be a topic for a seperate discussion.
Certainly swi is intended to be treated as an extension, but telling
the RISC OS CVS port to treat it as such has rather unfortunate side
effects...
> The check-in was slightly complicated. While testing, I built a local CVS
> repository (several times ;-) on my NT box, using John Tytgat's RISC OS CVS
> port, over LanMan98. CVS will have done filename translation from RISC OS
> style to UNIX style; I have *Set UnixEnv$cvs$sfix
> c:cc:h:l:o:s:y:asm:swi:Hdr:c++:cpp although not all of these may be
> necessary. However, on checkout it needs same filename translation rules to
> perform the complementary action. Check-in and out and a build from scratch
> works fine here on the RISC OS box.
I'm sure it does. What doesn't work is doing the checkout on a linux
box (or a windows box) and then either mounting it on RISC OS or copying
it across to RISC OS which is a bit of a pain as far as I'm concerned.
> When I was satisfied with my local repository, I zipped it up, and sent it to
> SF, who set it up on their server. I have tried a number of checkouts
> from there with both anonymous access using John's client, and SSH checkout
> using Maarten Bezemer's port, with filename translation enabled as above.
> Both check out and build straight out of the box here. Philip Ludlam is,
> AFAIK, successfully checking out OSLib on to his UNIX box, and using that as
> his work directory from his RISC OS box.
I don't know how he's managed that unless he rearranged the files or
altered the makefiles after doing the checkout.
> Attached is a copy of my TaskObey to check out the reposotory anonymously;
> If you're using John's port, see if this produces the right results for
> you.
I'm sure that will work - the problem is that I did my checkout on my
linux box because it's more convenient that way. In fact I didn't even
realise you could do cvs over ssh on RISC OS.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the oslib-team
mailing list