Sorry this one took me so long. I kept getting sandbox errors and couldn't figure it out. Finally noticed that I didn't correctly configure --prefix when ./configure was run for the icewm prog. Anyways, this is it. Please note, that this compiles fine with gcc 3.2. I don't have anywhere I can test 3.1 or 2.95. Also note, seemant had made a patch to allow gcc 3.1 users to compile icewm 1.2.0. I took it out as it compiles fine on my computer without it. It might need to go back in there for 3.1 users. If you need me to add it, just let me know via my email. Thanks.
Created attachment 3948 [details] THe IceWM ebuild Here it is, in all it's glory.
Are you sure this is correct in src_compile()? econf \ --prefix=${D}/usr \ --with-libdir=${D}/usr/lib/icewm \ --with-cfgdir=${D}/etc/icewm \ --with-docdir=${S}/usr/share/doc/${PF}/html \ ${myconf} || die "configure failed" Shouldn't it be more with sed 's/\$\{.\}//' ? Anyway, tried that. But I'm still having problems running icewm. It does compile (with a huge bunch of warnings) and install and start. But my default theme (Infadel2), which is running very nice under icewm-1.2.0-r1, is not the same. The taskbar is not dark-grey but white-grey, the font is a different one and such things. I checked the lib/icewm/themes/Infadel2 dir for diffs, but there are none. I also checked the whole lib/icewm directory for diffs but found nothing that could matter (IMHO). Anybody an idea what it could be? Anybody experiencing the same? Thanks, Tobias
the econf is wrong. strip the ${D}'s from it. As for the warnings, it looks like it is in the code itself with #warning preprocessor directives.
Created attachment 4274 [details] icewm-1.2.2.ebuild Stripped ${?} from src_compile
Anyway, this change does not fix my theme problem.
No, the econf section should be in there, I had to actually modify it or else one ends up getting access violations from portage. But the problem is that if you do not use $D in the ./configure, then you get access violations, but if you do, you don't get the correct path to all your themes and whatnot. So in my .icewm/preferences file I had to put the full path to Infidel2. That should fix it for you. I'll look at the ebuild somemore and try to find a way to fix it.
the econf line DID have to be changed :P added into portage, anyway. thanks for the submit.
I had to comment out the patch line inorder for Portage to pickup that it was in the tree. The patch is not longer in /usr/portage/x11-wm/icewm/files, so you might want to just remove it altogether.