Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package makehuman

It fixes the RC bug #924273 (taken from upstream) and would otherwise
drop out of buster. Diff attached

unblock makehuman/1.1.1-1.2

Cheers Jochen

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.0-4-armmp (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/changelog b/debian/changelog
index 7978710..e12f21b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+makehuman (1.1.1-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for shape mismatch error (Closes: #924273)
+
+ -- Jochen Sprickerhof <jspri...@debian.org>  Sun, 14 Apr 2019 10:51:40 +0200
+
 makehuman (1.1.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git 
a/debian/patches/0003-Ensure-we-stick-to-the-length-of-the-array-that-is-a.patch
 
b/debian/patches/0003-Ensure-we-stick-to-the-length-of-the-array-that-is-a.patch
new file mode 100644
index 0000000..e5e1196
--- /dev/null
+++ 
b/debian/patches/0003-Ensure-we-stick-to-the-length-of-the-array-that-is-a.patch
@@ -0,0 +1,22 @@
+From: Joel Palmius <joepal1...@hotmail.com>
+Date: Wed, 7 Mar 2018 09:33:29 +0100
+Subject: Ensure we stick to the length of the array that is assigned to (nbt
+ #1)
+
+---
+ makehuman/core/module3d.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/makehuman/core/module3d.py b/makehuman/core/module3d.py
+index 11df086..cb6e6f2 100644
+--- a/makehuman/core/module3d.py
++++ b/makehuman/core/module3d.py
+@@ -308,7 +308,7 @@ class Object3D(object):
+         fuvs = self.fuvs[self.face_mask]
+         uv_idx = np.unique(fuvs.reshape(-1))
+         inverse_uv_idx = - np.ones(self.texco.shape[0], dtype=np.int32)
+-        inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], 
dtype=np.int32)
++        inverse_uv_idx[uv_idx] = np.arange(uv_idx.shape[0], dtype=np.int32)
+         for i in xrange(self.vertsPerPrimitive):
+             fuvs[:,i] = inverse_uv_idx[fuvs[:,i]]
+ 
diff --git a/debian/patches/series b/debian/patches/series
index c6bfdab..8e99163 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_makehuman.py.patch
 sphinx.ext.pngmath.patch
+0003-Ensure-we-stick-to-the-length-of-the-array-that-is-a.patch

Reply via email to