summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/puae/Manifest3
-rw-r--r--app-emulation/puae/metadata.xml44
-rw-r--r--app-emulation/puae/puae-2.3.1_pre9999.ebuild243
-rw-r--r--app-emulation/winetricks/Manifest2
-rw-r--r--app-emulation/winetricks/winetricks-9999.ebuild29
-rw-r--r--app-office/unoconv/Manifest3
-rw-r--r--app-office/unoconv/unoconv-0.4.ebuild28
-rw-r--r--dev-games/cel/Manifest5
-rw-r--r--dev-games/cel/cel-1.4.0.ebuild54
-rw-r--r--dev-games/cel/cel-1.9_pre9999-r3.ebuild68
-rw-r--r--dev-games/crystalspace/Manifest7
-rw-r--r--dev-games/crystalspace/config.log1272
-rw-r--r--dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild135
-rw-r--r--dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild178
-rw-r--r--dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch12
-rw-r--r--dev-games/gigi/Manifest4
-rw-r--r--dev-games/gigi/files/unbundle-ltdl.patch69
-rw-r--r--dev-games/gigi/gigi-9999-r4.ebuild96
-rw-r--r--dev-games/gigi/metadata.xml14
-rw-r--r--games-roguelike/tomenet/Manifest3
-rw-r--r--games-roguelike/tomenet/tomenet-100908.ebuild61
-rw-r--r--games-strategy/freeorion/Manifest3
-rw-r--r--games-strategy/freeorion/freeorion-9999-r5.ebuild106
-rw-r--r--games-strategy/freeorion/metadata.xml8
-rw-r--r--games-strategy/glfrontier/Manifest4
-rw-r--r--games-strategy/glfrontier/glfrontier-20060623-r2.ebuild48
-rw-r--r--games-strategy/seven-kingdoms/Manifest5
-rw-r--r--games-strategy/seven-kingdoms/files/7kaa.pngbin0 -> 2679 bytes
-rw-r--r--games-strategy/seven-kingdoms/seven-kingdoms-2.14.3-r1.ebuild95
-rw-r--r--media-gfx/nvidia-cg-toolkit/Manifest4
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0000.ebuild50
-rw-r--r--media-libs/jbig2enc/Manifest3
-rw-r--r--media-libs/jbig2enc/files/local_to_gentoo_makefile.diff30
-rw-r--r--media-libs/jbig2enc/jbig2enc-0.26_pre9999.ebuild45
-rw-r--r--media-libs/leptonica/Manifest4
-rw-r--r--media-libs/leptonica/files/.svn/entries62
-rw-r--r--media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base32
-rw-r--r--media-libs/leptonica/files/leptonica-build-shared.diff32
-rw-r--r--media-libs/leptonica/leptonica-1.67.ebuild54
-rw-r--r--net-mail/davmail/.directory5
-rw-r--r--net-mail/davmail/Manifest5
-rw-r--r--net-mail/davmail/davmail-3.9.1_p1646.ebuild41
-rw-r--r--net-mail/davmail/files/davmail.desktop11
-rw-r--r--net-mail/davmail/files/davmail.pngbin0 -> 4218 bytes
-rw-r--r--sys-power/cpufreqd/Manifest8
-rw-r--r--sys-power/cpufreqd/cpufreqd-2.4.2-r1.ebuild86
-rw-r--r--sys-power/cpufreqd/files/cpufreqd-conf.d.patch10
-rw-r--r--sys-power/cpufreqd/files/cpufreqd-init.d44
-rw-r--r--sys-power/cpufreqd/files/cpufreqd-path-max.patch17
-rw-r--r--sys-power/cpufreqd/files/nvclock0.8b-fpic.patch13
-rw-r--r--www-apps/dotproject/Manifest4
-rw-r--r--www-apps/dotproject/dotproject-2.1.5-r1.ebuild59
-rw-r--r--www-apps/dotproject/files/install-en.txt23
53 files changed, 3241 insertions, 0 deletions
diff --git a/app-emulation/puae/Manifest b/app-emulation/puae/Manifest
new file mode 100644
index 0000000..9ed0096
--- /dev/null
+++ b/app-emulation/puae/Manifest
@@ -0,0 +1,3 @@
+EBUILD puae-2.3.1_pre9999.ebuild 7299 RMD160 fb69d409717e7edaf00d617a66381fbfb9ce5e1e SHA1 28d99c948ecf1f66a139cdc57bb037e3f53330b5 SHA256 db2cc7cc6b34ded9b9e57605644ee7ab84af5cfa0beed241ad271400696f752f
+MISC metadata.xml 2409 RMD160 aa18392a318f6979d0662ad3d99895c379fb8ce7 SHA1 7f01ca258971a3ba17c9d247109c86d6e70e3fe4 SHA256 892ce67fe34e9c6700dd9e97a903c8dcdd15fd7095b563a9fc75b1f527312890
+MISC puae-2.3.1_pre9999.ebuild~ 7299 RMD160 fb69d409717e7edaf00d617a66381fbfb9ce5e1e SHA1 28d99c948ecf1f66a139cdc57bb037e3f53330b5 SHA256 db2cc7cc6b34ded9b9e57605644ee7ab84af5cfa0beed241ad271400696f752f
diff --git a/app-emulation/puae/metadata.xml b/app-emulation/puae/metadata.xml
new file mode 100644
index 0000000..3bb16e5
--- /dev/null
+++ b/app-emulation/puae/metadata.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>sven.eden@gmx.de</email>
+ <description>The creator of this ebuild, but not the official maintainer</description>
+</maintainer>
+<!-- <longdescription></longdescription> -->
+<use>
+ <flag name='profiling'>Build a profiling (SLOW!) version</flag>
+<!-- currently broken, won't compile/link <flag name='a2065'>Enable A2065 Ethernet emulation</flag> -->
+ <flag name='a2091'>Enable A2091 SCSI emulation</flag>
+ <flag name='audio'>Enable audio output (needs either alsa or sdl-sound USE flag)</flag>
+ <flag name='amax'>Enable AMAX support</flag>
+ <flag name='bsdsock'>Enable bsdsocket.library emulation</flag>
+ <flag name='cdtv'>Enable CDTV emulation</flag>
+ <flag name='cd32'>Enable CD32 emulation</flag>
+ <flag name='debugger'>Enable internal debugger/monitor</flag>
+ <flag name='dga'>X11 version: Use the DGA extension</flag>
+ <flag name='drvsnd'>Enable Floppy Drive Sound Emulation</flag>
+ <flag name='enforcer'>Enable ersatz Enforcer support</flag>
+ <flag name='gayle'>Enable GAYLE IDE emulation</flag>
+ <flag name='fpu'>Enable FPU emulation</flag>
+ <flag name='jit'>Enable JIT compiler (x86 only)</flag>
+ <flag name='natmem'>Enable JIT direct memory support (x86 only)</flag>
+ <flag name='noflags'>Enable noflags support in JIT (x86 only)</flag>
+ <flag name='ncr'>Enable NCR SCSI emulation</flag>
+ <flag name='scsi-device'>Enable emulation of SCSI devices</flag>
+ <flag name='save-state'>Enable support for saving state snapshots</flag>
+ <flag name='threads'>Enable thread support</flag>
+ <flag name='ui'>Use a user interface if possible</flag>
+ <flag name='vidmode'>X11 version: Use the XF86VidMode extension</flag>
+ <flag name='xarcade'>Enable keymaps for X-Arcade joysticks</flag>
+ <flag name='sdl'>Use SDL library for low-level functions</flag>
+ <flag name='sdl-sound'>Use SDL library for sound</flag>
+ <flag name='sdl-gfx'>Use SDL library for graphics</flag>
+ <flag name='sdl-gl'>Allow GL for 2D acceleration with SDL graphics</flag>
+ <flag name='qt'>Use QT library for graphics/ui instead of gtk/sdl (incomplete!)</flag>
+ <flag name='curses'>Use ncurses library for graphics</flag>
+ <flag name='alsa'>Use ALSA library for sound</flag>
+ <flag name='X'>Use the X Window System</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emulation/puae/puae-2.3.1_pre9999.ebuild b/app-emulation/puae/puae-2.3.1_pre9999.ebuild
new file mode 100644
index 0000000..6b3789e
--- /dev/null
+++ b/app-emulation/puae/puae-2.3.1_pre9999.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit autotools flag-o-matic git
+
+DESCRIPTION="PUAE tries to continue where E-UAE left off."
+HOMEPAGE="https://github.com/GnoStiC/PUAE"
+EGIT_REPO_URI="https://github.com/GnoStiC/PUAE.git"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="a2091 +alsa amax +audio bsdsock cdtv cd32 +debugger dga \
+ drvsnd enforcer +fpu gayle +gtk jit ncr +natmem noflags ncurses \
+ profiling qt +save-state scsi-device +sdl +sdl-gfx sdl-gl \
+ sdl-sound threads +ui vidmode +xarcade X"
+
+# Broken USE-Flags due to compilation/linking failures:
+# IUSE="${IUSE} a2065"
+
+RDEPEND="
+ alsa? ( !sdl-sound? ( media-libs/alsa-lib ) )
+ gtk? ( >=x11-libs/gtk+-2 )
+ ncurses? ( !qt? ( !sdl-gfx? ( sys-libs/ncurses ) ) )
+ qt? ( !gtk? ( x11-libs/qt-gui ) )
+ sdl? ( media-libs/libsdl )
+ sdl-gfx? ( !qt? ( media-libs/sdl-gfx ) )
+ sdl-sound? ( media-libs/sdl-sound )
+ sdl-gl? ( !qt? ( virtual/opengl ) )
+ X? ( x11-libs/libX11
+ dga? ( x11-libs/libXxf86dga )
+ )
+"
+DEPEND="${DEPEND} ${RDEPEND}
+ X? ( dga? ( x11-proto/xf86dgaproto )
+ vidmode? ( x11-proto/xf86vidmodeproto )
+ )
+"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+ local hasUI=0
+ local needSDL=0
+
+ # the following warnings are issued very often, and the user can't help it
+ append-cflags -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-sign-compare
+ append-cflags -Wno-missing-prototypes -Wno-implicit -fno-strict-aliasing
+ append-cflags -std=gnu99
+
+ # gtk is the default ui. If it is enabled, qt must not be enabled,
+ # or it replaces the gtk ui.
+ if use ui ; then
+ myconf="${myconf} --enable-ui"
+ if use gtk ; then
+ myconf="${myconf} --enable-gtktest --without-qt"
+ hasUI=1
+ fi
+ if use qt ; then
+ if ! use gtk ; then
+ myconf="${myconf} --disable-gtktest --with-qt"
+ hasUI=1
+ else
+ # Notify user if both have been set
+ elog "Both gtk and qt USE flag are enabled."
+ elog "As gtk is preferred over qt, qt is ignored."
+ fi
+ fi
+ if [ ${hasUI} -eq 0 ] ; then
+ ewarn "ui USE flag set, but neither gtk nor qt chosen."
+ elog "--> gtk is selected automatically."
+ myconf="${myconf} --enable-gtktest --without-qt"
+ hasUI=1
+ fi
+ fi
+
+ # Both gtk and qt ui need threads:
+ if [ ${hasUI} -eq 1 ] ; then
+ if ! use threads ; then
+ ewarn "Both gtk and qt ui need threads. Therefore"
+ ewarn "threads are enabled despite USE flag setting"
+ fi
+ myconf="${myconf} --enable-threads"
+ else
+ myconf="${myconf} $(use_enable threads)"
+ fi
+
+ # Graphics are done via sdl-gfx (plus sdl-gl), X, qt
+ # or ncurses (in this order)
+ if use sdl-gfx ; then
+ myconf="${myconf} --with-sdl-gfx --without-curses"
+ needSDL=$((needSDL+1))
+ elog "sdl-gfx chosen for graphic output."
+ if use sdl-gl ; then
+ myconf="${myconf} --with-sdl-gl"
+ fi
+ # Notify user if qt and/or ncurses are set, too:
+ use qt && elog "-> qt USE flag ignored"
+ use ncurses && elog "-> ncurses USE flag ignored"
+ elif use X ; then
+ myconf="${myconf} --with-x \
+ $(use_enable dga) \
+ $(use_enable vidmode)"
+ elog "X chosen for graphic output"
+ elif use qt ; then
+ # qt can only be enabled if we do not use gtk
+ if ! use gtk ; then
+ myconf="${myconf} --without-sdl-gfx --without-sdl-gl"
+ myconf="${myconf} --without-curses"
+ if [ ${hasUI} -eq 0 ] ; then
+ myconf="${myconf} --with-qt --disable-gtktest"
+ fi
+ elog "qt chosen for graphic output."
+ use ncurses && elog "-> ncurses USE flag ignored"
+ elif [ ${hasUI} -eq 0 ] ; then
+ myconf="${myconf} --without-sdl-gfx --without-sdl-gl"
+ myconf="${myconf} --without-curses"
+ myconf="${myconf} --with-qt --disable-gtktest"
+ elog "qt chosen for graphic output."
+ use gtk && elog "-> gtk USE flag ignored, as no ui is used"
+ use ncurses && elog "-> ncurses USE flag ignored"
+ else
+ # tell the user that qt is disabled if gtk is in use
+ # without-qt and enable-gtktest are already set
+ elog "You can not use qt for graphics when gtk is"
+ elog "chosen for the ui. Therefore gtk/sdl is chosen."
+ use ncurses && elog "-> ncurses USE flag ignored"
+ myconf="${myconf} --with-sdl-gfx --without-curses"
+ needSDL=$((needSDL+1))
+ if use sdl-gl ; then
+ myconf="${myconf} --with-sdl-gl"
+ fi
+ fi
+ elif use ncurses ; then
+ # who wants to use that?
+ myconf="${myconf} --without-sdl-gfx --without-sdl-gl"
+ myconf="${myconf} --without-qt --with-curses"
+ else
+ # As no graphics system is chosen, we default to sdl
+ ewarn "No graphics system is chosen."
+ elog "sdl-gfx has been enabled as the default system"
+ myconf="${myconf} --with-sdl-gfx --without-curses"
+ needSDL=$((needSDL+1))
+ if use sdl-gl ; then
+ myconf="${myconf} --with-sdl-gl"
+ fi
+ fi
+
+ # JIT can only be used with x86
+ if use x86 ; then
+ myconf="${myconf} \
+ $(use_enable jit) \
+ $(use_enable natmem) \
+ $(use_enable noflags)"
+ else
+ myconf="${myconf} --disable-jit --disable-natmem --disable-noflags"
+ use jit && elog "JIT is only available on x86 platforms and has been deactivated."
+ fi
+
+ # If we use audio, alsa comes first, then sdl (like in configure.in)
+ if use audio ; then
+ if use alsa ; then
+ myconf="${myconf} --enable-audio --without-sdl-sound"
+ myconf="${myconf} --with-alsa"
+ elog "alsa is chosen for audio output"
+ use sdl-sound && elog "--> sdl-sound USE flag ignored"
+ elif use sdl-sound ; then
+ needSDL=$((needSDL+1))
+ myconf="${myconf} --enable-audio --with-sdl-sound"
+ myconf="${myconf} --without-alsa"
+ elog "sdl-sound is chosen for audio output"
+ else
+ ewarn "audio is enabled, but neither alsa nor sdl-sound"
+ ewarn "selected. Defaulting to alsa."
+ myconf="${myconf} --enable-audio --without-sdl-sound"
+ myconf="${myconf} --with-alsa"
+ fi
+ else
+ myconf="${myconf} --disable-audio --without-sdl-sound"
+ myconf="${myconf} --without-alsa"
+ fi
+
+ # We need to determine whether SDL is used for the low level
+ # functionality to determine, whether sdl has to be tested:
+ if use sdl ; then
+ needSDL=$((needSDL+1))
+ myconf="${myconf} --with-sdl"
+ fi
+
+ # Need sdl test programs?
+ if [ ${needSDL} -gt 0 ] ; then
+ myconf="${myconf} --enable-sdltest"
+ else
+ myconf="${myconf} --disable-sdltest"
+ fi
+
+ # And now go for it:
+ econf \
+ $(use_enable profiling) \
+ $(use_enable a2091) \
+ $(use_enable amax) \
+ $(use_enable bsdsock) \
+ $(use_enable cdtv) \
+ $(use_enable cd32) \
+ $(use_enable debugger) \
+ $(use_enable drvsnd) \
+ $(use_enable enforcer) \
+ $(use_enable gayle) \
+ $(use_enable fpu) \
+ $(use_enable ncr) \
+ $(use_enable scsi-device) \
+ $(use_enable save-state) \
+ $(use_enable xarcade) \
+ ${myconf} || die "econf failed"
+
+ # Broken USE flags:
+ # $(use_enable a2065) \
+
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc CHANGES COPYING README docs/*
+
+ # Finally tell the user that he has to set up kick rom path and
+ # file first, or the gui will close on itself.
+ elog "Before the UI can be used, a configuration file"
+ elog "~/.uaerc has to be created with at least two"
+ elog "settings:"
+ elog "unix.rom_path=<path to where your rom file(s) are>"
+ elog "kickstart_rom_file=\$(FILE_PATH)/<rom file to use>"
+}
diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest
new file mode 100644
index 0000000..6ff8f9b
--- /dev/null
+++ b/app-emulation/winetricks/Manifest
@@ -0,0 +1,2 @@
+EBUILD winetricks-9999.ebuild 596 RMD160 c90da7a3e5d7d00c4d35680e67d34daf16697d63 SHA1 faac7283d4799972a317d2115a67194717c82536 SHA256 636f4abb800c480112a9c2dbff5e358c8ed22f4b7bf795d7c84db41a2dd8b7de
+MISC winetricks-9999.ebuild~ 595 RMD160 b472b2260e8fea12cbf1034a0106adcd8d30829e SHA1 45c7f6f91fb27f0e04db41ce29206171df0e0ec7 SHA256 afbc1919f097d69b57a79d80bdf68339088914e658bf8eefaa476d6911996b11
diff --git a/app-emulation/winetricks/winetricks-9999.ebuild b/app-emulation/winetricks/winetricks-9999.ebuild
new file mode 100644
index 0000000..5a29b5e
--- /dev/null
+++ b/app-emulation/winetricks/winetricks-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit subversion
+
+DESCRIPTION="easy way to install DLLs needed to work around problems in Wine"
+HOMEPAGE="http://code.google.com/p/winetricks/ http://wiki.winehq.org/winetricks"
+ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk"
+ESVN_PROJECT="${PN}"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk kde"
+
+SLOT="0"
+
+DEPEND=""
+RDEPEND="
+ app-emulation/wine
+ gtk? ( gnome-extra/zenity )
+ kde? ( kde-base/kdialog )
+"
+
+src_install() {
+ dobin src/${PN} || die
+}
diff --git a/app-office/unoconv/Manifest b/app-office/unoconv/Manifest
new file mode 100644
index 0000000..2db2f46
--- /dev/null
+++ b/app-office/unoconv/Manifest
@@ -0,0 +1,3 @@
+DIST unoconv-0.4.tar.bz2 63171 RMD160 8b05e181e460dedb8d8c692b4f0e3abd4a23afe4 SHA1 e06a8f6d921ecaecc0968ba92dd7afd5af67a32d SHA256 27711728c19b7b71d94b010540e7648dc72ab6190cc4155c5d8be4dd7f46e48c
+EBUILD unoconv-0.4.ebuild 695 RMD160 e655017a2bd566580c99239c7ac63982744af170 SHA1 27911e787305ef9c6fb5f941be2f64e9189771fb SHA256 74298ce9652f60129d09d18d864100b58e30250cde73b775a115ac99ff027068
+MISC unoconv-0.4.ebuild~ 788 RMD160 45e666af8cf20f7218ce075c8103817ac1a69ae1 SHA1 29afbf4ad5e775b93121e462de14bea2ef34fb91 SHA256 cda851f48a7d98d012f5c7f269eeb60e8e408aeefeb97ac3ef6a2272d8a4f365
diff --git a/app-office/unoconv/unoconv-0.4.ebuild b/app-office/unoconv/unoconv-0.4.ebuild
new file mode 100644
index 0000000..a5cc1cd
--- /dev/null
+++ b/app-office/unoconv/unoconv-0.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Convert between any document format supported by OpenOffice"
+HOMEPAGE="http://dag.wieers.com/home-made/unoconv/"
+SRC_URI="http://dag.wieers.com/home-made/unoconv/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+RDEPEND=">=dev-lang/python-2.5
+ || ( app-office/openoffice app-office/openoffice-bin )"
+DEPEND="dev-python/setuptools
+ >=app-text/asciidoc-8.2.6"
+
+src_install() {
+ emake docs DESTDIR="${D}"
+ emake docs-install DESTDIR="${D}"
+ emake install DESTDIR="${D}"
+ emake install-links DESTDIR="${D}"
+}
diff --git a/dev-games/cel/Manifest b/dev-games/cel/Manifest
new file mode 100644
index 0000000..d837b55
--- /dev/null
+++ b/dev-games/cel/Manifest
@@ -0,0 +1,5 @@
+DIST cel-src-1.4.0.tar.bz2 5114202 RMD160 d41f4fca69963d283a1bc52914b52b151c3f06cf SHA1 4ed93ebb70d3a2a116114e44884d2bab57597e07 SHA256 ee9eed9c7a5d660b2c2e1ef6048069ade19f6ce1c4e02b26c36bc3c286c76964
+EBUILD cel-1.4.0.ebuild 1167 RMD160 226d9e93ad353a204205ab58e7743fb952ddcc38 SHA1 7ff1752c15fb241176291a66651f69c8ae7262a8 SHA256 2827e2348686fa334da6f7ae7ec6bb23ff28caeb6f6bea1020df838580200f4f
+EBUILD cel-1.9_pre9999-r3.ebuild 1703 RMD160 c18300b81bb6d0004d0fd7efacc6c96336989db7 SHA1 464ef0efcefd368407be1825b51a5551718224e6 SHA256 fea429b9af983fed756666d1d3db45af435bb1a465b2e658b0c3844bc1628a08
+MISC cel-1.4.0.ebuild~ 1230 RMD160 49675996a4ca6246dc1dcb4092404e90b2075a1d SHA1 bdad13a35e099dd50516ac0279e90de3179ccfd8 SHA256 caa9deaecf7346c15630ca49a2ac624445c2d171f705a8b2023b944e8630dda7
+MISC cel-1.9_pre9999-r3.ebuild~ 1702 RMD160 4a8a6c19e33952afa66d7c67d96d19d949fb9912 SHA1 5ed9dc131b31ee45b53196fe1de8b017c21e638e SHA256 109617323d76d5ecc92d6e1a556da71fb86b6b1c51f981631b25456215434119
diff --git a/dev-games/cel/cel-1.4.0.ebuild b/dev-games/cel/cel-1.4.0.ebuild
new file mode 100644
index 0000000..a34028a
--- /dev/null
+++ b/dev-games/cel/cel-1.4.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils versionator
+
+MY_P=${PN}-src-${PV}
+MY_PV=$(get_version_component_range 1-2)
+MY_P2=${PN}-${MY_PV}
+
+DESCRIPTION="A game entity layer based on Crystal Space"
+HOMEPAGE="http://cel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="python"
+
+SLOT="0"
+
+RDEPEND=">=dev-games/crystalspace-${PV}
+ dev-games/hawknl"
+DEPEND="${RDEPEND}
+ dev-util/ftjam"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ chmod +x configure
+ econf \
+ --disable-separate-debug-info \
+ --disable-cstest \
+ $(use_with python) \
+ || die
+}
+
+src_compile() {
+ jam -q || die "jam failed"
+}
+
+src_install() {
+ jam -q -s DESTDIR="${D}" install || die "jam install failed"
+
+ # Fill cache directory for the examples
+ cp "${D}"/usr/share/${MY_P2}/data/{basic_,}world
+ cslight -video=null "${D}"/usr/share/${MY_P2}/data
+ cp "${D}"/usr/share/${MY_P2}/data/{walktut_,}world
+ cslight -video=null "${D}"/usr/share/${MY_P2}/data
+ rm "${D}"/usr/share/${MY_P2}/data/world
+
+ dodoc docs/history*.txt docs/todo.txt
+}
diff --git a/dev-games/cel/cel-1.9_pre9999-r3.ebuild b/dev-games/cel/cel-1.9_pre9999-r3.ebuild
new file mode 100644
index 0000000..768fd18
--- /dev/null
+++ b/dev-games/cel/cel-1.9_pre9999-r3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit autotools eutils subversion versionator
+
+MY_PV=$(get_version_component_range 1-2)
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A game entity layer based on Crystal Space"
+HOMEPAGE="http://www.crystalspace3d.org/"
+ESVN_REPO_URI="https://cel.svn.sourceforge.net/svnroot/cel/cel/trunk"
+
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+SLOT="0"
+
+RDEPEND="
+ =dev-games/crystalspace-${MY_PV}*
+ dev-games/hawknl"
+DEPEND="${RDEPEND}
+ dev-util/ftjam"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # InstallDoc conflicts with dodoc
+ sed -i -e "/^InstallDoc/d" docs/Jamfile \
+ || die "sed on docs/Jamfile failed"
+
+ AT_M4DIR=mk/autoconf
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-separate-debug-info \
+ --disable-optimize-mode-debug-info \
+ $(use_enable debug) \
+ || die "configure failed"
+}
+
+src_compile() {
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+ jam -q ${jamopts} || die "compile failed (jam -q ${jamopts})"
+}
+
+src_install() {
+ jam -q -s DESTDIR="${D}" install || die "jam install failed"
+
+ # Fill cache directory for the examples
+ cp "${D}"/usr/share/${MY_P}/data/{basic_,}world
+ lighter2 --simpletui "${D}"/usr/share/${MY_P}/data
+ cp "${D}"/usr/share/${MY_P}/data/{walktut_,}world
+ lighter2 --simpletui "${D}"/usr/share/${MY_P}/data
+ rm "${D}"/usr/share/${MY_P}/data/world
+
+ # As the target install_doc uses crystalspace-1.9 as target, but dodoc
+ # uses ${PF}, this said var has to be manipulated first.
+ local oldPF=${PF}
+ PF=${MY_P}
+ dodoc COPYING README docs/history*.txt docs/todo.txt
+ PF=${oldPF}
+}
diff --git a/dev-games/crystalspace/Manifest b/dev-games/crystalspace/Manifest
new file mode 100644
index 0000000..7c7a24e
--- /dev/null
+++ b/dev-games/crystalspace/Manifest
@@ -0,0 +1,7 @@
+AUX crystalspace-1.4.0-bullet.patch 501 RMD160 8a5c37029c5c1470d1c73b5e0b38df0936e2a85a SHA1 d65deefa25dc49a6e4b7f3d641b9f8ab36565368 SHA256 0dc5ecb64d9a9a07a3da9e89c51080952beb1a4daed40e6b3eccc64ab9e4677f
+DIST crystalspace-src-1.4.0.tar.bz2 45670477 RMD160 af89e74a96bac7f55079a6cdad7fd938a38af602 SHA1 10f4dd50c654ad9292602a91189a0ee78a8fe353 SHA256 a8e1bfc9328470121bfbc6cf98f2c310a34f6998978065aa2f6df7e02a0101ba
+EBUILD crystalspace-1.4.0-r2.ebuild 3499 RMD160 aa8e97669720b3b3fe53672d46ff2352116a402b SHA1 3666a937bcf83e8d3cba582f9a661b691f18a6f8 SHA256 4fb1ca5b6921bbf182adfb80336c21e4f83fdd6b7f16dd35f17c9effc856cbbc
+EBUILD crystalspace-1.9_pre9999-r5.ebuild 4796 RMD160 c9f6316314984ba2423ec969854c52dcd6de8ea7 SHA1 6865c6dc97296bca5e4df77964ed3a157692175b SHA256 2a2eaf1e0aaaba22a988167899ae48c3c2af2f10e66e47a852082c97d2ddb327
+MISC config.log 44199 RMD160 a66b802ebc68d69c0d5083b69dc8f6daaf97d9c5 SHA1 15d68c4344b765b8164453e88789aa4aecb7d8a6 SHA256 fe079661825d0742a1881a1e5fe5ee12d2ce2a4c933e1ecb619f40731bcc877c
+MISC crystalspace-1.4.0-r2.ebuild~ 3611 RMD160 a9b0784f6dff024ed8b9b50ef045b9397eabcf66 SHA1 49049f294d56b2af329794b5e8e29e8f0ef48697 SHA256 cf49332a3bc1ccebc4862a7f363df86ed42f0457a00325a0a94a15c41b4e330a
+MISC crystalspace-1.9_pre9999-r5.ebuild~ 5197 RMD160 98c760ea6535018ab5a6c12d3fc767307e5278bf SHA1 f8d82c8da298665cb14485bcb927098702173170 SHA256 6ea8fb9fd9c238ad26a16b71d749d54a4418fbdae138506e00d6717e5dfb4c0a
diff --git a/dev-games/crystalspace/config.log b/dev-games/crystalspace/config.log
new file mode 100644
index 0000000..97577d2
--- /dev/null
+++ b/dev-games/crystalspace/config.log
@@ -0,0 +1,1272 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by crystalspace configure 1.9, which was
+generated by GNU Autoconf 2.65. Invocation command line was
+
+ $ /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/configure
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = sed-notebook
+uname -m = x86_64
+uname -r = 2.6.37-gentoo
+uname -s = Linux
+uname -v = #1 SMP Thu Jan 20 21:41:50 CET 2011
+
+/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz
+/bin/uname -X = unknown
+
+/bin/arch = unknown
+/usr/bin/arch -k = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo = unknown
+/bin/machine = unknown
+/usr/bin/oslevel = unknown
+/bin/universe = unknown
+
+PATH: /sbin
+PATH: /bin
+PATH: /usr/sbin
+PATH: /usr/bin
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:3315: checking build system type
+configure:3329: result: x86_64-unknown-linux-gnu
+configure:3349: checking host system type
+configure:3362: result: x86_64-unknown-linux-gnu
+configure:3428: checking whether to enable -mno-cygwin
+configure:3462: result: no
+configure:3518: checking for gcc
+configure:3534: found /usr/bin/gcc
+configure:3545: result: gcc
+configure:3774: checking for C compiler version
+configure:3783: gcc --version >&5
+gcc (Gentoo 4.5.1-r1 p1.4, pie-0.4.5) 4.5.1
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:3794: $? = 0
+configure:3783: gcc -v >&5
+Using built-in specs.
+COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/gcc
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper
+Target: x86_64-pc-linux-gnu
+Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1-r1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1-r1 p1.4, pie-0.4.5'
+Thread model: posix
+gcc version 4.5.1 (Gentoo 4.5.1-r1 p1.4, pie-0.4.5)
+configure:3794: $? = 0
+configure:3783: gcc -V >&5
+gcc: '-V' option must have argument
+configure:3794: $? = 1
+configure:3783: gcc -qversion >&5
+gcc: unrecognized option '-qversion'
+gcc: no input files
+configure:3794: $? = 1
+configure:3814: checking whether the C compiler works
+configure:3836: gcc conftest.c >&5
+configure:3840: $? = 0
+configure:3889: result: yes
+configure:3892: checking for C compiler default output file name
+configure:3894: result: a.out
+configure:3900: checking for suffix of executables
+configure:3907: gcc -o conftest conftest.c >&5
+configure:3911: $? = 0
+configure:3933: result:
+configure:3955: checking whether we are cross compiling
+configure:3963: gcc -o conftest conftest.c >&5
+configure:3967: $? = 0
+configure:3974: ./conftest
+configure:3978: $? = 0
+configure:3993: result: no
+configure:3998: checking for suffix of object files
+configure:4020: gcc -c conftest.c >&5
+configure:4024: $? = 0
+configure:4045: result: o
+configure:4049: checking whether we are using the GNU C compiler
+configure:4068: gcc -c conftest.c >&5
+configure:4068: $? = 0
+configure:4077: result: yes
+configure:4086: checking whether gcc accepts -g
+configure:4106: gcc -c -g conftest.c >&5
+configure:4106: $? = 0
+configure:4147: result: yes
+configure:4164: checking for gcc option to accept ISO C89
+configure:4228: gcc -c conftest.c >&5
+configure:4228: $? = 0
+configure:4241: result: none needed
+configure:4297: checking for C compiler version
+configure:4333: result: 4.5.1
+configure:4338: checking if gcc accepts -pipe
+configure:4422: gcc -o conftest -pipe conftest.c >&5
+configure:4422: $? = 0
+configure:4458: result: -pipe
+configure:4613: checking if gcc accepts -ffunction-sections -fdata-sections
+configure:4697: gcc -o conftest -ffunction-sections -fdata-sections conftest.c >&5
+configure:4697: $? = 0
+configure:4733: result: -ffunction-sections -fdata-sections
+configure:4809: checking for g++
+configure:4825: found /usr/bin/g++
+configure:4836: result: g++
+configure:4863: checking for C++ compiler version
+configure:4872: g++ --version >&5
+g++ (Gentoo 4.5.1-r1 p1.4, pie-0.4.5) 4.5.1
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:4883: $? = 0
+configure:4872: g++ -v >&5
+Using built-in specs.
+COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/g++
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper
+Target: x86_64-pc-linux-gnu
+Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1-r1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1-r1 p1.4, pie-0.4.5'
+Thread model: posix
+gcc version 4.5.1 (Gentoo 4.5.1-r1 p1.4, pie-0.4.5)
+configure:4883: $? = 0
+configure:4872: g++ -V >&5
+g++: '-V' option must have argument
+configure:4883: $? = 1
+configure:4872: g++ -qversion >&5
+g++: unrecognized option '-qversion'
+g++: no input files
+configure:4883: $? = 1
+configure:4887: checking whether we are using the GNU C++ compiler
+configure:4906: g++ -c conftest.cpp >&5
+configure:4906: $? = 0
+configure:4915: result: yes
+configure:4924: checking whether g++ accepts -g
+configure:4944: g++ -c -g conftest.cpp >&5
+configure:4944: $? = 0
+configure:4985: result: yes
+configure:5043: checking for C++ compiler version
+configure:5079: result: 4.5.1
+configure:5086: checking how to treat C++ warnings as errors
+configure:5170: g++ -o conftest -Werror conftest.cpp >&5
+configure:5170: $? = 0
+configure:5206: result: -Werror
+configure:5211: checking how to enable C++ PIC generation
+configure:5295: g++ -o conftest -fPIC -Werror conftest.cpp >&5
+configure:5295: $? = 0
+configure:5297: grep fPIC conftest.err >/dev/null 2>&1
+configure:5300: $? = 1
+configure:5340: result: -fPIC
+configure:5408: checking for ld
+configure:5424: found /usr/bin/ld
+configure:5435: result: ld
+configure:5464: checking if binutils version >= 2.17
+configure:5582: result: yes (version 2.20.1.20100303)
+configure:5869: checking if -shared is accepted
+configure:5953: g++ -o conftest -shared -fPIC conftest.cpp >&5
+configure:5953: $? = 0
+configure:5955: grep shared conftest.err >/dev/null 2>&1
+configure:5958: $? = 1
+configure:5998: result: -shared -fPIC
+configure:6012: checking if -soname is accepted
+configure:6095: g++ -o conftest -Wl,-soname,foobar conftest.cpp >&5
+configure:6095: $? = 0
+configure:6128: result: yes
+configure:6263: checking if response files are accepted
+configure:6287: g++ -o conftest -Wl,@conf2129.resp conftest.cpp >&5
+configure:6287: $? = 0
+configure:6302: result: yes
+configure:6326: checking if --as-needed is supported
+configure:6410: g++ -o conftest -Wl,--as-needed conftest.cpp >&5
+configure:6410: $? = 0
+configure:6446: result: -Wl,--as-needed
+configure:6457: checking if --no-as-needed is supported
+configure:6541: g++ -o conftest -Wl,--no-as-needed conftest.cpp >&5
+configure:6541: $? = 0
+configure:6577: result: -Wl,--no-as-needed
+configure:6595: checking if --gc-sections is supported
+configure:6679: g++ -o conftest -Wl,--gc-sections conftest.cpp >&5
+configure:6679: $? = 0
+configure:6715: result: -Wl,--gc-sections
+configure:6737: checking if --large-address-aware is supported
+configure:6821: g++ -o conftest -Wl,--large-address-aware conftest.cpp >&5
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '--large-address-aware'
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
+collect2: ld returned 1 exit status
+configure:6821: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+|
+| int
+| main ()
+| {
+|
+| ;
+| return 0;
+| }
+configure:6857: result: no
+configure:6876: checking how to run the C preprocessor
+configure:6907: gcc -E conftest.c
+configure:6907: $? = 0
+configure:6921: gcc -E conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:6921: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:6946: result: gcc -E
+configure:6966: gcc -E conftest.c
+configure:6966: $? = 0
+configure:6980: gcc -E conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:6980: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7013: checking how to run the C++ preprocessor
+configure:7040: g++ -E conftest.cpp
+configure:7040: $? = 0
+configure:7054: g++ -E conftest.cpp
+conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:7054: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7079: result: g++ -E
+configure:7099: g++ -E conftest.cpp
+configure:7099: $? = 0
+configure:7113: g++ -E conftest.cpp
+conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:7113: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7205: checking for ranlib
+configure:7221: found /usr/bin/ranlib
+configure:7232: result: ranlib
+configure:7316: checking for dlltool
+configure:7346: result: no
+configure:7429: checking for dllwrap
+configure:7459: result: no
+configure:7545: checking for windres
+configure:7575: result: no
+configure:7658: checking for strings
+configure:7674: found /usr/bin/strings
+configure:7685: result: strings
+configure:7771: checking for objcopy
+configure:7787: found /usr/bin/objcopy
+configure:7798: result: objcopy
+configure:7829: checking whether objcopy supports --long-section-names
+configure:7836: objcopy --help 2>/dev/null | grep -e --long-section-names >/dev/null 2>&1
+configure:7839: $? = 0
+configure:7845: result: yes
+configure:7916: checking for libtool
+configure:7932: found /usr/bin/libtool
+configure:7943: result: libtool
+configure:7976: checking for libtool
+configure:7994: found /usr/bin/libtool
+configure:8006: result: /usr/bin/libtool
+configure:8015: checking classification of /usr/bin/libtool
+configure:8017: $LIBTOOL_PATH --version 1>&2
+libtool (GNU libtool) 2.4
+Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+configure:8020: $? = 0
+configure:8022: result: gnu
+configure:8154: checking for libtool
+configure:8172: found /usr/bin/libtool
+configure:8184: result: /usr/bin/libtool
+configure:8193: checking classification of /usr/bin/libtool
+configure:8195: $CS_LT_APPLE --version 1>&2
+libtool (GNU libtool) 2.4
+Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+configure:8198: $? = 0
+configure:8200: result: gnu
+configure:8223: checking how to create a directory
+configure:8230: result: mkdir
+configure:8235: checking how to create a directory tree
+configure:8247: result: mkdir -p
+configure:8352: checking for install
+configure:8368: found /usr/bin/install
+configure:8379: result: install
+configure:8396: checking whether ln -s works
+configure:8400: result: yes
+configure:8423: checking for texi2dvi
+configure:8439: found /usr/bin/texi2dvi
+configure:8450: result: texi2dvi
+configure:8478: checking for texi2pdf
+configure:8494: found /usr/bin/texi2pdf
+configure:8505: result: texi2pdf
+configure:8533: checking for dvips
+configure:8549: found /usr/bin/dvips
+configure:8560: result: dvips
+configure:8588: checking for dvipdf
+configure:8604: found /usr/bin/dvipdf
+configure:8615: result: dvipdf
+configure:8643: checking for makeinfo
+configure:8659: found /usr/bin/makeinfo
+configure:8670: result: makeinfo
+configure:8697: checking for doxygen
+configure:8713: found /usr/bin/doxygen
+configure:8724: result: doxygen
+configure:8797: checking for dot
+configure:8813: found /usr/bin/dot
+configure:8824: result: dot
+configure:8865: checking for flex
+configure:8881: found /usr/bin/flex
+configure:8892: result: flex
+configure:8920: checking for bison
+configure:8936: found /usr/bin/bison
+configure:8947: result: bison
+configure:8959: checking if bison version >= 1.35
+configure:9013: result: yes (version 4.2)
+configure:9086: checking for hhc
+configure:9116: result: no
+configure:9154: checking for swig
+configure:9170: found /usr/bin/swig
+configure:9181: result: swig
+configure:9193: checking if swig version >= 1.3.22
+configure:9263: result: yes (version 1.3.40)
+configure:9298: checking for rsvg
+configure:9314: found /usr/bin/rsvg
+configure:9325: result: rsvg
+configure:9354: checking for icotool
+configure:9384: result: no
+configure:9438: checking for convert
+configure:9454: found /usr/bin/convert
+configure:9465: result: convert
+configure:9496: checking for pngcrush
+configure:9526: result: no
+configure:9552: checking for makeicns
+configure:9582: result: no
+configure:9607: checking for png2icns
+configure:9637: result: no
+configure:9718: checking for relaytool
+configure:9736: found /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+configure:9748: result: /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+configure:9780: checking for bash
+configure:9807: result: /bin/sh
+configure:9887: checking for svn
+configure:9903: found /usr/bin/svn
+configure:9914: result: svn
+configure:9939: checking whether /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9 is an SVN checkout
+configure:9945: svn info /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9 > /dev/null
+svn: '/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9' is not a working copy
+configure:9948: $? = 1
+configure:9955: result: no
+configure:9998: checking for jam
+configure:10016: found /usr/bin/jam
+configure:10028: result: /usr/bin/jam
+configure:10040: checking if jam version >= 2.4
+configure:10110: result: yes (version 2.5.3)
+configure:10145: checking for gnumake
+configure:10175: result: no
+configure:10145: checking for gmake
+configure:10161: found /usr/bin/gmake
+configure:10172: result: gmake
+configure:10526: checking for grep that handles long lines and -e
+configure:10584: result: /bin/grep
+configure:10589: checking for egrep
+configure:10651: result: /bin/grep -E
+configure:10656: checking for ANSI C header files
+configure:10676: g++ -c conftest.cpp >&5
+configure:10676: $? = 0
+configure:10749: g++ -o conftest conftest.cpp >&5
+configure:10749: $? = 0
+configure:10749: ./conftest
+configure:10749: $? = 0
+configure:10760: result: yes
+configure:10773: checking for sys/types.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for sys/stat.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for stdlib.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for string.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for memory.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for strings.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for inttypes.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for stdint.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for unistd.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10788: checking cmath usability
+configure:10788: g++ -c conftest.cpp >&5
+configure:10788: $? = 0
+configure:10788: result: yes
+configure:10788: checking cmath presence
+configure:10788: g++ -E conftest.cpp
+configure:10788: $? = 0
+configure:10788: result: yes
+configure:10788: checking for cmath
+configure:10788: result: yes
+configure:10801: checking math.h usability
+configure:10801: g++ -c conftest.cpp >&5
+configure:10801: $? = 0
+configure:10801: result: yes
+configure:10801: checking math.h presence
+configure:10801: g++ -E conftest.cpp
+configure:10801: $? = 0
+configure:10801: result: yes
+configure:10801: checking for math.h
+configure:10801: result: yes
+configure:10814: checking ieeefp.h usability
+configure:10814: g++ -c conftest.cpp >&5
+conftest.cpp:54:20: fatal error: ieeefp.h: No such file or directory
+compilation terminated.
+configure:10814: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| /* end confdefs.h. */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| # include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| # include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| #include <ieeefp.h>
+configure:10814: result: no
+configure:10814: checking ieeefp.h presence
+configure:10814: g++ -E conftest.cpp
+conftest.cpp:21:20: fatal error: ieeefp.h: No such file or directory
+compilation terminated.
+configure:10814: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| /* end confdefs.h. */
+| #include <ieeefp.h>
+configure:10814: result: no
+configure:10814: checking for ieeefp.h
+configure:10814: result: no
+configure:10839: checking for fopen in -lc
+configure:10864: gcc -o conftest conftest.c -lc >&5
+configure:10864: $? = 0
+configure:10873: result: yes
+configure:10893: checking for pow in -lm
+configure:10918: gcc -o conftest conftest.c -lm -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'pow'
+configure:10918: $? = 0
+configure:10927: result: yes
+configure:10935: checking for cosf in -lm
+configure:10960: gcc -o conftest conftest.c -lm -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'cosf'
+configure:10960: $? = 0
+configure:10969: result: yes
+configure:10984: checking for cosf in -lmx
+configure:11009: gcc -o conftest conftest.c -lmx -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'cosf'
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmx
+collect2: ld returned 1 exit status
+configure:11009: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| /* end confdefs.h. */
+|
+| /* Override any GCC internal prototype to avoid an error.
+| Use char because int might match the return type of a GCC
+| builtin and then its argument prototype would still apply. */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char cosf ();
+| int
+| main ()
+| {
+| return cosf ();
+| ;
+| return 0;
+| }
+configure:11018: result: no
+configure:11038: checking for dlopen in -ldl
+configure:11063: gcc -o conftest conftest.c -ldl -lc >&5
+configure:11063: $? = 0
+configure:11072: result: yes
+configure:11089: checking for gethostbyname in -lnsl
+configure:11114: gcc -o conftest conftest.c -lnsl -lc >&5
+configure:11114: $? = 0
+configure:11123: result: yes
+configure:11152: checking for dladdr in -ldl
+configure:11177: gcc -o conftest conftest.c -ldl -lnsl -lc >&5
+configure:11177: $? = 0
+configure:11186: result: yes
+configure:11214: checking for pthread
+configure:11308: gcc -o conftest conftest.c -lnsl -lc >&5
+/tmp/ccvG70Qv.o: In function `main':
+conftest.c:(.text+0x2d): undefined reference to `pthread_create'
+conftest.c:(.text+0x43): undefined reference to `sem_init'
+conftest.c:(.text+0x4f): undefined reference to `sem_destroy'
+collect2: ld returned 1 exit status
+configure:11308: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| /* end confdefs.h. */
+| #include <pthread.h>
+| #include <semaphore.h>
+| void* worker(void* p) { (void)p; return p; }
+| int
+| main ()
+| {
+| pthread_t tid;
+| sem_t sem;
+| pthread_create(&tid, 0, worker, 0);
+| sem_init(&sem, 0, 0);
+| sem_destroy(&sem);
+| ;
+| return 0;
+| }
+configure:11308: gcc -o conftest conftest.c -lpthread -lnsl -lc >&5
+configure:11308: $? = 0
+configure:11341: result: yes
+configure:11481: checking for pthread recursive mutexes
+configure:11566: gcc -o conftest -DCS_MUTEX_FEATURE=PTHREAD_MUTEX_RECURSIVE -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+configure:11566: $? = 0
+configure:11596: result: PTHREAD_MUTEX_RECURSIVE
+configure:11626: checking for pthread_atfork support
+configure:11709: gcc -o conftest -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+configure:11709: $? = 0
+configure:11739: result: yes
+configure:11751: checking for pthread_setname_np support
+configure:11834: gcc -o conftest -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+/tmp/ccCjNFg3.o: In function `main':
+conftest.c:(.text+0x14): undefined reference to `pthread_setname_np'
+collect2: ld returned 1 exit status
+configure:11834: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| /* end confdefs.h. */
+| #include <pthread.h>
+| int
+| main ()
+| {
+| pthread_setname_np (0, "hello");
+| ;
+| return 0;
+| }
+configure:11864: result: no
+configure:11879: checking whether to link base g++ libraries statically
+configure:11888: result: no
+configure:12166: checking for RTLD_NOW
+configure:12249: gcc -o conftest conftest.c -ldl -lnsl -lc >&5
+configure:12249: $? = 0
+configure:12282: result: yes
+configure:12650: checking for perl5
+configure:12680: result: no
+configure:12650: checking for perl
+configure:12666: found /usr/bin/perl
+configure:12677: result: perl
+configure:13180: checking how to suppress C++ `long double' warnings
+configure:13300: result: no
+configure:13371: checking for python
+configure:13387: found /usr/bin/python
+configure:13398: result: python
+configure:13431: checking Python version
+configure:13443: python -c 'import sys, string; print string.join(map(str,sys.version_info[:2]),".")'
+configure:13446: 0 = 0
+configure:13444: result: 2.6
+configure:13453: checking for python SDK
+configure:13469: python -c 'import distutils.sysconfig; print "-I" + distutils.sysconfig.get_python_inc()'
+configure:13472: 0 = 0
+configure:13484: python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0,1)'
+configure:13487: 0 = 0
+configure:13490: python -c 'import sys; print sys.prefix'
+configure:13493: 0 = 0
+configure:13518: python -c 'import distutils.sysconfig; print (distutils.sysconfig.get_config_var("LIBS") or "")+" "+ (distutils.sysconfig.get_config_var("SYSLIBS") or "")'
+configure:13521: 0 = 0
+configure:13527: python -c 'import distutils.sysconfig; print (distutils.sysconfig.get_config_var("SO") or "")'
+configure:13530: 0 = 0
+configure:13535: result: yes
+configure:13576: checking if python SDK is usable
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -L/usr/lib64/python2.6/config -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -lpython2.6 -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+configure:13659: $? = 0
+configure:13692: result: yes
+configure:13873: checking for java
+configure:13891: found /home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+configure:13903: result: /home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+configure:13932: checking for javac
+configure:13962: result: /home/sed/.gentoo/java-config-2/current-user-vm/bin/javac
+configure:13992: checking for Java SDK
+configure:14005: $JAVAC conftest.java
+configure:14008: $? = 0
+configure:14038: CLASSPATH=. /home/sed/.gentoo/java-config-2/current-user-vm/bin/java conftest java.home
+configure:14041: 0 = 0
+configure:14064: CLASSPATH=. /home/sed/.gentoo/java-config-2/current-user-vm/bin/java conftest java.library.path
+configure:14067: 0 = 0
+configure:14090: result: yes
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_build=x86_64-unknown-linux-gnu
+ac_cv_c_compiler_gnu=yes
+ac_cv_cxx_compiler_gnu=yes
+ac_cv_env_CCC_set=
+ac_cv_env_CCC_value=
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=
+ac_cv_env_CFLAGS_value=
+ac_cv_env_CPPFLAGS_set=
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_CXXCPP_set=
+ac_cv_env_CXXCPP_value=
+ac_cv_env_CXXFLAGS_set=
+ac_cv_env_CXXFLAGS_value=
+ac_cv_env_CXX_set=
+ac_cv_env_CXX_value=
+ac_cv_env_LDFLAGS_set=
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBS_set=
+ac_cv_env_LIBS_value=
+ac_cv_env_XMKMF_set=
+ac_cv_env_XMKMF_value=
+ac_cv_env_build_alias_set=
+ac_cv_env_build_alias_value=
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_header_cmath=yes
+ac_cv_header_ieeefp_h=no
+ac_cv_header_inttypes_h=yes
+ac_cv_header_math_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_host=x86_64-unknown-linux-gnu
+ac_cv_lib_c_fopen=yes
+ac_cv_lib_dl_dladdr=yes
+ac_cv_lib_dl_dlopen=yes
+ac_cv_lib_m_cosf=yes
+ac_cv_lib_m_pow=yes
+ac_cv_lib_mx_cosf=no
+ac_cv_lib_nsl_gethostbyname=yes
+ac_cv_objext=o
+ac_cv_path_CS_LT_APPLE=/usr/bin/libtool
+ac_cv_path_EGREP='/bin/grep -E'
+ac_cv_path_GREP=/bin/grep
+ac_cv_path_JAM=/usr/bin/jam
+ac_cv_path_JAVA=/home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+ac_cv_path_JAVAC=/home/sed/.gentoo/java-config-2/current-user-vm/bin/javac
+ac_cv_path_LIBTOOL_PATH=/usr/bin/libtool
+ac_cv_path_ac_pt_RELAYTOOL=/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+ac_cv_prog_BASH=/bin/sh
+ac_cv_prog_BISON=bison
+ac_cv_prog_CONVERT=convert
+ac_cv_prog_CPP='gcc -E'
+ac_cv_prog_CXXCPP='g++ -E'
+ac_cv_prog_DOXYGEN=doxygen
+ac_cv_prog_DVIPDF=dvipdf
+ac_cv_prog_DVIPS=dvips
+ac_cv_prog_FLEX=flex
+ac_cv_prog_INSTALL=install
+ac_cv_prog_MAKE=gmake
+ac_cv_prog_MAKEINFO=makeinfo
+ac_cv_prog_PERL=perl
+ac_cv_prog_RSVG=rsvg
+ac_cv_prog_SWIG=swig
+ac_cv_prog_TEXI2DVI=texi2dvi
+ac_cv_prog_TEXI2PDF=texi2pdf
+ac_cv_prog_ac_ct_CC=gcc
+ac_cv_prog_ac_ct_CXX=g++
+ac_cv_prog_ac_ct_DOT=dot
+ac_cv_prog_ac_ct_LD=ld
+ac_cv_prog_ac_ct_LIBTOOL_TEST=libtool
+ac_cv_prog_ac_ct_OBJCOPY=objcopy
+ac_cv_prog_ac_ct_PYTHON=python
+ac_cv_prog_ac_ct_RANLIB=ranlib
+ac_cv_prog_ac_ct_STRINGS=strings
+ac_cv_prog_ac_ct_SUBVERSION=svn
+ac_cv_prog_cc_c89=
+ac_cv_prog_cc_g=yes
+ac_cv_prog_cxx_g=yes
+cs_cv_binutils_2_17=yes
+cs_cv_binutils_true_2_17=yes
+cs_cv_java_sdk=yes
+cs_cv_java_sdk_cflags='-I/home/sed/.gentoo/java-config-2/current-user-vm/include -I/home/sed/.gentoo/java-config-2/current-user-vm/include/linux -I/opt/sun-jdk-1.6.0.22/jre/include -I/opt/sun-jdk-1.6.0.22/jre/include/linux -I/opt/sun-jdk-1.6.0.22/jre/../include -I/opt/sun-jdk-1.6.0.22/jre/../include/linux'
+cs_cv_java_sdk_lflags='-L/home/sed/.gentoo/java-config-2/current-user-vm -L/opt/sun-jdk-1.6.0.22/jre -L/opt/sun-jdk-1.6.0.22/jre/.. -L/opt/sun-jdk-1.6.0.22/jre/lib/amd64/server -L/opt/sun-jdk-1.6.0.22/jre/lib/amd64 -L/opt/sun-jdk-1.6.0.22/jre/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib64 -L/lib64 -L/lib -L/usr/lib'
+cs_cv_java_sdk_libs=-ljvm
+cs_cv_libdl_libs=-ldl
+cs_cv_libm_libs=-lm
+cs_cv_objcopy_supports_long_section_names=yes
+cs_cv_prog_binutils_is_version=2.20.1.20100303
+cs_cv_prog_binutils_version_2_17_ok=yes
+cs_cv_prog_binutils_version_2_17_ok_annotated='yes (version 2.20.1.20100303)'
+cs_cv_prog_bison_is_version=4.2
+cs_cv_prog_bison_version_1_35_ok=yes
+cs_cv_prog_bison_version_1_35_ok_annotated='yes (version 4.2)'
+cs_cv_prog_cc_individual_sections='-ffunction-sections -fdata-sections'
+cs_cv_prog_cc_individual_sections_ok='-ffunction-sections -fdata-sections'
+cs_cv_prog_cc_pipe=-pipe
+cs_cv_prog_cc_pipe_ok=-pipe
+cs_cv_prog_cxx_ignore_long_double=
+cs_cv_prog_cxx_ignore_long_double_ok=no
+cs_cv_prog_cxx_pic=-fPIC
+cs_cv_prog_cxx_pic_ok=-fPIC
+cs_cv_prog_cxx_pic_werror=-Werror
+cs_cv_prog_cxx_pic_werror_ok=-Werror
+cs_cv_prog_jam_is_version=2.5.3
+cs_cv_prog_jam_version_2_4_ok=yes
+cs_cv_prog_jam_version_2_4_ok_annotated='yes (version 2.5.3)'
+cs_cv_prog_link_as_needed=-Wl,--as-needed
+cs_cv_prog_link_as_needed_ok=-Wl,--as-needed
+cs_cv_prog_link_gc_sections=-Wl,--gc-sections
+cs_cv_prog_link_gc_sections_ok=-Wl,--gc-sections
+cs_cv_prog_link_large_address_aware=
+cs_cv_prog_link_large_address_aware_ok=no
+cs_cv_prog_link_no_as_needed=-Wl,--no-as-needed
+cs_cv_prog_link_no_as_needed_ok=-Wl,--no-as-needed
+cs_cv_prog_link_respfile=yes
+cs_cv_prog_link_shared='-shared -fPIC'
+cs_cv_prog_link_shared_ok='-shared -fPIC'
+cs_cv_prog_link_soname=yes
+cs_cv_prog_link_soname_cflags=-Wl,-soname,foobar
+cs_cv_prog_link_soname_lflags=
+cs_cv_prog_link_soname_libs=
+cs_cv_prog_swig_is_version=1.3.40
+cs_cv_prog_swig_version_1_3_22_ok=yes
+cs_cv_prog_swig_version_1_3_22_ok_annotated='yes (version 1.3.40)'
+cs_cv_pybase=python2.6
+cs_cv_pybase_cflags='-I/usr/include/python2.6 '
+cs_cv_pybase_lflags_base=' -L/usr/lib64/python2.6'
+cs_cv_pybase_lflags_ext=' -L/usr/lib64/python2.6 -L/usr/lib64/python2.6/config'
+cs_cv_pybase_libs='-lpthread -ldl -lutil -lm'
+cs_cv_pybase_syslib=/usr/lib64/python2.6
+cs_cv_pybase_sysprefix=/usr
+cs_cv_pybase_sysprefix_lflags=' -L/usr/lib'
+cs_cv_python=yes
+cs_cv_python_cflags=-I/usr/include/python2.6
+cs_cv_python_ext=.so
+cs_cv_python_lflags=
+cs_cv_python_libs='-L/usr/lib64/python2.6 -lpython2.6 -lpthread -ldl -lutil -lm -lpthread'
+cs_cv_python_sdk=yes
+cs_cv_pyver=2.6
+cs_cv_shell_mkdir=mkdir
+cs_cv_shell_mkdir_p='mkdir -p'
+cs_cv_source_is_svn=no
+cs_cv_sys_pthread=yes
+cs_cv_sys_pthread_atfork=yes
+cs_cv_sys_pthread_cflags=
+cs_cv_sys_pthread_lflags=
+cs_cv_sys_pthread_libs=-lpthread
+cs_cv_sys_pthread_mutex_recursive=PTHREAD_MUTEX_RECURSIVE
+cs_cv_sys_pthread_setname_np=no
+cs_cv_sys_rtld_now=yes
+cs_cv_sys_rtld_now_cflags=
+cs_cv_sys_rtld_now_lflags=
+cs_cv_sys_rtld_now_libs=-ldl
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ANT=''
+APPLE_LIBTOOL=''
+BASH='/bin/sh'
+BISON='bison'
+CC='gcc'
+CFLAGS=''
+CONFIG_3DS=''
+CONFIG_ASOUND=''
+CONFIG_BFD=''
+CONFIG_CAIRO=''
+CONFIG_CAIROMM=''
+CONFIG_CAIROMM_1=''
+CONFIG_CAIROMM_1_0=''
+CONFIG_CAL3D=''
+CONFIG_CEGUI=''
+CONFIG_CEGUIBASE=''
+CONFIG_CG=''
+CONFIG_CGGL=''
+CONFIG_CPPUNIT=''
+CONFIG_FREETYPE2=''
+CONFIG_FREETYPE=''
+CONFIG_GTK=''
+CONFIG_GTKP_2_0=''
+CONFIG_JACKASYN=''
+CONFIG_JPEG=''
+CONFIG_LCMS=''
+CONFIG_LIB3DS=''
+CONFIG_LIB3DS_120=''
+CONFIG_LIBJPEG=''
+CONFIG_LIBMNG=''
+CONFIG_LIBPNG=''
+CONFIG_MNG=''
+CONFIG_ODE=''
+CONFIG_OGG=''
+CONFIG_PNG=''
+CONFIG_SPEEX=''
+CONFIG_VGVM=''
+CONFIG_VORBIS=''
+CONFIG_VORBISFILE=''
+CONFIG_WX=''
+CONFIG_X11=''
+CONFIG_XAW7=''
+CONFIG_XAW=''
+CONFIG_XCURSOR=''
+CONFIG_XEXT=''
+CONFIG_XRENDER=''
+CONFIG_XXF86VM=''
+CONFIG_Z=''
+CONFIG_ZLIB=''
+CONVERT='convert'
+CPP='gcc -E'
+CPPFLAGS=''
+CSLIBS_CONFIG=''
+CS_LT_APPLE='/usr/bin/libtool'
+CS_TOP_BUILDDIR='.'
+CS_TOP_SRCDIR='/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9'
+CXX='g++'
+CXXCPP='g++ -E'
+CXXFLAGS=''
+DEFS=''
+DLLTOOL=''
+DLLWRAP=''
+DOT='dot'
+DOXYGEN='doxygen'
+DVIPDF='dvipdf'
+DVIPS='dvips'
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP='/bin/grep -E'
+EXEEXT=''
+FLEX='flex'
+GREP='/bin/grep'
+HHC=''
+ICOTOOL=''
+INSTALL='install'
+JAM='/usr/bin/jam'
+JAVA='/home/sed/.gentoo/java-config-2/current-user-vm/bin/java'
+JAVAC='/home/sed/.gentoo/java-config-2/current-user-vm/bin/javac'
+LD='ld'
+LDFLAGS=''
+LIBOBJS=''
+LIBS='-lnsl -lc '
+LIBTOOL='/usr/bin/libtool'
+LIBTOOL_PATH='/usr/bin/libtool'
+LIBTOOL_TEST='libtool'
+LN_S='ln -s'
+LTLIBOBJS=''
+MAKE='gmake'
+MAKEICNS=''
+MAKEINFO='makeinfo'
+MKDIR='mkdir'
+MKDIRS='mkdir -p'
+OBJCOPY='objcopy'
+OBJEXT='o'
+PACKAGE_BUGREPORT='crystal-main@lists.sourceforge.net'
+PACKAGE_NAME='crystalspace'
+PACKAGE_STRING='crystalspace 1.9'
+PACKAGE_TARNAME='crystalspace'
+PACKAGE_URL=''
+PACKAGE_VERSION='1.9'
+PATH_SEPARATOR=':'
+PERL='perl'
+PKG_CONFIG=''
+PNG2ICNS=''
+PNGCRUSH=''
+PYTHON='python'
+RANLIB='ranlib'
+RELAYTOOL='/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool'
+RSVG='rsvg'
+SHELL='/bin/sh'
+STRINGS='strings'
+SUBVERSION='svn'
+SWIG='swig'
+TEXI2DVI='texi2dvi'
+TEXI2PDF='texi2pdf'
+TTREE=''
+WINDRES=''
+XMKMF=''
+X_CFLAGS=''
+X_EXTRA_LIBS=''
+X_LIBS=''
+X_PRE_LIBS=''
+ac_ct_CC='gcc'
+ac_ct_CSLIBS_CONFIG=''
+ac_ct_CXX='g++'
+ac_ct_DLLTOOL=''
+ac_ct_DLLWRAP=''
+ac_ct_DOT='dot'
+ac_ct_HHC=''
+ac_ct_LD='ld'
+ac_ct_LIBTOOL=''
+ac_ct_LIBTOOL_TEST='libtool'
+ac_ct_OBJCOPY='objcopy'
+ac_ct_PKG_CONFIG=''
+ac_ct_PYTHON='python'
+ac_ct_STRINGS='strings'
+ac_ct_SUBVERSION='svn'
+ac_ct_WINDRES=''
+bindir='${exec_prefix}/bin'
+build='x86_64-unknown-linux-gnu'
+build_alias=''
+build_cpu='x86_64'
+build_os='linux-gnu'
+build_vendor='unknown'
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+dvidir='${docdir}'
+exec_prefix='NONE'
+host='x86_64-unknown-linux-gnu'
+host_alias=''
+host_cpu='x86_64'
+host_os='linux-gnu'
+host_vendor='unknown'
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${datarootdir}/info'
+libdir='${exec_prefix}/lib'
+libexecdir='${exec_prefix}/libexec'
+localedir='${datarootdir}/locale'
+localstatedir='${prefix}/var'
+mandir='${datarootdir}/man'
+oldincludedir='/usr/include'
+pdfdir='${docdir}'
+prefix='NONE'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+sysconfdir='${prefix}/etc'
+target_alias=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+/* confdefs.h */
+#define PACKAGE_NAME "crystalspace"
+#define PACKAGE_TARNAME "crystalspace"
+#define PACKAGE_VERSION "1.9"
+#define PACKAGE_STRING "crystalspace 1.9"
+#define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+#define PACKAGE_URL ""
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_CMATH 1
+#define HAVE_MATH_H 1
+#define HAVE_LIBC 1
+#define HAVE_LIBNSL 1
+#define CS_PLATFORM_UNIX /**/
+
+configure: caught signal 13
+configure: exit 1
diff --git a/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild b/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild
new file mode 100644
index 0000000..fea439e
--- /dev/null
+++ b/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils flag-o-matic multilib java-pkg-opt-2 autotools wxwidgets versionator
+
+MY_P=${PN}-src-${PV}
+PATH_P=${PN}-$(get_version_component_range 1-2)
+
+DESCRIPTION="Portable 3D Game Development Kit written in C++"
+HOMEPAGE="http://crystal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/crystal/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="3ds alsa bullet cal3d cegui cg doc java jpeg mng ode png sdl speex truetype vorbis wxwidgets"
+
+SLOT="0"
+
+COMMON_DEP="virtual/opengl
+ media-libs/openal
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ ode? ( dev-games/ode )
+ cal3d? ( >=media-libs/cal3d-0.11 )
+ jpeg? ( media-libs/jpeg )
+ bullet? ( sci-physics/bullet )
+ sdl? ( media-libs/libsdl )
+ vorbis? ( media-libs/libvorbis )
+ speex? ( media-libs/libogg
+ media-libs/speex )
+ truetype? ( >=media-libs/freetype-2.1 )
+ alsa? ( media-libs/alsa-lib )
+ mng? ( media-libs/libmng )
+ png? ( media-libs/libpng )
+ wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] )
+ cegui? ( >=dev-games/cegui-0.5.0 )
+ 3ds? ( media-libs/lib3ds )"
+
+RDEPEND="${COMMON_DEP}
+ java? ( >=virtual/jre-1.5 )"
+
+DEPEND="${COMMON_DEP}
+ java? ( >=virtual/jdk-1.5
+ dev-java/ant-core )
+ dev-util/ftjam
+ dev-lang/swig
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # Installing doc conflict with dodoc on src_install
+ # Removing conflicting target
+ sed -i \
+ -e "/^InstallDoc/d" \
+ Jamfile.in \
+ docs/Jamfile \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-bullet.patch
+ AT_M4DIR=mk/autoconf
+ eautoreconf
+}
+
+src_configure() {
+ if use wxwidgets; then
+ WX_GTK_VER="2.8"
+ need-wxwidgets gtk2
+ fi
+
+ econf --enable-cpu-specific-optimizations=no \
+ --disable-separate-debug-info \
+ --without-lcms \
+ --without-caca \
+ --without-jackasyn \
+ --without-perl \
+ $(use_with java) \
+ --disable-make-emulation \
+ $(use_with bullet) \
+ --without-python \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with mng) \
+ $(use_with vorbis) \
+ $(use_with speex) \
+ $(use_with 3ds) \
+ $(use_with ode) \
+ $(use_with truetype freetype2) \
+ $(use_with cal3d) \
+ $(use_with sdl) \
+ $(use_with wxwidgets wx) \
+ $(use_with wxwidgets GTK) \
+ $(use_with cegui CEGUI) \
+ $(use_with cg Cg) \
+ $(use_with alsa asound)
+ #remove unwanted CFLAGS added by ./configure
+ sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \
+ Jamconfig \
+ || die "sed failed"
+}
+
+src_compile() {
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+ jam -q ${jamopts} || die "compile failed"
+}
+
+src_install() {
+ for installTarget in bin plugin lib include data config bindings
+ do
+ jam -q -s DESTDIR="${D}" install_${installTarget} \
+ || die "jam install_${installTarget} failed"
+ done
+ if use doc; then
+ jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
+ fi
+ dodoc README docs/history*
+
+ echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/${PATH_P}" > 90crystalspace
+ echo "CRYSTAL_CONFIG=/etc/${PATH_P}" >> 90crystalspace
+ doenvd 90crystalspace
+}
+
+pkg_postinst() {
+ elog "Examples coming with this package, need correct light calculation"
+ elog "Do the following commands, with the root account, to fix that:"
+ # Fill cache directory for the examples
+ local dir
+ for dir in castle flarge isomap parallaxtest partsys r3dtest stenciltest \
+ terrain terrainf;
+ do
+ elog "cslight -video=null /usr/share/${PATH_P}/data/maps/${dir}"
+ done
+}
diff --git a/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild b/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild
new file mode 100644
index 0000000..7b152d4
--- /dev/null
+++ b/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit autotools eutils flag-o-matic multilib java-pkg-opt-2 subversion wxwidgets versionator
+
+MY_PV=$(get_version_component_range 1-2)
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Portable 3D Game Development Kit written in C++"
+HOMEPAGE="http://www.crystalspace3d.org/"
+ESVN_REPO_URI="https://crystal.svn.sourceforge.net/svnroot/crystal/CS/trunk"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="3ds alsa bullet cal3d cegui cg debug doc java jpeg mng ode +optimize png profile python static-plugins speex truetype vorbis wxwidgets"
+
+SLOT="0"
+
+COMMON_DEP="virtual/opengl
+ media-libs/openal
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ ode? ( dev-games/ode )
+ cal3d? ( >=media-libs/cal3d-0.11 )
+ jpeg? ( media-libs/jpeg )
+ bullet? ( sci-physics/bullet )
+ vorbis? ( media-libs/libvorbis )
+ speex? ( media-libs/libogg
+ media-libs/speex )
+ truetype? ( >=media-libs/freetype-2.1 )
+ alsa? ( media-libs/alsa-lib )
+ mng? ( media-libs/libmng )
+ png? ( media-libs/libpng )
+ wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] )
+ cegui? ( >=dev-games/cegui-0.5.0 )
+ 3ds? ( media-libs/lib3ds )"
+
+RDEPEND="${COMMON_DEP}
+ java? ( >=virtual/jre-1.5 )"
+
+DEPEND="${COMMON_DEP}
+ java? ( >=virtual/jdk-1.5
+ dev-java/ant-core )
+ dev-lang/swig
+ dev-util/pkgconfig
+ dev-util/ftjam"
+
+S=${WORKDIR}/${MY_P}
+
+
+src_prepare() {
+ # As flags are managed by debug, optimize and profile USE flags,
+ # they need to be stripped first. If we do not do this, the calling
+ # lines grow so large, that jam segfaults.
+ strip-flags
+
+ # Installing doc conflict with dodoc on src_install
+ # Removing conflicting target
+ sed -i \
+ -e "/^InstallDoc/d" \
+ Jamfile.in \
+ docs/Jamfile \
+ || die "sed failed"
+
+ AT_M4DIR=mk/autoconf
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use wxwidgets ; then
+ WX_GTK_VER="2.8"
+ need-wxwidgets gtk2
+ fi
+
+ # debug profile and optimize are mutually exclusive
+ if use debug ; then
+ myconf="--enable-debug --disable-optimize --disable-profile"
+ if use optimize ; then
+ ewarn "debug version chosen, optimize USE flag ignored."
+ fi
+ if use profile ; then
+ ewarn "debug version chosen, profile USE flag ignored."
+ fi
+ elif use profile ; then
+ myconf="--disable-debug --disable-optimize --enable-profile"
+ if use optimize ; then
+ ewarn "profile version chosen, optimize USE flag ignored."
+ fi
+ elif use optimize ; then
+ myconf="--disable-debug --enable-optimize --disable-profile"
+ else
+ # optimize is the default anyway
+ myconf="--disable-debug --enable-optimize --disable-profile"
+ ewarn "optimize is the CS default and thus chosen."
+ fi
+
+ econf \
+ --without-lcms \
+ --without-jackasyn \
+ --with-x \
+ --with-mesa \
+ --disable-make-emulation \
+ --without-perl \
+ --with-python \
+ --disable-separate-debug-info \
+ --disable-optimize-mode-debug-info \
+ $(use_with java) \
+ $(use_with bullet) \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with mng) \
+ $(use_with vorbis) \
+ $(use_with speex) \
+ $(use_with 3ds) \
+ $(use_with ode) \
+ $(use_with truetype freetype2) \
+ $(use_with cal3d) \
+ $(use_with wxwidgets wx) \
+ $(use_with wxwidgets GTK) \
+ $(use_with cegui CEGUI) \
+ $(use_with cg Cg) \
+ $(use_with alsa asound) \
+ ${myconf} \
+ || die "configure failed."
+}
+
+src_compile() {
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+ jam -q ${jamopts} || die "compile failed (jam -q ${jamopts})"
+
+ if use static-plugins; then
+ jam -q ${jamopts} staticplugins \
+ || die "staticplugins compile failed (jam -q ${jamopts})"
+ fi
+}
+
+src_install() {
+ for installTarget in bin bindings config data include lib plugin
+ do
+ jam -q -s DESTDIR="${D}" install_${installTarget} \
+ || die "jam install_${installTarget} failed"
+ done
+ if use static-plugins; then
+ jam -q -s DESTDIR="${D}" install_staticplugins \
+ || die "jam install_staticplugins failed"
+ fi
+ if use doc; then
+ jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
+ fi
+
+ # As the target install_doc uses crystalspace-1.9 as target, but dodoc
+ # uses ${PF}, this said var has to be manipulated first.
+ local oldPF=${PF}
+ PF=${MY_P}
+ dodoc README docs/history*
+ PF=${oldPF}
+
+ echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/${MY_P}" > 90crystalspace
+ echo "CRYSTAL_CONFIG=/etc/${MY_P}" >> 90crystalspace
+ doenvd 90crystalspace
+}
+
+pkg_postinst() {
+ elog "Examples coming with this package, need correct light calculation"
+ elog "Do the following commands, with the root account, to fix that:"
+ # Fill cache directory for the examples
+ local dir
+ for dir in castle isomap parallaxtest r3dtest stenciltest terrain terrainf;
+ do
+ elog "lighter2 --simpletui /usr/share/${MY_P}/data/maps/${dir}"
+ done
+}
diff --git a/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch b/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch
new file mode 100644
index 0000000..2fd0f20
--- /dev/null
+++ b/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch
@@ -0,0 +1,12 @@
+--- configure.ac.old 2010-06-19 21:50:21.000000000 +0200
++++ configure.ac 2010-06-19 22:00:50.000000000 +0200
+@@ -1318,8 +1318,7 @@
+ btDefaultCollisionConfiguration* c;
+ btDynamicsWorld* world = new btDiscreteDynamicsWorld (d, b, s, c)])],
+ [], [C++], [], [],
+- [], [], [-lbulletdynamics -lbulletcollision -lbulletmath],
+- [bulletdynamics])
++ [])
+
+ AS_IF([test $cs_cv_libbullet = yes],
+ [CS_CHECK_BUILD([if bullet is sufficiently recent (>=2.68)], [cs_cv_bullet_recent],
diff --git a/dev-games/gigi/Manifest b/dev-games/gigi/Manifest
new file mode 100644
index 0000000..135b524
--- /dev/null
+++ b/dev-games/gigi/Manifest
@@ -0,0 +1,4 @@
+AUX unbundle-ltdl.patch 2512 RMD160 b8a50ac34f4d1fc735f651e52d7c55d944a427b9 SHA1 b5f18d9711032ac05b88712ac5a548a7463e47fe SHA256 17dfd37046ea8ada7c2f72ac38284ad44e71a8e6bcfe625d3d65b32934b69612
+EBUILD gigi-9999-r4.ebuild 2497 RMD160 bd0647921b7ae216f3c5a328ffd866bf36538f5c SHA1 4f2013992f9f1ce29b6f04ada5c207b6cca9550d SHA256 c0aeede84dbda27947df435c7439ed9e5e5978aae8e86ea4f237e259958846c7
+MISC gigi-9999-r4.ebuild~ 2496 RMD160 6d57d206440c62a43f8d52fa643ac57a00b3f227 SHA1 ee875b71c355012dde9c8c90502c3c2e24dc0b25 SHA256 0607ded47f64e6202fbf4659c91827a12a54bfd5dffc7cb073816cd4a1579bd3
+MISC metadata.xml 415 RMD160 c158a0812b6f6dc760faface5ef3a8e94c444ccb SHA1 84f75e762f70fbb024a76813fea16fee4edc9e90 SHA256 bb2af8072de4f8fd6e81aad8a88d5e26bf274c4609009325a1adfe939a6199a8
diff --git a/dev-games/gigi/files/unbundle-ltdl.patch b/dev-games/gigi/files/unbundle-ltdl.patch
new file mode 100644
index 0000000..c2ebdb9
--- /dev/null
+++ b/dev-games/gigi/files/unbundle-ltdl.patch
@@ -0,0 +1,69 @@
+Index: src/CMakeLists.txt
+===================================================================
+--- src/CMakeLists.txt (revision 812)
++++ src/CMakeLists.txt (working copy)
+@@ -43,8 +43,6 @@
+ dialogs/FileDlg.cpp
+ dialogs/ThreeButtonDlg.cpp
+
+- ../libltdl/ltdl.c
+-
+ adobe/adam.cpp
+ adobe/adam_evaluate.cpp
+ adobe/adam_parser.cpp
+@@ -157,13 +155,6 @@
+ )
+ endif ()
+
+-set_source_files_properties(${CMAKE_HOME_DIRECTORY}/libltdl/ltdl.c PROPERTIES COMPILE_DEFINITIONS HAVE_CONFIG_H=1)
+-execute_process(
+- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_HOME_DIRECTORY}/libltdl/ltdl.h ${CMAKE_HOME_DIRECTORY}/GG/ltdl.h
+- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_HOME_DIRECTORY}/libltdl/config.h ${CMAKE_HOME_DIRECTORY}/GG/ltdl_config.h
+-)
+-set_source_files_properties(${CMAKE_HOME_DIRECTORY}/GG/ltdl.h ${CMAKE_HOME_DIRECTORY}/GG/ltdl_config.h PROPERTIES GENERATED true)
+-
+-set(THIS_LIB_LINK_LIBS ${Boost_LIBRARIES} ${OPENGL_LIBRARIES} ${FREETYPE_LIBRARIES})
++set(THIS_LIB_LINK_LIBS ${Boost_LIBRARIES} ${OPENGL_LIBRARIES} ${FREETYPE_LIBRARIES} /usr/lib/libltdl.so)
+ if (USE_DEVIL)
+ list(APPEND THIS_LIB_LINK_LIBS ${IL_LIBRARY} ${ILUT_LIBRARY})
+Index: CMakeLists.txt
+===================================================================
+--- CMakeLists.txt (revision 812)
++++ CMakeLists.txt (working copy)
+@@ -224,36 +224,6 @@
+ ########################################
+ # Header Generation #
+ ########################################
+-if (NOT EXISTS ${CMAKE_HOME_DIRECTORY}/libltdl/config.h)
+- if (UNIX)
+- message("-- Configuring libltdl using \"libltdl/configure\" ...")
+- execute_process(
+- COMMAND ${CMAKE_HOME_DIRECTORY}/libltdl/configure
+- WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/libltdl
+- OUTPUT_QUIET
+- )
+- else ()
+- file(WRITE ${CMAKE_HOME_DIRECTORY}/libltdl/config.h
+- "/* WARNING: Generated by GG's build system. All local changes will be lost! */
+-#define error_t int
+-#define HAVE_STDIO_H 1
+-#define HAVE_STDLIB_H 1
+-#define HAVE_STRING_H 1
+-#define HAVE_CTYPE_H 1
+-#define HAVE_MEMORY_H 1
+-#define HAVE_ERRNO_H 1
+-#define __WIN32__
+-#define HAVE_MEMCPY 1
+-#define HAVE_MEMMOVE 1
+-#define LTDL_OBJDIR \".libs\"
+-#define LTDL_DLOPEN_DEPLIBS 1
+-#define LTDL_SHLIBPATH_VAR \"PATH\"
+-#define LTDL_SHLIB_EXT \".dll\"
+-"
+- )
+- endif ()
+-endif ()
+-
+ configure_file(
+ ${CMAKE_HOME_DIRECTORY}/cmake/Config.h.in
+ ${CMAKE_HOME_DIRECTORY}/GG/Config.h
diff --git a/dev-games/gigi/gigi-9999-r4.ebuild b/dev-games/gigi/gigi-9999-r4.ebuild
new file mode 100644
index 0000000..2f9a647
--- /dev/null
+++ b/dev-games/gigi/gigi-9999-r4.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit cmake-utils subversion
+
+DESCRIPTION="GiGi is an OpenGL interface library"
+HOMEPAGE="http://gigi.sourceforge.net"
+ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}/trunk"
+ESVN_PROJECT="${PN}"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug devil doc ogre ois +sdl static-libs +threads"
+
+SLOT="0"
+
+RDEPEND="
+ >=dev-libs/boost-1.44
+ media-libs/freetype
+ x11-libs/libX11
+ virtual/opengl
+ devil? ( >=media-libs/devil-1.6.1 )
+ !devil? (
+ media-libs/jpeg
+ media-libs/tiff
+ media-libs/libpng
+ )
+ ogre? (
+ || ( >=dev-games/ogre-1.4.7[threads=]
+ || ( threads? (
+ || ( >=dev-games/ogre-1.7.1[boost-threads]
+ >=dev-games/ogre-1.7.1[poco-threads]
+ >=dev-games/ogre-1.7.1[tbb-threads]
+ )
+ )
+ !threads? (
+ >=dev-games/ogre-1.7.1[-boost-threads,-poco-threads,-tbb-threads]
+ )
+ )
+ )
+ )
+ ois? ( dev-games/ois )
+ sdl? ( >=media-libs/libsdl-1.2 )
+"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/libtool:2
+ doc? ( app-doc/doxygen )
+"
+
+CMAKE_USE_DIR="${S}/GG"
+
+src_unpack() {
+ subversion_src_unpack
+}
+
+src_prepare() {
+ # remove libtool
+ cd "${CMAKE_USE_DIR}"
+ rm -rf libltdl/ || die "Removing libltdl directory failed"
+ # remove cmake calls to libtool
+ epatch "${FILESDIR}/unbundle-ltdl.patch"
+ # use system headers
+ sed -i \
+ -e "s:GG/ltdl.h:ltdl.h:" \
+ GG/PluginInterface.h || die "switching to system ltdl.h in GG/PluginInterface.h failed"
+ # Change deprecated /usr/doc/GG to /usr/share/doc/${P}
+ sed -i \
+ -e "s:doc/GG:doc/${P}:" \
+ CMakeLists.txt || die "changing doc/GG to doc/${P} failed"
+ sed -i \
+ -e "s:DESTINATION doc:DESTINATION share/doc:" \
+ CMakeLists.txt || die "changing /usr/doc to /usr/share/doc failed"
+ sed -i \
+ -e "s:HTML_OUTPUT\(.*\)= GG:HTML_OUTPUT\1= ${P}:" \
+ doc/Doxyfile || die "changing doxygen output from GG to ${P} failed"
+}
+
+src_configure() {
+ use ogre && use ois && mycmakeargs=( "-DBUILD_OGRE_OIS_PLUGIN=ON" ) || mycmakeargs=( "-DBUILD_OGRE_OIS_PLUGIN=OFF" )
+ mycmakeargs+=(
+ "-DBUILD_TUTORIALS=OFF"
+ $(cmake-utils_use_build debug)
+ $(cmake-utils_use devil)
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use_build ogre OGRE_DRIVER)
+ $(cmake-utils_use_build sdl SDL_DRIVER)
+ $(cmake-utils_use_build static-libs STATIC)
+ $(cmake-utils_use_build threads MULTI_THREADED)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/dev-games/gigi/metadata.xml b/dev-games/gigi/metadata.xml
new file mode 100644
index 0000000..0cccbc7
--- /dev/null
+++ b/dev-games/gigi/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>krytzz@soylent.eu</email>
+ <name>steffen stramm</name>
+</maintainer>
+<herd>games</herd>
+<use>
+ <flag name='devil'>Enable image loading via DevIL.</flag>
+ <flag name='ois'>Enable OIS support.</flag>
+ <flag name='ogre'>Enable OGRE support.</flag>
+</use>
+</pkgmetadata>
diff --git a/games-roguelike/tomenet/Manifest b/games-roguelike/tomenet/Manifest
new file mode 100644
index 0000000..6c37bac
--- /dev/null
+++ b/games-roguelike/tomenet/Manifest
@@ -0,0 +1,3 @@
+DIST tomenet-cvs-snapshot-100908.tar.bz2 2330681 RMD160 07e7e2d6b31efde85c35a0fb52f58fa43865632c SHA1 7c82bdd0ca3ed45eea52b19dc3cbea147305e0a5 SHA256 7910820058fe9d7caf2b3722972212c174c42489e5873bb72ff62b478dac1008
+EBUILD tomenet-100908.ebuild 1285 RMD160 2da39ef4d0013cbb42fc02d9b421b0d8fb95bafe SHA1 8c419101fa89c2fab54ecd26b136ea43d58278d4 SHA256 d950e3076b0b7aedba7118ce80728f46e88c0a475c5a900ff71ae768fba82a44
+MISC tomenet-100908.ebuild~ 1395 RMD160 7c4058aa2772bccfffab1474f349b7530522620d SHA1 f30093110002c798d31428b62ce54b57447c8150 SHA256 3685ef5bfb91de41bd6df1466f359b88d72b9db7a17963887f347119d69304da
diff --git a/games-roguelike/tomenet/tomenet-100908.ebuild b/games-roguelike/tomenet/tomenet-100908.ebuild
new file mode 100644
index 0000000..b6bd981
--- /dev/null
+++ b/games-roguelike/tomenet/tomenet-100908.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit games
+
+DESCRIPTION="A MMORPG based on the works of J.R.R. Tolkien"
+HOMEPAGE="http://www.tomenet.net/"
+SRC_URI="http://angband.oook.cz/${PN}-nightly/${PN}-cvs-snapshot-${PV}.tar.bz2"
+
+LICENSE="Moria"
+KEYWORDS="x86 amd64"
+IUSE="X Xaw3d"
+
+SLOT="0"
+
+DEPEND="sys-libs/ncurses
+ X? ( x11-libs/libX11 )
+ Xaw3d? ( x11-libs/libXaw )"
+
+S=${WORKDIR}/${PN}/src
+
+src_prepare() {
+ sed -i \
+ -e '/^CC =/d' \
+ makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ local GENTOO_DEFINES="-DUSE_GCU "
+ local GENTOO_LIBS="-lncurses -lcrypt -lm"
+
+ if use Xaw3d; then
+ GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_XAW"
+ elif use X; then
+ GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_X11"
+ fi
+ if use X; then
+ GENTOO_LIBS="${GENTOO_LIBS} -lX11"
+ fi
+ if use Xaw3d; then
+ GENTOO_LIBS="${GENTOO_LIBS} -lXaw"
+ fi
+ emake CFLAGS="${CFLAGS} ${GENTOO_DEFINES} -Iserver -Iserver/lua" \
+ LIBS="${GENTOO_LIBS}" tomenet \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ dodoc ../{ChangeLog,TomeNET-Guide.txt,changes.txt}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "To start playing right away:"
+ elog "$ tomenet totem.ielf.org"
+}
diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest
new file mode 100644
index 0000000..288b330
--- /dev/null
+++ b/games-strategy/freeorion/Manifest
@@ -0,0 +1,3 @@
+EBUILD freeorion-9999-r5.ebuild 2829 RMD160 ddbb4bb5ac6b03e36dbcbe8fba9f489d3286cbd8 SHA1 dbdd4eb8e819b9262ae145155e481a3794645a3b SHA256 4a550b9a6a11c38f58e26030c45ae9d6093e65b8d94b13feec321548933fe566
+MISC freeorion-9999-r5.ebuild~ 2828 RMD160 f03d3a3e751a11d982f413db6275e05206dcda81 SHA1 460f18911821a0bd66ff2a489833815f97db85d4 SHA256 0235b077a9290b4f357836e775acbbc9b0b11062de836e557a69081382a1670d
+MISC metadata.xml 289 RMD160 1ddd83f6157c2a67fe8d507cdfaa68f4ca00c634 SHA1 9c3f17b83bfd9097e844e7d5e6102a6179ec6350 SHA256 0a23813a0270aa7139c3c527e15b1b367a1509f2a98903aec2fe2d2496bacf99
diff --git a/games-strategy/freeorion/freeorion-9999-r5.ebuild b/games-strategy/freeorion/freeorion-9999-r5.ebuild
new file mode 100644
index 0000000..477574d
--- /dev/null
+++ b/games-strategy/freeorion/freeorion-9999-r5.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit cmake-utils games subversion
+
+DESCRIPTION="FreeOrion is a free and open source clone of Master Of Orion"
+HOMEPAGE="http://www.freeorion.org"
+ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}/trunk"
+ESVN_PROJECT="${PN}"
+
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cg debug threads xml"
+
+SLOT="0"
+
+RDEPEND="
+ dev-games/gigi[ogre,threads=]
+ || ( threads? ( >=dev-games/ogre-1.7.1[boost,cg=,boost-threads] )
+ !threads? ( >=dev-games/ogre-1.7.1[boost,cg=,-boost-threads] )
+ )
+ <dev-lang/python-3
+ || ( dev-libs/boost:1.44
+ dev-libs/boost:1.45
+ )
+ media-gfx/graphviz
+ media-libs/freealut
+ >=media-libs/libogg-1.1.3
+ >=media-libs/libsdl-1.2
+ >=media-libs/libvorbis-1.1.2
+ media-libs/openal
+ sci-physics/bullet
+ sys-devel/libtool
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+CMAKE_USE_DIR="${S}/FreeOrion"
+
+src_prepare() {
+ # Let's make the autorevision work.
+ subversion_wc_info
+ sed -i -e \
+ "s:svn_revision_number ???:svn_revision_number ${ESVN_WC_REVISION}:" \
+ FreeOrion/CMakeLists.txt || die "sed FreeOrion/CMakeLists.txt failed"
+}
+
+src_configure() {
+ # Due to the testing nature of gigi and freeorion,
+ # and all the ogre+boost stuff, flags should be filtered:
+ strip-flags
+
+ # Type-Pun pointers always break strict aliasing rules,
+ # and this thing is full of those
+ append-flags -fno-strict-aliasing
+
+ # using xml serialization seems to break on linker level with
+ # boost-1.45. For this the new xml USE flag will switch to
+ # binary archives if -xml is used:
+ use xml || sed -i -e \
+ "s:define FREEORION_BINARY_SERIALIZATION 0:define FREEORION_BINARY_SERIALIZATION 1:" \
+ FreeOrion/util/Serialize.h || die "sed FreeOrion/util/Serialize.h failed"
+
+ local mycmakeargs+=(
+ $(cmake-utils_use_enable debug DEBUG)
+ $(cmake-utils_use_build debug DEBUG)
+ )
+
+ mycmakeargs+=(
+ "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}/${PN}"
+ "-DCMAKE_INSTALL_ICONDIR=${GAMES_DATADIR_BASE}/pixmaps/"
+ "-DCMAKE_INSTALL_DESKTOPDIR=${GAMES_DATADIR_BASE}/applications/"
+ "-DCMAKE_DOC_DIR=/usr/share/doc/${PF}"
+ "-DCMAKE_MAN_DIR=/usr/share/man"
+ "-DCMAKE_DATA_DIR=${GAMES_DATADIR}"
+ "-DCMAKE_DATA_PATH=${GAMES_DATADIR}"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ## This is a rather wild thing, but I can't think of a quicker way right now:
+ # Add ogre_plugins config:
+
+ OGRECFG="${D}/${GAMES_PREFIX}/${PN}/ogre_plugins.cfg"
+ cat > ${OGRECFG} <<EOF
+# Plugin folder
+PluginFolder=/usr/lib64/OGRE
+# Plugins
+Plugin=RenderSystem_GL
+Plugin=Plugin_ParticleFX
+Plugin=Plugin_OctreeSceneManager
+EOF
+
+ ## Extra-Plugin with cg enabled:
+ use cg && echo "Plugin=Plugin_CgProgramManager" >> ${OGRECFG}
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeorion/metadata.xml b/games-strategy/freeorion/metadata.xml
new file mode 100644
index 0000000..a52a84c
--- /dev/null
+++ b/games-strategy/freeorion/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>playboys</herd>
+ <use>
+ <flag name="xml">Do all serialization using xml archives. Otherwise, binary archives will be used.</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-strategy/glfrontier/Manifest b/games-strategy/glfrontier/Manifest
new file mode 100644
index 0000000..7534a95
--- /dev/null
+++ b/games-strategy/glfrontier/Manifest
@@ -0,0 +1,4 @@
+DIST frontvm-audio-20060222.tar.bz2 4623648 RMD160 2261dbcdcff0882d1c1870af41b16bbe967c32ea SHA1 ba7bab4235f0ba09b7d4b801ae55ead04ae61da0 SHA256 e759e587047abd6f041aea4ef339e404b3ca5a6407acf65084a2af79a75ceb87
+DIST frontvm3-20060623.tar.bz2 426463 RMD160 0c6f0c25cb1fa048aa9be240e37386c9d2e1e3d5 SHA1 5f046cf2428444c0316afcb3628f6747c4493bd1 SHA256 9b6c04e8dad75bea11cce459515c7d5983276e23dba4a4764f1084d4810c0afb
+EBUILD glfrontier-20060623-r2.ebuild 1110 RMD160 a6dfbc404d1b788909ae81d977854182c92153a4 SHA1 000263db8f9452ac6fe1d808b90387bad1c72fbd SHA256 98b4006fc735d1cbf3e8044a21691b28d924c8680f9824d81729a31df63ac380
+MISC glfrontier-20060623-r2.ebuild~ 1107 RMD160 f54facbfbddc7a5a8ceec827939bb93c34c46bdd SHA1 b56eadd2f25aafb5e84d413986fdf95d8cc61897 SHA256 ff512b70bdf46c56970909cff15a82a9904d863cf63f6a6d77c212e4e36f164c
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild
new file mode 100644
index 0000000..92cf230
--- /dev/null
+++ b/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit games
+
+MY_PN=glfrontier
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Frontier: Elite 2 with OpenGL support"
+HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
+
+SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2
+ http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
+
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+RDEPEND=">=media-libs/freeglut-2.6
+ media-libs/libsdl
+ media-libs/libogg"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_compile() {
+ cd ${S}/frontvm3-20060623
+ make -f Makefile-C || die "make install failed"
+}
+
+src_install() {
+ mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN}
+
+ insinto /opt/${MY_PN}
+ doins ${S}/frontvm3-20060623/${MY_PN}
+ doins ${S}/frontvm3-20060623/fe2.s.bin
+ doins -r ${S}/frontvm-audio-20060222/*
+
+ chgrp -R games ${D}/opt/${MY_PN}
+ chmod g+x ${D}/opt/${MY_PN}/${MY_PN}
+
+ make_desktop_entry /opt/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/opt/${MY_PN}
+ prepgamesdirs
+}
diff --git a/games-strategy/seven-kingdoms/Manifest b/games-strategy/seven-kingdoms/Manifest
new file mode 100644
index 0000000..b90ab1a
--- /dev/null
+++ b/games-strategy/seven-kingdoms/Manifest
@@ -0,0 +1,5 @@
+AUX 7kaa.png 2679 RMD160 31f4cca441e3bfd4b19fd8a735d97891d081dda9 SHA1 236cf22e87577a12806de3f05a82511d80a61247 SHA256 09be1470c5643d8a492755267742397fbe8c80d64839bf686b6c62543353a959
+DIST 7kaa-data-2.13.tar.bz2 37107989 RMD160 a5e3ebbdd2c56269ffff6655fb2d14c4f900b516 SHA1 1283c5fa8545654fc45de39229afb6c7149a39d0 SHA256 b02052502b382dd78fdabaef0b378c0a3e85d91fe21fb067d47d1ebfe02d4294
+DIST 7kaa-source-2.14.3.tar.bz2 1181479 RMD160 84bcc723a63f684047962a4bb03a85e07a9ad946 SHA1 0926383fc32ad0b0af780edf575fb170a00c8d30 SHA256 9d3ba6e4d72495cf83eec922714f818c68974e9ad62e934608676d93a4b48aef
+EBUILD seven-kingdoms-2.14.3-r1.ebuild 2723 RMD160 257895345e6cd38ba70e4bba1ba0520bfca8c563 SHA1 3eca98fedd983ca7c0a0e7ad8e7b8b6dcd2e1a16 SHA256 6911b4850a295693fb641bd2fb91f2e02747e741480707636806db5d05fc8b47
+MISC seven-kingdoms-2.14.3-r1.ebuild~ 2722 RMD160 c27b0cedef8bf906179b555eb4332a6330c80d5d SHA1 12686be8226cb388c72117df284de33e244f78fe SHA256 24425171288da33277e5a8ffcbfce4bff4fb9c3c954dd2af099610898288cac2
diff --git a/games-strategy/seven-kingdoms/files/7kaa.png b/games-strategy/seven-kingdoms/files/7kaa.png
new file mode 100644
index 0000000..b23d95c
--- /dev/null
+++ b/games-strategy/seven-kingdoms/files/7kaa.png
Binary files differ
diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3-r1.ebuild b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3-r1.ebuild
new file mode 100644
index 0000000..0218cab
--- /dev/null
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit autotools games
+
+MY_P="7kaa-${PV}"
+MY_DATA_DIR="7kaa"
+MY_DATA="${MY_DATA_DIR}-data-2.13.tar.bz2"
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries game from Enlight, now released with the GPL license."
+HOMEPAGE="http://7kfans.com/"
+SRC_URI="mirror://sourceforge/skfans/7kaa-source-${PV}.tar.bz2
+ mirror://sourceforge/skfans/${MY_DATA}"
+RESTRICT="mirror"
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+DEPEND="
+ >sys-devel/gcc-4.0
+ sys-devel/autoconf
+ media-gfx/icoutils"
+RDEPEND="
+ =media-libs/libsdl-1.2*
+ =media-libs/sdl-net-1.2*
+ media-libs/openal"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( COPYING README )
+
+src_prepare() {
+ eautoreconf
+ # Note: what about game data?
+}
+
+src_configure() {
+ egamesconf
+ egamesconf \
+ --without-directx \
+ --without-wine \
+ --program-suffix=".bin" \
+ --datadir="${GAMES_DATADIR}/${MY_DATA_DIR}"
+}
+
+src_install() {
+ local MY_TGT="${GAMES_DATADIR}/${MY_DATA_DIR}"
+
+ emake DESTDIR="${D}" install || die 'emake install failed.'
+ dodoc ${DOCS[@]} || die 'dodoc failed.'
+
+ # We have to manually install the game data:
+ dodir "${MY_TGT}"
+ for dir in $(find "${WORKDIR}/${MY_DATA_DIR}" -mindepth 1 -maxdepth 1 -type d) ; do
+ echo -n "copying ${dir}"
+ cp -r "${dir}" "${D}${MY_TGT}"/ || die " ... failed"
+ echo " done"
+ done
+
+ icotool -x ${S}/src/client/7k.ico -o ${S}/7kaa.png
+ doicon "${S}/7kaa.png"
+
+ games_make_wrapper 7kaa "${GAMES_BINDIR}/7kaa.bin" "${MY_TGT}"
+ make_desktop_entry 7kaa "Seven Kingdoms" 7kaa "Game;StrategyGame" "Path=${MY_TGT}"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ elog "What you will NOT find in this archive"
+ elog "---------"
+ elog "* The original game music. These files cannot be distributed as Enlight"
+ elog " does not own the copyright. This includes the music directory and the"
+ elog " intro video."
+ elog "* The original translations resource file. This file was created by third"
+ elog " party distributors and Enlight does not have the right to distribute it."
+ elog " This will be replaced by the 7kfans project."
+ elog "* Any other content from original game CDs, including the version 2.12b"
+ elog " game binary or older. This also includes the I*Magic Online service."
+ echo
+ elog "Please do not upload missing content from the original game to the"
+ elog "internet. It is very nice that Enlight has provided the game under the"
+ elog "GPL, but this does not allow you to now violate the rights of other"
+ elog "copyright owners."
+ echo
+ elog "If you really do want to get the music from the original game, you can"
+ elog "still buy Seven Kingdoms for $6 at GoG.com."
+ echo
+ games_pkg_postinst
+}
diff --git a/media-gfx/nvidia-cg-toolkit/Manifest b/media-gfx/nvidia-cg-toolkit/Manifest
new file mode 100644
index 0000000..dc05463
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/Manifest
@@ -0,0 +1,4 @@
+DIST Cg-3.0_July2010_x86.tgz 19662219 RMD160 271b758fc59a6eb343ea3ecd0d87295529b2bd17 SHA1 522e47c4cef7ec659503323bbb915adda449f606 SHA256 ce68db5c98bd9b831dee7508edc80a512fed3cacc14b654f08dce04b8087c5c8
+DIST Cg-3.0_July2010_x86_64.tgz 20733994 RMD160 90cee7f0ced3c04bccb384cbce0c6dbdc6b02f0a SHA1 4c71bcda694880ca4c89e145d9e90c3d96897a33 SHA256 5e48ca1a7e52133354aeb8c051cf032f5c712a4c74b58ba8e98044a255f0c49b
+EBUILD nvidia-cg-toolkit-3.0.0000.ebuild 1124 RMD160 3bbe4e3dfd82f3cfc49811025d57744bc30932e2 SHA1 d14c9c0ba696e2fcb41dca816a2e2ab5c35cff6e SHA256 bd2198636b3272fe1bb2850da406ed309df5be5df79c7638ca0b6d0f8461039f
+MISC nvidia-cg-toolkit-3.0.0000.ebuild~ 1246 RMD160 a493d25cfde3cb530a9971c91d16f501a20a1e93 SHA1 7daf3d1374827c0b0c715ac050b2bb4e1d7221c8 SHA256 70fb081e270ac9c75602ae0845182e65a616d8757e4bb8d6edf7b0ce5204c3fb
diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0000.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0000.ebuild
new file mode 100644
index 0000000..d4f4d6f
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0000.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator
+
+MY_PV="$(get_version_component_range 1-2)"
+MY_DATE="July2010"
+DESCRIPTION="NVIDIA's C graphics compiler toolkit"
+HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html"
+SRC_URI="x86? ( http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz )
+ amd64? ( http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz )"
+
+LICENSE="NVIDIA"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+SLOT="0"
+
+RDEPEND="media-libs/freeglut"
+
+S=${WORKDIR}
+
+DEST=/opt/${PN}
+
+src_install() {
+ into ${DEST}
+ dobin usr/bin/cgc || die
+ dosym ${DEST}/bin/cgc /opt/bin/cgc || die
+
+ exeinto ${DEST}/lib
+ if use x86 ; then
+ doexe usr/lib/* || die
+ elif use amd64 ; then
+ doexe usr/lib64/* || die
+ fi
+
+ doenvd "${FILESDIR}"/80cgc-opt
+
+ insinto ${DEST}/include/Cg
+ doins usr/include/Cg/*
+ dosym ${DEST}/include/Cg /usr/include/Cg
+
+ insinto ${DEST}/man/man3
+ doins usr/share/man/man3/*
+
+ insinto ${DEST}
+ doins -r usr/local/Cg/{docs,examples,README}
+}
diff --git a/media-libs/jbig2enc/Manifest b/media-libs/jbig2enc/Manifest
new file mode 100644
index 0000000..6ed6211
--- /dev/null
+++ b/media-libs/jbig2enc/Manifest
@@ -0,0 +1,3 @@
+AUX local_to_gentoo_makefile.diff 1264 RMD160 d9cfd87e257394db8c561cbd8dc372da35bed89e SHA1 df07f5e9c2fd084e4d7fff95151fe0dea1868fc3 SHA256 49ee30fd8c2509dc1c5422640b909f926502f3ac416fd198011f4e6293af4597
+EBUILD jbig2enc-0.26_pre9999.ebuild 929 RMD160 39eea874dfcc22943d00bfbc4ad1bb637293b44a SHA1 8a9c10ec86dfd4a285a08e49a736508576c2ea16 SHA256 20a9b80473607617c6a0616d05c1acf42f29529e1d1fbe299728f2a7af42fb7b
+MISC jbig2enc-0.26_pre9999.ebuild~ 927 RMD160 9c8a0db0e39ff6cb5d659307e535c4b202ef266e SHA1 f4ebe63b5197819a9fd0f6f411257ef2ebaa5cf7 SHA256 de0712e82fa88eaf174f184f11d84034bf5e2bd2c8296027f07a15fea9c19a8d
diff --git a/media-libs/jbig2enc/files/local_to_gentoo_makefile.diff b/media-libs/jbig2enc/files/local_to_gentoo_makefile.diff
new file mode 100644
index 0000000..3309d66
--- /dev/null
+++ b/media-libs/jbig2enc/files/local_to_gentoo_makefile.diff
@@ -0,0 +1,30 @@
+--- Makefile.old 2011-02-09 15:16:03.057306516 +0100
++++ Makefile 2011-02-09 15:24:47.773973182 +0100
+@@ -1,21 +1,21 @@
+ CC=g++
+-LEPTONICA=../leptonlib-1.67
++LEPTONICA=/usr/include/leptonica
+ # For example, a fink MacOSX install:
+ # EXTRA=-I/sw/include/ -I/sw/include/libpng -I/sw/include/libjpeg -L/sw/lib
+-CFLAGS=-I${LEPTONICA}/src -Wall -I/usr/include -L/usr/lib -O3 ${EXTRA}
++LOCALFLAGS=-I${LEPTONICA} -Wall -I/usr/include -L/usr/lib
+
+ jbig2: libjbig2enc.a jbig2.cc
+- $(CC) -o jbig2 jbig2.cc -L. -ljbig2enc ${LEPTONICA}/src/.libs/liblept.a $(CFLAGS) -lpng -ljpeg -ltiff -lm -lz
++ $(CC) -o jbig2 jbig2.cc -L. -ljbig2enc $(LOCALFLAGS) $(LDFLAGS) -llept -lpng -ljpeg -ltiff -lm -lz
+
+ libjbig2enc.a: jbig2enc.o jbig2arith.o jbig2sym.o
+ ar -rcv libjbig2enc.a jbig2enc.o jbig2arith.o jbig2sym.o
+
+ jbig2enc.o: jbig2enc.cc jbig2arith.h jbig2sym.h jbig2structs.h jbig2segments.h
+- $(CC) -c jbig2enc.cc $(CFLAGS)
++ $(CC) -c jbig2enc.cc $(LOCALFLAGS) $(CFLAGS)
+ jbig2arith.o: jbig2arith.cc jbig2arith.h
+- $(CC) -c jbig2arith.cc $(CFLAGS)
++ $(CC) -c jbig2arith.cc $(LOCALFLAGS) $(CFLAGS)
+ jbig2sym.o: jbig2sym.cc jbig2arith.h
+- $(CC) -c jbig2sym.cc -DUSE_EXT $(CFLAGS)
++ $(CC) -c jbig2sym.cc -DUSE_EXT $(LOCALFLAGS) $(CFLAGS)
+
+ clean:
+ rm -f *.o jbig2 libjbig2enc.a
diff --git a/media-libs/jbig2enc/jbig2enc-0.26_pre9999.ebuild b/media-libs/jbig2enc/jbig2enc-0.26_pre9999.ebuild
new file mode 100644
index 0000000..546c867
--- /dev/null
+++ b/media-libs/jbig2enc/jbig2enc-0.26_pre9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit git
+
+DESCRIPTION="jbig2enc is an encoder for JBIG2"
+HOMEPAGE="https://github.com/agl/jbig2enc"
+EGIT_REPO_URI="https://github.com/agl/jbig2enc.git"
+SRC_URI=""
+
+LICENSE="Leptonica"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+RDEPEND="
+ ~media-libs/leptonica-0.67
+ virtual/jpeg
+ media-libs/libpng
+ media-libs/tiff
+"
+DEPEND="${DEPEND} ${RDEPEND}"
+
+src_prepare() {
+ # The makefile is written for local usage and has to be
+ # adapted to system usage (or rewritten...) :
+ epatch "${FILESDIR}/local_to_gentoo_makefile.diff" \
+ || die "epatch failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin jbig2
+ dolib.a libjbig2enc.a
+ dodoc LEPTONICA_VERSION PATENTS README
+ insinto /usr/include/jbig2enc
+ doins jbig2arith.h jbig2enc.h jbig2segments.h jbig2structs.h jbig2sym.h
+}
diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest
new file mode 100644
index 0000000..13d755d
--- /dev/null
+++ b/media-libs/leptonica/Manifest
@@ -0,0 +1,4 @@
+AUX leptonica-build-shared.diff 1123 RMD160 e4b621c406d143214d2d0c8cb4ff7fa6173ede25 SHA1 9dc0b648e4c6cea27eb4108652ce12e36360a759 SHA256 e382e206797fb179cf2fecb38a89f40257f2879e27bea614d460a0fc61dc76e7
+DIST leptonlib-1.67.tar.gz 6618905 RMD160 0b0d9e9055400376239e74b9b13036857bc90ab4 SHA1 3240ae930784b79eb75058cf8cd0d02baa9627e8 SHA256 708ee1792835bc6bbf5ed254d439c42de87e44660c83e102491fa5a3f7f04227
+EBUILD leptonica-1.67.ebuild 1196 RMD160 52110179a6b8347e168a2b48f3840d19a5b43e43 SHA1 4cd7055124275dc5f45fbe062936c5f7f8d7a638 SHA256 ac864c08184511d27ca9591669e744e191360a5654db1b0746750f5e62ccfe69
+MISC leptonica-1.67.ebuild~ 1287 RMD160 108442a37dff1d2c5602262a97c797797c0d4698 SHA1 66e03b96586e78e3287446f3cdd221fc6f9092a2 SHA256 fbecb49d6e0d1e7b944196ee5376736014aa7eaad1593c767a700b00b371318d
diff --git a/media-libs/leptonica/files/.svn/entries b/media-libs/leptonica/files/.svn/entries
new file mode 100644
index 0000000..1056875
--- /dev/null
+++ b/media-libs/leptonica/files/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+11759
+svn://overlays.gentoo.org/proj/sunrise/reviewed/media-libs/leptonica/files
+svn://overlays.gentoo.org/proj/sunrise
+
+
+
+2009-12-19T17:58:40.109496Z
+9749
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608f7e-a915-0410-b2f3-ce240db1b126
+
+leptonica-build-shared.diff
+file
+
+
+
+
+2011-02-01T12:32:42.516666Z
+b3470e5bfe7be07fd0087bbceea0d755
+2009-12-19T17:58:40.109496Z
+9749
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1123
+
diff --git a/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base b/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base
new file mode 100644
index 0000000..e326373
--- /dev/null
+++ b/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base
@@ -0,0 +1,32 @@
+Simple patch to build shared library using autotools.
+Additionally removes inappropriate declaration of 'CFLAGS'.
+
+diff -dupr leptonlib-1.62.orig/src/Makefile.am leptonlib-1.62/src/Makefile.am
+--- leptonlib-1.62.orig/src/Makefile.am 2009-12-16 18:49:59.800517773 +0100
++++ leptonlib-1.62/src/Makefile.am 2009-12-16 18:50:19.629265044 +0100
+@@ -6,10 +6,9 @@ SUBDIRS =
+ MAKE = make -f Makefile
+ AM_CFLAGS = -D_BSD_SOURCE -DANSI -fPIC
+ AM_CPPFLAGS = $(ENDIANNESS)
+-CFLAGS = -O2
+
+-lib_LIBRARIES = liblept.a
+-liblept_a_SOURCES = adaptmap.c \
++lib_LTLIBRARIES = liblept.la
++liblept_la_SOURCES = adaptmap.c \
+ affine.c affinecompose.c \
+ arithlow.c arrayaccess.c \
+ bardecode.c \
+diff -dupr leptonlib-1.62.orig/configure.ac leptonlib-1.62/configure.ac
+--- leptonlib-1.62.orig/configure.ac 2009-12-16 18:54:31.012265321 +0100
++++ leptonlib-1.62/configure.ac 2009-12-16 18:55:06.954265636 +0100
+@@ -114,7 +114,8 @@ AC_C_BIGENDIAN
+
+ # Check where all the following programs are and set
+ # variables accordingly:
+-AC_PROG_RANLIB
++AC_DISABLE_STATIC
++AC_PROG_LIBTOOL
+ # AC_PROG_LN_S
+ # AC_PATH_PROG(MV, mv)
+ # AC_PATH_PROG(CP, cp)
diff --git a/media-libs/leptonica/files/leptonica-build-shared.diff b/media-libs/leptonica/files/leptonica-build-shared.diff
new file mode 100644
index 0000000..e326373
--- /dev/null
+++ b/media-libs/leptonica/files/leptonica-build-shared.diff
@@ -0,0 +1,32 @@
+Simple patch to build shared library using autotools.
+Additionally removes inappropriate declaration of 'CFLAGS'.
+
+diff -dupr leptonlib-1.62.orig/src/Makefile.am leptonlib-1.62/src/Makefile.am
+--- leptonlib-1.62.orig/src/Makefile.am 2009-12-16 18:49:59.800517773 +0100
++++ leptonlib-1.62/src/Makefile.am 2009-12-16 18:50:19.629265044 +0100
+@@ -6,10 +6,9 @@ SUBDIRS =
+ MAKE = make -f Makefile
+ AM_CFLAGS = -D_BSD_SOURCE -DANSI -fPIC
+ AM_CPPFLAGS = $(ENDIANNESS)
+-CFLAGS = -O2
+
+-lib_LIBRARIES = liblept.a
+-liblept_a_SOURCES = adaptmap.c \
++lib_LTLIBRARIES = liblept.la
++liblept_la_SOURCES = adaptmap.c \
+ affine.c affinecompose.c \
+ arithlow.c arrayaccess.c \
+ bardecode.c \
+diff -dupr leptonlib-1.62.orig/configure.ac leptonlib-1.62/configure.ac
+--- leptonlib-1.62.orig/configure.ac 2009-12-16 18:54:31.012265321 +0100
++++ leptonlib-1.62/configure.ac 2009-12-16 18:55:06.954265636 +0100
+@@ -114,7 +114,8 @@ AC_C_BIGENDIAN
+
+ # Check where all the following programs are and set
+ # variables accordingly:
+-AC_PROG_RANLIB
++AC_DISABLE_STATIC
++AC_PROG_LIBTOOL
+ # AC_PROG_LN_S
+ # AC_PATH_PROG(MV, mv)
+ # AC_PATH_PROG(CP, cp)
diff --git a/media-libs/leptonica/leptonica-1.67.ebuild b/media-libs/leptonica/leptonica-1.67.ebuild
new file mode 100644
index 0000000..dc86724
--- /dev/null
+++ b/media-libs/leptonica/leptonica-1.67.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit autotools multilib
+
+MY_P="leptonlib-${PV}"
+DESCRIPTION="An open source C library for image processing and analysis"
+HOMEPAGE="http://www.leptonica.com/"
+SRC_URI="http://www.leptonica.com/source/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
+IUSE=""
+
+SLOT="0"
+
+DEPEND="media-libs/jpeg
+ media-libs/giflib
+ media-libs/tiff"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( README version-notes )
+
+src_prepare() {
+ # We need a fake m4 dir, as setting AT_M4DIR to
+ # an empty value does not make eAT forget to
+ # add "-I m4" to the AT commands
+ mkdir m4
+ eautoreconf
+
+ # unhtmlize docs (they're just one big <pre/>s)
+ local docf
+ for _docf in ${DOCS[@]}; do
+ awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \
+ ${_docf}.html > ${_docf} || die 'awk failed.'
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die 'emake install failed.'
+ dodoc ${DOCS[@]} || die 'dodoc failed.'
+
+ # remove .la file, it was needed only to build shared lib
+ rm "${D}"/usr/$(get_libdir)/liblept.la || die 'rm failed.'
+
+ # remove fake m4 dir
+ rm m4/*
+ rmdir m4
+}
diff --git a/net-mail/davmail/.directory b/net-mail/davmail/.directory
new file mode 100644
index 0000000..160ad26
--- /dev/null
+++ b/net-mail/davmail/.directory
@@ -0,0 +1,5 @@
+[Dolphin]
+AdditionalInfoV2=CustomizedDetails,Details_Path,Details_Size,Details_Date
+Timestamp=2011,3,28,21,25,32
+Version=2
+ViewMode=1
diff --git a/net-mail/davmail/Manifest b/net-mail/davmail/Manifest
new file mode 100644
index 0000000..8ee912c
--- /dev/null
+++ b/net-mail/davmail/Manifest
@@ -0,0 +1,5 @@
+AUX davmail.desktop 211 RMD160 a0c72ff2427b813d292c706c89878e556b13e2ea SHA1 bd2a652ca3265221694973071573e747d4cb0c29 SHA256 3f6a7ec2a20f4148452212733a238b89ba709d94f1231e3b8fb993ab0d77a222
+AUX davmail.png 4218 RMD160 1b271ae8e6f85f1550c5140080fb6b7f64799afc SHA1 44fe30922093156f2c594065c59bed7442ec5083 SHA256 b50a1e8d9ac3e20acf88f77d9524f986041282e9f6ae120c78ee64cf6a20df7e
+DIST davmail-linux-x86_64-3.9.1-1646.tgz 6386052 RMD160 a4857788123eb6e3ff5d08378818047b306dcd60 SHA1 5ebe787330d0cd4ca4336110bb36bac029d14a1e SHA256 2c7b85cccc1f7883a01f3ea5b04f6e71f057abcdcdb06f26ed8d129e21c8f4ea
+EBUILD davmail-3.9.1_p1646.ebuild 906 RMD160 f864230d1b2eeb77c0a7307f5f98fbd1a52fc809 SHA1 6a6904d2c59b5f5b91ec41e3573edf63d96aa6e2 SHA256 df4ac1b21dfb8ba5c6003403e6e501469fbc55fde6060737a142067ba26328c5
+MISC davmail-3.9.1_p1646.ebuild~ 931 RMD160 e846ab784504abe58b3da611f087941909ae10fa SHA1 cc25d837af82e26387a833a3ca943e30536d1337 SHA256 1ae361f9f9d803c0928d3689722475314e902bcd5e3450801fa44faeef77557b
diff --git a/net-mail/davmail/davmail-3.9.1_p1646.ebuild b/net-mail/davmail/davmail-3.9.1_p1646.ebuild
new file mode 100644
index 0000000..5977b26
--- /dev/null
+++ b/net-mail/davmail/davmail-3.9.1_p1646.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit eutils
+
+use x86 && MY_P="${PN}-linux-x86-${PV/_p/-}"
+use amd64 && MY_P="${PN}-linux-x86_64-${PV/_p/-}"
+
+DESCRIPTION="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
+HOMEPAGE="http://davmail.sourceforge.net/"
+SRC_URI="mirror://sourceforge/davmail/${MY_P}.tgz"
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="menu"
+
+SLOT="0"
+
+DEPEND="|| ( virtual/jre:1.6 virtual/jdk:1.6 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ cd "${S}"
+ # Fix the script BASE=
+ sed -i -e "s@BASE=.*@BASE=/opt/davmail@" davmail.sh
+
+ dodir "/opt/$PN"
+ cp -a * "${D}/opt/$PN"
+ dodir "/opt/bin"
+ dosym "/opt/$PN/davmail.sh" "/opt/bin/davmail.sh"
+
+ if use menu; then
+ domenu "${FILESDIR}/davmail.desktop"
+ doicon "${FILESDIR}/davmail.png"
+ fi
+}
diff --git a/net-mail/davmail/files/davmail.desktop b/net-mail/davmail/files/davmail.desktop
new file mode 100644
index 0000000..e573c5a
--- /dev/null
+++ b/net-mail/davmail/files/davmail.desktop
@@ -0,0 +1,11 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=DavMail Gateway
+Comment=Exchange connector
+Icon=davmail
+Terminal=false
+Categories=Network;Email;
+Exec=/opt/bin/davmail.sh
diff --git a/net-mail/davmail/files/davmail.png b/net-mail/davmail/files/davmail.png
new file mode 100644
index 0000000..d262a95
--- /dev/null
+++ b/net-mail/davmail/files/davmail.png
Binary files differ
diff --git a/sys-power/cpufreqd/Manifest b/sys-power/cpufreqd/Manifest
new file mode 100644
index 0000000..15adb83
--- /dev/null
+++ b/sys-power/cpufreqd/Manifest
@@ -0,0 +1,8 @@
+AUX cpufreqd-conf.d.patch 269 RMD160 7d597a9fefff26dc0270a94ee6c360e1322390b7 SHA1 9ce182311b269da517f4f126aa485af1dded5423 SHA256 2e4c34e87daffb5929717ba6e91a36c0e85db1e042ff10a1483617f5f4d424e1
+AUX cpufreqd-init.d 1156 RMD160 b64937c969717b5d7234a447b6e548b4c4269638 SHA1 9159187780cd31f657c8f771e534d7d55e2d68c3 SHA256 3fe98f8535e2e7e67f834865d0c3c18d2594d0aa1066e42b06b160955e1c8cf9
+AUX cpufreqd-path-max.patch 472 RMD160 0e51115ffaaeb5d5eec70ee2e96e206f1e0c75e4 SHA1 ad2f99fcf345734fed8ab1336ebc71e0fae9b610 SHA256 e7096e5d6210ee9fe70424d9688aa9e6672f9f4d35df57b7a5333b4b4e9ad747
+AUX nvclock0.8b-fpic.patch 641 RMD160 08f803b690e1ebf69859b48604bc746a1ee3c0fd SHA1 57581e5b9201c57d811f5ebee61e7dc28bf2efad SHA256 c6dfdc3ecf84b7bd8f0eb7729aff4b3f9fde0bcce2ade0aa1765483bd486e159
+DIST cpufreqd-2.4.2.tar.bz2 299946 RMD160 a6c762dd34f5a74387b37b64843dbf968bc3c28d SHA1 88ff75f3f3d457c49178f1e557ba5435651e1427 SHA256 3b7810a3d244d9b10c8c151fd6037e7d14c9889cdf5cdff1867bd978b9f7482a
+DIST nvclock0.8b.tar.gz 353127 RMD160 66cac5993dc141d00efaa95d8f5ec38ed53854f6 SHA1 ff0a9fe81a8f3227338ffccae143310df1b18551 SHA256 a1fbdb82837c33869c0ebfcb95b6e11fc53b86919e8d1d17265d1af71eb04393
+EBUILD cpufreqd-2.4.2-r1.ebuild 1947 RMD160 37e9ac95e3bbd3a690ef0a2a583728db003e1481 SHA1 f27ee9d0c0b8519802a4edd7d3ff413fe414c485 SHA256 76fc8072efb88b245b59de36866d15d55d057174059402078c936acc6ac2ae22
+MISC cpufreqd-2.4.2-r1.ebuild~ 2048 RMD160 b4050d0ef8f55a1999e7300981f7e2ebf51ae466 SHA1 581cbb4a8e6c8b35a10e3f929ae96f9ea9d636f0 SHA256 e9d68c452ffaf68d8d2577d3b045cf71b9cfcb14da08578109a353c841e6875d
diff --git a/sys-power/cpufreqd/cpufreqd-2.4.2-r1.ebuild b/sys-power/cpufreqd/cpufreqd-2.4.2-r1.ebuild
new file mode 100644
index 0000000..31aa07c
--- /dev/null
+++ b/sys-power/cpufreqd/cpufreqd-2.4.2-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+NVCLOCK_VERSION="0.8b"
+
+DESCRIPTION="CPU Frequency Daemon"
+HOMEPAGE="http://www.linux.it/~malattia/wiki/index.php/Cpufreqd"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ nvidia? ( http://www.linuxhardware.org/nvclock/nvclock${NVCLOCK_VERSION}.tar.gz )"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
+
+SLOT="0"
+
+IUSE="acpi apm lm_sensors nforce2 nvidia pmu"
+RDEPEND=">=sys-power/cpufrequtils-002
+ sys-fs/sysfsutils
+ lm_sensors? ( >sys-apps/lm_sensors-3 )"
+DEPEND="sys-apps/sed
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-conf.d.patch
+
+ if use nvidia; then
+ cd "${WORKDIR}"/nvclock${NVCLOCK_VERSION}
+ epatch "${FILESDIR}"/nvclock${NVCLOCK_VERSION}-fpic.patch
+ fi
+
+ epatch "${FILESDIR}"/${PN}-path-max.patch
+}
+
+src_configure() {
+ local config
+
+ if use nvidia; then
+ cd "${WORKDIR}"/nvclock${NVCLOCK_VERSION}
+ econf \
+ --disable-gtk \
+ --disable-qt \
+ --disable-nvcontrol \
+ || die "econf nvclock failed"
+ emake -j1 || die "emake nvclock failed"
+ config="--enable-nvclock=${WORKDIR}/nvclock${NVCLOCK_VERSION}"
+ fi
+
+ cd "${S}"
+ econf \
+ $(use_enable acpi) \
+ $(use_enable apm) \
+ $(use_enable lm_sensors sensors) \
+ $(use_enable nforce2) \
+ $(use_enable pmu) \
+ ${config} \
+ || die "econf failed"
+}
+
+src_compile() {
+ if use nvidia; then
+ cd "${WORKDIR}"/nvclock${NVCLOCK_VERSION}
+ fi
+
+ cd "${S}"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ rm -rf "${D}"/usr/$(get_libdir)/*.la
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ newinitd "${FILESDIR}"/${PN}-init.d ${PN}
+}
+
+pkg_postinst() {
+ if [ -f "${ROOT}"/etc/conf.d/cpufreqd ] ; then
+ ewarn "An old \"/etc/conf.d/cpufreqd\" file was found. It breaks"
+ ewarn "the new init script! Please remove it."
+ ewarn "# rm /etc/conf.d/cpufreqd"
+ fi
+}
diff --git a/sys-power/cpufreqd/files/cpufreqd-conf.d.patch b/sys-power/cpufreqd/files/cpufreqd-conf.d.patch
new file mode 100644
index 0000000..7b25c63
--- /dev/null
+++ b/sys-power/cpufreqd/files/cpufreqd-conf.d.patch
@@ -0,0 +1,10 @@
+--- cpufreqd.conf.orig 2007-03-04 11:18:43.000000000 -0600
++++ cpufreqd.conf 2007-03-04 11:19:01.000000000 -0600
+@@ -135,7 +135,6 @@
+ programs=xine,mplayer,gmplayer
+ battery_interval=0-100
+ acpi_temperature=0-60
+-cpu_interval=0-100
+ profile=Performance High
+ [/Rule]
+
diff --git a/sys-power/cpufreqd/files/cpufreqd-init.d b/sys-power/cpufreqd/files/cpufreqd-init.d
new file mode 100644
index 0000000..f60f27d
--- /dev/null
+++ b/sys-power/cpufreqd/files/cpufreqd-init.d
@@ -0,0 +1,44 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/files/cpufreqd-init.d,v 1.2 2009/10/20 10:21:34 bangert Exp $
+
+CONFIGFILE=/etc/cpufreqd.conf
+
+depend() {
+ need localmount
+ use logger lm_sensors
+}
+
+checkconfig() {
+ if [[ ! -f ${CONFIGFILE} ]]; then
+ eerror "Configuration file ${CONFIGFILE} not found"
+ return 1
+ fi
+
+ if [[ ! -e /proc/cpufreq ]] ; then
+ for cpu in /sys/devices/system/cpu/cpu[0-9]* ; do
+ # We need just one cpu supporting freq scaling.
+ [[ -e ${cpu}/cpufreq ]] && return 0
+ done
+ eerror "cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ"
+ eerror "Make sure that the appropiate kernel drivers for your CPU are"
+ eerror "built-in or loaded."
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting CPU Frequency Daemon"
+ start-stop-daemon --start --exec /usr/sbin/cpufreqd -- \
+ -f ${CONFIGFILE}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping CPU Frequency Daemon"
+ start-stop-daemon --stop --exec /usr/sbin/cpufreqd
+ eend ${?}
+}
diff --git a/sys-power/cpufreqd/files/cpufreqd-path-max.patch b/sys-power/cpufreqd/files/cpufreqd-path-max.patch
new file mode 100644
index 0000000..55cd481
--- /dev/null
+++ b/sys-power/cpufreqd/files/cpufreqd-path-max.patch
@@ -0,0 +1,17 @@
+diff -Nur cpufreqd-2.4.2/src/cpufreqd.h cpufreqd-2.4.2-new/src/cpufreqd.h
+--- cpufreqd-2.4.2/src/cpufreqd.h 2010-03-07 13:44:56.000000000 +0200
++++ cpufreqd-2.4.2-new/src/cpufreqd.h 2010-06-09 22:36:30.548346769 +0300
+@@ -54,6 +54,12 @@
+ #define DEFAULT_VERBOSITY 3
+
+ #define MAX_STRING_LEN 255
+-#define MAX_PATH_LEN 512
++
++#ifdef HAVE_LIMITS_H
++#include "limits.h"
++#define MAX_PATH_LEN PATH_MAX
++#else
++#define MAX_PATH_LEN 512
++#endif
+
+ #endif /* __CPUFREQD_H__ */
diff --git a/sys-power/cpufreqd/files/nvclock0.8b-fpic.patch b/sys-power/cpufreqd/files/nvclock0.8b-fpic.patch
new file mode 100644
index 0000000..a0e9783
--- /dev/null
+++ b/sys-power/cpufreqd/files/nvclock0.8b-fpic.patch
@@ -0,0 +1,13 @@
+diff -urp nvclock0.8b/src/backend/Makefile.in nvclock0.8b-fpic/src/backend/Makefile.in
+--- nvclock0.8b/src/backend/Makefile.in 2005-12-22 11:57:27.000000000 +0100
++++ nvclock0.8b-fpic/src/backend/Makefile.in 2005-12-22 11:56:29.000000000 +0100
+@@ -5,7 +5,7 @@ RANLIB=@RANLIB@
+ system=@system@
+ HAVE_NVCONTROL=@HAVE_NVCONTROL@
+ OBJECTS=backend.o bios.o config.o error.o nv30.o nv31.o nv40.o info.o overclock.o i2c.o xf86i2c.o lm99.o f75375.o w83l785r.o libc_wrapper.o
+-CFLAGS=-I../.. -I../nvcontrol
++CFLAGS=-I../.. -I../nvcontrol -fPIC
+
+ ifeq ($(system), FreeBSD)
+ OBJECTS+=back_bsd.o
+Only in nvclock0.8b/src/backend: Makefile.in.~1.9.~
diff --git a/www-apps/dotproject/Manifest b/www-apps/dotproject/Manifest
new file mode 100644
index 0000000..95fcba1
--- /dev/null
+++ b/www-apps/dotproject/Manifest
@@ -0,0 +1,4 @@
+AUX install-en.txt 793 RMD160 52b90aafed335845122e2117ae8c3fb510c1693d SHA1 2590df3221c75e80c967880069325edb5a038c6d SHA256 3745e3a4d5b9a642c9f409a8c09dc072787b687531f9adcfe31ea317bd3f7889
+DIST dotproject-2.1.5.tar.gz 4524714 RMD160 d50f3b0ffd5fb390385b2c88420e660549696ca6 SHA1 89f80792bcf7344cb89142db614c7b34f8c67463 SHA256 86beef3a1280c3c2eccde6abe8ea0570e348fdecf756b581382fa8ad9aa331bf
+EBUILD dotproject-2.1.5-r1.ebuild 1316 RMD160 f92be242c7bcdc7ef8fa502cfe6d34e055e096f7 SHA1 25217e364d181c0e883bdfecc2b5a37c5152063a SHA256 9dcf2a302a52f03d7310b3f0599086703c315bed3ac6a922b9696f4ce4026390
+MISC dotproject-2.1.5-r1.ebuild~ 1339 RMD160 fcf9020a1836f9a755d9c7d6a9b5635b619e4d68 SHA1 c1e0aa7f56b18998fb73601ee138b7aa8f50aa3a SHA256 514c4ecc4faf8fdba03a73220fb0f8dbac6ae0294b1c834a14f4e3253b63c3e2
diff --git a/www-apps/dotproject/dotproject-2.1.5-r1.ebuild b/www-apps/dotproject/dotproject-2.1.5-r1.ebuild
new file mode 100644
index 0000000..889229f
--- /dev/null
+++ b/www-apps/dotproject/dotproject-2.1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils webapp depend.php
+
+DESCRIPTION="dotProject is a PHP web-based project management framework"
+HOMEPAGE="http://www.dotproject.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+RESTRICT="mirror"
+
+SLOT="2.1.5"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+IUSE="sendmail unicode"
+
+DEPEND=""
+RDEPEND="
+ >=app-text/poppler-0.12.3-r3[utils]
+ >=www-servers/apache-2.0.49
+ unicode? ( >=dev-lang/php-5.0[gd,unicode,xml] )
+ !unicode? ( >=dev-lang/php-5.0[gd,xml] )
+ >=dev-db/mysql-5.1
+ >=dev-php5/jpgraph-2.3
+ sendmail? ( mail-mta/sendmail )
+"
+
+need_httpd_cgi
+need_php_httpd
+
+S=${WORKDIR}/${PN}
+
+src_install () {
+ # remove dead links from the archive
+ rm -rf ${S}/locales/es
+ rm -rf ${S}/locales/pt_br
+
+ # and add the missing temp directory
+ [ -e ${S}/files/temp ] || mkdir -p ${S}/files/temp
+
+ webapp_src_preinst
+
+ dodoc ChangeLog README
+ rm -f ChangeLog README
+
+ mv includes/config{-dist,}.php
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp}
+ webapp_serverowned "${MY_HTDOCSDIR}"/locales/en
+
+ webapp_postinst_txt en "${FILESDIR}"/install-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dotproject/files/install-en.txt b/www-apps/dotproject/files/install-en.txt
new file mode 100644
index 0000000..edda11c
--- /dev/null
+++ b/www-apps/dotproject/files/install-en.txt
@@ -0,0 +1,23 @@
+You will need to provide a database for your dotproject installation.
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Once you have a database ready all you need to do is to go to this
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+and provide the credentials required for the database access.
+
+Note the administrator password dotproject will provide and after
+logging in with these credentials you can start to use the application.
+
+
+If you get many warnings about date() being unreliable when using the
+servers timezone, please set "date.timezone" in
+/etc/php/apache2-php${PHP_PKG}/php.ini to your local timezone.
+