Source: openscenegraph-3.4 Severity: important Dear Maintainer,
in following up these OpenMW bugs #850021 and #838792 it is currently impossible to run OpenMW on armhf and armel with OSG-3.4 when the later is compiled against libGLESv2. While OpenMW will compile, it spams stderr with warnings and results in a black screen. The reason for this is because of OSG-3.4's osgQt library that links links against Qt which is also compiled with libGLESv2 support on armhf and armel. Once you disable building osgQt by removing the Qt dependency, OSG-3.4 builds without problem on both armhf and armel. This will help resolve bug #838792 where OSG-3.4 FTBFS on armel. OpenMW is able to be built and run as expected on armhf and armel hardware. I've attached a patch to help get the ball rolling here. Thanks, Bret Curtis -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386
diff --git a/debian/control b/debian/control index 1877a5d..8531ea6 100644 --- a/debian/control +++ b/debian/control @@ -19,17 +19,13 @@ Build-Depends: debhelper (>= 7.0.50), libgdal-dev, libx11-dev, libxmu-dev, - freeglut3-dev [!armhf], - libgl1-mesa-dev [!armhf] | libgl-dev [!armhf], - libegl1-mesa-dev [armhf], - libgles2-mesa-dev [armhf], + freeglut3-dev, + libgl1-mesa-dev | libgl-dev, libxine2-dev, libavcodec-dev, libswscale-dev, libavdevice-dev, libavresample-dev, - qtbase5-dev, - libqt5opengl5-dev, librsvg2-dev, libpoppler-glib-dev, liblua5.2-dev, diff --git a/debian/rules b/debian/rules index f2113fb..92855f8 100755 --- a/debian/rules +++ b/debian/rules @@ -64,24 +64,6 @@ CXXFLAGS := ${CXXFLAGS} ${ARCH_CXX_FLAGS} LDFLAGS += -Wl,--as-needed -ifeq (armhf,$(DEB_HOST_ARCH)) -EGL_LDFLAGS=$(shell pkg-config egl --libs) -OPENGLES_LDFLAGS=$(shell pkg-config glesv2 --libs) -ARMHF_DEFINES=-D OSG_GL1_AVAILABLE:BOOL=OFF \ - -D OSG_GL2_AVAILABLE:BOOL=OFF \ - -D OSG_GL3_AVAILABLE:BOOL=OFF \ - -D OSG_GLES1_AVAILABLE:BOOL=OFF \ - -D OSG_GLES2_AVAILABLE:BOOL=ON \ - -D OSG_GL_DISPLAYLISTS_AVAILABLE:BOOL=OFF \ - -D OSG_GL_MATRICES_AVAILABLE:BOOL=OFF \ - -D OSG_GL_VERTEX_FUNCS_AVAILABLE:BOOL=OFF \ - -D OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE:BOOL=OFF \ - -D OSG_GL_FIXED_FUNCTION_AVAILABLE:BOOL=OFF \ - -D OSG_CPP_EXCEPTIONS_AVAILABLE:BOOL=OFF \ - -D OPENGL_gl_LIBRARY:STRING="${OPENGLES_LDFLAGS}" \ - -D OPENGL_egl_LIBRARY:STRING="${EGL_LDFLAGS}" -endif - # # Shared libraries version numbers # @@ -329,8 +311,6 @@ MANEXAMPLES = \ osgwidgettable.1 \ osgwidgetwindow.1 \ osgwindows.1 \ - osgQtBrowser.1 \ - osgQtWidgets.1 \ osganalysis.1 \ osganimationeasemotion.1 \ osganimationmorph.1 \ @@ -352,12 +332,10 @@ MANEXAMPLES = \ osguserstats.1 \ osgvertexattributes.1 \ osgviewerGTK.1 \ - osgviewerQtContext.1 \ osgviewerSDL.1 \ osgvirtualprogram.1 \ present3D.1 \ osguserdata.1 \ - osgviewerQt.1 \ osgviewerWX.1 \ osgatomiccounter.1 \ osgcomputeshaders.1 \ @@ -432,7 +410,7 @@ doc-stamp: mkdir -p html doxygen debian/Doxyfile-openscenegraph # Use Debian's jquery.js - rm html/openscenegraph/jquery.js + rm -f html/openscenegraph/jquery.js find html -name "*.html" -print0 | xargs -0 perl -i -pe 's|src="jquery.js"|src="/usr/share/javascript/jquery/jquery.js"|' touch doc-stamp @@ -451,7 +429,6 @@ build-stamp: -D CMAKE_BUILD_TYPE=RelWithDebInfo \ -D CMAKE_RELWITHDEBINFO_POSTFIX="" \ -D OSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF \ - ${ARMHF_DEFINES} \ ../.. ${MAKE} ${PARALLEL_OPTIONS} VERBOSE=1 -C build/osg