[Midnightbsd-cvs] mports [24369] trunk/graphics/sdl_ttf: update to 2.0.11

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 24 18:51:26 EDT 2018


Revision: 24369
          http://svnweb.midnightbsd.org/mports/?rev=24369
Author:   laffer1
Date:     2018-09-24 18:51:25 -0400 (Mon, 24 Sep 2018)
Log Message:
-----------
update to 2.0.11

Modified Paths:
--------------
    trunk/graphics/sdl_ttf/Makefile
    trunk/graphics/sdl_ttf/distinfo
    trunk/graphics/sdl_ttf/pkg-plist

Added Paths:
-----------
    trunk/graphics/sdl_ttf/files/patch-bug1433

Removed Paths:
-------------
    trunk/graphics/sdl_ttf/files/patch-SDL_ttf.c
    trunk/graphics/sdl_ttf/files/patch-aa

Modified: trunk/graphics/sdl_ttf/Makefile
===================================================================
--- trunk/graphics/sdl_ttf/Makefile	2018-09-24 22:47:28 UTC (rev 24368)
+++ trunk/graphics/sdl_ttf/Makefile	2018-09-24 22:51:25 UTC (rev 24369)
@@ -3,7 +3,7 @@
 # $FreeBSD: ports/graphics/sdl_ttf/Makefile,v 1.36 2007/05/19 20:10:48 flz Exp $
 
 PORTNAME=	sdl_ttf
-PORTVERSION=	2.0.8
+PORTVERSION=	2.0.11
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.libsdl.org/projects/SDL_ttf/release/
 DISTNAME=	SDL_ttf-${PORTVERSION}
@@ -13,10 +13,11 @@
 
 LICENSE=	lgpl
 
-LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libfreetype.so:print/freetype2
 
 USE_SDL=	sdl
-USES=		gmake
+USE_XORG=	x11
+USES=		gmake iconv libtool pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd9.1
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
@@ -23,10 +24,11 @@
 		LDFLAGS="-L${LOCALBASE}/lib"
 USE_LDCONFIG=	yes
 
-.if !defined(WITHOUT_X11) && !defined(WITHOUT_GL)
-USE_GL=		yes
-.endif
+OPTIONS_DEFINE=               OPENGL
+OPTIONS_DEFAULT=      OPENGL
 
+OPENGL_USE=   GL=yes
+
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${PREFIX}/bin

Modified: trunk/graphics/sdl_ttf/distinfo
===================================================================
--- trunk/graphics/sdl_ttf/distinfo	2018-09-24 22:47:28 UTC (rev 24368)
+++ trunk/graphics/sdl_ttf/distinfo	2018-09-24 22:51:25 UTC (rev 24369)
@@ -1,3 +1,2 @@
-SHA256 (SDL_ttf-2.0.8.tar.gz) = 6f57c879c0d15211f468aac48ed43653103bbe701a3f1cff462107ad1f74c5bc
-RMD160 (SDL_ttf-2.0.8.tar.gz) = fd4fc1d56e0dc982fb83bc1c41609d26d3a1d8b6
-SIZE (SDL_ttf-2.0.8.tar.gz) = 2457385
+SHA256 (SDL_ttf-2.0.11.tar.gz) = 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
+SIZE (SDL_ttf-2.0.11.tar.gz) = 4053686

Deleted: trunk/graphics/sdl_ttf/files/patch-SDL_ttf.c
===================================================================
--- trunk/graphics/sdl_ttf/files/patch-SDL_ttf.c	2018-09-24 22:47:28 UTC (rev 24368)
+++ trunk/graphics/sdl_ttf/files/patch-SDL_ttf.c	2018-09-24 22:51:25 UTC (rev 24369)
@@ -1,19 +0,0 @@
---- SDL_ttf.c.orig	Mon May  1 05:26:17 2006
-+++ SDL_ttf.c	Sun Sep 24 15:46:44 2006
-@@ -48,7 +48,6 @@
- #include <freetype/ftoutln.h>
- #include <freetype/ttnameid.h>
- */
--#include <freetype/internal/ftobjs.h>
- 
- #ifndef FT_OPEN_STREAM
- #define FT_OPEN_STREAM ft_open_stream
-@@ -278,7 +277,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;

Deleted: trunk/graphics/sdl_ttf/files/patch-aa
===================================================================
--- trunk/graphics/sdl_ttf/files/patch-aa	2018-09-24 22:47:28 UTC (rev 24368)
+++ trunk/graphics/sdl_ttf/files/patch-aa	2018-09-24 22:51:25 UTC (rev 24369)
@@ -1,13 +0,0 @@
-
-$FreeBSD: ports/graphics/sdl_ttf/files/patch-aa,v 1.4 2006/10/14 08:53:06 marcus Exp $
-
---- Makefile.in.orig
-+++ Makefile.in
-@@ -243,7 +243,6 @@
- 
- libSDL_ttf_la_LDFLAGS = \
- 	-no-undefined		\
--	-release $(LT_RELEASE)	\
- 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
- 
- libSDL_ttf_la_LIBADD = 

Added: trunk/graphics/sdl_ttf/files/patch-bug1433
===================================================================
--- trunk/graphics/sdl_ttf/files/patch-bug1433	                        (rev 0)
+++ trunk/graphics/sdl_ttf/files/patch-bug1433	2018-09-24 22:51:25 UTC (rev 24369)
@@ -0,0 +1,19 @@
+Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
+ Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
+Author: Unknown
+Last-Update: 2012-03-03
+Bug-Debian: http://bugs.debian.org/661987
+Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
+
+--- SDL_ttf.c
++++ SDL_ttf.c
+@@ -1752,7 +1752,7 @@
+ 	/* Copy the character from the pixmap */
+ 	src = glyph->pixmap.buffer;
+ 	dst = (Uint8*) textbuf->pixels;
+-	for ( row = 0; row < glyph->bitmap.rows; ++row ) {
++	for ( row = 0; row < glyph->pixmap.rows; ++row ) {
+ 		memcpy( dst, src, glyph->pixmap.width );
+ 		src += glyph->pixmap.pitch;
+ 		dst += textbuf->pitch;
+


Property changes on: trunk/graphics/sdl_ttf/files/patch-bug1433
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/graphics/sdl_ttf/pkg-plist
===================================================================
--- trunk/graphics/sdl_ttf/pkg-plist	2018-09-24 22:47:28 UTC (rev 24368)
+++ trunk/graphics/sdl_ttf/pkg-plist	2018-09-24 22:51:25 UTC (rev 24369)
@@ -1,8 +1,8 @@
 bin/glfont
-bin/showfont
+bin/sdl-showfont
 include/SDL/SDL_ttf.h
+lib/libSDL_ttf-2.0.so.0
+lib/libSDL_ttf-2.0.so.0.10.1
 lib/libSDL_ttf.a
-lib/libSDL_ttf.la
 lib/libSDL_ttf.so
-lib/libSDL_ttf.so.6
- at dirrmtry include/SDL
+libdata/pkgconfig/SDL_ttf.pc



More information about the Midnightbsd-cvs mailing list