Gentoo Archives: gentoo-user

From: Vladimir Romanov <blueboar2@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
Date: Mon, 14 Jul 2014 11:15:43
Message-Id: CAKx5OMZ97nfshn8+2nqog-XRP7WnmDWoTxPRj7ir6CMWHcXPHA@mail.gmail.com
In Reply to: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? by Andrew Lowe
1 You can consider section 6.c in Handbook:
2 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=6.
3 There you can hook into Portage process and execute some media player after
4 completing.
5 Not sure how to check for failed status, but i think, it is possible.
6
7
8 2014-07-14 16:52 GMT+06:00 Andrew Lowe <agl@×××××××.au>:
9
10 > Hi all,
11 > I have a laptop churning away in the loungeroom doing an "emerge
12 > -NuD
13 > world" whilst I'm in my office, amongst other things composing this
14 > email. If my world update fails, I won't know until I look at the screen
15 > in the other room. Is there a way to get emerge to play a song depending
16 > upon the status of the emerge build?
17 >
18 > If memory serves, an email can be sent letting you know what's
19 > happening, but a sound would be better. For example, on those days when
20 > you kick off an emerge then start pottering around the house doing
21 > stuff. All of a sudden Wagner's "Ride of the Valkyries" starts playing,
22 > and you know the emerge has karked it....
23 >
24 > Thoughts greatly appreciated,
25 >
26 > Andrew
27 >
28 >