View previous topic :: View next topic |
Author |
Message |
Varean Guru
Joined: 03 Jul 2005 Posts: 436 Location: California, USA
|
Posted: Sat Nov 05, 2005 3:49 pm Post subject: |
|
|
I type it in (as user) and I get an error which says the directory doesn't exist, should I create it then? _________________ Registered Linux User #387568
|
|
Back to top |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sat Nov 05, 2005 3:58 pm Post subject: |
|
|
Hi,
i have just updated E17 from CVS but when I try and start it now I get the following error :-
DYNAMIC DETERMINED PREFIX: /usr
/usr/bin/enlightenment-0.17: symbol lookup error: /usr/bin/enlightenment-0.17: undefined symbol: eet_cacheburst
has anybody else seen this error ? |
|
Back to top |
|
|
RuiP l33t
Joined: 15 Jan 2005 Posts: 643
|
Posted: Sat Nov 05, 2005 4:35 pm Post subject: |
|
|
same error here. In the last 2 days in fact.
have to downgrade to an early version (my backup is a little old in fact ) |
|
Back to top |
|
|
nbvcxz Guru
Joined: 02 Sep 2005 Posts: 379 Location: Kraków / PL
|
Posted: Sat Nov 05, 2005 5:00 pm Post subject: |
|
|
I'm trying compile and install e17 (with no success so far), but I wonder when can we expext any non-csv ebuild of e17. It is still coming and coming but is there any chance to come ? _________________ nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool |
|
Back to top |
|
|
jxn Guru
Joined: 27 Aug 2004 Posts: 327 Location: south dakota
|
Posted: Sat Nov 05, 2005 7:05 pm Post subject: |
|
|
Varean wrote: | I type it in (as user) and I get an error which says the directory doesn't exist, should I create it then? |
I think I had the directory wrong... try this:
Code: | enlightenment_remote -module-load /usr/lib/enlightenment/modules_extra/evolume/linux-gnu-i686/module.so |
that should do it... _________________ My Last.fm profile | get e17! |
|
Back to top |
|
|
jxn Guru
Joined: 27 Aug 2004 Posts: 327 Location: south dakota
|
Posted: Sat Nov 05, 2005 7:08 pm Post subject: |
|
|
uxbod wrote: | Hi,
i have just updated E17 from CVS but when I try and start it now I get the following error :-
DYNAMIC DETERMINED PREFIX: /usr
/usr/bin/enlightenment-0.17: symbol lookup error: /usr/bin/enlightenment-0.17: undefined symbol: eet_cacheburst
has anybody else seen this error ? |
raster's been implimenting some kind of eet image caching (called "cacheburst"), and I've seen a lot of commits for it lately... My guess is that the work isn't quite done yet and it's causing a few problems. My guess is that the problem wont last too much longer, but you'll probably need to update more packages (libs) than just e17 itself before the problems are fixed. _________________ My Last.fm profile | get e17! |
|
Back to top |
|
|
jxn Guru
Joined: 27 Aug 2004 Posts: 327 Location: south dakota
|
Posted: Sat Nov 05, 2005 7:09 pm Post subject: |
|
|
nbvcxz wrote: | I'm trying compile and install e17 (with no success so far), but I wonder when can we expext any non-csv ebuild of e17. It is still coming and coming but is there any chance to come ? |
we don't know... even the e17 dev team doesn't know. it will be ready "when it's ready", and I wouldn't recommend asking this question on the mailing list or IRC. _________________ My Last.fm profile | get e17! |
|
Back to top |
|
|
Master_d Apprentice
Joined: 12 Oct 2003 Posts: 152 Location: Milwaukee
|
Posted: Sat Nov 05, 2005 10:14 pm Post subject: |
|
|
Hi guys,
I am having problems emerging enlightenment packages and the weird thing is I have installed enlightenment before but now it's saying the packages are masked! anyway here are my files
package.unmask
Code: | x11-wm/e
net-www/mplayerplug-in
media-tv/ivtv
app-misc/lirc
media-tv/ivtv-ptune
x11-wm/e
x11-misc/engage
x11-libs/ewl
x11-libs/evas
media-libs/imlib2
media-libs/imlib2_loaders
dev-libs/eet
dev-db/edb
x11-libs/ecore
media-libs/etox
media-libs/edje
dev-libs/embryo
x11-libs/esmart
media-libs/epsilon
media-libs/epeg
app-misc/examine
net-news/erss
x11-misc/entrance
app-misc/evidence
media-libs/emotion
media-gfx/elicit
media-gfx/entice
=dev-util/e_utils-9999
dev-libs/engrave
|
package.keywords
Code: | net-www/mplayerplug-in ~x86
media-tv/ivtv ~x86
app-misc/lirc
media-tv/ivtv-ptune ~x86
x11-wm/e ~x86
x11-misc/engage ~x86
x11-libs/ewl ~x86
x11-libs/evas ~x86
media-libs/imlib2 ~x86
media-libs/imlib2_loaders ~x86
dev-libs/eet ~x86
dev-db/edb ~x86
x11-libs/ecore ~x86
media-libs/etox ~x86
media-libs/edje ~x86
dev-libs/embryo ~x86
x11-libs/esmart ~x86
media-libs/epsilon ~x86
media-libs/epeg ~x86
app-misc/examine ~x86
net-news/erss ~x86
x11-misc/entrance ~x86
app-misc/evidence ~x86
media-libs/emotion ~x86
media-gfx/elicit ~x86
media-gfx/entice ~x86
dev-util/e_utils ~x86
dev-libs/engrave ~x86
|
tonicwater ~ # emerge -va eet dev-db/edb evas ecore embryo imlib2 edje e epeg epsilon esmart entrance emotion eclair ewl engrave e_utils e_modules etox erss entice engage evidence
Code: |
These are the packages that I would merge, in order:
Calculating dependencies |
!!! All ebuilds that could satisfy "e" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-wm/e-9999 (masked by: -* keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
tonicwater ~ #
|
anyone see any problems with this? _________________ お前の常識知ったこっちゃねえ! |
|
Back to top |
|
|
jxn Guru
Joined: 27 Aug 2004 Posts: 327 Location: south dakota
|
Posted: Sat Nov 05, 2005 10:27 pm Post subject: |
|
|
@Master_d
If you are trying to install enlightenment-0.17 from cvs, your package.keywords packages need to use the "-*" keywords instead of "~x86" _________________ My Last.fm profile | get e17! |
|
Back to top |
|
|
dadodrake n00b
Joined: 19 Mar 2005 Posts: 55 Location: Slovakia
|
Posted: Sun Nov 06, 2005 12:58 am Post subject: eap files |
|
|
Hello. I cannot create unique eaps for these programs/games. Any ideas? xprop output is attached to every program
Frozen-bubble Code: |
WM_ICON_NAME(UTF8_STRING) = "Frozen-Bubble"
WM_NAME(UTF8_STRING) = "Frozen-Bubble"
__E_WINDOW_MAPPED(CARDINAL) = 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_E_FRAME_SIZE(CARDINAL) = 4, 4, 24, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
__E_WINDOW_DESK(CARDINAL) = 3, 0
__E_WINDOW_ZONE(CARDINAL) = 0
__E_WINDOW_CONTAINER(CARDINAL) = 0
__E_WINDOW_MANAGED(CARDINAL) = 1
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 640 by 480
program specified maximum size: 640 by 480
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "SDL_App", "SDL_App"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True |
Dosbox Code: |
WM_ICON_NAME(UTF8_STRING) = "0.63"
WM_NAME(UTF8_STRING) = "DOSBox 0.63,Cpu Cycles: 3000, Frameskip 0,
Program: DOSBOX" __E_WINDOW_MAPPED(CARDINAL) = 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_E_FRAME_SIZE(CARDINAL) = 4, 4, 24, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
__E_WINDOW_DESK(CARDINAL) = 3, 0
__E_WINDOW_ZONE(CARDINAL) = 0
__E_WINDOW_CONTAINER(CARDINAL) = 0
__E_WINDOW_MANAGED(CARDINAL) = 1
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 640 by 400
program specified maximum size: 640 by 400
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "SDL_App", "SDL_App"
WM_HINTS(WM_HINTS): |
Crack-attack Code: |
__E_WINDOW_MAPPED(CARDINAL) = 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_E_FRAME_SIZE(CARDINAL) = 4, 4, 24, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
__E_WINDOW_DESK(CARDINAL) = 3, 0
__E_WINDOW_ZONE(CARDINAL) = 0
__E_WINDOW_CONTAINER(CARDINAL) = 0
__E_WINDOW_MANAGED(CARDINAL) = 1
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_LOCALE_NAME(STRING) = "C"
WM_HINTS(WM_HINTS):
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 700 by 700
WM_CLIENT_MACHINE(STRING) = "picard"
WM_COMMAND(STRING) = { "crack-attack", "--solo" }
WM_ICON_NAME(STRING) = "Crack Attack!"
WM_NAME(STRING) = "Crack Attack!" |
Quake3 Code: |
__E_WINDOW_MAPPED(CARDINAL) = 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_E_FRAME_SIZE(CARDINAL) = 4, 4, 24, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
__E_WINDOW_DESK(CARDINAL) = 3, 0
__E_WINDOW_ZONE(CARDINAL) = 0
__E_WINDOW_CONTAINER(CARDINAL) = 0
__E_WINDOW_MANAGED(CARDINAL) = 1
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 640 by 480
program specified maximum size: 640 by 480
WM_NAME(STRING) = "Quake III: Arena" |
|
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Nov 06, 2005 1:17 am Post subject: |
|
|
> emerge -v evidence
Code: |
>>> Unpacking source...
* Fetching CVS module evidence into /usr/portage/distfiles/cvs-src ...
* Running cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/evidence" login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/evidence
cvs login: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/evidence for user anonymous
|
Anyone know what is up with this? |
|
Back to top |
|
|
boneyfrog Apprentice
Joined: 26 Apr 2005 Posts: 152
|
Posted: Sun Nov 06, 2005 2:11 am Post subject: |
|
|
0n0w1c wrote: | > emerge -v evidence
Code: |
>>> Unpacking source...
* Fetching CVS module evidence into /usr/portage/distfiles/cvs-src ...
* Running cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/evidence" login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/evidence
cvs login: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/evidence for user anonymous
|
Anyone know what is up with this? |
no one is 100% sure what is up with evidence cvs wise but seeing as how the last update to it's code was in july you could allways unpack the source tarball from sf.net into /usr/portage/distfiles/cvs-src/<evidence> and then Code: | ECVS_SERVER="offline" emerge evidence | as a temp fix until cvs access is granted again to the anonymous masses |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Nov 06, 2005 2:55 am Post subject: |
|
|
Thanks for the reply, but I am still having an issue.
I downloaded the gz file, and then untared the contents into "/usr/portage/distfiles/cvs-src/evidence".
I then ran "ECVS_SERVER="offline" emerge evidence", still attempts to download from CVS and then fails the login.
Perhaps I did not understand. |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Nov 06, 2005 3:07 am Post subject: |
|
|
However, I was successful by making an overlay, thanks again. |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Nov 06, 2005 3:10 am Post subject: |
|
|
Oops, I spoke too soon.
The emerge started just fine, however I now get this error:
Code: |
checking for correct ltmain.sh version... no
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.20, ltmain.sh = 1.5.8) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
make: *** [config.status] Error 1
make: *** Waiting for unfinished jobs....
|
If I try running "libtoolize --copy --force" I get an error:
libtoolize: `configure.ac' does not exist
[Edit]
I rtfm and then ran "libtoolize --copy --force" from /var/tmp/portage/evidence-9999/work/evidence and it worked.
but now...
Code: |
gevas_light.c: In function `gevas_event':
gevas_light.c:155: warning: passing arg 2 of `evas_event_feed_mouse_out' makes integer from pointer without a cast
gevas_light.c:155: error: too few arguments to function `evas_event_feed_mouse_out'
gevas_light.c:159: warning: passing arg 2 of `evas_event_feed_mouse_in' makes integer from pointer without a cast
gevas_light.c:159: error: too few arguments to function `evas_event_feed_mouse_in'
gevas_light.c:164: warning: passing arg 4 of `evas_event_feed_mouse_move' makes integer from pointer without a cast
gevas_light.c:164: error: too few arguments to function `evas_event_feed_mouse_move'
gevas_light.c:177: warning: passing arg 4 of `evas_event_feed_mouse_move' makes integer from pointer without a cast
gevas_light.c:177: error: too few arguments to function `evas_event_feed_mouse_move'
gevas_light.c:178: warning: passing arg 4 of `evas_event_feed_mouse_down' makes integer from pointer without a cast
gevas_light.c:178: error: too few arguments to function `evas_event_feed_mouse_down'
gevas_light.c:186: warning: passing arg 4 of `evas_event_feed_mouse_move' makes integer from pointer without a cast
gevas_light.c:186: error: too few arguments to function `evas_event_feed_mouse_move'
gevas_light.c:187: warning: passing arg 4 of `evas_event_feed_mouse_up' makes integer from pointer without a cast
gevas_light.c:187: error: too few arguments to function `evas_event_feed_mouse_up'
make[5]: *** [libevidence_gui_gtk2_iconview_la-gevas_light.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
|
argh... |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Nov 06, 2005 3:32 am Post subject: |
|
|
Here is a bit more info:
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12.5-tao i686)
=================================================================
System uname: 2.6.12.5-tao i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-mp -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-mp -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks loadpolicy sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa apache2 avi berkdb bitmap-fonts bonobo cairo cdr cgi cid crypt cups curl cyrus dba dga dvd dvdr dvdread eds emboss encode esd ethereal fam fastcgi fb fbcon firefox foomaticdb gcc-libffi gcj gd gd-external gdbm gif gimp gimpprint glx gnustep gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml imagemagick imap imlib imlib2 java javascript jikes jit jpeg junit lcd lcms ldap lesstif libg++ libgda libwww mad md5sum mikmod mime mmx motif mozilla mp3 mp4live mpeg mpeg2 mplayer msn ncurses network nls nocardbus nptl nptlonly nsplugin nvidia objc odbc ogg opengl openssh pam pam_chroot pdflib perl php pic png posix ppds prelude pwdb python qt quicktime readline real rplay sasl sdl slang smp snmp sox spell sqlite sse sse2 ssl stroke svg svga symlink sysfs tcltk tcpd tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode usb videos vim-with-x vorbis wmf xchattext xinetd xml2 xmms xpm xprint xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sun Nov 06, 2005 5:14 am Post subject: Re: eap files |
|
|
dadodrake wrote: | Hello. I cannot create unique eaps for these programs/games. Any ideas? xprop output is attached to every program
| The most important parts in creating unique eaps are (IMHO): WM_CLASS, the icon and Executable name. To extract the WM_CLASS try this code: Code: | xprop | sed -ne "s/^WM_CLASS\(.*\)\"\(.*\)\"$/\2/p" |
HTH
Edit: I just noticed in your post that Frozen-bubble and Dosbox have the same WM_CLASS, while quake3 and crack-attack have no WM_CLASS!! I don't have any idea how you could make unique eaps in this case. |
|
Back to top |
|
|
Master_d Apprentice
Joined: 12 Oct 2003 Posts: 152 Location: Milwaukee
|
Posted: Sun Nov 06, 2005 12:08 pm Post subject: |
|
|
jxn wrote: | @Master_d
If you are trying to install enlightenment-0.17 from cvs, your package.keywords packages need to use the "-*" keywords instead of "~x86" |
thank you kinds sir!... worked like a dream _________________ お前の常識知ったこっちゃねえ! |
|
Back to top |
|
|
Borromini n00b
Joined: 06 Nov 2005 Posts: 7 Location: Belgium
|
Posted: Sun Nov 06, 2005 11:35 pm Post subject: |
|
|
Hi guys, just installed e17 following the Gentoo howto, and i get stuck with Entrance, which doesn't let me start an e17 session . I login, it seems to hesitate a few secs, and then it throws me out . Can anyone help me out on this?
I tried typing the following at the CLI:
# ecore_config entrance_config.cfg set /entrance/session/1/session str /etc/X11/Sessions/e17
and
# ecore_config /etc/entrance_config.cfg set /entrance/session/1/session str /usr/local/bin/E17_wrapper_script (which I found on get-e.org).
Anyway, none of them return anything (which makes me conclude they do what they are supposed to do...) but I did notice however there is no such file as E17_wrapper_script in the /usr/local/bin directory. Can that be the problem? If so, what should that file contain?
If I use GDM I can just login fine to e17 (I'm typing this from Enlightenment right now ). So the DE/WM itself is not the problem. Thanks for any pointers . _________________ Arch Linux current || HP 6510b - Core 2 Duo T7300, 14.1" 1440x900, 2 GB RAM, Intel onboard GPU, IPW3945 |
|
Back to top |
|
|
Master_d Apprentice
Joined: 12 Oct 2003 Posts: 152 Location: Milwaukee
|
Posted: Mon Nov 07, 2005 2:41 am Post subject: |
|
|
how did you guys get GL rendering to work even if it is not listed as one of your engines? do you have to modify the src code to try it?... here's some output I get when I try to set it up. I am using binary nvidia drivers.
Quote: | yi@tonicwater ~ $ enlightenment_remote -engine-set CONTAINER GL
GL engine is disabled as default engine.
yi@tonicwater ~ $ enlightenment_remote -engine-list
REPLY <- BEGIN
REPLY: "SOFTWARE"
REPLY: "XRENDER"
REPLY <- END
yi@tonicwater ~ $ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
yi@tonicwater ~ $ enlightenment_remote -default-engine-get
REPLY <- BEGIN
REPLY: SOFTWARE
REPLY <- END
|
I realize E17 doesn't claim to support GL rendering at this time but I still wanna play with it anyway _________________ お前の常識知ったこっちゃねえ! |
|
Back to top |
|
|
zbindere Guru
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Mon Nov 07, 2005 7:31 am Post subject: |
|
|
Did the default settings change again?
Some months ago, when I put the mouse on an application in engage and when I turnded the mouse wheel, then
the focuse changed to the different instances of the same application.
but now when I turn the wheel it switches the desktops. does anyone know how to put back that behaviour? |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Mon Nov 07, 2005 9:18 am Post subject: |
|
|
@ Master_d: see the e-users mailing list archives, has been discussed very often. it definately doesn't work, and is there for disabled in the source.
@ zbindere
heh, that annoys me too. i loved that feature in engage. maybe it works if you turn off all wheel bindings (using e.g. erme.py or EtkConfig). didn't try that yet _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
slackthumbz Tux's lil' helper
Joined: 03 Mar 2005 Posts: 142 Location: Cambridge, UK
|
Posted: Mon Nov 07, 2005 12:21 pm Post subject: |
|
|
Not sure if anyone else has been having these problems but I've noticed the CVS server from sourceforge is fucking tempermental when it comes to allowing anonymous login for file retrieval as a result I found I had to re-enter the line emerge <blah> <blah> <blah> with all the files in it and remove each one as soon as it finally logged in and bloody worked so I've knocked this up to do the persistence for me. Thought it may be of use to other users. It needs some work for spotting the difference between build errors and CVS login errors but that won't take long.
Code: |
#!/usr/bin/perl
# Naturally we 'use strict' like every good boy and girl
use strict;
# our filelist
my @files = qw{eet dev-db/edb evas ecore embryo imlib2 edje epeg epsilon esmart emotion engrave ewl etox e e_utils e_modules entrance evidence eclair engage};
#according to the info from get-e.org this is recommended
#but may be unnecesary
`export WANT_AUTOCONF=2.5`;
`export WANT_AUTOMAKE=1.7`;
#here's the important part
foreach my $file (@files) {
my $RC = '';
until ( $RC =~ /Completed installing/ ) {
print "Emerging $file";
$RC = `emerge $file`;
}
print "Completed emerging $file\n";
}
#if you kept the export commands near the beginning uncommented
#you'll need this to get your environment vars back to normal
`source /etc/profile`;
exit;
|
Last edited by slackthumbz on Tue Nov 08, 2005 1:14 pm; edited 2 times in total |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Mon Nov 07, 2005 12:55 pm Post subject: |
|
|
slackthumbz wrote: | Not sure if anyone else has been having these problems but I've noticed the CVS server from sourceforge is fucking tempermental when it comes to allowing anonymous login for file retrieval as a result I found I had to re-enter the line emerge <blah> <blah> <blah> with all the files in it and remove each one as soon as it finally logged in and bloody worked so I've knocked this up to do the persistence for me. Thought it may be of use to other users. It needs some work for spotting the difference between build errors and CVS login errors but that won't take long.
... |
or just use the mirror server! It's ~30minutes behind dev CVS
Code: | ECVS_SERVER="thinktux.net:/root" emerge eet dev-db/edb imlib2 evas ecore epeg embryo edje epsilon esmart emotion ewl evfs e engrave e_utils e_modules engage entrance etk entropy |
_________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
morbus Tux's lil' helper
Joined: 10 May 2004 Posts: 139 Location: Munich
|
Posted: Mon Nov 07, 2005 1:39 pm Post subject: |
|
|
Hi,
I wrote a little bash script. Don't blame me if it doesn't act correctly, but I think it should do the basic jobs. It actually expects the apps which should be compiled in /etc/local-scripts/update-e17. For exampe my /etc/local-scripts/update-e17 is
Code: |
apps="
x11-wm/e
x11-plugins/e_modules
dev-util/e_utils
mail-client/embrace"
retry=1
build_libs=0
build_apps=0
show_help=1
|
You will need portlog-info to differentiate between cvs and build errors...
Code: |
#!/bin/bash
LOG="/var/log/e17.failed"
CONFIG="/etc/local-scripts"
source ${CONFIG}/update-e17
if [ "$1" == "--nolibs" ] ; then
build_libs=1
elif [ "$1" == "--noapps" ] ; then
build_apps=1
elif [ "$1" == "--retry" ] ; then
retry=0
build_libs=1
build_apps=1
elif [ ! "$1" == "" ] ; then
build_apps=1
build_apps=1
show_help=0
fi
if [ $show_help == "0" ] ; then
echo "update-e17, Momsen Reincke, oct 05"
echo ""
echo "--retry: Try to build the packages which failed last time"
echo "--nolibs: Don't build the e17-libraries"
echo "--noapps: Don't build the e17-apps"
echo "--help: Show this info screen"
fi
online() {
if ! ping -w 1 -c 1 cvs.sourceforge.net &> /dev/null ; then
return 1
else
return 0
fi
}
build() {
echo "Compiling $1..."
if online && emerge $2 $1 &> /dev/null ; then
echo " ok"
else
if online ; then
#a very common error, the cvs server is unusable...
if portlog-info -p -s 1m $1 | grep cvs ; then
echo "Failed building $1. This is probably a compilation error."
portlog-info -p -s 1m $1
failed="$failed $1"
else
if ! echo $cvs_failed | grep $1 ; then
echo "Could not log into cvs. This is most likely not your fault."
cvs_failed="$cvs_failed $1"
else
echo "Logging into cvs failed again. Please try later again..."
failed="$failed $1"
fi
fi
else
echo "Could not connect to cvs.sourceforge.net."
fi
fi
echo ""
}
get_libs() {
for i in `emerge -pe $apps | grep 9999 | cut -d "]" -f 2 | cut -d " " -f 2 | cut -d "-" -f 1,2 ` ; do
if ! echo $apps | grep $i &> /dev/null ; then
libs="$libs $i"
fi
done
}
if [ $build_libs == "0" ] ; then
get_libs
for i in $libs ; do
build $i -1
done
fi
if [ $build_apps == "0" ] ; then
for i in $apps ; do
build $i
done
fi
if [ $retry == "0" ] ; then
get_libs
for i in ` cat $LOG ` ; do
if echo $libs | grep $i &> /dev/null ; then
build $i -1
else
build $i
fi
done
fi
if [ ! "$cvs_failed" == "" ] ; then
echo ""
echo "Now Im trying to build the packages which failed due to cvs errors"
for i in $cvs_failed ; do
if echo $libs | grep $i &> /dev/null ; then
build $i -1
else
build $i
fi
done
fi
if [ ! "$failed" == "" ] ; then
rm $LOG
echo ""
echo "The following packages failed to build:"
for i in $failed ; do
echo $i
echo $i >> $LOG
done
fi
exit 0
|
|
|
Back to top |
|
|
|