[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about canna-lib and canna-server



> 	I am rewriting the pkgsrc structure for canna-lib and canna-server
> to bring them up-to-date with current pkgsrc standards.  I am not familiar
> with the Canna software, so please excuse me if my questions seem silly.
> The dictionary structure confuses me:
> 
> 	/var/dict/canna/*.cbp			Canna-lib dictionary files?
> 	/var/dict/canna/canna/*.cld		\
> 	/var/dict/canna/canna/*.cbd		|-- Canna-server dict files?
> 	/var/dict/canna/canna/*.ctd		/
> 	/usr/X11R6/share/canna/sample/src/*.ctd	???
> 
> (1) Why are the Canna dictionaries stored in /var/dict instead of in
>     /usr/pkg/share/canna/dict?

I guess the intension was that the author didn't want to put mutable
files under ${PREFIX}.

> (2) Is it expected that the user may generate and install new dictionary
>     files in /var/dict/canna?

I think so.

> (3) Can/do the installed dictionary files change after they are installed,
>     so that pkg_delete may not be able to remove them cleanly?

Possibly, although I can't say what files are.

> (4) Why are the dictionary files for Canna-lib and Canna-server stored in
>     different places (/var/dict/canna and /var/dict/canna/canna)?  It seems
>     like the two packages don't share dictionary files with the same
>     filename extension (*.cbp and *.{cld,cbd,ctd}), so they should be able
>     to share a common dictionary directory.

No idea, sorry.

Masao