diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-05 10:32:06 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-05 10:32:06 +0000 |
commit | 0ec8e772610c9800b364c27d8d3ba44284a1abba (patch) | |
tree | caa2915fe75641ccb5e06234de765fd6eb1fead6 /packages | |
parent | f93a8547d78e11866e8a35c99321909262460a31 (diff) | |
parent | ec540b055c4571f47887e5a086a0158e4c2abba7 (diff) |
merge of '304f7e476fe8624db6410c0656b7dd8f78ad60f2'
and 'fcfb658bc0012d559f131ce8495a388677380d94'
Diffstat (limited to 'packages')
19 files changed, 211 insertions, 123 deletions
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc index e8e9e7c4a8..ae03d00e05 100644 --- a/packages/avahi/avahi.inc +++ b/packages/avahi/avahi.inc @@ -6,7 +6,7 @@ PRIORITY = "optional" LICENSE = "GPL" PR = "r5" -DEPENDS = "expat libdaemon dbus glib-2.0" +DEPENDS = "expat virtual/libintl libdaemon dbus glib-2.0" # uclibc has no nss RRECOMMENDS_avahi-daemon_append_linux = "libnss-mdns" @@ -22,10 +22,14 @@ inherit autotools pkgconfig update-rc.d RDEPENDS_append = "" # TODO: build and enable all the extra stuff avahi offers -EXTRA_OECONF = "--with-distro=debian --disable-gdbm ${AVAHI_GTK} --disable-mono --disable-monodoc --disable-qt3 --disable-qt4 ${AVAHI_PYTHON}" +EXTRA_OECONF = "--with-distro=debian --disable-nls --disable-gdbm ${AVAHI_GTK} --disable-mono --disable-monodoc --disable-qt3 --disable-qt4 ${AVAHI_PYTHON}" AVAHI_PYTHON = "--disable-python" AVAHI_GTK = "--disable-gtk" +LDFLAGS_append_linux-uclibc = " -lintl" +LDFLAGS_append_linux-uclibcgnueabi = " -lintl " +LDFLAGS_append_uclinux-uclibc = " -lintl" + PACKAGES =+ "avahi-daemon avahi-discover libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-discover-standalone avahi-autoipd avahi-utils" FILES_libavahi-common = "${libdir}/libavahi-common.so.*" diff --git a/packages/e2fsprogs/e2fsprogs_1.38.bb b/packages/e2fsprogs/e2fsprogs_1.38.bb index 4f6f62bb12..91a391975f 100644 --- a/packages/e2fsprogs/e2fsprogs_1.38.bb +++ b/packages/e2fsprogs/e2fsprogs_1.38.bb @@ -1,10 +1,12 @@ require e2fsprogs.inc -PR = "r10" +PR = "r11" SRC_URI += "file://no-hardlinks.patch;patch=1" -EXTRA_OECONF += " --sbindir=${base_sbindir}" +EXTRA_OECONF += " --sbindir=${base_sbindir} \ + --disable-nls \ + " do_compile_prepend () { find ./ -print|xargs chmod u=rwX diff --git a/packages/espeak/.mtn2git_empty b/packages/espeak/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/espeak/.mtn2git_empty diff --git a/packages/espeak/espeak_1.30.bb b/packages/espeak/espeak_1.30.bb new file mode 100644 index 0000000000..03290d0aa2 --- /dev/null +++ b/packages/espeak/espeak_1.30.bb @@ -0,0 +1,46 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2008 +# License: MIT (see http://www.opensource.org/licenses/mit-license.php +# for a copy of the license) +# +# Filename: espeak_1.30.bb +# Date: 20080104 (YMD) + +DESCRIPTION = "eSpeak is a compact open source software speech synthesizer" +SECTION = "base" +LICENSE = "GPL" + +DEPENDS = "portaudio-v19" + +###################################################################################### + +PR = "r0" + +SRC_URI = "http://kent.dl.sourceforge.net/sourceforge/espeak/espeak-${PV}-source.zip" + +S = "${WORKDIR}/${PN}-${PV}-source" + +FILES_${PN} += " /usr/share/espeak-data/ " + +do_configure() { + # espeak supports portaudio in APIs V18 and V19 + cp ${S}/src/portaudio19.h ${S}/src/portaudio.h +} + +do_compile() { + cd src + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -d ${D}${libdir} + install -d ${D}${includedir} + install -d ${D}/usr/share/espeak-data + + install -m 0755 ${S}/src/espeak ${D}${bindir} + oe_libinstall -so -C src libespeak ${D}${libdir} + + cp -prf ${S}/espeak-data/* ${D}/usr/share/espeak-data +} diff --git a/packages/gettext/gettext_0.14.1.bb b/packages/gettext/gettext_0.14.1.bb index 960db30b56..2184b8c863 100644 --- a/packages/gettext/gettext_0.14.1.bb +++ b/packages/gettext/gettext_0.14.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "The GNU internationalization library." HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" SECTION = "libs" LICENSE = "GPL" -PR = "r6" +PR = "r7" PROVIDES = "virtual/libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ @@ -28,6 +28,20 @@ do_configure_prepend() { install -m 0644 ${STAGING_DATADIR}/aclocal/libtool.m4 ${S}/config/m4/ } +# these lack the .x behind the .so, but shouldn't be in the -dev package +# Otherwise you get the following results: +# 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz +# 25M uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz +# because gettext depends on gettext-dev, which pulls in more -dev packages: +# 15228 KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk +# 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk +# 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk +# 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk + +PACKAGES =+ "libgettextlib libgettextsrc" +FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" +FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" + do_stage () { autotools_stage_includes oe_libinstall -so -C gettext-tools/lib libgettextlib ${STAGING_LIBDIR}/ diff --git a/packages/gpsd/files/fic-gta01/gps-hardware b/packages/gpsd/files/fic-gta01/gps-hardware new file mode 100644 index 0000000000..6490f52c27 --- /dev/null +++ b/packages/gpsd/files/fic-gta01/gps-hardware @@ -0,0 +1,41 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2008 +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) +# +# Filename: gps-hardware +# Date: 20080103 (YMD) +# +################################################################################# +# +# 20080103 - v0.0.1 - Initial release + +if ! test -e /home/root/gllin/gllin +then + echo -e "\n\ngllin GPS driver for Neo1973 not found," + echo "please install the gllin package from" + echo "http://3rdparty.downloads.openmoko.org/gllin/" + echo "" + exit 1 +fi + + +do_start() { + /home/root/gllin/gllin >/var/log/gllin.log 2>&1 & + sleep 1 +} + +do_stop() { + gllin_PIDs="`ps ax | grep "/home/root/gllin" | grep -v grep | awk '{print $1}'`" + test -n "$gllin_PIDs" && kill $gllin_PIDs +} + +do_status() { + ps ax | grep -v grep | grep -q gllin && echo "ready" || echo "unknown" +} + +case "$1" in + start) do_start ;; + stop) do_stop ;; + status) do_status ;; +esac diff --git a/packages/gpsd/files/fic-gta01/gpsd b/packages/gpsd/files/fic-gta01/gpsd deleted file mode 100755 index 113f43dd20..0000000000 --- a/packages/gpsd/files/fic-gta01/gpsd +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh -# -# gpsd This shell script starts and stops gpsd. -# -# chkconfig: 345 90 40 -# description: Gpsd manages access to a serial- or USB-connected GPS -# processname: gpsd - -# Source function library. -#. /etc/rc.d/init.d/functions - -RETVAL=0 -prog="gpsd" - -test -f /etc/default/$prog && . /etc/default/$prog - -start() { - # Start daemons. - echo -n "Starting $prog: " - # We don't use the daemon function here because of a known bug - # in initlog -- it spuriously returns a nonzero status when - # starting daemons that fork themselves. See - # http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130629 - # for discussion. Fortunately: - # - # 1. gpsd startup can't fail, or at least not in the absence of - # much larger resource-exhaustion problems that would be very obvious. - # - # 2. We don't need all the logging crud that daemon/initlog sets - # up -- gpsd does its own syslog calls. - # - - if test -e /home/root/gllin/gllin - then - /home/root/gllin/gllin >/var/log/gllin.log 2>&1 & - else - echo -e "\n\ngllin GPS driver for Neo1973 not found," - echo "please install the gllin package from" - echo "http://3rdparty.downloads.openmoko.org/gllin/" - echo "" - exit 1 - fi - - if [ -e "${GPS_DEV}" ] - then - gpsd ${GPSD_OPTS} -p ${GPS_DEV} - echo "success" - else - # User needs to symlink ${GPS_DEV} to the right thing - echo "No ${GPS_DEV} GPS device, aborting gpsd startup. Check /etc/default/$prog" - fi - RETVAL=$? - echo - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/gpsd - return $RETVAL -} - -stop() { - # Stop daemons. - echo -n "Shutting down $prog: " - - gllin_PIDs="`ps ax | grep "/home/root/gllin" | grep -v grep | awk '{print $1}'`" - test -n "$gllin_PIDs" && kill $gllin_PIDs - - killall gpsd - killproc gpsd - RETVAL=$? - echo - if [ $RETVAL -eq 0 ] - then - rm -f /var/lock/subsys/gpsd; - fi - return $RETVAL -} - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - RETVAL=$? - ;; - condrestart) - if [ -f /var/lock/subsys/gpsd ]; then - stop - start - RETVAL=$? - fi - ;; - status) -# status gpsd -# RETVAL=$? - ;; - *) - echo "Usage: $0 {start|stop|restart|condrestart|status}" - exit 1 -esac - -exit $RETVAL diff --git a/packages/gpsd/files/gps-hardware b/packages/gpsd/files/gps-hardware new file mode 100644 index 0000000000..ff2ddb3650 --- /dev/null +++ b/packages/gpsd/files/gps-hardware @@ -0,0 +1,2 @@ +# This is a dummy file. Some machines use it to bring up integrated GPS +# devices on demand. diff --git a/packages/gpsd/files/gpsd b/packages/gpsd/files/gpsd index 3a14867f8a..e536837e1c 100755 --- a/packages/gpsd/files/gpsd +++ b/packages/gpsd/files/gpsd @@ -29,9 +29,18 @@ start() { # 2. We don't need all the logging crud that daemon/initlog sets # up -- gpsd does its own syslog calls. # + + if test -x /etc/init.d/gps-hardware + then + if ! ( /etc/init.d/gps-hardware status | grep -q "ready" ) + then + /etc/init.d/gps-hardware start + fi + fi + if [ -e "${GPS_DEV}" ] then - gpsd ${GPSD_OPTS} -p ${GPS_DEV} + gpsd ${GPSD_OPTS} ${GPS_DEV} echo "success" else # User needs to symlink ${GPS_DEV} to the right thing diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc index be593e0744..dac62ec76c 100644 --- a/packages/gpsd/gpsd.inc +++ b/packages/gpsd/gpsd.inc @@ -3,6 +3,7 @@ SECTION = "console/network" PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "dbus-glib ncurses python" +RDEPENDS = "gpsd-conf" EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ --x-libraries=${STAGING_LIBDIR} \ @@ -11,6 +12,7 @@ EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \ file://gpsd-default \ + file://gps-hardware \ file://gpsd" inherit autotools update-rc.d @@ -41,15 +43,29 @@ do_install_append() { install -d ${D}/${sysconfdir}/init.d install -d ${D}/dev install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default install -d ${D}/${sysconfdir}/default - install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd + install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default } -PACKAGES =+ "libgps python-pygps" +pkg_postinst_${PN}-conf() { + update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10 + update-alternatives --install ${sysconfdir}/init.d/gps-hardware gps-hardware ${sysconfdir}/init.d/gps-hardware.default 10 +} + +pkg_postrm_${PN}-conf() { + update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default + update-alternatives --remove gps-hardware ${sysconfdir}/init.d/gps-hardware.default +} + +SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" + +PACKAGES =+ "libgps python-pygps gpsd-conf" + +PACKAGE_ARCH_gpsd-conf = "${MACHINE_ARCH}" -FILES_${PN} += "${sysconfdir}" FILES_libgps = "${libdir}/*.so.*" -CONFFILES_${PN} = "${sysconfdir}/default/gpsd" +FILES_gpsd-conf = "${sysconfdir}" DESCRIPTION_python-pygps = "Python bindings to gpsd" FILES_python-pygps = "${libdir}/*/site-packages/*" diff --git a/packages/gpsd/gpsd_2.28.bb b/packages/gpsd/gpsd_2.28.bb index c16de2e951..ffd7322bf1 100644 --- a/packages/gpsd/gpsd_2.28.bb +++ b/packages/gpsd/gpsd_2.28.bb @@ -1,2 +1,2 @@ require gpsd.inc -PR = "r4" +PR = "r5" diff --git a/packages/gpsd/gpsd_2.34.bb b/packages/gpsd/gpsd_2.34.bb index 8472eb1c15..969ef1b803 100644 --- a/packages/gpsd/gpsd_2.34.bb +++ b/packages/gpsd/gpsd_2.34.bb @@ -1,4 +1,4 @@ require gpsd.inc -PR = "r6" +PR = "r7" diff --git a/packages/gpsd/gpsd_2.36.bb b/packages/gpsd/gpsd_2.36.bb index 58e9ebeee2..885a41dbda 100644 --- a/packages/gpsd/gpsd_2.36.bb +++ b/packages/gpsd/gpsd_2.36.bb @@ -1,3 +1,3 @@ require gpsd.inc -PR = "r0" +PR = "r1" diff --git a/packages/linux/linux-omap2-git/omap2430sdp/.mtn2git_empty b/packages/linux/linux-omap2-git/omap2430sdp/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/linux/linux-omap2-git/omap2430sdp/.mtn2git_empty diff --git a/packages/linux/linux-omap2-git/defconfig b/packages/linux/linux-omap2-git/omap2430sdp/defconfig index f3897e48a3..f3897e48a3 100644 --- a/packages/linux/linux-omap2-git/defconfig +++ b/packages/linux/linux-omap2-git/omap2430sdp/defconfig diff --git a/packages/linux/linux-omap2-git/defconfig.eabi b/packages/linux/linux-omap2-git/omap2430sdp/defconfig.eabi index f3897e48a3..f3897e48a3 100644 --- a/packages/linux/linux-omap2-git/defconfig.eabi +++ b/packages/linux/linux-omap2-git/omap2430sdp/defconfig.eabi diff --git a/packages/portaudio/portaudio-v19_20071207.bb b/packages/portaudio/portaudio-v19_20071207.bb new file mode 100644 index 0000000000..f8de2d741d --- /dev/null +++ b/packages/portaudio/portaudio-v19_20071207.bb @@ -0,0 +1,27 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2008 +# License: MIT (see http://www.opensource.org/licenses/mit-license.php +# for a copy of the license) +# +# Filename: portaudio-v19_20071207.bb +# Date: 20080104 (YMD) + +DESCRIPTION = "portaudio is a portable cross-platform Audio API" +SECTION = "base" +LICENSE = "GPL" + +PR = "r0" + +###################################################################################### + +SRC_URI = "http://www.portaudio.com/archives/pa_stable_v19_${PV}.tar.gz" + +S = "${WORKDIR}/portaudio" + +inherit autotools + +do_stage() { + install -m 0644 ${S}/include/portaudio.h ${STAGING_INCDIR}/ + oe_libinstall -C lib -so libportaudio ${STAGING_LIBDIR}/ +} diff --git a/packages/speech-dispatcher/files/confSpeechd.conf_00.patch b/packages/speech-dispatcher/files/confSpeechd.conf_00.patch new file mode 100644 index 0000000000..de1a776e3b --- /dev/null +++ b/packages/speech-dispatcher/files/confSpeechd.conf_00.patch @@ -0,0 +1,26 @@ +--- speech-dispatcher-0.6.5/config/speechd.conf.in.orig 2008-01-04 13:45:43.000000000 +0000 ++++ speech-dispatcher-0.6.5/config/speechd.conf.in 2008-01-04 13:47:31.000000000 +0000 +@@ -129,10 +129,10 @@ + # - 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 "espeak-generic" "sd_generic" "espeak-generic.conf" ++#AddModule "espeak" "sd_espeak" "espeak.conf" ++#AddModule "festival" "sd_festival" "festival.conf" ++#AddModule "flite" "sd_flite" "flite.conf" ++AddModule "espeak-generic" "sd_generic" "espeak-generic.conf" + #AddModule "epos-generic" "sd_generic" "epos-generic.conf" + #AddModule "dtk-generic" "sd_generic" "dtk-generic.conf" + #AddModule "ibmtts" "sd_ibmtts" "ibmtts.conf" +@@ -172,6 +172,6 @@ + + # There are some sample client settings + +-Include "clients/emacs.conf" +-Include "clients/gnome-speech.conf" ++#Include "clients/emacs.conf" ++#Include "clients/gnome-speech.conf" + diff --git a/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb b/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb index ac001bf1b7..68bfd8a347 100644 --- a/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb +++ b/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb @@ -5,12 +5,13 @@ LICENSE = "GPLv2" DEPENDS = "flite libdotconf glib-2.0" RPROVIDES += "speechd" -PR = "r0" +PR = "r1" inherit autotools SRC_URI = "http://www.freebsoft.org/pub/projects/speechd/${PN}-${PV}.tar.gz \ - file://srcMakefile.am.patch;patch=1 " + file://srcMakefile.am.patch;patch=1 \ + file://confSpeechd.conf_00.patch;patch=1" LEAD_SONAME = "libspeechd.so" @@ -18,15 +19,20 @@ do_install() { install -d ${D}${bindir} install -d ${D}${includedir} install -d ${D}${libdir}/${PN}-modules + install -d ${D}${sysconfdir} + install -d ${D}${sysconfdir}/modules oe_libinstall -so -C src/audio libsdaudio ${D}${libdir} oe_libinstall -so -C src/c/api libspeechd ${D}${libdir} install -m 0644 ${S}/src/c/api/libspeechd.h ${D}${includedir} - install -m 0755 ${S}/src/c/clients/say/spd-say ${D}${bindir} + install -m 0755 ${S}/src/c/clients/say/.libs/spd-say ${D}${bindir} install -m 0755 ${S}/src/c/clients/spdsend/spdsend ${D}${bindir} - install -m 0755 ${S}/src/server/speech-dispatcher ${D}${bindir} - install -m 0755 ${S}/src/modules/sd_* ${D}${libdir}/${PN}-modules/ + install -m 0755 ${S}/src/server/.libs/speech-dispatcher ${D}${bindir} + install -m 0755 ${S}/src/modules/.libs/sd_* ${D}${libdir}/${PN}-modules/ + + install -m 0644 ${S}/config/speechd.conf ${D}${sysconfdir} + install -m 0644 ${S}/config/modules/*.conf ${D}${sysconfdir}/modules } do_stage() { |