Package: dictd Version: 1.9.15-1 Severity: wishlist
Hi, Ludovic Courtès ([EMAIL PROTECTED]) and I are currently trying to package « Reta Vortaro », an Esperanto dictionary, available under the GNU GPL at http://www.uni-leipzig.de/esperanto/voko/tgz/index.html. This dictionary is a bit particular, compared to others such as dict-devil or dict-de-en: for a single .dict.dz file, it has several .index files, one per native language. So, basically, we have revo.dict.dz, which contains the Esperanto definitions and translations in native languages, and revo.fr.index, revo.en.index, etc. which are indexes inside the former .dict.dz file. If we only put one .dict.dz file and the indexes, dictdconfig doesn't update the /var/lib/dictd/db.list accordingly, since the .dict.dz basename doesn't match any .index filename. To workaround this situation, and have dictdconfig add an entry for each index in db.list, we created symlinks as follows: lrwxrwxrwx 1 root root 12 2005-09-06 23:45 revo.cs.dict.dz -> revo.dict.dz -rw-r--r-- 1 root root 20211 2005-09-06 23:44 revo.cs.index lrwxrwxrwx 1 root root 12 2005-09-06 23:45 revo.de.dict.dz -> revo.dict.dz -rw-r--r-- 1 root root 429490 2005-09-06 23:44 revo.de.index -rw-r--r-- 1 root root 4152660 2005-09-06 23:44 revo.dict.dz Using this workaround, all indexes are added to the db.list, and are accessible through a dictd client. However, the dictionary indexes are simply named after the filename (revo.fr for example) inside dictd clients. In other dictionaries, a human-readable name is extracted from the .dict.dz file. As in our dictionary, the .dict.dz file is shared amongst various entries in the db.list file, we can't put the human-readable name inside it. As of now, we can see the following (non-satisfying) solutions: - Not using dictdconfig, by adding an "Include" directive inside /etc/dictd/dictd.conf. This should solve the problem, but isn't satisfactory. - Changing dictdconfig in some way so that it can handle index names (for example using revo.cs.name file ?). What's your opinion about it ? (If you want to look at the details, you'll find our work at http://thomas.enix.org/pub/revo/). Thanks, Ludovic and Thomas. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.11 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages dictd depends on: ii adduser 3.67 Add and remove users and groups ii dictzip 1.9.15-1 Compression utility for dictionary ii libc6 2.3.5-4 GNU C Library: Shared libraries an ii netbase 4.21 Basic TCP/IP networking system ii zlib1g 1:1.2.3-3 compression library - runtime Versions of packages dictd recommends: ii dict [dict-client] 1.9.15-1 Dictionary Client ii dictionary-el [dict-client] 1.8.7-2 dictionary client for Emacs ii gnome-utils [dict-client] 2.10.1-3 GNOME desktop utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]