Making a deb

This forum is aimed at user contributions, in the form of assets, side projects, code patches and similar.

Moderator: joepal

Re: Making a deb

Postby cousteau » Tue Jan 12, 2010 12:13 pm

Oh, and:
5) Installed-Size is measured in KB, not in bytes! You can get this size by doing `du -s folder/`, where "folder" is the root folder of the package (where usr/ and DEBIAN/ are). Right now the package manager says this package is 3973M big (I guess because it overflows near 4 GB).
cousteau
 
Posts: 32
Joined: Mon Jan 11, 2010 11:44 am

Re: Making a deb

Postby joepal » Wed Jan 13, 2010 12:07 pm

I've summarized the comments and some other changes in: http://code.google.com/p/makehuman/issues/detail?id=25

Please check if you think something else should end up there.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

Re: Making a deb

Postby mflerackers » Wed Jan 13, 2010 12:28 pm

The next alpha (and current svn version) will use /home/username/makehuman for all user writable files :).
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: Making a deb

Postby joepal » Wed Jan 13, 2010 3:27 pm

mflerackers wrote:The next alpha (and current svn version) will use /home/username/makehuman for all user writable files :).


Made you owner of the bug http://code.google.com/p/makehuman/issues/detail?id=22 just because I could. :)
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

Re: Making a deb

Postby mflerackers » Wed Jan 13, 2010 3:38 pm

It's already quite fixed I think :p. We might adopt a better naming scheme for the folders though.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: Making a deb

Postby cousteau » Wed Jan 13, 2010 9:17 pm

Yup, point 4) fixed (although it doesn't actually belong to this thread since it was a problem with makehuman and not the debs). But it would be better to let the user choose the destination path (the command `zenity --file-selection --file-filter="*.mhm"` displays a GTK dialog on Linux, but maybe there's already something similar built-in on Python).

About the .deb, I think the bug report shows all the issues I said and some other ones I agree :) (But it's "makehuman.desktop", not "makehuman.application".)

And the version number (personal opinion): they normally have 3 numbers: generation, version and revision. So 1.0a4 would be generation 1, version 0, revision alpha-4 (you could add something like 1.0a4svn627 for nightly builds, or even just 1.0svn627); 1.0.0 would be the final release, 1.0.3 the 3rd bugfix release, 1.1.0 a new version, etc. I.e. the "alpha-X" replaces the revision number.
cousteau
 
Posts: 32
Joined: Mon Jan 11, 2010 11:44 am

Re: Making a deb

Postby mflerackers » Thu Jan 14, 2010 12:55 am

The user can choose the destination path by setting the HOME environment variable to something else than /home/username/, as the svn version just does getenv("HOME") :).
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: Making a deb

Postby joepal » Sat Jan 23, 2010 4:03 pm

Anyway, I've made all the planned changes to the debs now. I'll wait one day and let it propagate and then test before closing bug.

You can find a summary here http://code.google.com/p/makehuman/issues/detail?id=25
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

Re: Making a deb

Postby cousteau » Sat Jan 30, 2010 1:17 pm

Maybe the data/targets directory (and maybe also textures and hairs) should be on a separate package, so if there are no changes on the targets you'd only have to upgrade the main package, which would be a lot smaller (about 20-30% of the total).
At least on the nightly builds; having to download about 37 MB every day is a bit annoying.
Attachments
makehuman_baobab.png
cousteau
 
Posts: 32
Joined: Mon Jan 11, 2010 11:44 am

Re: Making a deb

Postby joepal » Sat Jan 30, 2010 3:37 pm

cousteau wrote:... having to download about 37 MB every day is a bit annoying.


Not to mention that it makes my private server dish out up towards 10 gigabyte of traffic per day... :)

Doubt you'd gain a whole lot with the separation into different packages at this point in time though, since the data changes at least as much as the non-data parts of the program in the svn version. It would be different if the data was pretty much static and the code was what was changing most of the time.

Maybe later when the data parts stabilize, a separation into different packages would be a good idea.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

PreviousNext

Return to User contributions

Who is online

Users browsing this forum: No registered users and 1 guest