Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: qt3.eclass deprecated
Date: Sat, 27 Mar 2010 15:03:34
Message-Id: pan.2010.03.27.14.32.11@cox.net
In Reply to: [gentoo-desktop] Re: qt3.eclass deprecated by "Rob van Riel (kde)"
1 Rob van Riel (kde) posted on Sat, 27 Mar 2010 09:38:01 +0100 as excerpted:
2
3 > Obviously yes, since the maintainers just put it in there. My apologies,
4 > I went out of sync with the overlay. Silly me...:-(
5
6 While I use different overlays (kde4 and x11), I do so using presumably
7 the same layman overlay management everyone does. As such, my sync
8 solution might be useful for others as well.
9
10 I created a short script "esyn", which does all my sync updates, main
11 gentoo tree and overlays both, rebuilds the portage cache, then updates my
12 esearch database (eupdatedb), and does an emerge --fetchonly --update
13 --deep @world, so all the sources are fetched.
14
15 What's nice is that I have it setup to do tasks in parallel where it can
16 do so, by backgrounding tasks and using bash's builtin wait command to
17 wait until all parallel tasks are finished before going to the next
18 stage. Thus, it syncs layman and the gentoo tree in parallel, for
19 instance, and does the sources fetch and the esearch index rebuild in
20 parallel as well, even grabbing the PORTAGE_NICENESS value out of
21 make.conf to nice the esearch index rebuild appropriately. =:^)
22
23 If all you need is to remember to sync portage and layman together, a
24 simple four-line script suffices:
25
26 #!/bin/bash
27 esync & # or emerge --sync & if you don't use esearch/esync
28 layman -S &
29 wait
30
31 Put that in /usr/local/sbin/esyn or whatever, call esyn instead of doing
32 your normal sync, and you won't have to worry about forgetting to sync
33 your overlays any more. =:^)
34
35 If you're interested in the somewhat more complex script I use, which
36 tests to see if I've mounted the partition with the tree on it before
37 syncing to the empty mountpoint on my rootfs if I've not, etc, ask and
38 I'll post it, along with an explanation. But that'd be a rather longer
39 and more detailed post, not worth the bother if nobody's interested anyway.
40
41 --
42 Duncan - List replies preferred. No HTML msgs.
43 "Every nonfree program has a lord, a master --
44 and if you use the program, he is your master." Richard Stallman

Replies

Subject Author
Re: [gentoo-desktop] Re: qt3.eclass deprecated Ben de Groot <yngwin@g.o>