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

Bug 466020

Summary: media-gfx/blender USE=ndof should depend on dev-libs/libspnav
Product: Gentoo Linux Reporter: Daniel Turton <mistertwo>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled, hasufell, pchrist
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for blender-2.66.ebuild

Description Daniel Turton 2013-04-15 19:11:05 UTC
Blender's "ndof" use flag does not pull in libspnav dependency. 

Reproducible: Always

Steps to Reproduce:
1. Emerge Blender with "ndof" flag enabled. 
2. Find this line in the config output:
   * WITH_INPUT_NDOF   OFF
3. Blender builds without ndof support enabled.
Actual Results:  
Blender would build without ndof support.

Expected Results:  
Blender to build without ndof support. Pulled down source and Cmake configurator mentioned that it couldn't find the Spacenav libraries on my system.

I've created a modified ebuild that looked for the missing dependency and added it in to be built. Patch attached.
Comment 1 Daniel Turton 2013-04-15 19:12:40 UTC
Created attachment 345638 [details, diff]
Patch for blender-2.66.ebuild

This works on my end. Hope it works on yours as well. :)
Comment 2 Julian Ospald 2013-06-21 15:14:24 UTC
+*blender-2.67b-r1 (21 Jun 2013)
+*blender-2.66-r1 (21 Jun 2013)
+
+  21 Jun 2013; Julian Ospald <hasufell@gentoo.org> -blender-2.66.ebuild,
+  +blender-2.66-r1.ebuild, +files/blender-2.66-sse2.patch,
+  -blender-2.67b.ebuild, +blender-2.67b-r1.ebuild,
+  +files/blender-2.67b-sse2.patch:
+  fix dependencies wrt #466020, improve sse2 handling wrt #469134, remove env.d
+  file wrt #447626, fix fftw useflag, update REQUIRED_USE, allow running
+  src_install multiple times