From: <abe...@us...> - 2011-12-07 00:55:51
|
Revision: 5293 http://astlinux.svn.sourceforge.net/astlinux/?rev=5293&view=rev Author: abelbeck Date: 2011-12-07 00:55:44 +0000 (Wed, 07 Dec 2011) Log Message: ----------- beep, a new package, the goal is to optionally play a ditty when AstLinux is up, removed old beep script Modified Paths: -------------- branches/1.0/astlinux.config branches/1.0/astlinux18.config branches/1.0/initrd.config branches/1.0/package/multimedia/Config.in branches/1.0/runnix-uclibc.config branches/1.0/runnix.config Added Paths: ----------- branches/1.0/package/multimedia/beep/ branches/1.0/package/multimedia/beep/Config.in branches/1.0/package/multimedia/beep/beep.mk Removed Paths: ------------- branches/1.0/project/astlinux/target_skeleton/usr/sbin/beep Modified: branches/1.0/astlinux.config =================================================================== --- branches/1.0/astlinux.config 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/astlinux.config 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5279-dirty Configuration -# Sat Dec 3 17:23:02 2011 +# Buildroot 2011.08-svn5291-dirty Configuration +# Tue Dec 6 18:41:04 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -182,6 +182,7 @@ # BR2_PACKAGE_ALSA_LIB is not set # BR2_PACKAGE_ALSA_UTILS is not set # BR2_PACKAGE_AUMIX is not set +BR2_PACKAGE_BEEP=y # BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FLAC is not set # BR2_PACKAGE_FFMPEG is not set Modified: branches/1.0/astlinux18.config =================================================================== --- branches/1.0/astlinux18.config 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/astlinux18.config 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5279-dirty Configuration -# Sat Dec 3 17:23:03 2011 +# Buildroot 2011.08-svn5291-dirty Configuration +# Tue Dec 6 18:41:07 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -177,6 +177,7 @@ # BR2_PACKAGE_ALSA_LIB is not set # BR2_PACKAGE_ALSA_UTILS is not set # BR2_PACKAGE_AUMIX is not set +BR2_PACKAGE_BEEP=y # BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FLAC is not set # BR2_PACKAGE_FFMPEG is not set Modified: branches/1.0/initrd.config =================================================================== --- branches/1.0/initrd.config 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/initrd.config 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5256-dirty Configuration -# Mon Nov 14 15:57:02 2011 +# Buildroot 2011.08-svn5291-dirty Configuration +# Tue Dec 6 18:41:17 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -165,6 +165,7 @@ # BR2_PACKAGE_ALSA_LIB is not set # BR2_PACKAGE_ALSA_UTILS is not set # BR2_PACKAGE_AUMIX is not set +# BR2_PACKAGE_BEEP is not set # BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FLAC is not set # BR2_PACKAGE_FFMPEG is not set Modified: branches/1.0/package/multimedia/Config.in =================================================================== --- branches/1.0/package/multimedia/Config.in 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/package/multimedia/Config.in 2011-12-07 00:55:44 UTC (rev 5293) @@ -2,6 +2,7 @@ source "package/multimedia/alsa-lib/Config.in" source "package/multimedia/alsa-utils/Config.in" source "package/multimedia/aumix/Config.in" +source "package/multimedia/beep/Config.in" source "package/multimedia/faad2/Config.in" source "package/multimedia/flac/Config.in" source "package/multimedia/ffmpeg/Config.in" Added: branches/1.0/package/multimedia/beep/Config.in =================================================================== --- branches/1.0/package/multimedia/beep/Config.in (rev 0) +++ branches/1.0/package/multimedia/beep/Config.in 2011-12-07 00:55:44 UTC (rev 5293) @@ -0,0 +1,8 @@ +config BR2_PACKAGE_BEEP + bool "beep" + default n + help + beep allows the user to control the pc-speaker with precision, allowing + different sounds to indicate different events. + + http://www.johnath.com/beep/ Added: branches/1.0/package/multimedia/beep/beep.mk =================================================================== --- branches/1.0/package/multimedia/beep/beep.mk (rev 0) +++ branches/1.0/package/multimedia/beep/beep.mk 2011-12-07 00:55:44 UTC (rev 5293) @@ -0,0 +1,25 @@ +############################################################# +# +# beep +# +############################################################# + +BEEP_VERSION = 1.3 +BEEP_SOURCE:=beep-$(BEEP_VERSION).tar.gz +BEEP_SITE = http://www.johnath.com/beep + +define BEEP_CONFIGURE_CMDS + @echo "No configure" +endef + +BEEP_MAKE_OPT = CC='$(TARGET_CC)' LD='$(TARGET_LD)' -C $(@D) beep + +define BEEP_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/beep $(TARGET_DIR)/usr/bin/beep +endef + +define BEEP_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/usr/bin/beep +endef + +$(eval $(call AUTOTARGETS,package,beep)) Deleted: branches/1.0/project/astlinux/target_skeleton/usr/sbin/beep =================================================================== --- branches/1.0/project/astlinux/target_skeleton/usr/sbin/beep 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/project/astlinux/target_skeleton/usr/sbin/beep 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,41 +0,0 @@ -#!/bin/sh - -if [ "$1" = "-h" ]; then - echo "Usage: -$0 [number of beeps] [pause in microseconds]" - exit -fi - -if [ ! -r /dev/audio ]; then - echo "Warning: No beep device node" 1>&2 - exit 1 -fi - -if [ -z "$1" ]; then - BEEPS=1 -else - BEEPS="$1" -fi - -if [ "$BEEPS" = "0" ]; then - echo "Tricky tricky - 0 beeps is no beeps" 1>&2 - exit 1 -fi - -if [ "$BEEPS" != "1" -a -z "$2" ]; then - echo "Error: If you have more than one beep I need a pause argument" 1>&2 - exit 1 -fi - -# Make noise -for i in `seq 1 $BEEPS`; do - if ! echo -e "\a" >/dev/audio 2>/dev/null; then - echo "Error: Beeping isn't supported on this machine" 1>&2 - exit 1 - fi - - if [ -n "$2" ]; then - echo "Sleeping for $2 microseconds" - usleep $2 - fi -done Modified: branches/1.0/runnix-uclibc.config =================================================================== --- branches/1.0/runnix-uclibc.config 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/runnix-uclibc.config 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5285-dirty Configuration -# Tue Dec 6 14:31:20 2011 +# Buildroot 2011.08-svn5292-dirty Configuration +# Tue Dec 6 18:51:06 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -230,6 +230,7 @@ # alsa-utils requires a toolchain with LARGEFILE support # # BR2_PACKAGE_AUMIX is not set +# BR2_PACKAGE_BEEP is not set # BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FLAC is not set Modified: branches/1.0/runnix.config =================================================================== --- branches/1.0/runnix.config 2011-12-06 21:46:59 UTC (rev 5292) +++ branches/1.0/runnix.config 2011-12-07 00:55:44 UTC (rev 5293) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5256-dirty Configuration -# Mon Nov 14 15:56:59 2011 +# Buildroot 2011.08-svn5291-dirty Configuration +# Tue Dec 6 18:41:11 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -169,6 +169,7 @@ # BR2_PACKAGE_ALSA_LIB is not set # BR2_PACKAGE_ALSA_UTILS is not set # BR2_PACKAGE_AUMIX is not set +# BR2_PACKAGE_BEEP is not set # BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FLAC is not set # BR2_PACKAGE_FFMPEG is not set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |