Made an ebuild for lugaru, which is now opensource[0]. The data files are available under a free-noncommercial license, I'll file a seperate bug for them. I can only test on amd64, but it should work fine on x86 as well. [0]: http://blog.wolfire.com/2010/05/Lugaru-goes-open-source Reproducible: Always
Created attachment 231531 [details] lugaru ebuild
Created attachment 231549 [details] unified ebuild for both data and game engine
(In reply to comment #2) > Created an attachment (id=231549) [details] > unified ebuild for both data and game engine > # emerge lugaru Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) games-action/lugaru-9999 from reagentoo * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: games-action/lugaru-9999 * REPO: reagentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/games-action/lugaru-9999/work >>> Preparing source in /var/tmp/portage/games-action/lugaru-9999/work ... /var/tmp/portage/games-action/lugaru-9999/temp/environment: line 506: pushd: /var/tmp/portage/games-action/lugaru-9999/work/lugaru: Нет такого файла или каталога /var/tmp/portage/games-action/lugaru-9999/temp/environment: line 538: popd: directory stack empty >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-action/lugaru-9999/work ... >>> Working in BUILD_DIR: "/var/tmp/portage/games-action/lugaru-9999/work/lugaru_build" * Unable to locate CMakeLists.txt under: * "/var/tmp/portage/games-action/lugaru-9999/work/lugaru/CMakeLists.txt" * Consider not inheriting the cmake eclass. * ERROR: games-action/lugaru-9999 failed: * FATAL: Unable to find CMakeLists.txt * * Call stack: * ebuild.sh, line 48: Called src_configure * environment, line 3270: Called cmake-utils_src_configure * environment, line 795: Called _execute_optionaly 'src_configure' * environment, line 269: Called enable_cmake-utils_src_configure * environment, line 1184: Called die * The specific snippet of code: * die "FATAL: Unable to find CMakeLists.txt"; * * If you need support, post the output of 'emerge --info =games-action/lugaru-9999', * the complete build log and the output of 'emerge -pqv =games-action/lugaru-9999'. * This ebuild is from an overlay named 'reagentoo': '/mnt/mirror/user/overlays/reagentoo/' * The complete build log is located at '/var/tmp/portage/games-action/lugaru-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/lugaru-9999/temp/environment'. * S: '/var/tmp/portage/games-action/lugaru-9999/work/lugaru' >>> Failed to emerge games-action/lugaru-9999
Created attachment 231833 [details] fix mercurial fetch issue
[ 92%] Building CXX object CMakeFiles/lugaru.dir/Source/openal_wrapper.cpp.o [ 96%] Building CXX object CMakeFiles/lugaru.dir/Source/WinInput.cpp.o make[2]: *** [CMakeFiles/lugaru.dir/Source/OpenGL_Windows.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs... make[1]: *** [CMakeFiles/lugaru.dir/all] Error 2 make: *** [all] Error 2 * ERROR: games-action/lugaru-9999 failed: * Make failed! * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3275: Called cmake-utils_src_compile * environment, line 800: Called _execute_optionaly 'src_compile' * environment, line 278: Called enable_cmake-utils_src_compile * environment, line 1183: Called cmake-utils_src_make * environment, line 819: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =games-action/lugaru-9999', * the complete build log and the output of 'emerge -pqv =games-action/lugaru-9999'. * This ebuild is from an overlay named 'reagentoo': '/mnt/mirror/user/overlays/reagentoo/' * The complete build log is located at '/var/tmp/portage/games-action/lugaru-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/lugaru-9999/temp/environment'. * S: '/var/tmp/portage/games-action/lugaru-9999/work/lugaru' >>> Failed to emerge games-action/lugaru-9999
That is because upstream is broken currently. It is one of the perils of -9999. A slight modification of Jens Pranaitis' ebuild will allow you to have an early revision of the code. I'll attach it.
Created attachment 231903 [details] lugaru ebuild for revision 215
Comment on attachment 231833 [details] fix mercurial fetch issue you forgot to call prepgamesdirs also, since this is from-source, this really should install into the normal games layout and not use /opt/ at all.
Created attachment 232635 [details] new ebuild to address the issues mentioned by vapier
The codebase on icculus.org hasn't been updated in months. On irc://irc.wolfire.com/wolfire I was told (mainly by monoid) that icculus' repo could be deemed "de jure" official, but activity has moved elsewhere. Basically Icculus works on other projects now (Aquaria was mentioned) and the community cloned the mercurial repo and continued to develop and maintain it. Monoid specifically mentioned as the "de facto" repo: http://code.google.com/p/lugaru/ Also he said that currently he maintains the most recent FOSS version of Lugaru on his clone, and that this will be pushed back to the abovementioned repo for those who want to try the most recent code cleanups etc.: http://code.google.com/r/amonakov-lugaru/source/list Bottom line: * de jure, unmaintained repo: at icculus * de facto, maintained repo: http://code.google.com/p/lugaru/
The live ebuild has been removed from Sunrise.
Added lugaru-9999.ebuild to portage that builds from the more active repo.