Commits

Moises Henriquez committed cab860a Merge

Merge branch 'veclinux-7.1' of http://bitbucket.org/VLCore/vabs into veclinux-7.1

  • Participants
  • Parent commits ba9e7e0, c172c58

Comments (0)

Files changed (6)

File var/vabs/echolinux/src/echolinux

+#/bin/sh
+
+if [ ! -d ~/.echoLinux ]; then mkdir ~/.echoLinux; fi; \
+        cp -f /etc/echolinux/*.txt ~/.echoLinux ; \
+        cp -f /etc/echolinux/*.wav ~/.echoLinux
+echo "Be sure to edit userdata.txt and info.txt located in $HOME/.echoLinux"
+
+/etc/echolinux/echolinux

File var/vabs/echolinux/src/echolinux.SlackBuild

 VERSION=${VERSION:-"0.17a"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://jaist.dl.sourceforge.net/project/cqinet/$NAME/$NAME-$VERSION/$NAME-$VERSION.tgz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"2"}
+BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"xforms >= 1.0.94pre4"} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
+MAKEDEPENDS=${MAKEDEPENDS:-"xforms"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
+
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 sed -i 's|#include <X11/forms.h>|#include <forms.h>|g' echogui/testgui.c
 
 # dun copy the exec
-sed -i 's|cp echogui /usr/local/bin/echogui|#cp echogui /usr/local/bin/echogui|g' echogui/Make
-sed -i 's|cp echolinux /usr/local/bin/echolinux; \|#cp echolinux /usr/local/bin/echolinux; \|g' echolinux/Make
-sed -i 's|cp echoaudio /usr/local/bin/echoaudio|#cp echoaudio /usr/local/bin/echoaudio|g' echolinux/Make
+#sed -i 's|cp echogui /usr/local/bin/echogui|#cp echogui /usr/local/bin/echogui|g' echogui/Makefile
+#sed -i 's|cp echolinux /usr/local/bin/echolinux; \|#cp echolinux /usr/local/bin/echolinux; \|g' echolinux/Makefile
+#sed -i 's|cp echoaudio /usr/local/bin/echoaudio|#cp echoaudio /usr/local/bin/echoaudio|g' echolinux/Makefile
+sed -i 's|cp echogui|#cp echogui|g' echogui/Makefile
+sed -i 's|cp echolinux|#cp echolinux|g' echolinux/Makefile
+sed -i 's|cp echoaudio|#cp echoaudio|g' echolinux/Makefile
 
 #-----------------------------------------------------
 
 cp pixmaps/echolinux_48x48.png $PKG/usr/share/pixmaps
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
-LICENSE* MANIFEST PROVENANCE README* TODO* Exception_to_GPL_for_Qt.txt \
-gpl.txt Using_EchoLinux.txt \
+cp -a README* gpl.txt Using_EchoLinux.txt \
 $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##

File var/vabs/espeak/src/espeak.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"pulseaudio portaudio"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"portaudio"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 echo "Configuring source..."
 cd src
 cp portaudio19.h portaudio.h
-# set AUDIO=runtime to use both portaudio and pulseaudio
-# refer to src/Makefile for detail
-make LIBDIR=/usr/lib$LIBDIRSUFFIX AUDIO=runtime || exit 1
+
+make LIBDIR=/usr/lib$LIBDIRSUFFIX || exit 1
 
 make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG || exit
 
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ChangeLog* License* README* $PKG/usr/doc/$NAME-$VERSION
+cp -a ChangeLog* License* ReadMe* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------

File var/vabs/portaudio/src/portaudio.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"2"}
+BUILDNUM=${BUILDNUM:-"3"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-""} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"alsa-lib"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1

File var/vabs/speech-dispatcher/src/config/speechd.conf

+# Global configuration for Speech Dispatcher
+# ==========================================
+
+# -----SYSTEM OPTIONS-----
+
+# CommunicationMethod specifies the method to be used by Speech Dispatcher to communicate with
+# its clients. Two basic methods are "unix_socket" and "inet_socket".
+#
+# unix_socket -- communication over Unix sockets represented by a file in the
+# filesystem (see SocketPath bellow). This method works only locally, but is
+# prefered for standard session setup, where every user runs his own instance of Speech
+# Dispatcher to get voice feedback on his own computer.
+#
+# inet_socket -- alternatively, you can start Speech Dispatcher on
+# a TCP port and connect to it via hostname/port. This allows for a more
+# flexible setup, where you can use Speech Dispatcher over network
+# from different machines. See also the Port and LocalhostAccessOnly
+# configuration variables.
+#
+# CommunicationMethod "unix_socket"
+
+# SocketPath is either "default" or a full path to the filesystem
+# where the driving Unix socket file should be created in case the
+# CommunicationMethod is set to "unix_socket". The default is
+# ~/.speech-dispatcher/speechd.sock where ~ is the given users home directory.
+# Do not change this unless you have a reason and know what you are doing.
+
+# SocketPath "default"
+
+# The Port on which Speech Dispatcher should be available to clients if the "inet_socket"
+# communication method is used.
+
+# Port 6560
+
+# By default, if "inet_socket" communication method is used, the specified port is opened only
+# for connections comming from localhost. If LocalhostAccessOnly is set to 0 it disables this
+# access controll. It means that the port will be accessible from all computers on the
+# network. If you turn off this option, please make sure you set up some system rules on what
+# computers are and are not allowed to access the Speech Dispatcher port.
+
+# LocalhostAccessOnly 1
+
+# -----LOGGING CONFIGURATION-----
+
+# The LogLevel is a number between 0 and 5 that specifies
+# how much of the logging information should be printed
+# out on the screen or in the logfile (see LogFile)
+# 0 means nothing, 5 means everything (not recommended).
+
+LogLevel  3
+
+# The LogDir specifies where Speech Dispatcher writes its logging messages
+# (status information, error messages, etc.).  Specify "stdout" for
+# standard console output or a directory path. 'default' means that
+# the logs are written to the default destination (e.g. a preconfigured
+# system directory or the home directory if .speech-dispatcher is present)
+# DO NOT COMMENT OUT THIS OPTION, SET IT TO "default" if you do not
+# want to influence it.
+
+LogDir  "default"
+#LogDir  "/var/log/speech-dispatcher/"
+#LogDir  "stdout"
+
+# The CustomLogFile allows logging all messages of the given kind,
+# regardless their priority, to the given destination.
+
+#CustomLogFile "protocol" "/var/log/speech-dispatcher/speechd-protocol.log"
+
+# ----- VOICE PARAMETERS -----
+
+# The DefaultRate controls how fast the synthesizer is going to speak.
+# The value must be between -100 (slowest) and +100 (fastest), default
+# is 0.
+
+DefaultRate   0
+
+# The DefaultPitch controls the pitch of the synthesized voice.  The
+# value must be between -100 (lowest) and +100 (highest), default is
+# 0.
+
+DefaultPitch   0
+
+# The DefaultVolume constrols the default volume of the voice.  It is
+# a value between -100 (softly) and +100 (loudly).  Currently, +100
+# maps to the default volume of the synthesizer.
+
+DefaultVolume 100
+
+# The DefaultVoiceType controls which voice type should be used by
+# default.  Voice types are symbolic names which map to particular
+# voices provided by the synthesizer according to the output module
+# configuratuion.  Please see the synthesizer-specific configuration
+# in etc/speechd/modules/ to see which voices are assigned to
+# different symbolic names.  The following symbolic names are
+# currently supported: MALE1, MALE2, MALE3, FEMALE1, FEMALE2, FEMALE3,
+# CHILD_MALE, CHILD_FEMALE
+
+# DefaultVoiceType  "MALE1"
+
+# The Default language with which to speak
+
+DefaultLanguage   en
+
+
+# ----- MESSAGE DISPATCHING CONTROLL -----
+
+# The DefaultClientName specifies the name of a client who didn't
+# introduce himself at the beginning of an SSIP session.
+
+# DefaultClientName  "unknown:unknown:unknown"
+
+# The Default Priority. Use with caution, normally this shouldn't be
+# changed globally (at this place)
+
+# DefaultPriority  "text"
+
+# The DefaultPauseContext specifies by how many index marks a speech
+# cursor should return when resuming after a pause. This is roughly
+# equivalent to the number of sentences before the place of the
+# execution of pause that will be repeated.
+
+# DefaultPauseContext 0
+
+# -----SPELLING/PUNCTUATION/CAPITAL LETTERS  CONFIGURATION-----
+
+# The DefaultPunctuationMode sets the way dots, comas, exclamation
+# marks, question marks etc. are interpreted.  none: they are ignored
+# some: some of them are sent to synthesis (see
+# DefaultPunctuationSome) all: all punctuation marks are sent to
+# synthesis
+
+# DefaultPunctuationMode "none"
+
+# The DefaultCapLetRecognition: if set to "spell", capital letters
+# should be spelled (e.g. "capital b"), if set to "icon",
+# capital letters are indicated by inserting a special sound
+# before them but they should be read normally, it set to "none"
+# capital letters are not recognized (by default)
+
+# DefaultCapLetRecognition  "none"
+
+# The DefaultSpelling: if set to On, all messages will be spelled
+# unless set otherwise (this is usually not something you want to do.)
+
+# DefaultSpelling  Off
+
+# ----- AUDIO CONFIGURATION -----------
+
+# -- AUDIO OUTPUT --
+
+# Chooses between the possible sound output systems:
+#       "pulse" - PulseAudio
+#       "alsa"  - Advanced Linux Sound System
+#       "oss"   - Open Sound System
+#       "nas"   - Network Audio System
+#       "libao" - A cross platform audio library
+# Pulse audio is the default and recommended sound server. OSS and ALSA
+# are only provided for compatibility with architectures that do not
+# include Pulse Audio. NAS provides network transparency, but is not
+# very well tested. libao is a cross platform library with plugins for
+# different sound systems and provides alternative output for Pulse Audio
+# and ALSA as well as for other backends.
+
+AudioOutputMethod   alsa
+
+# -- Pulse Audio parameters --
+
+# Pulse audio server name or "default" for the default pulse server
+
+#AudioPulseServer "default"
+
+#AudioPulseMinLength 100
+
+# -- ALSA parameters --
+
+# Audio device for ALSA output
+
+#AudioALSADevice "default"
+
+# -- OSS parameters --
+
+# Audio device for OSS output
+
+#AudioOSSDevice "/dev/dsp"
+
+# -- NAS parameters --
+
+# Route to the Network Audio System server when NAS
+# was chosen for the audio output. Note that NAS
+# server doesn't need to run on your machine,
+# you can use it also over network (for instance
+# when working on remote machines).
+
+#AudioNASServer "tcp/localhost:5450"
+
+
+
+# -----OUTPUT MODULES CONFIGURATION-----
+
+# Each AddModule line loads an output module.
+#  Syntax: AddModule "name" "binary" "configuration" "logfile"
+#  - name is the name under which you can acces this module
+#  - binary is the path to the binary executable of this module,
+#    either relative (to lib/speech-dispatcher-modules/) or absolute
+#  - configuration is the path to the config file of this module,
+#    either relative (to etc/speechd/modules/) or absolute
+
+AddModule "espeak"       "sd_espeak"   "espeak.conf"
+AddModule "festival"     "sd_festival"  "festival.conf"
+#AddModule "flite"        "sd_flite"     "flite.conf"
+#AddModule "ivona"	 "sd_ivona"    "ivona.conf"
+#AddModule "espeak-generic" "sd_generic" "espeak-generic.conf"
+#AddModule "espeak-mbrola-generic" "sd_generic" "espeak-mbrola-generic.conf"
+#AddModule "swift-generic" "sd_generic" "swift-generic.conf"
+#AddModule "epos-generic" "sd_generic"   "epos-generic.conf"
+#AddModule "dtk-generic"  "sd_generic"   "dtk-generic.conf"
+#AddModule "ibmtts"       "sd_ibmtts"    "ibmtts.conf"
+#AddModule "cicero"        "sd_cicero"     "cicero.conf"
+
+# DO NOT REMOVE the following line unless you have
+# a specific reason -- this is the fallback output module
+# that is only used when no other modules are in use
+AddModule "dummy"         "sd_dummy"      ""
+
+# The output module testing doesn't actually connect to anything. It
+# outputs the requested commands to standard output and reads
+# responses from stdandard input. This way, Speech Dispatcher's
+# communication with output modules can be tested easily.
+
+# AddModule "testing"
+
+# The DefaultModule selects which output module is the default.  You
+# must use one of the names of the modules loaded with AddModule.
+
+DefaultModule   espeak
+
+# The LanguageDefaultModule selects which output modules are prefered
+# for specified languages.
+
+#LanguageDefaultModule "en"  "espeak"
+#LanguageDefaultModule "cs"  "festival"
+#LanguageDefaultModule "es"  "festival"
+
+# -----CLIENT SPECIFIC CONFIGURATION-----
+
+# Here you can include the files with client-specific configuration
+# for different types of clients. They must contain one or more sections with
+# this structure:
+#     BeginClient "emacs:*"
+#          DefaultPunctuationMode "some"
+#          ...and/or some other settings
+#     EndClient
+# The parameter of BeginClient tells Speech Dispatcher to which clients
+# it should apply this settings (it does glob-style matching, you can use
+# * to match any number of characters and ? to match one character)
+
+# There are some sample client settings
+
+Include "clients/*.conf"
+
+# The DisableAutoSpawn option will disable the autospawn mechanism.
+# Thus the server will not start automatically on requests from the clients
+# DisableAutoSpawn

File var/vabs/speech-dispatcher/src/speech-dispatcher.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"3"}
+BUILDNUM=${BUILDNUM:-"4"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"dotconf espeak alsa-lib libao pulseaudio"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"dotconf espeak alsa-lib libao"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 install -Dm755 $CWD/speechd.sh $PKG/etc/rc.d/speechd
 install -d $PKG/var/log/speech-dispatcher
 
+# set speech-dispatcher config to use alsa and espeak as default
+mv $PKG/etc/$NAME/speechd.conf $PKG/etc/$NAME/speechd.conf.default
+cp $CWD/config/speechd.conf $PKG/etc/$NAME/speechd.conf
+
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
 $PKG/usr/doc/$NAME-$VERSION