SHA256
1
0
forked from pool/SDL_ttf
OBS User unknown 2007-07-27 00:09:39 +00:00 committed by Git OBS Bridge
parent 6c9cac2341
commit e3ab844533
6 changed files with 21 additions and 53 deletions

View File

@ -1,9 +0,0 @@
--- Makefile.am
+++ Makefile.am
@@ -1,5 +1,5 @@
# Makefile.am for the SDL truetype font loading library and viewer
-
+AUTOMAKE_OPTIONS = foreign
lib_LTLIBRARIES = libSDL_ttf.la
libSDL_ttfincludedir = $(includedir)/SDL

View File

@ -1,28 +0,0 @@
--- SDL_ttf.c
+++ SDL_ttf.c
@@ -43,16 +43,6 @@
#include FT_FREETYPE_H
#include FT_OUTLINE_H
#include FT_TRUETYPE_IDS_H
-/*
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
-*/
-#include <freetype/internal/ftobjs.h>
-
-#ifndef FT_OPEN_STREAM
-#define FT_OPEN_STREAM ft_open_stream
-#endif
#include "SDL.h"
#include "SDL_endian.h"
@@ -278,7 +268,7 @@
}
memset(stream, 0, sizeof(*stream));
- stream->memory = library->memory;
+ stream->memory = NULL; /* set by FT_Open_Face */
stream->read = RWread;
stream->descriptor.pointer = src;
stream->pos = (unsigned long)position;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce284ed33c418c73216b23363420f07ddcb7e4e2fe2a1d38dc7b1e74c475b35f
size 2410310

3
SDL_ttf-2.0.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cee8950bd98b3e7af72069a48b42af98d550dd4a931cb807357294e80ec2194
size 3066276

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jul 25 18:19:28 CEST 2007 - prusnak@suse.cz
- updated to 2.0.9
* fixed rendering of fonts with 2 bit and 4 bit embedded graymaps
* fixed bug in solid bold glyph rendering
* fixed crash when passing NULL to TTF_CloseFont()
-------------------------------------------------------------------
Sun Jul 22 19:00:07 CEST 2007 - aj@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package SDL_ttf (Version 2.0.8)
# spec file for package SDL_ttf (Version 2.0.9)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -15,12 +15,10 @@ BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11-Mesa-devel xorg-x11-l
URL: http://www.libsdl.org/projects/SDL_ttf/
License: LGPL v2 or later
Group: Development/Libraries/X11
Version: 2.0.8
Release: 76
Version: 2.0.9
Release: 1
Summary: Simple DirectMedia Layer--Truetype Library
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-automake.patch
Patch1: %{name}-%{version}-noftinternals.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -50,23 +48,17 @@ Authors:
%prep
%setup -q
%patch0
%patch1
%build
rm *.m4
autoreconf --force --install
%configure
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -81,6 +73,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{_libdir}/libSDL_ttf.so
%changelog
* Wed Jul 25 2007 - prusnak@suse.cz
- updated to 2.0.9
* fixed rendering of fonts with 2 bit and 4 bit embedded graymaps
* fixed bug in solid bold glyph rendering
* fixed crash when passing NULL to TTF_CloseFont()
* Sun Jul 22 2007 - aj@suse.de
- Cleanup BuildRequires.
* Thu Jun 07 2007 - prusnak@suse.cz