Hi,

>> I am a packager of scid for Fedora. I put scid.js and scid.css files
>> to /usr/share/scid/html/ directory. I thought that scid intentionally
>> created only html file with the game without css, js and bitmap files,
>> because it is natural to have only one copy of these files per site.
>
> Yes this is natural indeed.
>
>> Is it correct?
>
> No. Scid copies the two files (and the bitmaps, for that matter) to the
> export location of the generated html. Each time, and possibly overwriting
> files which are already there.
> Fact is that the executable must somehow be aware of where to copy these
> files
> from. You certainly cannot just put them wherever you like. At this moment I
> have
> no access to the sources, so I cannot tell precisely which hot spots
> scid anticipates...

Thanks for the clarification. It seems, I have found lines in
tcl/misc/misc.tcl which are responsible for the css, js and bitmap
files copying.

set sourcedir [file join $::scidExeDir html]
catch {file copy -force [file join $sourcedir bitmaps] $dirtarget}
catch {file copy -force [file join $sourcedir scid.js] $dirtarget}
catch {file copy -force [file join $sourcedir scid.css] $dirtarget}

I will rebuild scid rpm package with an appropriate fix shortly.

Mikhail Kalenkov.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to