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 EA0D413877A for ; Mon, 14 Jul 2014 11:15:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48781E0849; Mon, 14 Jul 2014 11:15:38 +0000 (UTC) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B101E083C for ; Mon, 14 Jul 2014 11:15:37 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id id10so6764734vcb.24 for ; Mon, 14 Jul 2014 04:15:36 -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=VGEWJ671yfVi6DWIRSm/tvBhRCrJRyK/TYRhcVf3J28=; b=b2ZUreJn8ziN6vqBUJbsDm7mjvbQSzTTjtfp67hZGU/knGj9+mvRWckYyvm3nzt/ON Djflv6I7gmULfHekG+8oxhoOTVQYzzfbwwjViP1zaec6yW/LP8N6qX1MjI7bBfxQMvEQ ofS8xOURYBEN/qiP5FNL92FJwm4t0WhGuxxjcHoJfeGqYK+jJC9OPB1aqPFWCSFrJBFl H/9kyg37TK9xjGE7SFZ9xgWDb0yoykwIvM/T0B4lDfQ0iMFGy3DA7oSOlxpt6WPDMioI c64+OiqF3IKAx+9srC8wzVJ7R6OQ6eB/tSJVcsLA2d/gH9mK3ceX0HCQfS2lIQkZh+hq bglA== 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 aq18mr39960vdc.45.1405336536295; Mon, 14 Jul 2014 04:15:36 -0700 (PDT) Received: by 10.58.89.199 with HTTP; Mon, 14 Jul 2014 04:15:36 -0700 (PDT) In-Reply-To: <53C3B689.4080605@wht.com.au> References: <53C3B689.4080605@wht.com.au> Date: Mon, 14 Jul 2014 17:15:36 +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=047d7b86f124092de204fe256926 X-Archives-Salt: ef1a7935-16cc-4b04-85c8-68714f92aa75 X-Archives-Hash: ded7ee001395302e39bc99de095be50e --047d7b86f124092de204fe256926 Content-Type: text/plain; charset=UTF-8 You can consider section 6.c in Handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=6. There you can hook into Portage process and execute some media player after completing. Not sure how to check for failed status, but i think, it is possible. 2014-07-14 16:52 GMT+06:00 Andrew Lowe : > 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 memory serves, an email can be sent letting you know what's > happening, but a sound would be better. For example, on those days when > you kick off an emerge then start pottering around the house doing > stuff. All of a sudden Wagner's "Ride of the Valkyries" starts playing, > and you know the emerge has karked it.... > > Thoughts greatly appreciated, > > Andrew > > --047d7b86f124092de204fe256926 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There you can hook into Portage process and execute some media player= after completing.
Not sure how to check for failed status, but i = think, it is possible.


2014-07-14 16:52 GMT+06:00 Andrew Lowe <agl@wht.com.au>:
Hi all,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I have a laptop churning away in the loungeroom= doing an "emerge -NuD
world" whilst I'm in my office, amongst other things composing thi= s
email. If my world update fails, I won't know until I look at the scree= n
in the other room. Is there a way to get emerge to play a song depending upon the status of the emerge build?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 If memory serves, an email can be sent letting = you know what's
happening, but a sound would be better. For example, on those days when
you kick off an emerge then start pottering around the house doing
stuff. All of a sudden Wagner's "Ride of the Valkyries" start= s playing,
and you know the emerge has karked it....

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Thoughts greatly appreciated,

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Andrew


--047d7b86f124092de204fe256926--