Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130063

Summary: media-gfx/makehuman - open source tool for making 3D characters
Product: Gentoo Linux Reporter: Matteo Azzali (RETIRED) <mattepiu>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: albertodetena, arc, bugs.gentoo, federico.granata, follettoonip, fordfrog, linux, me, nurachi, patrick, rhal95, stefano
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.makehuman.org/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 154925, 154926, 113508    
Bug Blocks:    
Attachments: makehuman-0.8.ebuild
makehuman-0.9 ebuild
animorph-0.2 ebuild
mhgui-0.1 ebuild
mhgui-0.1 ebuild
animorph-0.2 ebuild
makehuman-0.9 ebuild
makehuman-0.9 ebuild
mhgui-0.1 ebuild
animorph-0.2 ebuild
animorph-0.3.ebuild
mhgui-0.2.ebuild
makehuman-0.9.1.ebuild
animorph-0.3.ebuild update
makehuman-0.9.1.ebuild updated and renamed
mhgui-0.2.ebuild update
Development MakeHuman ebuilds

Description Matteo Azzali (RETIRED) gentoo-dev 2006-04-15 07:56:46 UTC
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.
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2006-04-15 07:59:58 UTC
Created attachment 84717 [details]
makehuman-0.8.ebuild

media-gfx , need dev-libs/glpng .....
Comment 2 Andreas Volz 2006-11-12 12:45:19 UTC
a newer version of makehuman exists

see this bug: #154927
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 12:46:56 UTC
*** Bug 154927 has been marked as a duplicate of this bug. ***
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2006-11-13 02:49:56 UTC
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)
Comment 5 poulpillusion 2006-11-18 10:24:20 UTC
please add ebuild for makehuman 0.9 in portage (with amd64 support :))
Comment 6 Txukie 2007-03-20 18:00:59 UTC
Created attachment 113895 [details]
makehuman-0.9 ebuild
Comment 7 Txukie 2007-03-20 18:01:39 UTC
Created attachment 113897 [details]
animorph-0.2 ebuild
Comment 8 Txukie 2007-03-20 18:02:05 UTC
Created attachment 113899 [details]
mhgui-0.1 ebuild
Comment 9 Txukie 2007-03-20 18:05:17 UTC
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.
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2007-03-20 18:35:33 UTC
Do you _really_ need src_unpack and src_compile there? Looks like it should work with the default functions.

- ferdy
Comment 11 Txukie 2007-03-20 20:51:52 UTC
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?
Comment 12 Txukie 2007-03-20 20:52:34 UTC
Created attachment 113923 [details]
animorph-0.2 ebuild
Comment 13 Txukie 2007-03-20 20:53:05 UTC
Created attachment 113925 [details]
makehuman-0.9 ebuild
Comment 14 bastian 2007-03-20 22:25:36 UTC
There is a typo in the homepage in all the ebuids. It's "http://www.dedalo-3d.com/".

Comment 15 Txukie 2007-03-21 07:25:03 UTC
Created attachment 113949 [details]
makehuman-0.9 ebuild

Ooops you're right, how embarrassing :$

Wonder how that a got there....
Comment 16 Txukie 2007-03-21 07:25:40 UTC
Created attachment 113950 [details]
mhgui-0.1 ebuild
Comment 17 Txukie 2007-03-21 07:26:26 UTC
Created attachment 113951 [details]
animorph-0.2 ebuild
Comment 18 Fernando J. Pereda (RETIRED) gentoo-dev 2007-03-21 11:29:47 UTC
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
Comment 19 Erlend Davidson 2008-02-10 12:12:53 UTC
Any chance of this being added to portage?  It is quite usable.
Comment 20 YLD 2008-04-28 14:26:12 UTC
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.
Comment 21 YLD 2008-04-28 14:29:38 UTC
Created attachment 151240 [details]
animorph-0.3.ebuild
Comment 22 YLD 2008-04-28 14:30:06 UTC
Created attachment 151241 [details]
mhgui-0.2.ebuild
Comment 23 YLD 2008-04-28 14:30:26 UTC
Created attachment 151243 [details]
makehuman-0.9.1.ebuild
Comment 24 Bryan Duff 2008-04-29 14:45:10 UTC
"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.
Comment 25 Bryan Duff 2008-04-29 14:47:32 UTC
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.
Comment 26 Bryan Duff 2008-04-29 14:47:50 UTC
on amd64
Comment 27 YLD 2008-04-30 02:11:38 UTC
- 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.
Comment 28 YLD 2008-04-30 02:12:51 UTC
Created attachment 151385 [details]
animorph-0.3.ebuild update
Comment 29 YLD 2008-04-30 02:13:43 UTC
Created attachment 151387 [details]
makehuman-0.9.1.ebuild updated and renamed
Comment 30 YLD 2008-04-30 02:14:10 UTC
Created attachment 151388 [details]
mhgui-0.2.ebuild update
Comment 31 Arc Riley 2009-07-12 13:38:23 UTC
animorph-0.3.ebuild does not build with gcc 4.3.3, but does with 4.2.3
Comment 32 bebR 2009-09-04 08:58:58 UTC
(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.
Comment 33 Apopas 2009-09-27 14:54:43 UTC
(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?
Comment 34 bebR 2009-10-02 12:17:43 UTC
(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.
Comment 35 YLD 2009-10-03 15:39:09 UTC
(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).

Comment 36 Apopas 2009-10-03 20:31:31 UTC
> 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.
Comment 37 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-21 05:21:30 UTC
*** Bug 297732 has been marked as a duplicate of this bug. ***
Comment 38 Ric 2009-12-21 17:00:31 UTC
Makehuman has now reached version 1.0 (a3b) 
It now makes hair too.:)
Now would be a great time to add it to portage.
Comment 39 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-12 16:00:48 UTC
*** Bug 431086 has been marked as a duplicate of this bug. ***
Comment 40 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-12 16:02:07 UTC
*** Bug 262962 has been marked as a duplicate of this bug. ***
Comment 41 Taahir Ahmed 2014-03-01 08:48:21 UTC
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?
Comment 42 Miroslav Ć ulc gentoo-dev 2014-03-01 12:31:46 UTC
(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.
Comment 43 vax456 2014-04-24 03:34:21 UTC
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.
Comment 44 vax456 2014-04-24 03:34:52 UTC
Created attachment 375574 [details]
Development MakeHuman ebuilds