Had a bunch of troubles writing my dso for a pre prod.
I am using python as a ribgen recently.
Finally got 4 proposals ready for tomorrows meeting.
- It took me a week before THE epiphany.
The gentoo ebuild for cgkit sucks, leaves out the utils.
I have lots more mods but its Japanese holidays here and I haven't had an ounce of sleep in days so here is the minimum.
If you are using gentoo and cgkit I have a better ebuild:
cgkit-2.0.0_alpha8.ebuild
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/cgkit-2.0.0_alpha8.ebuild,v 1.12 2008/04/30 04:18:14 bernard edlington $
inherit distutils flag-o-matic
MY_P=${P/_/}
DESCRIPTION="Python library for creating 3D images"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://cgkit.sourceforge.net"
DEPEND="dev-lang/python
dev-python/pyrex
dev-util/scons
dev-libs/boost
dev-python/pyprotocols
dev-python/numarray
dev-python/pyopengl
dev-python/pygame
dev-python/imaging
3ds? ( media-libs/lib3ds )"
SLOT="0"
LICENSE="LGPL-2.1 MPL-1.1 GPL-2"
KEYWORDS="~ppc ~x86"
IUSE="3ds ogre utilities"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s/fPIC/fPIC\",\"${CFLAGS// /\",\"}/" supportlib/SConstruct
cp config_template.cfg config.cfg
echo 'LIBS += ["GL", "GLU", "glut"]' >> config.cfg
if use 3ds; then
echo 'LIB3DS_AVAILABLE = True' >> config.cfg
fi
# Ogre viewer is no longer maintained by upstream
# bug 210731
if use ogre; then
echo 'OGRE_AVAILABLE = True' >> config.cfg
echo 'INC_DIRS += ["/usr/include/OGRE"]' >> config.cfg
echo 'MACROS += [("EXT_HASH", None),("GCC_3_1",None)]' >> config.cfg
sed -i -e "s/#include
fi
sed -i -e "s:INC_DIRS = \[\]:INC_DIRS = \['/usr/include'\]:" "${S}"/setup.py
}
src_compile() {
cd "${S}"/supportlib
scons ${MAKEOPTS}
cd "${S}"
distutils_src_compile
}
src_test() {
cd unittests
# Remove failing tests due to non-existing files
rm test_maimport.py test_mayaascii.py test_mayabinary.py test_ri.py \
test_slparams.py
PYTHONPATH=$(ls -d ../build/lib*) ${python} all.py ||�die "tests failed"
}
src_install() {
distutils_src_install
if use utilities; then
insinto /usr/share/${PN}/utilities
doins utilities/*
fi
}
Popular Posts
-
When I first opened tweetdeck I had the same reaction as most WOW. Well it's beta and there are lots of bugs, one of them is its intern...
-
Danced at club Soft in Shibuya till the wee hours of the morning. Sony CSL researcher and fellow Siggraph Asia committee member Ivan was sho...
-
I am looking for a trainee shader writer to train for 1 year. You need to have at least 2 years Maya/Houdini/or Renderman experience, scho...
-
Recently I haven't had much time to blog. You may have seen a lot of the cool things that I am doing with toneplus. Anyway this piece ...
-
Yesterday I was over at Silicon Graphics Japan . I was in a meeting about some of my future projects which include physics acceleration and ...
-
Finally got started on my new research project. It took a couple of days to get my new subversion system working just the way I wanted it.. ...
-
アシスタントアニメーターのポジションに空席あり Toneplusでは、 ある一つのプロジェクトにおいて日本人の研修アニメーターを募集 しています。 仕事の成果が優秀であれば、長期契約を得ることも可能です。 研修はカナダ人リードアニメーターによって行われます。 ...
-
Here is a cool tip a lot of my Japanese friends didn't know existed so it might be of help to you as well. Anyway the problem is when yo...
-
Re: https://www.japanindustrynews. com/2016/02/employ-people- japan-legal-perspective/ 人は日本の雇用制度がどのぐらい複雑か分ってくれないと思います 。 法律の範囲を越えないようにするのは重...
-
A few months ago we had a new working version at my office it's just been too hectic here to test. David Lin was kind enough to come aro...
Blogger news
Blogroll
RSS Subscribe