Gentoo Archives: gentoo-user

From: Fernando Meira <fmeira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] enlightenment 16 or 17
Date: Thu, 04 Aug 2005 08:13:59
Message-Id: a3c2e88b05080401085349d2f1@mail.gmail.com
In Reply to: Re: [gentoo-user] enlightenment 16 or 17 by Justin Patrin
1 On 8/3/05, Justin Patrin <papercrane@×××××.com> wrote:
2 >
3 >
4 > I'm trying e17 as well after reading this ;-)
5
6
7 Great Justin :)
8
9 I suggest emerging edge before epsilon or you'll get compile errors.
10 >
11
12 I just finish compiling it and I got no problems (at least that I'm aware
13 of)... so it also works with this sequence :)
14
15 I found this script which uses portage to update E17, but checks if packages
16 were modified since last update. When the first package is found, that one
17 and the remaining (onwards) are emerged. This seems to save a time compiling
18 unmodified packages!
19
20 Also found other scripts to compile directly from cvs, without using
21 portage. Can anyone tell me what the advantage of doing so?
22
23 Christoph, is there so many modifications to update E17 every day? What
24 about once a week?
25
26 the script:
27 #!/bin/bash
28
29 CONTINUE=1
30 ####### This is not a complete list of e17 packages!! #####
31 E_LIST="eet\
32 edb\
33 evas\
34 ecore\
35 embryo\
36 edje\
37 epeg\
38 epsilon\
39 esmart\
40 engrave\
41 ewl\
42 e\
43 e_utils\
44 engage\
45 e_modules"
46
47 echo -ne " \033[01;33m *\033[01;00;0m Do you want to run rsync to backup
48 current cvs? [Enter/Yes or No]: ";
49 read REPLY;
50 case $REPLY in
51 "" | [yY]*)
52 rsync --progress --delete -ab /usr/portage/distfiles/cvs-src/e17
53 /mnt/backups;
54 ;;
55 *)
56 echo -e " \033[01;33m *\033[01;00;0m Continuing to emerge";
57 ;;
58 esac
59
60 for i in $E_LIST
61 do
62 echo -e " \033[01;33m *\033[01;00;0m Updating $i cvs";
63 if [[ $CONTINUE -eq 1 ]]; then
64 E_PATH=`equery which $i`;
65 UPDATE=`ebuild $E_PATH unpack | grep -e "^[UP]"`;
66 echo $UPDATE;
67 ebuild $E_PATH clean;
68 if [ ! -z "$UPDATE" ]; then
69 CONTINUE=0;
70 echo -e " \033[01;33m *\033[01;00;0m Waiting 10 sec before continuing with
71 emerge from this package onwards... package = $i";
72 echo -ne " \033[01;31m *\033[01;00;0m "
73 for j in $( seq 1 10 )
74 do
75 echo -ne "\033[01;31m$(( 11-j ))\033[01;00;0m ";
76 sleep 1;
77 done
78 echo " ";
79 fi
80 fi
81 [[ $CONTINUE -eq 0 ]] && emerge --oneshot $i;
82 # [[ $CONTINUE -eq 0 ]] && echo -e " \033[01;33m *\033[01;00;0m emerge
83 --oneshot $i";
84 done
85
86 Cheers,
87 Fernando

Replies

Subject Author
Re: [gentoo-user] enlightenment 16 or 17 Christoph Gysin <cgysin@×××.ch>