3 # This script cleans obsolete KTTS files from your system.
4 # You should run this if you have been downloading KTTS and installing
5 # prior to the indicated dates.
7 # You would normally run this after running configure and before
10 # echo kttsd>inst-apps
11 # make -f Makefile.cvs
17 PREFIX
=$
(kde-config
--prefix)
20 if [ -z "$PREFIX" ]; then
21 echo "KDE prefix not found. Do you have kde-config installed?"
25 if [ ! -x $LIBTOOL ]; then
26 echo "libtool was not found. Did you run configure?"
32 # libktts removed. See kdeaccessibility/kttsd/kcmkttsmgr/Makefile.am
33 # for example how to build without it.
34 # on or about 20 Dec 2004.
35 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libktts
36 $LIBTOOL --mode=uninstall
$PREFIX/lib
/libktts
38 # ServiceType kttsd.desktop renamed to kttsd_synthplugin.desktop,
39 # which distinquishes it from kttsd.desktop in the services dir
40 # and more accurately reflects its purpose
41 # on or about 8 Dec 2004.
42 rm -f $PREFIX/share
/servicetypes
/kttsd.desktop
44 # kcm_kttsmgr removed. Use kcm_kttsd instead.
45 # Change made on or about 18 Dec 2004.
46 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/kcm_kttsmgr
47 rm -f $PREFIX/share
/applnk
/Settings
/Accessibility
/kcmkttsmgr.desktop
48 rm -f $PREFIX/share
/applications
/kde
/kcmkttsmgr.desktop
50 # Renamed libkttsjobmgr to libkttsjobmgrpart per kdelibs/NAMING convention
51 # on or about 19 Oct 2004:
53 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libkttsjobmgr
55 # The following installed files were renamed
56 # on or about 19 Oct 2004:
57 # In $KDEDIR/share/services/:
58 # festival.desktop -> kttsd_festivalplugin.desktop
59 # festivalint.desktop -> kttsd_festivalintplugin.desktop
60 # command.desktop -> kttsd_commandplugin.desktop
61 # hadifix.desktop -> kttsd_hadifixplugin.desktop
62 # flite.desktop -> kttsd_fliteplugin.desktop
63 # epos-kttsdplugin.desktop -> kttsd_eposplugin.desktop
64 # freetts.desktop -> kttsd_freettsplugin.desktop
65 # In $KDEDIR/lib/kde3/:
66 # libfestivalplugin -> libkttsd_festivalplugin
67 # libfestivalintplugin -> libkttsd_festivalintplugin
68 # libcommandplugin -> libkttsd_commandplugin
69 # libhadifixplugin -> libkttsd_hadifixplugin
70 # libfliteplugin -> libkttsd_fliteplugin
71 # libeposkttsdplugin -> libkttsd_eposplugin
72 # libfreettsplugin -> libkttsd_freettsplugin
74 rm -f $PREFIX/share
/services
/festival.desktop
75 rm -f $PREFIX/share
/services
/festivalint.desktop
76 rm -f $PREFIX/share
/services
/command.desktop
77 rm -f $PREFIX/share
/services
/hadifix.desktop
78 rm -f $PREFIX/share
/services
/flite.desktop
79 rm -f $PREFIX/share
/services
/epos-kttsdplugin.desktop
80 rm -f $PREFIX/share
/services
/freetts.desktop
82 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libfestivalplugin
83 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libfestivalintplugin
84 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libcommandplugin
85 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libhadifixplugin
86 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libfliteplugin
87 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libeposkttsdplugin
88 $LIBTOOL --mode=uninstall
$PREFIX/lib
/kde
3/libfreettsplugin
90 # The following library was changed from unversioned to versioned
91 # on or about 13 Oct 2004,
93 $LIBTOOL --mode=uninstall
$PREFIX/lib
/libktts
95 # The hadifax plugin was renamed to hadifix
96 # on or about 4 Sep 2004.
98 rm -f $PREFIX/share
/services
/hadifax.desktop
99 $LIBTOOL --mode=uninstall
/lib
/kde
3/libhadifaxplugin
101 # Clean up the library cache.
103 $LIBTOOL --mode=finish
-n $PREFIX/lib
104 $LIBTOOL --mode=finish
-n $PREFIX/lib
/kde
3/