Bug#789814: does not start

2015-06-28 Thread Jonas Hauquier
On Sat, Jun 27, 2015 at 4:14 PM, Wouter Verhelst w...@uter.be wrote:

 Installing python-sip doesn't fix things, though:


It appears the original error message is gone, so I'd say it does fix
something.
The other bug is something that recently came to our attention, I think
it's because a different version of the pyQt API that does not accept none
args for defaults.

It's fixed upstream in the stable branch (
http://bugtracker.makehuman.org/issues/918), but not in the debian package
yet. I'll make a 1.0.3 patch release tag next week and request update of
the debian package.

In any case the SIP issue is different from the log color issue, and would
merit separate bug reports.
As I understand, installing python-sip fixes the bug. I think it's possible
to create a very small minimal example of the crash:
a py file with: from PyQt4 import QtCore, QtGui
If this produces the aforementioned sip dependency error, then this bug
should be reported on the python-qt4 pakage.
If this snippet does not produce the error, but this snippet does:
from PyQt4 import QtOpenGL
then this bug exists only for the python-qt4-gl package and should be
reported accordingly.


Bug#789814: does not start

2015-06-24 Thread Jonas Hauquier
Makehuman depends on python-qt4 (which is the riverbank pyqt4 library).
PyQt depends on python-sip.
But if this dependency is not met, it appears to me that this would be a
bug in the python-qt4 package, which should depend on python-sip.


Bug#787648: makehuman: package size is much larger than it needs to be

2015-06-03 Thread Jonas Hauquier
Package: makehuman-data
Version: 1.0.2-7

The current package contains all the data that it should contain, but some
of it is redundant and could be filtered out.

One of the build steps consists of compiling .target, .mhclo and .obj files
into more efficient and smaller binary formats. After this compilation, the
source files are no longer needed and can be removed.
Removing these files results in considerable size reduction: the
installation size (/usr/share/makehuman folder) goes from 316MB to 170MB
after removing the redundant files.

The fix I propose is to run the following two lines of bash script during
the packaging process, right after running the compile_targets.py and
compile_meshes.py scripts:
find . -type f -iname \*.target -^Cec rm -rf {} \;
find . -type f -iname \*.obj -exec rm -rf {} \;


Bug#787646: makehuman: wrong version indication

2015-06-03 Thread Jonas Hauquier
Package: makehuman-data
Version: 1.0.2-7

Because of a build step that normally happens in build_prepare.py is
omitted in the debian package build, the MakeHuman version is not correctly
indicated.

The window title current says MakeHuman r? (UNKNOWN) - [Untitled]

The log file indicates:
NO VERSION file detected retrieving revision info from HG
abort: no repository found in '/usr/share' (.hg not found)!
NOTICE: Failed to get hg version number from command line: list index out
of range (This is just a head's up, not a critical error)
NOTICE: Failed to get hg version number using hglib:  (This is just a
head's up, not a critical error)
NOTICE: Failed to get hg version from file: [Errno 2] No such file or
directory: '/usr/share/.hg/cache/tags' (This is just a head's up, not a
critical error)
Detected HG revision: r? (UNKNOWN)
Initialized logging
VERSION: 1.0.2 (r? UNKNOWN) [none found]
HG REVISION: r? (UNKNOWN) [none found]
SHORT VERSION: v1.0.2
BASEMESH VERSION: hm08


To fix the window title, a small patch should be applied to makehuman.py:

--- makehuman-old.py2015-06-03 20:34:39.263148982 +0200
+++ makehuman.py2015-06-03 20:27:25.379164328 +0200
@@ -47,7 +47,7 @@

 ## Version information
#
 version = [1, 0, 2] # Major, minor and patch version
number
-release = False # False for nightly
+release = True  # False for nightly
 versionSub =  # Short version description
 meshVersion = hm08# Version identifier of the
basemesh
 



To also fix the other issues in the log, add a file called data/VERSION
containing the following line of text:
1241:47eda58327ee


Bug#787648: makehuman: package size is much larger than it needs to be

2015-06-03 Thread Jonas Hauquier
Looks like a control character snuck in.
Let's try this again:

find . -type f -iname \*.target -exec rm -rf {} \;
find . -type f -iname \*.obj -exec rm -rf {} \;


Bug#787673: makehuman: Update license information

2015-06-03 Thread Jonas Hauquier
Package: makehuman
Version: 1.0.2-7

The copyright information currently contained in the MakeHuman package is
not very accurate.
I have compiled a new proposed copyright document following the Debian
guidelines (see attachment), which I hope can be included in the package.

Affects both makehuman and makehuman-data packages.

Thank you.


Kind regards,

Jonas


copyright
Description: Binary data


Bug#785784: [makehuman] Missing python dependencies

2015-05-20 Thread Jonas Hauquier
The packages that MakeHuman depends on are:

Depends: makehuman-data (= 1.0.2), python2.7, python-numpy, python-opengl,
python-qt4, python-qt4-gl

(for reference, this is documented at:
http://www.makehuman.org/doc/node/libraries_and_build_procedures.html)

Perhaps, though I'm not certain of this, it could add blender as Proposed
package. Although we are still waiting for the OpenCollada importer to be
included in debian Blender. (See https://bugs.debian.org/694932 and
https://bugs.debian.org/694879)
So maybe better to hold this one off.


Bug#785164: makehuman: missing data files

2015-05-13 Thread Jonas Hauquier
Dear Muammar,

Thank you for your time and for following up on this.


Regards,

Jonas Hauquier


Bug#785162: makehuman: executable does not accept commandline arguments

2015-05-12 Thread Jonas Hauquier
Package: makehuman
Version: 1.0.2-1

MakeHuman can be run with commandline arguments, only the current
executable placed in /usr/bin/makehuman does not forward those.
By replacing
python makehuman.py
with
python makehuman.py $@
these commandline arguments can be used.


Bug#785164: makehuman: missing data files

2015-05-12 Thread Jonas Hauquier
Package: makehuman-data
Version: 1.0.2-1

Currently the MakeHuman package only comes with a bare minumum of data
files.
Because of size limitations on a VCS, extra data is stored on an FTP
repository.
The source repository contains a script called download_assets.py which can
be used to obtain the additional assets.

Additionally, for faster loading and smaller package size, these assets
should be compiled in binary form. The scripts compile_targets.py,
compile_models.py and compile_proxies.py are intended for this purpose.
All these steps are automated in a build script called
buildscripts/build_prepare.py which can be used to create a tarball to
package as a deb (it is being used by our internally used deb build routine
at buildscripts/deb/buildDeb.py), or otherwise can serve as inspiration for
rolling a custom deployment routine.


Bug#785164: Acknowledgement (makehuman: missing data files)

2015-05-12 Thread Jonas Hauquier
Detailed build procedures, including how to download and compile the
assets, can be found in the official documentation on the website:
http://www.makehuman.org/doc/node/libraries_and_build_procedures.html
Please, don't hesitate to address any additional questions to the MakeHuman
developers directly.