Hi Guys --

> I've got a patch that adds a "virtual file system" (vfs) to pcb.  This
> lets various bits just do "vfs_open(...)" and it automatically
> searches ~/.pcb, $prefix, and a compiled-in default tree.
>
> CVS will thus have the compiled-in default tree.  This will eventually
> contain all the icons and other gingerbread for the GUI, as well as
> the default font and any other files that pcb just can't do without.
>
> Question: in cvs, should the "vfs files" subdirectory be a subdir of
> the src/ directory, or be a peer to it?

Hmmmm, why is the src/ directory in there at all?  Are you looking for
a place to put button icons and other program stuff?  Shouldn't it be
<installl>/pcb/whatever?

Currently, other tools in gEDA install into the following directories:

share/pcb> ls ${GEDA}
bin  include  lib  share

share/pcb> ls ${GEDA}/share/
applications  doc  gEDA  gerbv  icons  info  locale  man  pcb

share/pcb> ls ${GEDA}/share/pcb
CreateLibraryContents.sh  pad.gif          pcb.ps           refcard.ps
CreateLibrary.sh          pad.pdf          puller.eps       thermal.eps
default_font              pad.png          puller.gif       thermal.gif
examples                  pcb.html         puller.pdf       thermal.pdf
gpcb-menu.res             pcblib           puller.png       thermal.png
ListLibraryContents.sh    pcblib.contents  qfp.dat          tools
m4                        pcblib-newlib    qfp-ui           tutorial
newlib                    pcb-menu.res     QueryLibrary.sh 
pad.eps                   pcb.pdf          refcard.pdf

Based upon compatibility with the rest of gEDA, the place to put icons
is ${GEDA}/share/pcb or some subdirectory.  And use ${GEDA}/bin,
${GEDA}/lib, and ${GEDA}/include for their obvious purposes.

As for where to put vfs_files, I'd say 
${GEDA}/share/pcb/vfs_files.

Cheers,

Stuart


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to