From 8ee70b19ff3052fe201f6391ac6c7861741fecec Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 11 Jun 2008 12:20:55 +0000 Subject: pulseaudio-meta: add missing files (sorry) --- packages/pulseaudio/pulseaudio-meta/pulseaudio | 50 ++++++++++++++++++++++++++ packages/pulseaudio/pulseaudio-meta/session | 36 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100755 packages/pulseaudio/pulseaudio-meta/pulseaudio create mode 100644 packages/pulseaudio/pulseaudio-meta/session (limited to 'packages') diff --git a/packages/pulseaudio/pulseaudio-meta/pulseaudio b/packages/pulseaudio/pulseaudio-meta/pulseaudio new file mode 100755 index 0000000000..964947376e --- /dev/null +++ b/packages/pulseaudio/pulseaudio-meta/pulseaudio @@ -0,0 +1,50 @@ +#!/bin/sh +# +# pulseaudio This shell script starts and stops pulseaudio. +# +# chkconfig: 345 90 40 +# description: Pulseaudio manages the sound input/output +# processname: pulseaudio + +# Source function library. +#. /etc/rc.d/init.d/functions + +RETVAL=0 +prog="pulseaudio" + +start() { + echo -n "Starting audio server: " + # FIXME once alsa/shm permissions have been fixed, supply --system + start-stop-daemon -S -x /usr/bin/pulseaudio -- --no-cpu-limit --resample-method=trivial -D -nF /etc/pulse/session + + if [ $? = 0 ]; then + echo "$prog (warning ignores)." # FIXME remove comment on warning + else + echo "(failed.)" + fi +} + +stop() { + echo -n "Stopping audio server: " + start-stop-daemon -K -x /usr/bin/pulseaudio + echo "pulseaudio." +} + +# See how we were called. +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $RETVAL diff --git a/packages/pulseaudio/pulseaudio-meta/session b/packages/pulseaudio/pulseaudio-meta/session new file mode 100644 index 0000000000..55f2c16f26 --- /dev/null +++ b/packages/pulseaudio/pulseaudio-meta/session @@ -0,0 +1,36 @@ +#!/usr/bin/pulseaudio -nF + +# +# Barebones PA Session File for Devices w/ ALSA +# (C) Michael 'Mickey' Lauer +# + +# Create autoload entries for the device drivers +add-autoload-sink output module-alsa-sink device=hw:0 sink_name=output +add-autoload-source input module-alsa-source device=hw:0 source_name=input + +# Core protocols +load-module module-esound-protocol-unix +load-module module-simple-protocol-tcp +load-module module-native-protocol-unix +load-module module-cli-protocol-unix + +# Suspend on idle +load-module module-suspend-on-idle + +# Set default sink and source +set-default-sink output +set-default-source input + +# Don't fail if the audio files referred to below don't exist +.nofail + +# Load an audio to the sample cache for usage with module-x11-bell +#load-sample-lazy x11-bell /usr/share/openmoko/sounds/notify_doorbell.wav +#load-module module-x11-bell sample=x11-bell + +# Load samples +#load-sample startup /usr/share/openmoko/sounds/startup_unintrusive.wav +#load-sample touchscreen /usr/share/openmoko/sounds/touchscreen_click.wav +#load-sample ringtone /usr/share/openmoko/sounds/ringtone_classy.wav + -- cgit v1.2.3 From f44848230541af616765d158f89922acb99258c6 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Wed, 11 Jun 2008 14:23:13 +0000 Subject: netbase: drop mpc8313e-rdb specific etc/network/interfaces --- packages/netbase/netbase/mpc8313e-rdb/.mtn2git_empty | 0 packages/netbase/netbase/mpc8313e-rdb/interfaces | 16 ---------------- 2 files changed, 16 deletions(-) delete mode 100644 packages/netbase/netbase/mpc8313e-rdb/.mtn2git_empty delete mode 100644 packages/netbase/netbase/mpc8313e-rdb/interfaces (limited to 'packages') diff --git a/packages/netbase/netbase/mpc8313e-rdb/.mtn2git_empty b/packages/netbase/netbase/mpc8313e-rdb/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/netbase/netbase/mpc8313e-rdb/interfaces b/packages/netbase/netbase/mpc8313e-rdb/interfaces deleted file mode 100644 index 64d65e3ad9..0000000000 --- a/packages/netbase/netbase/mpc8313e-rdb/interfaces +++ /dev/null @@ -1,16 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wired interface -auto eth1 -iface eth1 inet dhcp - -# Wireless interface -auto ath0 -iface ath0 inet static - address 192.168.99.1 - netmask 255.255.255.0 - -- cgit v1.2.3 From 1d633990126e72f44fd06373be4f4f7981500dc9 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Wed, 11 Jun 2008 14:24:52 +0000 Subject: python-flup_1.0.bb: add python module for WSGI servers --- packages/python/python-flup_1.0.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/python/python-flup_1.0.bb (limited to 'packages') diff --git a/packages/python/python-flup_1.0.bb b/packages/python/python-flup_1.0.bb new file mode 100644 index 0000000000..963c1ca6c2 --- /dev/null +++ b/packages/python/python-flup_1.0.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Random assortment of WSGI servers" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "BSD" +SRCNAME = "flup" + +SRC_URI = "http://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools -- cgit v1.2.3 From ebcfc2917b588f690f45d40a0dae97ab5bb2543c Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Wed, 11 Jun 2008 14:58:17 +0000 Subject: lighttpd: fix init script (restart did not work) --- packages/lighttpd/lighttpd/lighttpd | 11 +++++------ packages/lighttpd/lighttpd_1.4.18.bb | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'packages') diff --git a/packages/lighttpd/lighttpd/lighttpd b/packages/lighttpd/lighttpd/lighttpd index 572381499a..bf89a60b7d 100644 --- a/packages/lighttpd/lighttpd/lighttpd +++ b/packages/lighttpd/lighttpd/lighttpd @@ -1,16 +1,15 @@ #!/bin/sh -# -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin +PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/lighttpd NAME=lighttpd DESC="Lighttpd Web Server" - +OPTS="-f /etc/lighttpd.conf" case "$1" in start) echo -n "Starting $DESC: " - start-stop-daemon --start -x "$DAEMON" -- -f /etc/lighttpd.conf + start-stop-daemon --start -x "$DAEMON" -- $OPTS echo "$NAME." ;; stop) @@ -20,9 +19,9 @@ case "$1" in ;; restart|force-reload) echo -n "Restarting $DESC: " - start-stop-daemon -K -x "$DAEMON" + start-stop-daemon --stop -x "$DAEMON" sleep 1 - start-stop-daemon -S -x "$DAEMON" + start-stop-daemon --start -x "$DAEMON" -- $OPTS echo "$NAME." ;; *) diff --git a/packages/lighttpd/lighttpd_1.4.18.bb b/packages/lighttpd/lighttpd_1.4.18.bb index a83efcaf40..4a27c626e4 100644 --- a/packages/lighttpd/lighttpd_1.4.18.bb +++ b/packages/lighttpd/lighttpd_1.4.18.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Web server" SECTION = "net" LICENSE = "BSD" DEPENDS = "libpcre" -PR = "r1" +PR = "r2" SRC_URI = "http://www.lighttpd.net/download/lighttpd-${PV}.tar.gz \ file://configure.in.patch;patch=1 \ -- cgit v1.2.3