this is an ebuild of beta software, but since there's no similar app anywhere, I decided to post. It depends on glpng of which you can find an ebuild at http://bugs.gentoo.org/show_bug.cgi?id=113508 . Modular X dependancy is not set, sorry, need to be refined.
Created attachment 84717 [details] makehuman-0.8.ebuild media-gfx , need dev-libs/glpng .....
a newer version of makehuman exists see this bug: #154927
*** Bug 154927 has been marked as a duplicate of this bug. ***
please note that glpng dep is only for version 0.8, version 0.9 builds with libpng already in portage (but needs animorph and mhgui)
please add ebuild for makehuman 0.9 in portage (with amd64 support :))
Created attachment 113895 [details] makehuman-0.9 ebuild
Created attachment 113897 [details] animorph-0.2 ebuild
Created attachment 113899 [details] mhgui-0.1 ebuild
Comment on attachment 113895 [details] makehuman-0.9 ebuild I have created an updated ebuild based on the old one from Matteo Azzali. I've enabled it to be built on amd64 and x86. It works fine and would like some developer to act as proxy.
Do you _really_ need src_unpack and src_compile there? Looks like it should work with the default functions. - ferdy
Created attachment 113922 [details] mhgui-0.1 ebuild I guess you are right, I need to read better the documentation on how to build ebuilds and the gentoo rules on building them. There's one thing I'm not too sure about, and that is the location of animorph, maybe it would be better under media-libs?
Created attachment 113923 [details] animorph-0.2 ebuild
Created attachment 113925 [details] makehuman-0.9 ebuild
There is a typo in the homepage in all the ebuids. It's "http://www.dedalo-3d.com/".
Created attachment 113949 [details] makehuman-0.9 ebuild Ooops you're right, how embarrassing :$ Wonder how that a got there....
Created attachment 113950 [details] mhgui-0.1 ebuild
Created attachment 113951 [details] animorph-0.2 ebuild
I don't mean to nitpick, but: * You shouldn't redefine S. The default value should work for you. (Moreover, if you were to redefine it, you should quote WORKDIR properly.) * src_install should use emake instead of make if it works. * The Copyright notice should read 1999-2007 instead of 1999-2006. - ferdy
Any chance of this being added to portage? It is quite usable.
Hi, Please find attached makehuman-0.9.1.ebuild, animorph-0.3.ebuild and mhgui-0.2.ebuild. Makehuman is a graphical tool for drawing and posing 3D humanoids. The current version is missing a few features as this is an RC1 alpha release. Comparating to previous ebuilds makehuman-0.9.1.ebuild requires media-gfx/aqsis renderer. They also have the "pic" USE flag. Please note that in the future releases, makehuman might also be able to use media-gfx/pixie as renderer. This are my first ebuilds, so please be indulgent to the remaining bugs or miswriting: - I was not able to easily use eautoreconf to regenarte autotools files in makehuman nor in mhgui without breaking linking with Freeglut. - the makehuman icon does not appear in the menus. - I had to deal with makehuman version numerotation which does not matches the required standards. The true version is makehuman-0.9.1-rc1a, not makehuman-0.9.1. Any help on that subject, among others, will be welcome. Possible improvements: - add PDF documentation found on the web site for Makehuman, otherwise there's not any kind of manual. Fully tested on ~amd64 (without problem)and partially on x86 because of a bug in the xf86-video-i810 drivers which dramatically slows down OpenGL accelaration (http://bugs.freedesktop.org/show_bug.cgi?id=5901). But it compiles, installs and loads perfectly well.
Created attachment 151240 [details] animorph-0.3.ebuild
Created attachment 151241 [details] mhgui-0.2.ebuild
Created attachment 151243 [details] makehuman-0.9.1.ebuild
"pic" use flag for ebuilds. For me it doesn't even compile without that flag enabled - and I don't see how it could. So you might as well just make it required.
The "pic" use flag should probably be required (and therefore removed) because I couldn't compile without it, and I don't see how it would compile without it. Otherwise, with that flag enabled (media-gfx/animorph pic, media-gfx/mhgui pic, media-gfx/makehuman pic) everything compiled fine, and it appears to work just fine.
on amd64
- removed pic USE flag and let econf and the configure script manage the option in the 3 ebuilds. - corrected makehuman ebuild file name to makehuman-0.9.1_rc1_alpha.ebuild Yes, pic is required on amd64. The documentation said the AMD64 profiles use a bashrc that filters out invalid flags in C[XX]FLAGS but it won't do anything there. And disabling pic for that kind of software would be useless. The documentation on AMD64 and PIC: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap2 Some usefull explainations about Gentoo and the pic USE flag: http://unixadmintalk.com/f22/done-kde-desktop-running-gcc-4-3-0-a-272575/index2.html Thank you.
Created attachment 151385 [details] animorph-0.3.ebuild update
Created attachment 151387 [details] makehuman-0.9.1.ebuild updated and renamed
Created attachment 151388 [details] mhgui-0.2.ebuild update
animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3
(In reply to comment #31) > animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3 > This is because the new version of g++ has changed its handling of libraries. Animorph and makehuman needs patching to solve this issue. I found a solution here : http://www.makehuman.org/forum/viewtopic.php?f=3&t=207 I didn't have the time to try it yet. But if it's ok, I'll attached thoses patches.
(In reply to comment #32) > (In reply to comment #31) > > animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3 > > > > This is because the new version of g++ has changed its handling of libraries. > Animorph and makehuman needs patching to solve this issue. > > I found a solution here : > http://www.makehuman.org/forum/viewtopic.php?f=3&t=207 > > I didn't have the time to try it yet. But if it's ok, I'll attached thoses > patches. > Any progress with this mate?
(In reply to comment #33) > (In reply to comment #32) > > (In reply to comment #31) > > > animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3 > > > > > > > This is because the new version of g++ has changed its handling of libraries. > > Animorph and makehuman needs patching to solve this issue. > > > > I found a solution here : > > http://www.makehuman.org/forum/viewtopic.php?f=3&t=207 > > > > I didn't have the time to try it yet. But if it's ok, I'll attached thoses > > patches. > > > > Any progress with this mate? > Nope, I'm really busy at work for now ... If you can do it, help yourself. I provided the link with all information.
(In reply to comment #32) > (In reply to comment #31) > > animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3 > > > > This is because the new version of g++ has changed its handling of libraries. > Animorph and makehuman needs patching to solve this issue. > > I found a solution here : > http://www.makehuman.org/forum/viewtopic.php?f=3&t=207 > > I didn't have the time to try it yet. But if it's ok, I'll attached thoses > patches. > Check the Maehuman site. The most recent version (wich still in alpha) is 1.0 alpha3b. As it seems to be only Python dependant, you can easily run it from your home directory (for testing purpose). You can download it here: http://makehuman.googlecode.com/files/makehuman1-0-0_alpha3b_ubuntu904.zip N.B.: version 0.9.1-rc1 wasn't usable (no save load funtions for example).
> Check the Maehuman site. The most recent version (wich still in alpha) is 1.0 > alpha3b. As it seems to be only Python dependant, you can easily run it from > your home directory (for testing purpose). > > You can download it here: > http://makehuman.googlecode.com/files/makehuman1-0-0_alpha3b_ubuntu904.zip > > N.B.: version 0.9.1-rc1 wasn't usable (no save load funtions for example). > No save and load functions? Heh I was tryingto patch the game then in vain. The build for Ubuntu didn't work (it looked for old Python and it's 32 bit, while I have 64) but I downloaded the source and the compilation was easy.
*** Bug 297732 has been marked as a duplicate of this bug. ***
Makehuman has now reached version 1.0 (a3b) It now makes hair too.:) Now would be a great time to add it to portage.
*** Bug 431086 has been marked as a duplicate of this bug. ***
*** Bug 262962 has been marked as a duplicate of this bug. ***
I'm in the process of writing an ebuild for the latest released version of makehuman (1.0-alpha8-rc1). The source zip file they distribute has no build system. The debian version of the package that they publish just "cheats", and dumps all the contents of the source zip into /usr/share/makehuman, and adds a wrapper script in usr/bin that calls /usr/share/makehuman/makehuman.py. This seems like a very un-gentoo solution, not least because I can't really see how to apply python-r1 support for multiple versions of python2. On the other hand, it seems like it would be pretty easy to use python-single-r1 for this package. Any thoughts/comments either way?
(In reply to Taahir Ahmed from comment #41) > I'm in the process of writing an ebuild for the latest released version of > makehuman (1.0-alpha8-rc1). > > The source zip file they distribute has no build system. The debian version > of the package that they publish just "cheats", and dumps all the contents > of the source zip into /usr/share/makehuman, and adds a wrapper script in > usr/bin that calls /usr/share/makehuman/makehuman.py. > > This seems like a very un-gentoo solution, not least because I can't really > see how to apply python-r1 support for multiple versions of python2. > > On the other hand, it seems like it would be pretty easy to use > python-single-r1 for this package. > > Any thoughts/comments either way? there is a life ebuild at flora overlay. you can see it for example here: http://data.gpo.zugaina.org/flora/media-gfx/makehuman/makehuman-1.0.6.9999.ebuild maybe it could be useful for you.
I have created some ebuilds for MakeHuman if anyone wants to take a look at them. The makehuman-1.0.0-r1.ebuild should be ignored. It was there to build the makehuman-1.0.0 ebuild. makehuman-9999.ebuild retrieves the latest assets from the MakeHuman development FTP server in the src_install function, and installs. This isn't an ideal way of doing, but this is where the meta-ebuild comes in. In the files directory, you can call './makehuman-packager.sh 1.0.0' to create a tarball of the MakeHuman program, and the generated tarball can be stored on Gentoo's mirror. So basically, the process is, 'emerge =media-gfx/makehuman-9999' to install the latest development version. Then run 'makehuman-packager.sh X.X.X' to generate an ebuild, tarball, and Manifest. The tarball can then be hosted on the developer's server. What do you guys think? Is this doable? The 9999 ebuild shouldn't be put into the tree since it grabs from MakeHuman's server, and if hundreds of people use it, it'll bog down their server.
Created attachment 375574 [details] Development MakeHuman ebuilds