Skip to content
Snippets Groups Projects
Commit 0293db30 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Removed gnome-speech helper as per #2338

parent 8c797d68
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
. ./config
for driver in swift dectalk; do
rm -rf drivers/$driver
find | grep Makefile | xargs grep $driver |cut -d: -f1 | xargs sed "/SUBDIRS/s/$driver//" -i
find | grep Makefile | xargs grep $driver |cut -d: -f1 | xargs sed "/$driver/d" -i
find |grep $driver |grep -v templates|xargs rm
done
sed '/^ac_config_files/s:drivers/dectalk/Makefile::' -i configure
sed '/^ac_config_files/s:drivers/dectalk/GNOME_Speech_SynthesisDriver_Dectalk.server::' -i configure
sed '/^ac_config_files/s:drivers/swift/Makefile::' -i configure
sed '/^ac_config_files/s:drivers/swift/GNOME_Speech_SynthesisDriver_Swift.server::' -i configure
sed '/Package: gnome-speech-swift/,/system\./d' -i debian/control.in debian/control
sed '/Package: gnome-speech-dectalk/,/system\./d' -i debian/control.in debian/control
sed '/; other backends that require proprietary/,/gnome-speech-swift/d' -i debian/control.in debian/control
changelog "Disable packaging of contrib packages gnome-speech-dectalk and gnome-speech-swift, Closes #2338"
compile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment