Re: Bug#299816: installdeb-myspell is unable to install openoffice hypenation files
On Wed, Mar 16, 2005 at 11:27:09PM +0100, Agustin Martin wrote:
> On Wed, Mar 16, 2005 at 08:00:07PM +0100, Matthias Klose wrote:
> > Package: dictionaries-common-dev
> >
> > $ cat $ cat debian/info-myspell
> > DICT da DK da_DK
> > HYPH da DK hyph_da_DK
> >
> > $ installdeb-myspell --srcdir=da_DK/hyph
> > Use of uninitialized value in concatenation (.) or string at /usr/bin/installdeb-myspell line 33, <COMPAT_IN> line 4.
> > There is no da_DK/hyph/da_DK.aff file here
> > Please see .
>
> Hi, Mathias
>
> It is not intended for that, please see the man page,
>
> ----------------
> OPTIONS
> --srcdir=dir Will look for .aff/.dic files in the specified directory
> and install them in the default target directory. Base
> name will be extracted from the info-myspell file
> ---------------
>
> Since I agree that this is a nice thing to add I am not closing this bug
> report, but setting it severity wishlist.
Hi, Matthias,
I have been playing with a way of using installdeb-myspell also to install
hyphenation ooo files and add the appropriate debhelper snippets. In the
course of this I noticed that this has nothing to to with myspell itself,
apart from sharing the same dictionaries.lst file and that the hyph files
are installed under /usr/share/myspell, but with the diferent hyphenation
packages.
I have prepared an installdeb-myspell that does that, and since I find that
this can be useful for ooo hyphen packages to use the same dictionaries.lst
updating mechanism as myspell dicts I am cc'ing the debian-openoffice list
for feedback.
myspell dicts would do as usual, and ooo hyhpenation packages could do
something like (package stands for the package name and using da_DK as an
example)
debian/package.info-myspell:
HYPH da DK hyph_da_DK
(better not change the -myspell prefix, even if this is not myspell)
debian/rules:
In the build target,
installdeb-myspell -ppackage --srcdir=.
This should try to install hyph_da_DK.dic from the current dict into
/usr/share/myspell/dicts and create the appropriate debhelper snippets so
update-openoffice-dicts is called and dictionaries.lst updated.
Comments?
Cheers,
--
Agustin
Reply to:
- Prev by Date:
CVS:oo-deb/debian changelog,1.338.2.25.2.26,1.338.2.25.2.27 control,1.175.2.8.2.16,1.175.2.8.2.17 control.in,1.142.2.6.2.17,1.142.2.6.2.18
- Next by Date:
OpenOffice with java is not building correctly
- Previous by thread:
CVS:oo-deb/debian changelog,1.338.2.25.2.26,1.338.2.25.2.27 control,1.175.2.8.2.16,1.175.2.8.2.17 control.in,1.142.2.6.2.17,1.142.2.6.2.18
- Next by thread:
OpenOffice with java is not building correctly
- Index(es):