This commit is contained in:
parent
6c9cac2341
commit
e3ab844533
@ -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
|
|
@ -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;
|
|
@ -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
3
SDL_ttf-2.0.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1cee8950bd98b3e7af72069a48b42af98d550dd4a931cb807357294e80ec2194
|
||||||
|
size 3066276
|
@ -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
|
Sun Jul 22 19:00:07 CEST 2007 - aj@suse.de
|
||||||
|
|
||||||
|
23
SDL_ttf.spec
23
SDL_ttf.spec
@ -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.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# 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/
|
URL: http://www.libsdl.org/projects/SDL_ttf/
|
||||||
License: LGPL v2 or later
|
License: LGPL v2 or later
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Version: 2.0.8
|
Version: 2.0.9
|
||||||
Release: 76
|
Release: 1
|
||||||
Summary: Simple DirectMedia Layer--Truetype Library
|
Summary: Simple DirectMedia Layer--Truetype Library
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: %{name}-%{version}-automake.patch
|
|
||||||
Patch1: %{name}-%{version}-noftinternals.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,23 +48,17 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
|
||||||
%patch1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm *.m4
|
|
||||||
autoreconf --force --install
|
|
||||||
%configure
|
%configure
|
||||||
make %{?jobs:-j %jobs}
|
make %{?jobs:-j %jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -81,6 +73,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
%{_libdir}/libSDL_ttf.so
|
%{_libdir}/libSDL_ttf.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Jul 22 2007 - aj@suse.de
|
||||||
- Cleanup BuildRequires.
|
- Cleanup BuildRequires.
|
||||||
* Thu Jun 07 2007 - prusnak@suse.cz
|
* Thu Jun 07 2007 - prusnak@suse.cz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user