- Rebuild for new ftgl (#501323)
This commit is contained in:
parent
32761bb4a5
commit
ea470b76b2
2 changed files with 36 additions and 1 deletions
35
sdljava-0.9.1-ftgl213.patch
Normal file
35
sdljava-0.9.1-ftgl213.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
diff -up sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTFont.i~ sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTFont.i
|
||||
--- sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTFont.i~ 2005-02-20 23:19:13.000000000 +0100
|
||||
+++ sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTFont.i 2009-05-22 12:52:37.000000000 +0200
|
||||
@@ -1,5 +1,3 @@
|
||||
-%feature("notabstract") FTFont;
|
||||
-
|
||||
class FTFont
|
||||
{
|
||||
public:
|
||||
diff -up sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTGL.i~ sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTGL.i
|
||||
--- sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTGL.i~ 2005-02-20 23:19:13.000000000 +0100
|
||||
+++ sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/FTGL.i 2009-05-22 12:55:12.000000000 +0200
|
||||
@@ -1,13 +1,6 @@
|
||||
%module SWIG_FTGL
|
||||
%{
|
||||
- #include "FTFont.h"
|
||||
- #include "FTFace.h"
|
||||
- #include "FTGLBitmapFont.h"
|
||||
- #include "FTGLExtrdFont.h"
|
||||
- #include "FTGLOutlineFont.h"
|
||||
- #include "FTGLPixmapFont.h"
|
||||
- #include "FTGLPolygonFont.h"
|
||||
- #include "FTGLTextureFont.h"
|
||||
+ #include <FTGL/ftgl.h>
|
||||
|
||||
void SWIG_BBox(const char* string, FTFont* font, float* llx, float* lly, float* llz, float* urx, float* ury, float* urz) {
|
||||
font->BBox(string, *llx, *lly, *llz, *urx, *ury, *urz);
|
||||
@@ -35,7 +28,6 @@
|
||||
typedef int FT_Error;
|
||||
|
||||
%include "FTFont.i"
|
||||
-%include "FTFace.i"
|
||||
%include "FTGLBitmapFont.i"
|
||||
%include "FTGLExtrdFont.i"
|
||||
%include "FTGLOutlineFont.i"
|
||||
|
|
@ -21,7 +21,7 @@ Patch1: sdljava-0.9.1-ftgl213.patch
|
|||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: ftgl-devel glew-devel SDL-devel SDL_gfx-devel SDL_image-devel
|
||||
BuildRequires: SDL_mixer-devel SDL_ttf-devel java-gcj-compat-devel
|
||||
BuildRequires: java-javadoc ant xml-commons-apis swig bsh jdom
|
||||
BuildRequires: java-javadoc ant xml-commons-apis swig bsh jdom ruby
|
||||
Requires: bsh jdom
|
||||
|
||||
%description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue