forked from pool/aegisub
f10b681601
- Remove explicit glu dependency. wxWidgets-devel is the one that should have it - Remove explicit xfixes,xdamage and xxf86vm dependencies. Mesa-libGL-devel is the one that should be fixed (probably removing the .la file) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=4
154 lines
3.8 KiB
Diff
154 lines
3.8 KiB
Diff
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -20102,55 +20102,6 @@ See \`config.log' for more details." "$L
|
|
fi
|
|
|
|
|
|
- aegisub_save_LIBS="$LIBS"
|
|
- aegisub_save_CPPFLAGS="$CPPFLAGS"
|
|
- CPPFLAGS="$GL_CFLAGS"
|
|
- LIBS="$GL_LIBS -lGLU"
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGLU works" >&5
|
|
-$as_echo_n "checking whether OpenGLU works... " >&6; }
|
|
-if test "${agi_cv_with_openglu+set}" = set; then :
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test "$cross_compiling" = yes; then :
|
|
- if test $? -ne 0; then
|
|
- eval agi_cv_with_openglu="no";
|
|
- else
|
|
- eval agi_cv_with_openglu="yes";
|
|
- fi
|
|
-else
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
-/* end confdefs.h. */
|
|
-
|
|
-#include <GL/glu.h>
|
|
-int main(void) {
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-if ac_fn_cxx_try_run "$LINENO"; then :
|
|
- eval agi_cv_with_openglu="yes"
|
|
-else
|
|
- eval agi_cv_with_openglu="no"
|
|
-fi
|
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
-fi
|
|
-
|
|
-
|
|
-fi
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $agi_cv_with_openglu" >&5
|
|
-$as_echo "$agi_cv_with_openglu" >&6; }
|
|
- CPPFLAGS="$aegisub_save_CPPFLAGS"
|
|
- LIBS="$aegisub_save_LIBS"
|
|
-
|
|
-
|
|
-if test "$agi_cv_with_openglu" = "no" && test "$build_darwin" != "yes"; then
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-as_fn_error "Please install a working OpenGL GLU library.
|
|
-See \`config.log' for more details." "$LINENO" 5; }
|
|
-fi
|
|
-
|
|
-
|
|
###########
|
|
## Freetype
|
|
###########
|
|
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -368,16 +368,6 @@ if test "$agi_cv_with_opengl" = "no"; th
|
|
AC_MSG_FAILURE([Please install a working OpenGL library.])
|
|
fi
|
|
|
|
-AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
|
|
-#include <GL/glu.h>
|
|
-int main(void) {
|
|
- return 0;
|
|
-}])
|
|
-
|
|
-if test "$agi_cv_with_openglu" = "no" && test "$build_darwin" != "yes"; then
|
|
- AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
|
|
-fi
|
|
-
|
|
|
|
###########
|
|
## Freetype
|
|
Index: src/gl_wrap.h
|
|
===================================================================
|
|
--- src/gl_wrap.h.orig
|
|
+++ src/gl_wrap.h
|
|
@@ -40,7 +40,6 @@
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
typedef GLuint GLhandleARB;
|
|
#endif
|
|
#include <wx/thread.h>
|
|
Index: src/stdwx.h
|
|
===================================================================
|
|
--- src/stdwx.h.orig
|
|
+++ src/stdwx.h
|
|
@@ -232,7 +232,6 @@
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
#endif
|
|
|
|
#ifndef _CRT_SECURE_NO_WARNINGS
|
|
Index: src/video_context.cpp
|
|
===================================================================
|
|
--- src/video_context.cpp.orig
|
|
+++ src/video_context.cpp
|
|
@@ -43,7 +43,6 @@
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
#endif
|
|
#include <wx/image.h>
|
|
#include <string.h>
|
|
Index: src/video_context.h
|
|
===================================================================
|
|
--- src/video_context.h.orig
|
|
+++ src/video_context.h
|
|
@@ -53,7 +53,6 @@
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
typedef GLuint GLhandleARB;
|
|
#endif
|
|
#include "video_frame.h"
|
|
Index: src/video_display.cpp
|
|
===================================================================
|
|
--- src/video_display.cpp.orig
|
|
+++ src/video_display.cpp
|
|
@@ -44,7 +44,6 @@
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
#endif
|
|
#include <wx/image.h>
|
|
#include <string.h>
|
|
Index: src/video_out_gl.cpp
|
|
===================================================================
|
|
--- src/video_out_gl.cpp.orig
|
|
+++ src/video_out_gl.cpp
|
|
@@ -50,7 +50,6 @@ using std::max;
|
|
#include <OpenGL/glu.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
-#include <GL/glu.h>
|
|
#endif
|
|
|
|
#include "video_out_gl.h"
|