# ChangeLog for dev-games/crystalspace
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.25 2007/02/16 22:28:39 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.26 2007/03/01 07:50:00 tupone Exp $
+
+*crystalspace-1.0.1 (01 Mar 2007)
+
+ 01 Mar 2007; <tupone@gentoo.org> +crystalspace-1.0.1.ebuild:
+ Version bumbed to 1.0.1
+ Fixed a problem building plugin: changed -O3 to -O2
16 Feb 2007; <tupone@gentoo.org> crystalspace-1.0.ebuild:
Fixing hang on lightmap recalculation. Bug #166547 by Emilien KIA
MD5 bb4bd5565667c14a0d7377fda90db568 files/crystalspace-0.98.4-gl.patch 10653
RMD160 e0c5081631f755c914475093a0cd851045abffdc files/crystalspace-0.98.4-gl.patch 10653
SHA256 f2286634415f4b0cddc0b202b692dc49df90897da730f2693c6a99be71f9bb36 files/crystalspace-0.98.4-gl.patch 10653
+DIST crystalspace-src-1.0.1.tar.bz2 36581454 RMD160 e9cca632623fbc487bb39a8c088fa93aa78e23d4 SHA1 457958e4cc7d96272157e1c8be7a816620051714 SHA256 3042b1fdc5b4ac23c7a4799df232a8e2134fd215448e0785180759ebba7f9ab2
DIST crystalspace-src-1.0.tar.bz2 36567521 RMD160 f1328a1d707b219ad09f8e76c655e4d00f4dcbae SHA1 d7724d0a69b9c1c92087f41c51c77cd37f9b5261 SHA256 30f9f2936cfceae1431ffa50512aaf94abb039ebffa468c757027f76ac9bc9c5
DIST cs98_004.tar.bz2 20709835 RMD160 5f23c49c6054f3c94ef15b542ef3b30d7f86c0dd SHA1 447887c41a39c2cb174e6907443878c1ef29fffd SHA256 f95fda79d33627e1a8ecbdba8ca823018490d57d9f1a1c19682d9c00c0effc01
EBUILD crystalspace-0.98.4.ebuild 1860 RMD160 1f79f24078b8365a23390e0d705426837e00f70d SHA1 cd76d2bb79a6e7f451983b467f48cfdfe85a2d23 SHA256 483430bfde679e943bca9fda61fecd24de54f9bacb245a070ec92bd28c122375
MD5 0ee3c460fc540846a0179c9048c16b71 crystalspace-0.98.4.ebuild 1860
RMD160 1f79f24078b8365a23390e0d705426837e00f70d crystalspace-0.98.4.ebuild 1860
SHA256 483430bfde679e943bca9fda61fecd24de54f9bacb245a070ec92bd28c122375 crystalspace-0.98.4.ebuild 1860
+EBUILD crystalspace-1.0.1.ebuild 3391 RMD160 9042d34c81911143da25c224a3cd2abff090e07e SHA1 47777263110cb90e7a265430ee40866c3adc2ac1 SHA256 4d34cf35e52bbf61682ccee2268ea8314b46562e5b6b6632f55c65b891993680
+MD5 fdacab31ec261995a8007600c682801b crystalspace-1.0.1.ebuild 3391
+RMD160 9042d34c81911143da25c224a3cd2abff090e07e crystalspace-1.0.1.ebuild 3391
+SHA256 4d34cf35e52bbf61682ccee2268ea8314b46562e5b6b6632f55c65b891993680 crystalspace-1.0.1.ebuild 3391
EBUILD crystalspace-1.0.ebuild 3272 RMD160 194b471b534ceb8fe9cd25bcf5b71bd0d329210e SHA1 e041ec0e3dcdf09090b700f5d6a574e7847a58de SHA256 3cd85b2c90437db587508c81e871e940f02c4af02ab1c259e3687889f57a8288
MD5 8cf4c2a3c2f352b159ad67d58f95ad6d crystalspace-1.0.ebuild 3272
RMD160 194b471b534ceb8fe9cd25bcf5b71bd0d329210e crystalspace-1.0.ebuild 3272
SHA256 3cd85b2c90437db587508c81e871e940f02c4af02ab1c259e3687889f57a8288 crystalspace-1.0.ebuild 3272
-MISC ChangeLog 3876 RMD160 e129f6e979ccd438a937103de7e33b263a617cd1 SHA1 7f32157e78662dfdfbea89e15c89d774f6c18e4f SHA256 cdbcee567ac197b6507d5b2a6c40e3e6cf974ec4121895d27238131d3463872a
-MD5 c331a1ca1ea08577601a77a79f65cfb6 ChangeLog 3876
-RMD160 e129f6e979ccd438a937103de7e33b263a617cd1 ChangeLog 3876
-SHA256 cdbcee567ac197b6507d5b2a6c40e3e6cf974ec4121895d27238131d3463872a ChangeLog 3876
+MISC ChangeLog 4055 RMD160 bd7b5018cedda87bdab817f8acf3662f966fd759 SHA1 f6fbf8e8ef83d5c43729c74ce0df61dce35ae3d6 SHA256 72bebb6f47413770e960de4fc69ffbc53c6d7da483ae5dec559842c25f7878b7
+MD5 c075fc3b247889e198ef4c00e1c5eb16 ChangeLog 4055
+RMD160 bd7b5018cedda87bdab817f8acf3662f966fd759 ChangeLog 4055
+SHA256 72bebb6f47413770e960de4fc69ffbc53c6d7da483ae5dec559842c25f7878b7 ChangeLog 4055
MISC metadata.xml 959 RMD160 40012c6a95c2e1d1edd4b801f2f1b3184965a94f SHA1 e4d00b523f67093c7b3b096523dd85b3c8c921a4 SHA256 c4214f73569fde7be988f76a25ce525814a0092d5a396cf1da57162d575a4325
MD5 e4c7a49ca08eb200cfa0a9f9246e2257 metadata.xml 959
RMD160 40012c6a95c2e1d1edd4b801f2f1b3184965a94f metadata.xml 959
MD5 06dd20b62b1f77d4851695167f98d12e files/digest-crystalspace-1.0 271
RMD160 5ad6f632eb71e79a2a8cce95959d298ac5de4866 files/digest-crystalspace-1.0 271
SHA256 d9cee21b4e3c8de602272b4df4459a097cbb0c0ec3d3e59609a940b717c07836 files/digest-crystalspace-1.0 271
+MD5 4fa6ce3a0bf3b9a3d5700f7d3a9d029e files/digest-crystalspace-1.0.1 277
+RMD160 35931fb48ca3a968a074b791ab73f79952bce013 files/digest-crystalspace-1.0.1 277
+SHA256 c2f369fc539c4f31777ef769273745183a7c671e9da414bfcc16dce328711916 files/digest-crystalspace-1.0.1 277
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFF1jAobfN2jvlVAhwRAq3MAKC8Vuv4rCUEyVmzkbFErdmjCvWKJgCbBr2z
-d8xpyAyhcAVNMBlBdUhrDjo=
-=cf9f
+iD8DBQFF5oW9bfN2jvlVAhwRAlZlAJ49m1YjN9c1CD79QhvxODb1/t49jgCff2mu
+O5igPchUWedTjnsCxe+w/P0=
+=8NZG
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/crystalspace-1.0.1.ebuild,v 1.1 2007/03/01 07:50:00 tupone Exp $
+
+inherit flag-o-matic java-pkg-opt-2 multilib
+
+MY_P=${PN}-src-${PV}
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="3ds alsa cal3d cegui cg doc java javascript jpeg mng ode perl png python
+sdl truetype vorbis wxwindows"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ java? ( >=virtual/jre-1.5 )
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ ode? ( dev-games/ode )
+ cal3d? ( >=media-libs/cal3d-0.11 )
+ jpeg? ( media-libs/jpeg )
+ sdl? ( media-libs/libsdl )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ truetype? ( >=media-libs/freetype-2.1 )
+ alsa? ( media-libs/alsa-lib )
+ mng? ( media-libs/libmng )
+ png? ( media-libs/libpng )
+ wxwindows? ( x11-libs/pango
+ >=x11-libs/wxGTK-2.6 )
+ javascript? ( dev-lang/spidermonkey )
+ cegui? ( >=dev-games/cegui-0.5.0 )
+ x11-libs/libXaw
+ x11-libs/libXxf86vm"
+DEPEND="${RDEPEND}
+ 3ds? ( media-libs/lib3ds )
+ java? ( dev-java/ant-core
+ >=virtual/jdk-1.5 )
+ dev-util/jam
+ dev-lang/swig
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Installing doc conflict with dodoc on src_install
+ # Removing conflicting target
+ sed -i -e "/^InstallDoc/d" \
+ Jamfile.in \
+ docs/Jamfile \
+ || die "sed failed"
+}
+
+src_compile() {
+ # -O3 is hanging compilation of python script plugin
+ # trying -O2 just in case
+ replace-flags -O3 -O2
+ econf --enable-cpu-specific-optimizations=no \
+ --disable-separate-debug-info \
+ --without-lcms \
+ --without-caca \
+ --without-bullet \
+ --without-openal \
+ --without-jackasyn \
+ --without-mikmod \
+ --disable-make-emulation \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_with java) \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with mng) \
+ $(use_with vorbis) \
+ $(use_with 3ds) \
+ $(use_with ode) \
+ $(use_with truetype freetype2) \
+ $(use_with cal3d) \
+ $(use_with sdl) \
+ $(use_with wxwindows wx) \
+ $(use_with cegui CEGUI) \
+ $(use_with cg Cg) \
+ $(use_with javascript js) \
+ $(use_with alsa asound)
+ #remove unwanted CFLAGS added by ./configure
+ sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \
+ Jamconfig \
+ || die "sed failed"
+ jam -q || die "compile failed"
+}
+
+src_install() {
+ for installTarget in install_bin install_plugin install_lib \
+ install_include install_data install_config
+ do
+ jam -q -s DESTDIR="${D}" ${installTarget} \
+ || die "jam ${installTarget} failed"
+ done
+ if use doc; then
+ jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
+ fi
+ dodoc README docs/history* docs/todo_*
+
+ echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/crystalspace" > 90crystalspace
+ echo "CRYSTAL_CONFIG=/etc/crystalspace" >> 90crystalspace
+ doenvd 90crystalspace
+}
+
+pkg_postinst() {
+ einfo "Examples coming with this package, need correct light calculation"
+ einfo "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
+ einfo "cslight -video=null /usr/share/${PN}/data/maps/${dir}"
+ done
+}
--- /dev/null
+MD5 5b63bffebbc5e838e7227288ae34eaf6 crystalspace-src-1.0.1.tar.bz2 36581454
+RMD160 e9cca632623fbc487bb39a8c088fa93aa78e23d4 crystalspace-src-1.0.1.tar.bz2 36581454
+SHA256 3042b1fdc5b4ac23c7a4799df232a8e2134fd215448e0785180759ebba7f9ab2 crystalspace-src-1.0.1.tar.bz2 36581454