This commit is contained in:
commit
e7938fbeca
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
28
SDL_ttf-2.0.8-noftinternals.patch
Normal file
28
SDL_ttf-2.0.8-noftinternals.patch
Normal file
@ -0,0 +1,28 @@
|
||||
--- 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;
|
9
SDL_ttf-2.0.8.dif
Normal file
9
SDL_ttf-2.0.8.dif
Normal file
@ -0,0 +1,9 @@
|
||||
--- Makefile.am
|
||||
+++ Makefile.am 2002/12/16 16:49:33
|
||||
@@ -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
|
3
SDL_ttf-2.0.8.tar.bz2
Normal file
3
SDL_ttf-2.0.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce284ed33c418c73216b23363420f07ddcb7e4e2fe2a1d38dc7b1e74c475b35f
|
||||
size 2410310
|
63
SDL_ttf.changes
Normal file
63
SDL_ttf.changes
Normal file
@ -0,0 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 12:27:00 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
- do not use freetype2 internals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 10:35:12 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- fixed BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 14:32:33 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- fixed crash on nonexistant font file [#145040]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 18:48:28 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr and %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 06 12:57:04 CET 2004 - nadvornik@suse.cz
|
||||
|
||||
- fixed to compile with new freetype
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 12:42:19 CEST 2003 - nadvornik@suse.cz
|
||||
|
||||
- updated to 2.0.6
|
||||
- added buildroot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 16 17:49:53 CET 2002 - ro@suse.de
|
||||
|
||||
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 2 14:43:55 CEST 2002 - uli@suse.de
|
||||
|
||||
- use %_libdir (bug #18726)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 14:31:45 CEST 2002 - uli@suse.de
|
||||
|
||||
- update -> 2.0.5 (bugfixes, support for selecting individual font
|
||||
faces, support for foreground/background color in showfont)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 12 00:29:34 CEST 2002 - ro@suse.de
|
||||
|
||||
- run autoreconf (fixes build on ppc64)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 18:23:53 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 7 17:45:44 CEST 2001 - uli@suse.de
|
||||
|
||||
- initial package
|
||||
|
||||
|
93
SDL_ttf.spec
Normal file
93
SDL_ttf.spec
Normal file
@ -0,0 +1,93 @@
|
||||
#
|
||||
# spec file for package SDL_ttf (Version 2.0.8)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: SDL_ttf
|
||||
BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11 xorg-x11-Mesa-devel
|
||||
URL: http://www.libsdl.org/projects/SDL_ttf/
|
||||
License: LGPL
|
||||
Group: Development/Libraries/X11
|
||||
#Requires: xforms
|
||||
Autoreqprov: on
|
||||
Version: 2.0.8
|
||||
Release: 1
|
||||
Summary: Simple DirectMedia Layer--Truetype Library
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: %{name}-%{version}.dif
|
||||
Patch1: %{name}-%{version}-noftinternals.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This is a sample library that allows you to use TrueType fonts in your
|
||||
SDL applications.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%patch1
|
||||
|
||||
%build
|
||||
rm *.m4
|
||||
autoreconf --force --install
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES COPYING README
|
||||
/usr/include/SDL/SDL_ttf.h
|
||||
%_libdir/libSDL_ttf-2.0.so.*
|
||||
%_libdir/libSDL_ttf.a
|
||||
%_libdir/libSDL_ttf.la
|
||||
%_libdir/libSDL_ttf.so
|
||||
|
||||
%changelog -n SDL_ttf
|
||||
* Fri Jun 23 2006 - nadvornik@suse.cz
|
||||
- do not use freetype2 internals
|
||||
* Fri Jan 27 2006 - nadvornik@suse.cz
|
||||
- fixed BuildRequires
|
||||
* Wed Jan 25 2006 - nadvornik@suse.cz
|
||||
- fixed crash on nonexistant font file [#145040]
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%defattr and %%run_ldconfig
|
||||
* Tue Jan 06 2004 - nadvornik@suse.cz
|
||||
- fixed to compile with new freetype
|
||||
* Fri Jul 25 2003 - nadvornik@suse.cz
|
||||
- updated to 2.0.6
|
||||
- added buildroot
|
||||
* Mon Dec 16 2002 - ro@suse.de
|
||||
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
||||
* Mon Sep 02 2002 - uli@suse.de
|
||||
- use %%_libdir (bug #18726)
|
||||
* Thu Jun 13 2002 - uli@suse.de
|
||||
- update -> 2.0.5 (bugfixes, support for selecting individual font
|
||||
faces, support for foreground/background color in showfont)
|
||||
* Wed Jun 12 2002 - ro@suse.de
|
||||
- run autoreconf (fixes build on ppc64)
|
||||
* Tue Jan 22 2002 - ro@suse.de
|
||||
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
||||
* Tue Aug 07 2001 - uli@suse.de
|
||||
- initial package
|
Loading…
Reference in New Issue
Block a user