summaryrefslogtreecommitdiffstats
path: root/sdl_ttf
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /sdl_ttf
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'sdl_ttf')
-rw-r--r--sdl_ttf/.footprint.i68612
-rw-r--r--sdl_ttf/.footprint.x86_6412
-rw-r--r--sdl_ttf/.md5sum.i6861
-rw-r--r--sdl_ttf/.md5sum.x86_641
-rw-r--r--sdl_ttf/Pkgfile21
-rw-r--r--sdl_ttf/sdl_ttf-noftinternals.patch24
6 files changed, 71 insertions, 0 deletions
diff --git a/sdl_ttf/.footprint.i686 b/sdl_ttf/.footprint.i686
new file mode 100644
index 000000000..db9eacba2
--- /dev/null
+++ b/sdl_ttf/.footprint.i686
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/SDL/
+-rw-r--r-- root/root usr/include/SDL/SDL_ttf.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.10.0
+-rwxr-xr-x root/root usr/lib/libSDL_ttf-2.0.so.0.10.0
+-rw-r--r-- root/root usr/lib/libSDL_ttf.a
+-rwxr-xr-x root/root usr/lib/libSDL_ttf.la
+lrwxrwxrwx root/root usr/lib/libSDL_ttf.so -> libSDL_ttf-2.0.so.0.10.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/SDL_ttf.pc
diff --git a/sdl_ttf/.footprint.x86_64 b/sdl_ttf/.footprint.x86_64
new file mode 100644
index 000000000..db9eacba2
--- /dev/null
+++ b/sdl_ttf/.footprint.x86_64
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/SDL/
+-rw-r--r-- root/root usr/include/SDL/SDL_ttf.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.10.0
+-rwxr-xr-x root/root usr/lib/libSDL_ttf-2.0.so.0.10.0
+-rw-r--r-- root/root usr/lib/libSDL_ttf.a
+-rwxr-xr-x root/root usr/lib/libSDL_ttf.la
+lrwxrwxrwx root/root usr/lib/libSDL_ttf.so -> libSDL_ttf-2.0.so.0.10.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/SDL_ttf.pc
diff --git a/sdl_ttf/.md5sum.i686 b/sdl_ttf/.md5sum.i686
new file mode 100644
index 000000000..941c52877
--- /dev/null
+++ b/sdl_ttf/.md5sum.i686
@@ -0,0 +1 @@
+814e6e17e8879254208d23b3b7e0354b SDL_ttf-2.0.10.tar.gz
diff --git a/sdl_ttf/.md5sum.x86_64 b/sdl_ttf/.md5sum.x86_64
new file mode 100644
index 000000000..941c52877
--- /dev/null
+++ b/sdl_ttf/.md5sum.x86_64
@@ -0,0 +1 @@
+814e6e17e8879254208d23b3b7e0354b SDL_ttf-2.0.10.tar.gz
diff --git a/sdl_ttf/Pkgfile b/sdl_ttf/Pkgfile
new file mode 100644
index 000000000..48f763b9a
--- /dev/null
+++ b/sdl_ttf/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Bibliothèque TrueType pour libsdl.
+# URL: http://www.libsdl.org/projects/SDL_ttf/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: freetype, sdl
+# Run on: freetype,sdl
+
+name=sdl_ttf
+version=2.0.10
+release=1
+source=( http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$version.tar.gz)
+
+build() {
+ cd SDL_ttf-$version
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
+
+
diff --git a/sdl_ttf/sdl_ttf-noftinternals.patch b/sdl_ttf/sdl_ttf-noftinternals.patch
new file mode 100644
index 000000000..2d536ff7c
--- /dev/null
+++ b/sdl_ttf/sdl_ttf-noftinternals.patch
@@ -0,0 +1,24 @@
+diff -Nru SDL_ttf-2.0.8.orig/SDL_ttf.c SDL_ttf-2.0.8/SDL_ttf.c
+--- SDL_ttf-2.0.8.orig/SDL_ttf.c 2006-05-01 11:26:17.000000000 +0200
++++ SDL_ttf-2.0.8/SDL_ttf.c 2007-01-03 13:32:42.438178717 +0100
+@@ -47,9 +47,9 @@
+ #include <freetype/freetype.h>
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+-*/
+-#include <freetype/internal/ftobjs.h>
+
++#include <freetype/internal/ftobjs.h>
++*/
+ #ifndef FT_OPEN_STREAM
+ #define FT_OPEN_STREAM ft_open_stream
+ #endif
+@@ -278,7 +278,7 @@
+ }
+ memset(stream, 0, sizeof(*stream));
+
+- stream->memory = library->memory;
++ stream->memory = NULL;
+ stream->read = RWread;
+ stream->descriptor.pointer = src;
+ stream->pos = (unsigned long)position;