From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C523613877A for ; Mon, 14 Jul 2014 11:29:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C562E08EB; Mon, 14 Jul 2014 11:29:12 +0000 (UTC) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E892E08D1 for ; Mon, 14 Jul 2014 11:29:11 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id lf12so3050958vcb.15 for ; Mon, 14 Jul 2014 04:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=v+3wO1Ei+SjbyeglHTsaHYyvY17x8WKWiyEpYyWmCg4=; b=yHFGqxhISHEhPCjTv81JUQoAQfx5Ds4wUrhBS7QYILXFyO1+Uvs4Vmg/Sj5A+yqxFC /VBQiVCKP9vNNnh/JqGVKOBvx0caa4Y/jbJaUbb/VqGwlGMlP30//UzghegnDceRQM0W KhSyA8pAlX5w2mGZ8Y58KBTQjPltF+G8CqWzhy8WAv47ZGq0+bLSmMDE32qAxdd78Uyv CSrp0jVlA8CTLD5kTvu5x82avHubaqvh0jved9CTW2nV7WVnGzx/nhdSSl0kRIJlrefO +uRBGbELKieiSN0AqSOq60ECjkzAnXlbGZY5XB+GPc/c8ltc9ee5ZCmImdcwrWmsDUIA 5CpQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.171.18 with SMTP id aq18mr75862vdc.45.1405337350800; Mon, 14 Jul 2014 04:29:10 -0700 (PDT) Received: by 10.58.89.199 with HTTP; Mon, 14 Jul 2014 04:29:10 -0700 (PDT) In-Reply-To: References: <53C3B689.4080605@wht.com.au> <53C3BE27.3060606@mail.ru> Date: Mon, 14 Jul 2014 17:29:10 +0600 Message-ID: Subject: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? From: Vladimir Romanov To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=047d7b86f124958bc004fe259940 X-Archives-Salt: f6ddd0a7-84ad-471f-b783-148624e4da10 X-Archives-Hash: dc89532e6be7f7a95924fe7444e3f05f --047d7b86f124958bc004fe259940 Content-Type: text/plain; charset=UTF-8 2014-07-14 17:28 GMT+06:00 Vladimir Romanov : > > > > 2014-07-14 17:25 GMT+06:00 the : > > -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> On 07/14/14 14:52, Andrew Lowe wrote: >> > Hi all, I have a laptop churning away in the loungeroom doing an >> > "emerge -NuD world" whilst I'm in my office, amongst other things >> > composing this email. If my world update fails, I won't know until >> > I look at the screen in the other room. Is there a way to get >> > emerge to play a song depending upon the status of the emerge >> > build? >> >> If I understand you correctly this can be done with bash like: >> emerge <...> || play alert.mp3 >> >> > TC wants to select, which song to play on result of emerge. > Hmmm... Or am i wrong and it's not needed? --047d7b86f124958bc004fe259940 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@gmail.com&g= t;:



2014-07-14 17:25 GMT+06:00 the <the= .guard@mail.ru>:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/14/14 14:52, Andrew Lowe wrote:
> Hi all, I have a laptop churning away in the loungeroom doing an
> "emerge -NuD world" whilst I'm in my office, amongst oth= er things
> composing this email. If my world update fails, I won't know until=
> I look at the screen in the other room. Is there a way to get
> emerge to play a song depending upon the status of the emerge
> build?

If I understand you correctly this can be done with bash like:
emerge <...> || play alert.mp3


TC wants = to select, which song to play on result of emerge.

Hmmm... Or am i wro= ng and it's not needed?
--047d7b86f124958bc004fe259940--