From afe5d3df5c2cbf5c41436c522fb7a3e78f0052fd Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Fri, 28 Mar 2008 13:16:26 +0000 Subject: Sharp Remote sharpsl-rc-r2.patch fix. --- packages/linux/linux-rp-2.6.24/sharpsl-rc-r2.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-rp-2.6.24/sharpsl-rc-r2.patch b/packages/linux/linux-rp-2.6.24/sharpsl-rc-r2.patch index 3927ffeccf..6fb34ec179 100644 --- a/packages/linux/linux-rp-2.6.24/sharpsl-rc-r2.patch +++ b/packages/linux/linux-rp-2.6.24/sharpsl-rc-r2.patch @@ -6,8 +6,8 @@ This patch is a bit ugly: Index: linux-2.6.24/drivers/input/keyboard/sharpsl_rc.c =================================================================== ---- linux-2.6.24.orig/drivers/input/keyboard/sharpsl_rc.c 2008-03-07 20:47:28.000000000 +0000 -+++ linux-2.6.24/drivers/input/keyboard/sharpsl_rc.c 2008-03-07 22:36:40.000000000 +0000 +--- linux-2.6.24.orig/drivers/input/keyboard/sharpsl_rc.c 2008-03-08 19:29:02.000000000 +0000 ++++ linux-2.6.24/drivers/input/keyboard/sharpsl_rc.c 2008-03-08 22:23:35.000000000 +0000 @@ -21,12 +21,10 @@ #include #include @@ -96,11 +96,11 @@ Index: linux-2.6.24/drivers/input/keyboard/sharpsl_rc.c - reset_scoop_gpio(&REMOTE_SCOOP_DEVICE.dev, REMOTE_AKIN_PULLUP); - + if (machine_is_borzoi() || machine_is_spitz()) -+ reset_scoop_gpio(&platform_scoop_config->devs[1].dev, SPITZ_SCP2_AKIN_PULLUP); ++ reset_scoop_gpio(platform_scoop_config->devs[1].dev, SPITZ_SCP2_AKIN_PULLUP); + else if (machine_is_akita()) + akita_reset_ioexp(&akitaioexp_device.dev, AKITA_IOEXP_AKIN_PULLUP); + else -+ reset_scoop_gpio(&platform_scoop_config->devs[0].dev, CORGI_SCP_AKIN_PULLUP); ++ reset_scoop_gpio(platform_scoop_config->devs[0].dev, CORGI_SCP_AKIN_PULLUP); mod_timer(&data->rctimer, jiffies + msecs_to_jiffies(RC_POLL_MS)); } return IRQ_HANDLED; @@ -110,11 +110,11 @@ Index: linux-2.6.24/drivers/input/keyboard/sharpsl_rc.c } else { - set_scoop_gpio(&REMOTE_SCOOP_DEVICE.dev, REMOTE_AKIN_PULLUP); + if (machine_is_borzoi() || machine_is_spitz()) -+ set_scoop_gpio(&platform_scoop_config->devs[1].dev, SPITZ_SCP2_AKIN_PULLUP); ++ set_scoop_gpio(platform_scoop_config->devs[1].dev, SPITZ_SCP2_AKIN_PULLUP); + else if (machine_is_akita()) + akita_set_ioexp(&akitaioexp_device.dev, AKITA_IOEXP_AKIN_PULLUP); + else -+ set_scoop_gpio(&platform_scoop_config->devs[0].dev, CORGI_SCP_AKIN_PULLUP); ++ set_scoop_gpio(platform_scoop_config->devs[0].dev, CORGI_SCP_AKIN_PULLUP); data->handling_press = 0; } } -- cgit v1.2.3 From 927702f5c5888a272366de915ae873a714a771ed Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 28 Mar 2008 15:05:43 +0000 Subject: python-dbus 0.82.4 this is using pkgconfig, so inherit pkgconfig --- packages/python/python-dbus_0.82.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/python/python-dbus_0.82.4.bb b/packages/python/python-dbus_0.82.4.bb index 8e80882a30..08cdbf7f44 100644 --- a/packages/python/python-dbus_0.82.4.bb +++ b/packages/python/python-dbus_0.82.4.bb @@ -4,12 +4,12 @@ HOMEPAGE = "http://www.freedesktop.org/Software/dbus" LICENSE = "MIT" DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" RDEPENDS = "python-threading python-io python-stringold python-logging" -PR = "ml2" +PR = "ml3" SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" S = "${WORKDIR}/dbus-python-${PV}" -inherit distutils-base autotools +inherit distutils-base autotools pkgconfig export BUILD_SYS := "${BUILD_SYS}" export HOST_SYS := "${HOST_SYS}" -- cgit v1.2.3 From a61d0ff5bdb2c9006f5e35d70cea3f74f66231d1 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 28 Mar 2008 15:39:27 +0000 Subject: pulseaudio 0.9.9 fix building against uClibc. closes #4106 --- packages/pulseaudio/files/fix-shm.patch | 20 ++++++++++++++++++++ packages/pulseaudio/pulseaudio_0.9.9.bb | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 packages/pulseaudio/files/fix-shm.patch (limited to 'packages') diff --git a/packages/pulseaudio/files/fix-shm.patch b/packages/pulseaudio/files/fix-shm.patch new file mode 100644 index 0000000000..3bf61d0d34 --- /dev/null +++ b/packages/pulseaudio/files/fix-shm.patch @@ -0,0 +1,20 @@ +# fixes building against uclibc +# fixed upstream, see http://www.pulseaudio.org/ticket/200 +Index: pulseaudio-0.9.9/src/pulsecore/shm.c +=================================================================== +--- pulseaudio-0.9.9/src/pulsecore/shm.c (revision 1971) ++++ pulseaudio-0.9.9/src/pulsecore/shm.c (revision 2110) +@@ -319,4 +319,5 @@ + int pa_shm_cleanup(void) { + ++#ifdef HAVE_SHM_OPEN + #ifdef SHM_PATH + DIR *d; +@@ -376,5 +377,6 @@ + + closedir(d); +-#endif ++#endif /* SHM_PATH */ ++#endif /* HAVE_SHM_OPEN */ + + return 0; diff --git a/packages/pulseaudio/pulseaudio_0.9.9.bb b/packages/pulseaudio/pulseaudio_0.9.9.bb index 7e63b61eb3..f38595e5dd 100644 --- a/packages/pulseaudio/pulseaudio_0.9.9.bb +++ b/packages/pulseaudio/pulseaudio_0.9.9.bb @@ -1,15 +1,15 @@ require pulse.inc DEPENDS += "dbus" +PR = "r4" # this is not correct (see below) SRC_URI += "\ file://disable-using-glibc-tls.patch;patch=1 \ file://fix-dbus-without-hal.patch;patch=1 \ + file://fix-shm.patch;patch=1 \ " -PR = "r3" - # problems w/ pulseaudio 0.9.9 atm: # 1.) needs libltdl >= 1.5.24 (yes, any older version will NOT work at runtime) # 2.) doesn't build w/ glibc TLS support (hence patched out) -- cgit v1.2.3 From 1638a18bdcaca1963667ab972a6ec868d0437d55 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 16:59:05 +0000 Subject: linux-rp_2.6.24.bb: add new patches for collie --- packages/linux/linux-rp_2.6.24.bb | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-rp_2.6.24.bb b/packages/linux/linux-rp_2.6.24.bb index 32a3b0544e..a650a31743 100644 --- a/packages/linux/linux-rp_2.6.24.bb +++ b/packages/linux/linux-rp_2.6.24.bb @@ -1,6 +1,6 @@ require linux-rp.inc -PR = "r6" +PR = "r7" DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_collie = "1" @@ -82,24 +82,23 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ # Disabled until I find the reason this gives issues with cdc_subset # ${RPSRC}/usb_rndis_tweaks-r0.patch;patch=1 \ -# Is anything out of this still needed? Parts were commited to mainline by rmk (drivers/mfd/) -# (Pavel Machek's git tree has updated versions of this?) -# ${JLSRC}/zaurus-lcd-2.6.11.diff.gz;patch=1 -# These patches are extracted from Pavel Machek's git tree -# (diff against vanilla kernel) SRC_URI_append_collie = "\ - ${TKSRC}/mtd-sharp-flash-hack-r3.patch;patch=1 \ + ${TKSRC}/mtd-sharp-flash-hack-r4.patch;patch=1 \ ${TKSRC}/mcp-sa11x0-r0.patch;patch=1 \ - ${TKSRC}/locomo-r0.patch;patch=1 \ -# ${TKSRC}/locomo_spi-4.patch;patch=1 \ - ${TKSRC}/collie-kexec.patch;patch=1 \ - ${TKSRC}/sharpsl_pm-3.patch;patch=1 \ - ${TKSRC}/collie_pm-2.patch;patch=1 \ - ${TKSRC}/locomokeyb_suspendkey-2.patch;patch=1 \ + ${TKSRC}/locomo-r1.patch;patch=1 \ + ${TKSRC}/collie-kexec-r1.patch;patch=1 \ + ${TKSRC}/sharpsl_pm-4.patch;patch=1 \ + ${TKSRC}/collie_pm-3.patch;patch=1 \ ${TKSRC}/ucb1x00_suspend.patch;patch=1 \ ${TKSRC}/collie-ts.patch;patch=1 \ ${TKSRC}/pcmcia_suspend.patch;patch=1 \ + ${TKSRC}/locomo_spi-6.patch;patch=1 \ + ${TKSRC}/config.patch;patch=1 \ + ${TKSRC}/locomokeyb.patch;patch=1 \ + ${TKSRC}/mmc-spi.patch;patch=1 \ + ${TKSRC}/linux-2.6.24-SIMpad-rtc-sa1100.patch;patch=1 \ + ${TKSRC}/sa1100_spinlock.patch;patch=1 \ " SRC_URI_append_poodle = "\ -- cgit v1.2.3 From 4d8020c0df70c8aa254c85a10be08ca4737e2504 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 17:01:08 +0000 Subject: linux-rp.inc: autoload mmc-modules for collie --- packages/linux/linux-rp.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/linux/linux-rp.inc b/packages/linux/linux-rp.inc index a8980ab06e..a45ae9f2a2 100644 --- a/packages/linux/linux-rp.inc +++ b/packages/linux/linux-rp.inc @@ -58,6 +58,7 @@ module_autoload_snd-soc-poodle_poodle = "snd-soc-poodle" module_autoload_locomo-spi_collie = "locomo-spi" module_autoload_mmc_block_collie = "mmc_block" +module_autoload_mmc_spi = "mmc-spi" module_autoload_locomokbd_collie = "locomokbd" module_autoload_sa1100-cs_collie = "sa1100_cs" module_autoload_collie-ts_collie = "collie-ts" -- cgit v1.2.3 From 0ab366f210214e0eb0f31fac515bc9d223d9bfc9 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 17:01:59 +0000 Subject: defconfig-collie: enable mmc-modules --- packages/linux/linux-rp-2.6.24/defconfig-collie | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-rp-2.6.24/defconfig-collie b/packages/linux/linux-rp-2.6.24/defconfig-collie index a29a12de45..91f09dff49 100644 --- a/packages/linux/linux-rp-2.6.24/defconfig-collie +++ b/packages/linux/linux-rp-2.6.24/defconfig-collie @@ -825,7 +825,7 @@ CONFIG_SPI_MASTER=y # SPI Master Controller Drivers # # CONFIG_SPI_BITBANG is not set -# CONFIG_SPI_LOCOMO is not set +CONFIG_SPI_LOCOMO=m # # SPI Protocol Masters @@ -1014,8 +1014,8 @@ CONFIG_HID=m # CONFIG_HIDRAW is not set # CONFIG_USB_SUPPORT is not set CONFIG_MMC=m -CONFIG_MMC_DEBUG=y -CONFIG_MMC_UNSAFE_RESUME=y +# CONFIG_MMC_DEBUG is not set +# CONFIG_MMC_UNSAFE_RESUME is not set # # MMC/SD Card Drivers -- cgit v1.2.3 From 8598cab4a3976350a369cb0d17edd6d02ba37398 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 18:13:10 +0000 Subject: keymaps_1.0.bb, collie/keymap-2.6.map: use OK button as return --- packages/keymaps/files/collie/keymap-2.6.map | 3 ++- packages/keymaps/keymaps_1.0.bb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/keymaps/files/collie/keymap-2.6.map b/packages/keymaps/files/collie/keymap-2.6.map index 13eb7d2881..8a5f34af1c 100644 --- a/packages/keymaps/files/collie/keymap-2.6.map +++ b/packages/keymaps/files/collie/keymap-2.6.map @@ -154,7 +154,8 @@ keycode 57 = space control keycode 57 = nul shiftl control keycode 57 = grave control shiftr keycode 57 = grave -keycode 67 = Control +keycode 67 = Control +keycode 87 = Return keycode 99 = Control_backslash control keycode 99 = Control_backslash keycode 100 = AltGr diff --git a/packages/keymaps/keymaps_1.0.bb b/packages/keymaps/keymaps_1.0.bb index dd10b64099..c4d22d4b13 100644 --- a/packages/keymaps/keymaps_1.0.bb +++ b/packages/keymaps/keymaps_1.0.bb @@ -3,7 +3,7 @@ SECTION = "base" RDEPENDS = "initscripts console-tools" LICENSE = "GPL" PACKAGE_ARCH = "${MACHINE}" -PR = "r18" +PR = "r19" inherit update-rc.d -- cgit v1.2.3 From f8cb0f2943e604d4001c4cc0171e32b27eafcd6a Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Fri, 28 Mar 2008 18:16:03 +0000 Subject: linux.inc: remove UBOOT_* definitions, they are already defined in kernel.bbclass --- packages/linux/linux.inc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index e46061610d..ad7071c405 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -90,17 +90,8 @@ do_configure_append_avr32() { sed -i -e s:-mno-pic::g arch/avr32/Makefile } - -UBOOT_ENTRYPOINT ?= "20008000" -UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" - do_compile_append() { if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then - if test "x${ARCH}" = "xpowerpc" ; then - UBOOT_ARCH=ppc - else - UBOOT_ARCH=$ARCH - fi if test -e arch/${ARCH}/boot/compressed/vmlinux ; then ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin arch/${ARCH}/boot/uImage -- cgit v1.2.3 From 39b9203e84aff4153f5b3cbde4206a89776909b5 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 20:29:39 +0000 Subject: defconfig-collie: enable touchscreen --- packages/linux/linux-rp-2.6.24/defconfig-collie | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-rp-2.6.24/defconfig-collie b/packages/linux/linux-rp-2.6.24/defconfig-collie index 91f09dff49..b4b1e114d9 100644 --- a/packages/linux/linux-rp-2.6.24/defconfig-collie +++ b/packages/linux/linux-rp-2.6.24/defconfig-collie @@ -857,8 +857,8 @@ CONFIG_SSB_POSSIBLE=y CONFIG_MCP=y CONFIG_MCP_SA11X0=y CONFIG_MCP_UCB1200=y -CONFIG_MCP_UCB1200_TS=m -# CONFIG_MCP_COLLIE_TS is not set +# CONFIG_MCP_UCB1200_TS is not set +CONFIG_MCP_COLLIE_TS=m # # Multimedia devices -- cgit v1.2.3 From 7377f57d47d4c663305b3a3c95cab78eb8308158 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Fri, 28 Mar 2008 20:30:14 +0000 Subject: linux-rp.inc: autoload input-power support --- packages/linux/linux-rp.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-rp.inc b/packages/linux/linux-rp.inc index a45ae9f2a2..43747f358d 100644 --- a/packages/linux/linux-rp.inc +++ b/packages/linux/linux-rp.inc @@ -63,8 +63,7 @@ module_autoload_locomokbd_collie = "locomokbd" module_autoload_sa1100-cs_collie = "sa1100_cs" module_autoload_collie-ts_collie = "collie-ts" module_autoload_leds-locomo_collie = "leds-locomo" -module_autoload_unix_collie = "unix" - +module_autoload_power_collie = "power" do_configure() { rm -f ${S}/.config -- cgit v1.2.3 From 68a850d6b97217fed03eb89a0b56606f7f5be245 Mon Sep 17 00:00:00 2001 From: Ovidiu Sas Date: Fri, 28 Mar 2008 23:11:08 +0000 Subject: asterisk 1.6 and asterisk-addons 1.6 with DEFAULT_PREFERENCE = "-1" --- .../asterisk/asterisk-1.6.0-beta6/.mtn2git_empty | 0 packages/asterisk/asterisk-addons_1.6.0-beta2.bb | 63 +++++++ packages/asterisk/asterisk_1.6.0-beta6.bb | 184 +++++++++++++++++++++ 3 files changed, 247 insertions(+) create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/.mtn2git_empty create mode 100644 packages/asterisk/asterisk-addons_1.6.0-beta2.bb create mode 100644 packages/asterisk/asterisk_1.6.0-beta6.bb (limited to 'packages') diff --git a/packages/asterisk/asterisk-1.6.0-beta6/.mtn2git_empty b/packages/asterisk/asterisk-1.6.0-beta6/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/asterisk/asterisk-addons_1.6.0-beta2.bb b/packages/asterisk/asterisk-addons_1.6.0-beta2.bb new file mode 100644 index 0000000000..9f767ebbff --- /dev/null +++ b/packages/asterisk/asterisk-addons_1.6.0-beta2.bb @@ -0,0 +1,63 @@ +# Copyright (c) 2008, Ovidiu Sas - VoIP Embedded Inc., All Rights Reserved +# Released under the MIT license (see packages/COPYING) +DESCRIPTION = "The Asterisk open source software PBX" +HOMEPAGE = "http://www.asterisk.org" +SECTION = "voip" +LICENSE = "GPLv2" +PRIORITY = "optional" +SECTION = "console/telephony" +DEPENDS = "asterisk openssl curl" +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI="http://downloads.digium.com/pub/asterisk/asterisk-addons-${PV}.tar.gz" + +ARCH_efika="ppc" +ARCH_dht-walnut="ppc" +ARCH_magicbox="ppc" +ARCH_sequoia="ppc" + + +inherit autotools + +EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}\ + --with-termcap=${STAGING_EXECPREFIXDIR}\ + --with-curl=${STAGING_EXECPREFIXDIR}\ + --without-curses\ + --with-ncurses=${STAGING_EXECPREFIXDIR}\ + --without-mysqlclient\ + --with-h323\ + " + +#export NOISY_BUILD=yes + +export ASTCFLAGS = "-fsigned-char -I${STAGING_INCDIR} -DPATH_MAX=4096" +export ASTLDFLAGS="${LDFLAGS} -lpthread -ldl -lresolv " +export PROC="${ARCH}" + +do_configure () { + # Looks like rebuilding configure doesn't work, so we are skipping + # that and are just using the shipped one + gnu-configize + libtoolize --force + oe_runconf +} + +do_compile() { + ( + #make sure that menuselect gets build using host toolchain + unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS + cd menuselect + ./configure + oe_runmake + cd ../ + ) || exit 1 + oe_runmake +} + +CONFFILES_${PN} += "${sysconfdir}/asterisk/mobile.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/res_mysql.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/ooh323.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_mysql.conf" + diff --git a/packages/asterisk/asterisk_1.6.0-beta6.bb b/packages/asterisk/asterisk_1.6.0-beta6.bb new file mode 100644 index 0000000000..d1c2faf87c --- /dev/null +++ b/packages/asterisk/asterisk_1.6.0-beta6.bb @@ -0,0 +1,184 @@ +# Copyright (C) 2008, Ovidiu Sas - VoIP Embedded Inc., All Rights Reserved +# Released under the MIT license (see packages/COPYING) +DESCRIPTION = "The Asterisk open source software PBX" +HOMEPAGE = "http://www.asterisk.org" +SECTION = "voip" +LICENSE = "GPLv2" +PRIORITY = "optional" +SECTION = "console/telephony" +DEPENDS = "speex readline zlib openssl curl popt gnutls sqlite libogg libvorbis" +#RRECOMMENDS_${PN} = "logrotate" +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + + +SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz\ + file://sounds.xml.patch;patch=1\ + file://Makefile.patch;patch=1\ + file://logrotate \ + file://volatiles \ + file://init" + +ARCH_efika="ppc" +ARCH_dht-walnut="ppc" +ARCH_magicbox="ppc" +ARCH_sequoia="ppc" + +INITSCRIPT_NAME = "asterisk" +INITSCRIPT_PARAMS = "defaults 60" + +inherit autotools update-rc.d + +EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}\ + --with-z=${STAGING_EXECPREFIXDIR}\ + --with-curl=${STAGING_EXECPREFIXDIR}\ + --with-termcap=${STAGING_EXECPREFIXDIR}\ + --with-ogg=${STAGING_EXECPREFIXDIR}\ + --with-vorbis=${STAGING_EXECPREFIXDIR}\ + --with-sqlite=${STAGING_EXECPREFIXDIR}\ + --with-popt=${STAGING_EXECPREFIXDIR}\ + --with-gnutls=${STAGING_EXECPREFIXDIR}\ + --without-curses\ + --with-ncurses=${STAGING_EXECPREFIXDIR}\ + --without-imap\ + --without-netsnmp\ + --without-odbc\ + --without-osptk\ + --without-nbs\ + --without-pwlib\ + --without-radius\ + --without-tds\ + --without-postgres\ + --without-zaptel\ + " + +#export NOISY_BUILD=yes + +export ASTCFLAGS = "-fsigned-char -I${STAGING_INCDIR} -DPATH_MAX=4096" +export ASTLDFLAGS="${LDFLAGS} -lpthread -ldl -lresolv " +export PROC="${ARCH}" + +do_configure_prepend () { + sed -i 's:/var:${localstatedir}:' ${WORKDIR}/logrotate + sed -i 's:/etc/init.d:${sysconfdir}/init.d:' ${WORKDIR}/logrotate + sed -i 's:/var:${localstatedir}:' ${WORKDIR}/volatiles +} + +do_configure () { + # Looks like rebuilding configure doesn't work, so we are skipping + # that and are just using the shipped one + gnu-configize + libtoolize --force + oe_runconf +} + + +do_compile() { + ( + #make sure that menuselect gets build using host toolchain + unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS RANLIB + cd menuselect + ./configure + oe_runmake + cd ../ + ) || exit 1 + oe_runmake +} + +do_stage() { + autotools_stage_includes +} + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/asterisk + install -c -D -m 644 ${WORKDIR}/logrotate ${D}${sysconfdir}/logrotate.d/asterisk + install -c -D -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/asterisk +} + +pkg_postinst_prepend() { + grep -q asterisk ${sysconfdir}/group || addgroup --system asterisk + grep -q asterisk ${sysconfdir}/passwd || adduser --system --home ${localstatedir}/run/asterisk --no-create-home --disabled-password --ingroup asterisk -s ${base_bindir}/false asterisk + chown -R asterisk:asterisk ${libdir}/asterisk ${localstatedir}/lib/asterisk ${localstatedir}/spool/asterisk ${localstatedir}/log/asterisk ${localstatedir}/run/asterisk ${sysconfdir}/asterisk +} + +FILES_${PN} += "${libdir}/asterisk/modules/*" +FILES_${PN}-dbg += "${libdir}/asterisk/modules/.debug \ + ${localstatedir}/lib/asterisk/*/.debug" + +CONFFILES_${PN} += "${sysconfdir}/asterisk/adsi.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/adtranvofr.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/agents.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/alarmreceiver.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/alsa.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/amd.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/asterisk.adsi" +CONFFILES_${PN} += "${sysconfdir}/asterisk/asterisk.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_adaptive_odbc.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_custom.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_manager.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_odbc.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_pgsql.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_sqlite3_custom.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cdr_tds.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/cli.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/codecs.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/console.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/dnsmgr.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/dundi.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/enum.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/extconfig.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/extensions.ael" +CONFFILES_${PN} += "${sysconfdir}/asterisk/extensions.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/extensions.lua" +CONFFILES_${PN} += "${sysconfdir}/asterisk/extensions_minivm.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/features.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/festival.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/followme.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/func_odbc.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/gtalk.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/h323.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/http.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/iax.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/iaxprov.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/indications.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/jabber.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/jingle.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/logger.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/manager.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/meetme.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/mgcp.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/minivm.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/misdn.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/modules.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/musiconhold.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/muted.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/osp.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/oss.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/phone.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/phoneprov.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/queuerules.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/queues.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/res_ldap.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/res_odbc.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/res_pgsql.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/res_snmp.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/rpt.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/rtp.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/say.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/sip.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/sip_notify.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/skinny.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/sla.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/smdi.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/telcordia-1.adsi" +CONFFILES_${PN} += "${sysconfdir}/asterisk/udptl.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/unistim.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/usbradio.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/users.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/voicemail.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/vpb.conf" +CONFFILES_${PN} += "${sysconfdir}/asterisk/zapata.conf" +CONFFILES_${PN} += "${sysconfdir}/logrotate.d/asterisk" -- cgit v1.2.3 From 36d9259bca1df5c4e7874679e5cb75cf905f0109 Mon Sep 17 00:00:00 2001 From: Ovidiu Sas Date: Fri, 28 Mar 2008 23:15:06 +0000 Subject: adding missing files for astersk 1.6 --- .../asterisk/asterisk-1.6.0-beta6/Makefile.patch | 20 ++++++ packages/asterisk/asterisk-1.6.0-beta6/init | 77 ++++++++++++++++++++++ packages/asterisk/asterisk-1.6.0-beta6/logrotate | 12 ++++ .../asterisk/asterisk-1.6.0-beta6/sounds.xml.patch | 18 +++++ packages/asterisk/asterisk-1.6.0-beta6/volatiles | 7 ++ 5 files changed, 134 insertions(+) create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/Makefile.patch create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/init create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/logrotate create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/sounds.xml.patch create mode 100644 packages/asterisk/asterisk-1.6.0-beta6/volatiles (limited to 'packages') diff --git a/packages/asterisk/asterisk-1.6.0-beta6/Makefile.patch b/packages/asterisk/asterisk-1.6.0-beta6/Makefile.patch new file mode 100644 index 0000000000..ee7db5d5f0 --- /dev/null +++ b/packages/asterisk/asterisk-1.6.0-beta6/Makefile.patch @@ -0,0 +1,20 @@ +--- asterisk-1.6.0/Makefile 2008-03-18 11:58:50.000000000 -0400 ++++ asterisk-1.6.0.new/Makefile 2008-03-28 12:11:32.137042768 -0400 +@@ -142,7 +142,7 @@ else + ASTSBINDIR=$(sbindir) + ASTSPOOLDIR=$(localstatedir)/spool/asterisk + ASTLOGDIR=$(localstatedir)/log/asterisk +- ASTVARRUNDIR=$(localstatedir)/run ++ ASTVARRUNDIR=$(localstatedir)/run/asterisk + ASTMANDIR=$(mandir) + ifneq ($(findstring BSD,$(OSARCH)),) + ASTVARLIBDIR=$(prefix)/share/asterisk +@@ -571,7 +571,7 @@ ifneq ($(findstring ~,$(DESTDIR)),) + @exit 1 + endif + +-install: badshell datafiles bininstall $(SUBDIRS_INSTALL) ++install: badshell datafiles bininstall $(SUBDIRS_INSTALL) samples + @if [ -x /usr/sbin/asterisk-post-install ]; then \ + /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ + fi diff --git a/packages/asterisk/asterisk-1.6.0-beta6/init b/packages/asterisk/asterisk-1.6.0-beta6/init new file mode 100644 index 0000000000..f26ad38db3 --- /dev/null +++ b/packages/asterisk/asterisk-1.6.0-beta6/init @@ -0,0 +1,77 @@ +#! /bin/sh +# +# This is an init script for openembedded +# Copy it to /etc/init.d/openpbx and type +# > update-rc.d asterisk defaults 60 +# +asterisk=/usr/sbin/asterisk +pidfile=/var/run/asterisk/asterisk.pid +asterisk_args="-npqT -U asterisk -G asterisk" + +test -x "$asterisk" || exit 0 + +case "$1" in + start) + echo -n "Starting Asterisk" + start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args + echo "." + ;; + stop) + echo -n "Stopping Asterisk" + $asterisk -rx "stop gracefully" + sleep 4 + if [ -f $pidfile ]; then + start-stop-daemon --stop --quiet --pidfile $pidfile + fi + echo "." + ;; + force-stop) + echo -n "Stopping Asterisk" + $asterisk -rx "stop now" + sleep 2 + if [ -f $pidfile ]; then + start-stop-daemon --stop --quiet --pidfile $pidfile + fi + echo "." + ;; + restart) + echo -n "Restarting Asterisk" + if [ -f $pidfile ]; then + $asterisk -rx "restart gracefully" + sleep 2 + else + start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args + fi + echo "." + ;; + force-restart) + echo -n "Forcibly Restarting Asterisk" + if [ -f $pidfile ]; then + $asterisk -rx "restart now" + sleep 2 + else + start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args + fi + echo "." + ;; + reload) + echo -n "Reloading Asterisk Configuration" + if [ -f $pidfile ]; then + $asterisk -rx "reload" + else + start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args + fi + echo "." + ;; + logger-reload) + if [ -f $pidfile ]; then + $asterisk -rx "logger reload" + fi + ;; + *) + echo "Usage: /etc/init.d/asterisk {start|stop|force-stop|restart|force-restart|reload|logger-reload}" + exit 1 +esac + +exit 0 + diff --git a/packages/asterisk/asterisk-1.6.0-beta6/logrotate b/packages/asterisk/asterisk-1.6.0-beta6/logrotate new file mode 100644 index 0000000000..dfd25ee55c --- /dev/null +++ b/packages/asterisk/asterisk-1.6.0-beta6/logrotate @@ -0,0 +1,12 @@ +/var/log/asterisk/cdr-csv/Master.csv /var/log/asterisk/cdr-custom/Master.csv /var/log/asterisk/queue_log /var/log/asterisk/event_log /var/log/asterisk/messages { + daily + missingok + compress + delaycompress + rotate 30 + sharedscripts + postrotate + /etc/init.d/asterisk logger-reload + endscript +} + diff --git a/packages/asterisk/asterisk-1.6.0-beta6/sounds.xml.patch b/packages/asterisk/asterisk-1.6.0-beta6/sounds.xml.patch new file mode 100644 index 0000000000..b549fea132 --- /dev/null +++ b/packages/asterisk/asterisk-1.6.0-beta6/sounds.xml.patch @@ -0,0 +1,18 @@ +--- asterisk-1.4.4/sounds/sounds.xml 2007-05-24 17:00:45.000000000 -0400 ++++ asterisk-1.4.4/sounds/sounds.xml.new 2007-05-25 13:23:41.000000000 -0400 +@@ -6,7 +6,6 @@ + + + +- yes + + + +@@ -39,7 +38,6 @@ + + + +- yes + + + diff --git a/packages/asterisk/asterisk-1.6.0-beta6/volatiles b/packages/asterisk/asterisk-1.6.0-beta6/volatiles new file mode 100644 index 0000000000..c68e786c90 --- /dev/null +++ b/packages/asterisk/asterisk-1.6.0-beta6/volatiles @@ -0,0 +1,7 @@ +d asterisk asterisk 0775 /var/run/asterisk none +d asterisk asterisk 0775 /var/lib/asterisk none +d asterisk asterisk 0775 /var/log/asterisk none +d asterisk asterisk 0775 /var/log/asterisk/cdr-csv none +d asterisk asterisk 0775 /var/log/asterisk/cdr-custom none +d asterisk asterisk 0775 /var/spool/asterisk/outgoing none +d asterisk asterisk 0775 /var/spool/asterisk/voicemail none -- cgit v1.2.3 From f2247f41086d450c8784b801cc32f9cb1bea86cf Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 29 Mar 2008 01:40:01 +0000 Subject: gtk+-directfb 2.10.14 move to nonworking until someone adds pango-directfb --- packages/gtk+/gtk+-directfb_2.10.14.bb | 53 ----------------------- packages/nonworking/gtk+/.mtn2git_empty | 0 packages/nonworking/gtk+/gtk+-directfb_2.10.14.bb | 53 +++++++++++++++++++++++ 3 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 packages/gtk+/gtk+-directfb_2.10.14.bb create mode 100644 packages/nonworking/gtk+/.mtn2git_empty create mode 100644 packages/nonworking/gtk+/gtk+-directfb_2.10.14.bb (limited to 'packages') diff --git a/packages/gtk+/gtk+-directfb_2.10.14.bb b/packages/gtk+/gtk+-directfb_2.10.14.bb deleted file mode 100644 index 6fcaf299dc..0000000000 --- a/packages/gtk+/gtk+-directfb_2.10.14.bb +++ /dev/null @@ -1,53 +0,0 @@ -require gtk-2.10.inc - -PR = "r2" - -# disable per default - untested and not all patches included. -DEFAULT_PREFERENCE = "-1" -S = "${WORKDIR}/gtk+-${PV}" - - -RCONFLICTS = "gtk+" -RPROVIDES ="gtk+-directfb" -DEPENDS = "glib-2.0 pango-directfb atk jpeg libpng gtk-doc libgcrypt cairo-directfb cups" -LDFLAGS_append += " -ldirectfb" -CFLAGS_append += " -I${STAGING_INCDIR}/directfb" - -#NEATSTUFF = " ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif " - -#PACKAGES_DYNAMIC_${PN} = " ${NEATSTUFF} " -#PACKAGES_DYNAMIC_${PN}_linux = " ${NEATSTUFF} glibc-gconv-iso8859-1 " -#PACKAGES_DYNAMIC_${PN}_linux-gnueabi = " ${NEATSTUFF} glibc-gconv-iso8859-1" -RRECOMMENDS_${PN} = " " -RRECOMMENDS_${PN}_linux = " " -RRECOMMENDS_${PN}_linux-gnueabi = " " - -FILESPATH = "${FILE_DIRNAME}/gtk+-${PV}:${FILE_DIRNAME}/files" - -SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-${PV}.tar.bz2 \ - file://no-xwc.patch;patch=1 \ - file://automake-lossage.patch;patch=1 \ - file://disable-tooltips.patch;patch=1 \ - file://gtklabel-resize-patch;patch=1 \ - file://menu-deactivate.patch;patch=1 \ - file://xsettings.patch;patch=1 \ - file://scroll-timings.patch;patch=1 \ - file://small-gtkfilesel.patch;patch=1 \ - file://migration.patch;patch=1;pnum=0 \ - file://run-iconcache.patch;patch=1 \ - file://hardcoded_libtool.patch;patch=1 \ - file://no-demos.patch;patch=1 \ - file://single-click.patch;patch=1 \ - file://spinbutton.patch;patch=1 \ - file://gtk+-handhelds.patch;patch=1 \ - file://directfb-pixbuf-deprecated-fix.patch;patch=1 \ -# file://gtk-doc.patch;patch=1 \ -" -EXTRA_OECONF =" \ - --prefix=${STAGING_DIR_HOST}${layout_prefix} \ - --with-gdktarget=directfb \ - --without-x \ - --without-libtiff \ - " -GDKTARGET="directfb" - diff --git a/packages/nonworking/gtk+/.mtn2git_empty b/packages/nonworking/gtk+/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/nonworking/gtk+/gtk+-directfb_2.10.14.bb b/packages/nonworking/gtk+/gtk+-directfb_2.10.14.bb new file mode 100644 index 0000000000..6fcaf299dc --- /dev/null +++ b/packages/nonworking/gtk+/gtk+-directfb_2.10.14.bb @@ -0,0 +1,53 @@ +require gtk-2.10.inc + +PR = "r2" + +# disable per default - untested and not all patches included. +DEFAULT_PREFERENCE = "-1" +S = "${WORKDIR}/gtk+-${PV}" + + +RCONFLICTS = "gtk+" +RPROVIDES ="gtk+-directfb" +DEPENDS = "glib-2.0 pango-directfb atk jpeg libpng gtk-doc libgcrypt cairo-directfb cups" +LDFLAGS_append += " -ldirectfb" +CFLAGS_append += " -I${STAGING_INCDIR}/directfb" + +#NEATSTUFF = " ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif " + +#PACKAGES_DYNAMIC_${PN} = " ${NEATSTUFF} " +#PACKAGES_DYNAMIC_${PN}_linux = " ${NEATSTUFF} glibc-gconv-iso8859-1 " +#PACKAGES_DYNAMIC_${PN}_linux-gnueabi = " ${NEATSTUFF} glibc-gconv-iso8859-1" +RRECOMMENDS_${PN} = " " +RRECOMMENDS_${PN}_linux = " " +RRECOMMENDS_${PN}_linux-gnueabi = " " + +FILESPATH = "${FILE_DIRNAME}/gtk+-${PV}:${FILE_DIRNAME}/files" + +SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-${PV}.tar.bz2 \ + file://no-xwc.patch;patch=1 \ + file://automake-lossage.patch;patch=1 \ + file://disable-tooltips.patch;patch=1 \ + file://gtklabel-resize-patch;patch=1 \ + file://menu-deactivate.patch;patch=1 \ + file://xsettings.patch;patch=1 \ + file://scroll-timings.patch;patch=1 \ + file://small-gtkfilesel.patch;patch=1 \ + file://migration.patch;patch=1;pnum=0 \ + file://run-iconcache.patch;patch=1 \ + file://hardcoded_libtool.patch;patch=1 \ + file://no-demos.patch;patch=1 \ + file://single-click.patch;patch=1 \ + file://spinbutton.patch;patch=1 \ + file://gtk+-handhelds.patch;patch=1 \ + file://directfb-pixbuf-deprecated-fix.patch;patch=1 \ +# file://gtk-doc.patch;patch=1 \ +" +EXTRA_OECONF =" \ + --prefix=${STAGING_DIR_HOST}${layout_prefix} \ + --with-gdktarget=directfb \ + --without-x \ + --without-libtiff \ + " +GDKTARGET="directfb" + -- cgit v1.2.3