Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319817 - New ebuild: games-action/lugaru-9999
Summary: New ebuild: games-action/lugaru-9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-05-15 10:49 UTC by Jens Pranaitis
Modified: 2015-12-09 21:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lugaru ebuild (lugaru-9999.ebuild,977 bytes, text/plain)
2010-05-15 10:50 UTC, Jens Pranaitis
Details
unified ebuild for both data and game engine (lugaru-9999.ebuild,834 bytes, text/plain)
2010-05-15 12:01 UTC, Jens Pranaitis
Details
fix mercurial fetch issue (lugaru-9999.ebuild,867 bytes, text/plain)
2010-05-17 17:06 UTC, Jens Pranaitis
Details
lugaru ebuild for revision 215 (lugaru-0_pre215.ebuild,895 bytes, text/plain)
2010-05-18 07:47 UTC, Benjamin Zink
Details
new ebuild to address the issues mentioned by vapier (lugaru-9999.ebuild,831 bytes, text/plain)
2010-05-23 21:51 UTC, Jens Pranaitis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Pranaitis 2010-05-15 10:49:39 UTC
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
Comment 1 Jens Pranaitis 2010-05-15 10:50:14 UTC
Created attachment 231531 [details]
lugaru ebuild
Comment 2 Jens Pranaitis 2010-05-15 12:01:46 UTC
Created attachment 231549 [details]
unified ebuild for both data and game engine
Comment 3 Dmitriy Baranov 2010-05-16 09:51:38 UTC
(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
Comment 4 Jens Pranaitis 2010-05-17 17:06:10 UTC
Created attachment 231833 [details]
fix mercurial fetch issue
Comment 5 Dmitriy Baranov 2010-05-18 07:40:27 UTC
[ 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
Comment 6 Benjamin Zink 2010-05-18 07:45:04 UTC
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.
Comment 7 Benjamin Zink 2010-05-18 07:47:03 UTC
Created attachment 231903 [details]
lugaru ebuild for revision 215
Comment 8 SpanKY gentoo-dev 2010-05-21 01:54:03 UTC
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.
Comment 9 Jens Pranaitis 2010-05-23 21:51:28 UTC
Created attachment 232635 [details]
new ebuild to address the issues mentioned by vapier
Comment 10 Matija "hook" Šuklje 2011-01-09 18:40:32 UTC
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/
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-14 15:01:48 UTC
The live ebuild has been removed from Sunrise.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2015-12-09 21:30:22 UTC
Added lugaru-9999.ebuild to portage that builds from the more active repo.