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 {} \;

Reply via email to