The official Loki C++ library, written by Andrei Alexandrescu for his book "Modern C++ Design" More info can be found at the following URLs: http://moderncppdesign.com/ http://sourceforge.net/projects/loki-lib/ http://sourceforge.net/projects/loki-exp/ Reproducible: Always Steps to Reproduce: N/A Actual Results: N/A Expected Results: N/A N/A
Created attachment 37141 [details] An ebuild for the latest version of Loki (released 20030413), written primarily for GCC on x86, although it should work on all platforms.
there is another ebuild for alexandrescu's loki in dev-libs/ferrisloki
Though that is a modified version, combined with some additional software. Unless actually using the Ferris library, it is likely that people may want (1) the unmodified Loki library; (2) not to have to compile Ferris at all in order to install Loki. I have a local ebuild for the more recent 0.1.2 release at http://sourceforge.net/projects/loki-lib, which I'll attach as soon as I've given it some more testing (I haven't quite got the testsuite to pass yet with FEATURES=maketest).
Created attachment 75324 [details] ebuild for loki 0.1.2 testsuite passes on x86; there is a failure on amd64 due to an upstream bug in the SafeFormat sub-library: http://sourceforge.net/tracker/index.php?func=detail&aid=1388014&group_id=29557&atid=396644
Created attachment 75325 [details] ebuild for loki 0.1.2 (revised) Corrected missing IUSE setting.
Created attachment 76762 [details] loki-0.1.3.ebuild Reworked ebuild: - update to version 0.1.3 - added USE flag doc, to use with doxygen generated documentation - now use CXXFLAGS from system, and DESTDIR
None of us care to maintain this right now. The build system also kind of sucks. WONTFIX, atleast until the situation improves.
Created attachment 103634 [details] ebuild for 0.1.5 If anyone is interested, even though this bug is closed, here's the updated ebuild I have locally for 0.1.5 Changes relative to 0.1.3 above: * Bump version * Change .bz2 to .gz in line with upstream sources * Don't rebuild doxygen output that's already included in tarball * Apply -fPIC patch for "make check" to work on AMD64 (see https://sourceforge.net/tracker/?func=detail&atid=396644&aid=1611465&group_id=29557 * Build shared library (now supported upstream) * Don't use DESTDIR; Makefile doesn't support it
Created attachment 103635 [details, diff] Patch for "make check" to work on AMD64 Here's the patch referenced by the above ebuild