From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E0arU-0008DM-PB for garchives@archives.gentoo.org; Thu, 04 Aug 2005 08:13:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j748CQEk013978; Thu, 4 Aug 2005 08:12:26 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7487vqR021931 for ; Thu, 4 Aug 2005 08:07:58 GMT Received: by nproxy.gmail.com with SMTP id l37so64606nfc for ; Thu, 04 Aug 2005 01:08:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=QIdFVloOX9ys6JzZjRHQqBF7PD6pegyVkCxcySrkJe3ev1/32ajr5byP2q+TsltKr365C+tBnsUFFhBLwYc5I9C5U2QOaodfjrw6fpvbhFjMMMtnOd9E5Kba88fEFWT6aURSuTD5+9qImYCcyey4D0+c1vNmkxnEFgGoZN9nJMw= Received: by 10.48.239.18 with SMTP id m18mr45986nfh; Thu, 04 Aug 2005 01:08:32 -0700 (PDT) Received: by 10.48.142.10 with HTTP; Thu, 4 Aug 2005 01:08:32 -0700 (PDT) Message-ID: Date: Thu, 4 Aug 2005 08:08:32 +0000 From: Fernando Meira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] enlightenment 16 or 17 In-Reply-To: <432beae05080315372f246f28@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1418_32026249.1123142912567" References: <1123075202.12693.1.camel@localhost> <1123082634.333.4.camel@localhost> <42F0E9C7.9020205@gmx.ch> <1123094017.333.39.camel@localhost> <1123095880.333.41.camel@localhost> <432beae05080315372f246f28@mail.gmail.com> X-Archives-Salt: 1641be3d-a3ac-4bdc-ad37-fee568c8a0e2 X-Archives-Hash: bdfd204fd5d29c6b0dd7e4afff738d0c ------=_Part_1418_32026249.1123142912567 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/3/05, Justin Patrin wrote: >=20 >=20 > I'm trying e17 as well after reading this ;-) Great Justin :) I suggest emerging edge before epsilon or you'll get compile errors. >=20 I just finish compiling it and I got no problems (at least that I'm aware= =20 of)... so it also works with this sequence :) I found this script which uses portage to update E17, but checks if package= s=20 were modified since last update. When the first package is found, that one= =20 and the remaining (onwards) are emerged. This seems to save a time compilin= g=20 unmodified packages! Also found other scripts to compile directly from cvs, without using=20 portage. Can anyone tell me what the advantage of doing so? Christoph, is there so many modifications to update E17 every day? What=20 about once a week? the script: #!/bin/bash=20 CONTINUE=3D1=20 ####### This is not a complete list of e17 packages!! #####=20 E_LIST=3D"eet\=20 edb\=20 evas\=20 ecore\=20 embryo\=20 edje\=20 epeg\=20 epsilon\=20 esmart\=20 engrave\=20 ewl\=20 e\=20 e_utils\=20 engage\=20 e_modules"=20 echo -ne " \033[01;33m *\033[01;00;0m Do you want to run rsync to backup=20 current cvs? [Enter/Yes or No]: ";=20 read REPLY;=20 case $REPLY in=20 "" | [yY]*)=20 rsync --progress --delete -ab /usr/portage/distfiles/cvs-src/e17=20 /mnt/backups;=20 ;;=20 *)=20 echo -e " \033[01;33m *\033[01;00;0m Continuing to emerge";=20 ;;=20 esac for i in $E_LIST=20 do=20 echo -e " \033[01;33m *\033[01;00;0m Updating $i cvs";=20 if [[ $CONTINUE -eq 1 ]]; then=20 E_PATH=3D`equery which $i`;=20 UPDATE=3D`ebuild $E_PATH unpack | grep -e "^[UP]"`;=20 echo $UPDATE;=20 ebuild $E_PATH clean;=20 if [ ! -z "$UPDATE" ]; then=20 CONTINUE=3D0;=20 echo -e " \033[01;33m *\033[01;00;0m Waiting 10 sec before continuing with= =20 emerge from this package onwards... package =3D $i";=20 echo -ne " \033[01;31m *\033[01;00;0m "=20 for j in $( seq 1 10 )=20 do=20 echo -ne "\033[01;31m$(( 11-j ))\033[01;00;0m ";=20 sleep 1;=20 done=20 echo " ";=20 fi fi [[ $CONTINUE -eq 0 ]] && emerge --oneshot $i;=20 # [[ $CONTINUE -eq 0 ]] && echo -e " \033[01;33m *\033[01;00;0m emerge=20 --oneshot $i";=20 done =20 Cheers, Fernando ------=_Part_1418_32026249.1123142912567 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/3/05, Justin Patrin <papercrane@gmail.com> wrote:

I'm trying e17 as well after reading this ;-)

Great Justin :)

I sugge= st emerging edge before epsilon or you'll get compile errors.

I just finish compiling it and I got no problems (at least that I'm aware o= f)... so it also works with this sequence :)

I found this script which uses portage to update E17, but checks if packages were modified since last update. When the first package is found, that one and the remaining (onwards) are emerged. This seems to save a time compiling unmodified packages!

Also found other scripts to compile directly from cvs, without using portag= e. Can anyone tell me what the advantage of doing so?

Christoph, is there so many modifications to update E17 = every day? What about once a week?

the script:
#!/bin/bash

CONTINUE=3D1
#######    This is not a complete list of e17 packages!!  &n= bsp;#####
E_LIST=3D"eet\
        edb\
        evas\
        ecore\
        embryo\
        edje\
        epeg\
        epsilon\
        esmart\
        engrave\
        ewl\
        e\
        e_utils\
        engage\
        e_modules"

echo -ne "  \033[01;33m *\033[01;00;0m   Do you want to= run rsync to backup current cvs? [Enter/Yes or No]: ";
read REPLY;
case $REPLY in
"" | [yY]*)
    rsync --progress --delete -ab /usr/portage/distfiles/cvs-src/= e17 /mnt/backups;
;;
*)
    echo -e "  \033[01;33m *\033[01;00;0m   C= ontinuing to emerge";
;;
esac

for i in $E_LIST
do
    echo -e "  \033[01;33m *\033[01;00;0m   U= pdating $i cvs";
    if [[ $CONTINUE -eq 1 ]]; then
        E_PATH=3D`equery which $i`;
        UPDATE=3D`ebuild $E_PATH unpack | grep -e "= ;^[UP]"`;
        echo $UPDATE;
        ebuild $E_PATH clean;
        if [ ! -z "$UPDATE" ]; then
            CONTINUE=3D0;
            echo -e "  \033[01;33m = *\033[01;00;0m   Waiting 10 sec before continuing with emerge from this package onwards... package =3D $i";
            echo -ne "  \033[01;31m= *\033[01;00;0m   "
            for j in $( seq 1 10 )
            do
                echo -ne "\033= [01;31m$(( 11-j ))\033[01;00;0m  ";
                sleep 1;
            done
            echo " ";
        fi
    fi
    [[ $CONTINUE -eq 0 ]] && emerge --oneshot $i;
#    [[ $CONTINUE -eq 0 ]] && echo -e "  \033[0= 1;33m *\033[01;00;0m   emerge --oneshot $i";
done

Cheers,
Fernando
------=_Part_1418_32026249.1123142912567-- -- gentoo-user@gentoo.org mailing list