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

[patch] espeak server should not install .so file in /usr/share/emacs

Hi William,

First off, thank you as ever for all your hard work on emacspeak
for the various distributions.

In this specific case of where the compiled tts libs for loading
into TCL  go when installed, I remain unconvinced; and also, note
that the patch that would be needed goes beyond the Makefile int
he various synth directories, one would have to update the tcl
scripts appropraitely to look for the .so library in the
installed location. For now, if you continue to believe that
doing is the right thing, then I suggest you apply this patch
downstream from the emacspeak svn repos, and let's revisit the
issue based on how things work out.

On 1/21/10, William Hubbs <w.d.hubbs@gmail.com> wrote:
> Hello again Raman,
> The reason I suggest /usr/lib/emacspeak for the .so file comes from the
> fhs's definition of what should go in /usr/share [1], which gentoo linux
> attempts to follow most of the time.
> The .so file does not fit this definition since it is not architecture
> independent.  It seems to better fit the definition of /usr/lib [2].  I
> put it in /usr/lib/emacspeak since there will be other .so files for
> other speech servers as well, and I thought they should be in one place.
>   It seems to better fit the definition of /usr/lib [2].  Also, I put it
>   in an emacspeak sub directory because there are several of these .so files
> for
>   other servers.
> Take a look at the patch attached to this reply and let me know what you
> think about it.  I think this modification of the tcl script would work
> for both packagers and users because it checks the place in the current
> directory then the path in /usr/lib/emacspeak.
> William
> [1]
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
> [2]
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA
> On Mon, Jan 04, 2010 at 08:30:19AM -0800, T.V. Raman wrote:
>> I  am not yet comfortable in putting files from emacspeak across
>> diferent parts of the file system -- it   makes cleaning up after
>> a mess. I dont like /usr/lib/emacspeak for that reason; I also
>> dislike the /etc/ hacks out there in some of the de debian packages.
>> --
>> --
>> On 1/2/10, William Hubbs <w.d.hubbs@gmail.com> wrote:
>> > Hello Raman,
>> >
>> > because of the way the makefiles are set up now for emacspeak, it is
>> > possible for us on gentoo to automatically build the tclespeak.so module
>> > if the user requests that when they install emacspeak.  However, the
>> > default location where the .so is installed is not correct according to
>> > bug http://bugs.gentoo.org/298012.
>> >
>> > The same issue will also apply to the dtk-soft and outloud servers.
>> >
>> > I have patches for the dtk-soft and espeak servers below.  But I haven't
>> > written one for the outloud server yet since it uses the $tclTTS
>> > variable not only for the .so path, but for the path to eci.ini as well.
>> >
>> > These patches install the .so files in /usr/lib/emacspeak.  What do you
>> > think about putting them there?  Also, where should we put eci.ini?
>> > Maybe /etc/emacspeak?
>> >
>> > William
>> >
>> >
>> -----------------------------------------------------------------------------
>> To unsubscribe from the emacspeak list or change your address on the
>> emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
>> subject of "unsubscribe" or "help".

To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".

If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive