After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 129205 - GNOME Speech API shouldn't be implementation dependent.
GNOME Speech API shouldn't be implementation dependent.
Status: RESOLVED WONTFIX
Product: gnome-speech
Classification: Deprecated
Component: API
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Speech Maintainer(s)
GNOME Speech Maintainer(s)
AP3
Depends on:
Blocks:
 
 
Reported: 2003-12-12 17:31 UTC by Rich Burridge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Changes need to existing GNOME Speech files. (1.29 KB, text/plain)
2003-12-12 17:36 UTC, Rich Burridge
Details
New Speech source files (implementation agnostic API with a hidden Bonobo/ORBit2 implementation). (13.18 KB, application/octet-stream)
2003-12-12 17:38 UTC, Rich Burridge
Details

Description Rich Burridge 2003-12-12 17:31:11 UTC
The existing GNOME Speech API should not expose the
underlying implementation. That should be hidden so
that if there is a need to change it at a later date,
then this can be made completely transparent to the
consumers of that API.
Comment 1 Rich Burridge 2003-12-12 17:36:21 UTC
Created attachment 22380 [details]
Changes need to existing GNOME Speech files.
Comment 2 Rich Burridge 2003-12-12 17:38:08 UTC
Created attachment 22381 [details]
New Speech source files (implementation agnostic API with a hidden Bonobo/ORBit2 implementation).
Comment 3 Rich Burridge 2003-12-12 17:39:24 UTC
There were two existing files I needed to change in the 
gnome-speech module:

   .../gnome-speech/Makefile.am
   .../gnome-speech/configure.in

The diffs for these are in the attachment "gnome-speech.diffs".

There were two new directories created called:

  .../gnome-speech/speech
  .../gnome-speech/test-capi

These directories have the following new files:

  .../gnome-speech/speech/Makefile.am
  .../gnome-speech/speech/speech.h
  .../gnome-speech/speech/speech_callback.c
  .../gnome-speech/speech/speech_callback.h
  .../gnome-speech/speech/speech_impl.c
  .../gnome-speech/speech/speech_impl.h
  .../gnome-speech/speech/speech_main.c
  .../gnome-speech/speech/speech_main.h
  .../gnome-speech/speech/speech_parameter.c
  .../gnome-speech/speech/speech_parameter.h
  .../gnome-speech/speech/speech_servers.c
  .../gnome-speech/speech/speech_servers.h
  .../gnome-speech/speech/speech_speaker.c
  .../gnome-speech/speech/speech_speaker.h
  .../gnome-speech/speech/speech_synthesis_driver.c
  .../gnome-speech/speech/speech_synthesis_driver.h
  .../gnome-speech/speech/speech_types.h
  .../gnome-speech/speech/speech_voice_info.c
  .../gnome-speech/speech/speech_voice_info.h

  .../gnome-speech/test-capi/Makefile.in
  .../gnome-speech/test-capi/test-speech-capi.c

I've attached a "cfiles.tgz" compressed tarball with all these 
new files in them. They (and the two new parent directories) 
will need to be "cvs add"'ed before you do a gnome-speech 
commit.
Comment 4 Rich Burridge 2003-12-12 17:40:25 UTC
Note these changes are to GNOME Speech v0.2.X and don't
include the slight adjustments to the API for GNOME Speech 
v0.3.
Comment 5 bill.haneman 2003-12-15 14:18:58 UTC
Rich: your attachment is unreadable, so I cannot eval.  can you send
it as a patch (-uN) instead of application/bin?

thanks
Comment 6 bill.haneman 2003-12-15 14:28:32 UTC
gnome-speech IS implementation independant; that's why it's IDL!

I do not believe that this is a bug.

The only implementation dependence is the use of CORBA_Environment as
the exception/return mechanism; probably a necessary evil with dealing
with CORBA backends at this time.  It's more important to keep
gnome-speech language-independent, which is the other reason for
retaining the IDL as the normative interface.

Comment 7 Rich Burridge 2003-12-15 15:27:03 UTC
Bill, the attachment is fine. I've just read it
successfully and so did Michael Meeks. Save it 
with your browser and call it something like 
cfiles.tar.gz. Then unpack with gunzip and tar.

Comment 8 bill.haneman 2004-02-05 17:59:46 UTC
the proposal would make gnome-speech language dependant, which is bad.
the implementation details are not directly exposed via most bindings,
it's only that CORBA C bindings expose more ugliness than other CORBA
bindings (via the corba environment variable).
Comment 9 bill.haneman 2004-06-14 13:54:02 UTC
After discussion we've decided not to provide non-normative C bindings to
gnome-speech.