View | Details | Raw Unified | Return to bug 260922 | Differences between
and this patch

Collapse All | Expand All

(-)b/print/ft2demos/Makefile (-10 / +15 lines)
Lines 1-10 Link Here
1
# Created by: KANOU Hiroki <kanou@khdd.net>
1
# Created by: KANOU Hiroki <kanou@khdd.net>
2
2
3
PORTNAME=	ft2demos
3
PORTNAME=	ft2demos
4
PORTVERSION=	2.10.4
4
PORTVERSION=	2.11.1
5
CATEGORIES=	print
5
CATEGORIES=	print
6
MASTER_SITES=	SAVANNAH/freetype/ \
6
7
		SF/freetype/freetype-demos/${PORTVERSION}
7
MASTER_SITES=https://gitlab.freedesktop.org
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Demo programs for FreeType2
10
COMMENT=	Demo programs for FreeType2
Lines 12-27 COMMENT= Demo programs for FreeType2 Link Here
12
LICENSE=	BSD3CLAUSE GPLv2
12
LICENSE=	BSD3CLAUSE GPLv2
13
LICENSE_COMB=	dual
13
LICENSE_COMB=	dual
14
14
15
BROKEN=		Doesn't build with FreeType 2.11.0
16
17
BUILD_DEPENDS=	${NONEXISTENT}:print/freetype2:build
15
BUILD_DEPENDS=	${NONEXISTENT}:print/freetype2:build
18
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
16
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
19
		libpng.so:graphics/png
17
		libpng.so:graphics/png
20
18
21
USES=		gmake tar:xz xorg
19
USES= tar:xz xorg
22
USE_XORG=	x11
20
USE_XORG= x11
23
21
24
MAKE_ARGS=	EXES="${FT_PROGRAMS}" X11_PATH="${LOCALBASE}"
22
USE_GITLAB= yes
23
GL_PROJECT=freetype-demos
24
GL_ACCOUNT=freetype
25
GL_COMMIT=07027905d9a47664251b3ee362c5cfad1cddf86f
26
27
USES=		meson tar:xz xorg
28
USE_XORG=	x11
25
29
26
PLIST_FILES=	${FT_PROGRAMS:S,^,bin/,}
30
PLIST_FILES=	${FT_PROGRAMS:S,^,bin/,}
27
31
Lines 29-38 FT_PROGRAMS= ftbench ftchkwd ftdiff ftdump ftgamma ftgrid ftlint ftmemchk \ Link Here
29
		ftmulti ftpatchk ftstring fttimer ftvalid ftview
33
		ftmulti ftpatchk ftstring fttimer ftvalid ftview
30
34
31
post-extract:
35
post-extract:
32
	${LN} -sf `${MAKE} -C ${.CURDIR}/../../print/freetype2 -V WRKSRC` ${WRKDIR}/freetype2
36
	${LN} -sf `${MAKE} -C ${.CURDIR}/../../print/freetype2 -V WRKSRC` \
37
	${WRKDIR}/${GL_PROJECT}-${GL_COMMIT}/subprojects/freetype2
33
38
34
do-install:
39
do-install:
35
	@(cd ${WRKSRC}/bin/.libs && \
40
	@(cd ${WRKSRC}/_build && \
36
		${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin)
41
		${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin)
37
42
38
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)b/print/ft2demos/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1603568666
1
TIMESTAMP = 1641293484
2
SHA256 (ft2demos-2.10.4.tar.xz) = 3f873ebe4fb387da3859149459f9be95320ce1fd56b50f8fdb9d2a8492887083
2
SHA256 (freetype-freetype-demos-07027905d9a47664251b3ee362c5cfad1cddf86f_GL0.tar.gz) = 61c872dde5aa69fc0a27019950c301cd3db7f11a776e4eb9859311d2fc0d3d5e
3
SIZE (ft2demos-2.10.4.tar.xz) = 236712
3
SIZE (freetype-freetype-demos-07027905d9a47664251b3ee362c5cfad1cddf86f_GL0.tar.gz) = 342190
(-)b/print/ft2demos/files/patch-meson.build (+11 lines)
Added Link Here
1
--- meson.build.orig	2021-12-02 03:37:39.000000000 -0900
2
+++ meson.build	2022-01-04 02:25:43.961204000 -0900
3
@@ -112,7 +112,7 @@
4
 
5
 executable('ftgrid',
6
   'src/ftgrid.c',
7
-  dependencies: libfreetype2_dep,
8
+  dependencies: [libfreetype2_dep, math_dep],
9
   include_directories: graph_include_dir,
10
   link_with: [ftcommon_lib, output_lib],
11
   install: true)

Return to bug 260922