[FFe] openwalnut fails to build on Utopic armhf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openwalnut (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a bugfix-only update.
The openwalnut package currently fails to build on Utopic armhf. This is partly because of a typedef conflict error between OpenSceneGraph and Qt4 and partly because of the use of a constant that is only present in OpenGL and OpenGL ES 1.x (not in OpenGL ES 2.0). For the first bug, an #include is added before all other includes to have the typedef and a #define assigned for it. For the second bug, that section of the code (which is the code that controls line smoothing) is excluded for armhf. While this means that openwalnut compiles, line-smoothing will not work. (I believe the proper way to do this in OpenGL ES 2.0 is to use multisampling.)
In addition, I added a patch that ensures that OpenGL ES is used if requested, and sets the libraries to link to to include OpenGL ES 2.0.
Considering that this package did not previously compile on armhf, the risk of causing this package to break builds for dependent packages (if any) are low. However, there is a functionality loss for armhf, since line-smoothing will not work.
Related branches
- Colin Watson: Approve
-
Diff: 169 lines (+92/-5)7 files modifieddebian/changelog (+15/-0)
debian/control (+4/-2)
debian/patches/add-opengl-es-option.patch (+34/-0)
debian/patches/disable-line-smoothing.patch (+17/-0)
debian/patches/fix-includes.patch (+13/-0)
debian/patches/series (+3/-0)
debian/rules (+6/-3)
Attached is a build log before some changes were made. Another build for armhf needs to be done.