[Pkg-kde-talk] kttsd and gstreamer

Gary Cramblitt garycramblitt@comcast.net
Thu, 3 Mar 2005 09:02:37 +0000


--Boundary-00=_tKtJC4pd+h6J02C
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thursday 03 March 2005 11:32 am, Pierre Habouzit wrote:
> Hi,
>
>   I'm working on the packages of kdeaccessibility of the recent rc1 for
>   debian.
>
>   when building kttsd with the configure flag :
>     --enable-kttsd-gstreamer
>
>   we have the nice warning :
>
>   ********************************************************
>   * The build of the GStreamer audio plugin has been enabled.
>   *
>   * PACKAGERS: Please do not include the gstreamer plugin
>   * in binary distributions of kdeaccessibility as it
>   * creates unwanted dependencies.  Instead, include in a
>   * separate package, e.g., kdeaccessibility-extras.
>   * The separate package should require gstreamer >= 0.8.7
>   *
>   ********************************************************
>
>   but this is not accurate. in fact, the gstreamer only depends on
>   libgstreamer0.8-0 (debian package), that has quite reasonnable
>   dependencies (libc, libglib, libptop, libxml2, zlib)
>
>   moreover with that option, kttsd *itself* is linked against
>   libgstreamer, and will force the dependency on libgstreamer
>
>   please have a look at the debs on [1], they really present the
>   dependency, and having the gstreamer plugin as a separate package does
>   not help

Another error on my part.  The kttsd executable does not need to be linked 
against libgstreamer.  See attached patch, which also includes not installing 
kttsjobmgr.h file.  If I backport this patch to the KDE CVS 3.4 branch, will 
you pick it up, or must you separately patch?

*Please* try not distribute kdeaccessibility binary with a dependency on 
gstreamer.  The kdeaccessibility coordinator (Olaf Schmidt) will have my 
head.  I would rather see it distributed with GStreamer functionality 
disabled altogether, but I think the attached patch will solve the problem.

For the -extras package, libgstreamer *must* be 0.8.7 or greater.  GStreamer 
crashes and/or badly misbehaves when playing .wav files with older versions.  
When it crashes, it takes kttsd down with it, and the only way user can avoid 
the crash is to uninstall the kttsd gstreamer plugin. (Actually, I think the 
problem is in the gstreamer .wav plugin.  I *think* it must be 0.8.4 or 
greater, but I have no idea how to specify that dependency.)

> [1] http://accessibility.kde.org/developer/kttsd/

I'll have to rebuild those .debs.

I apologize for these errors and confusion.  I'm a relative newbie.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php

--Boundary-00=_tKtJC4pd+h6J02C
Content-Type: text/x-diff;
  charset="utf-8";
  name="kttsd_deps.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="kttsd_deps.patch"

? kttsd_deps.patch
? sample.html
? sample.russian
? sample.sable
? sample2.html
? filters/xmltransformer/xhtml2ssml_simple.xsl
Index: kttsd/Makefile.am
===================================================================
RCS file: /home/kde/kdeaccessibility/kttsd/kttsd/Makefile.am,v
retrieving revision 1.27
diff -u -3 -p -r1.27 Makefile.am
--- kttsd/Makefile.am	15 Feb 2005 19:49:30 -0000	1.27
+++ kttsd/Makefile.am	3 Mar 2005 13:51:49 -0000
@@ -3,7 +3,6 @@
 INCLUDES = \
 	-I$(top_srcdir)/kttsd/libkttsd \
 	-I$(kde_includes)/arts \
-	$(CFLAGS_GST) \
 	$(KTTS_KSPEECH_INCLUDE) \
 	$(all_includes)
 
@@ -34,11 +33,10 @@ kttsd_SOURCES = \
 	filtermgr.cpp \
 	talkermgr.cpp
 
-kttsd_LDFLAGS = -avoid-version -module $(LDFLAGS_GST) $(all_libraries) $(KDE_RPATH)
+kttsd_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_RPATH)
 kttsd_LDADD = \
 	$(top_builddir)/kttsd/libkttsd/libkttsd.la \
 	$(LIB_KDECORE) \
-	$(LDADD_GST) \
 	$(LIB_KIO) \
 	$(LIB_KUTILS)
 
Index: kttsjobmgr/Makefile.am
===================================================================
RCS file: /home/kde/kdeaccessibility/kttsd/kttsjobmgr/Makefile.am,v
retrieving revision 1.10
diff -u -3 -p -r1.10 Makefile.am
--- kttsjobmgr/Makefile.am	15 Feb 2005 19:49:30 -0000	1.10
+++ kttsjobmgr/Makefile.am	3 Mar 2005 13:51:50 -0000
@@ -32,10 +32,6 @@ libkttsjobmgrpart_la_LIBADD = \
 	$(top_builddir)/kttsd/libkttsd/libkttsd.la \
 	$(LIB_KFILE) $(LIBVM) $(LIB_KPARTS)
 
-# Header files to be installed.
-kpartsincludedir = $(includedir)/kparts
-kpartsinclude_HEADERS = kttsjobmgr.h
-
 # Header files not to be installed.
 noinst_HEADERS = selecttalkerwidget.h
 

--Boundary-00=_tKtJC4pd+h6J02C--