[Pkg-freedict-devel] Re: plan for freedict packages

Kęstutis Biliūnas kebil at kaunas.init.lt
Fri Dec 29 17:48:02 CET 2006


Pn, 2006 12 29 15:25 +0100, Joost van Baal rašė:

> > But however the 'teiaddphonetics' script is invisible when the
> > dict-freedict-deu-nld is building. And for the dictionaries which
> > use the 'xdf2tei.pl' script I was not to able to use the freedict-tools
> > with this approach with symlinks. 
> 
> Could you name an example LLL-LLL package?  I can try to get it build.

kur-tur for example.

> > I am sorry, but I changed greatly (simplified) the freedict-tools and
> > now all works very well. What do you think about it? If you dislike
> > this method, I will replace all the late code.
> 
> I'd prefer to patch Makefile.common and keep using
> debian/Makefile.Debian.

The file Makefile.Debian remain of course, I have only moved it to
debian-scripts directory.   

> 
> Ideally, all scripts called from Makefile.common are just found in the
> $PATH, so e.g.
> 
>  tei2dict := $(toolsdir)/xmltei2xmldict.pl -n $(NSGMLS) -d $(XMLDECLARATION)
> 
> should be
> 
>  tei2dict := xmltei2xmldict -n $(NSGMLS) -d $(XMLDECLARATION)
> 
> .  For backwards compatibility, we could do
> 
>  tei2dict ?= $(toolsdir)/xmltei2xmldict.pl -n $(NSGMLS) -d $(XMLDECLARATION)
> 
> in Makefile.common, and in our Makefile.Debian, do something like
> 
>  tei2dict="xmltei2xmldict -n $(NSGMLS) -d $(XMLDECLARATION)" ... make

It is complicated, but I see your point. Do I must replace to the
previous state everything already?

> This way, we can create a FHS-compatible freedict-tools package.
> Furthermore, the Makefile.common will be usable in more setups.
> 
> > The very important to do dan-eng dictionary, because rather like that
> > the upstream plan to use this method for many dictionaries. Here no
> > .tei file, but the words database is taken from
> > http://download.travlang.com/files/ at the building time.
> > My efforts to do this dictionary so far is unsuccessful.
> 
> A build of a Debian package should never depend upon network
> connectivity.  In this scenario, we'd have to ship the to be downloaded
> stuff in our .diff.gz (if license allows this).

I understood.

> BTW: could you please try to get your -commits Mailman subscribtion
> working?  It seems kebil-guest at alioth is not allowed to post now.
> See my previous mail about it.

I am sorry. Now done, I think.

Best regards,
-- 
Kęstutis Biliūnas <kebil at kaunas.init.lt>




More information about the Pkg-freedict-devel mailing list