Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2021 10:23:11 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8f1b773597d3 - main - converters/fribidi: Update to 1.0.11
Message-ID:  <202110141023.19EANBlY078876@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f1b773597d3c3e8b3225506fbff8553422c2fd3

commit 8f1b773597d3c3e8b3225506fbff8553422c2fd3
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-10-14 10:16:22 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-14 10:23:04 +0000

    converters/fribidi: Update to 1.0.11
    
    Enable OPTIMIZED_CFLAGS (-O3 from upstream), some tests are ~10%
    faster on my Intel I7-3770K CPU
    Connect upstream's test suite to port
    
    Changelog: https://github.com/fribidi/fribidi/releases/tag/v1.0.11
    
    PR:             259156
    Approved by:    arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32490
---
 converters/fribidi/Makefile                     | 18 +++++++++++++-----
 converters/fribidi/distinfo                     |  6 +++---
 converters/fribidi/files/patch-test_meson.build | 11 +++++++++++
 3 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/converters/fribidi/Makefile b/converters/fribidi/Makefile
index 907be56f2576..21e3ddf1409b 100644
--- a/converters/fribidi/Makefile
+++ b/converters/fribidi/Makefile
@@ -1,9 +1,9 @@
 # Created by: ijliao
 
 PORTNAME=	fribidi
-PORTVERSION=	1.0.10
+DISTVERSION=	1.0.11
 CATEGORIES=	converters
-MASTER_SITES=	https://github.com/fribidi/fribidi/releases/download/v${PORTVERSION}/
+MASTER_SITES=	https://github.com/fribidi/fribidi/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Free Implementation of the Unicode Bidirectional Algorithm
@@ -11,11 +11,19 @@ COMMENT=	Free Implementation of the Unicode Bidirectional Algorithm
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe meson tar:xz
+USES=		cpe meson python:3.6+,test shebangfix tar:xz
+CPE_VENDOR=	gnu
+SHEBANG_FILES=	test/test-runner.py
 USE_LDCONFIG=	yes
-MESON_ARGS=	-Dtests=false
 
-CPE_VENDOR=	gnu
+TEST_TARGET=	test
+
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS TEST
+OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
+
+OPTIMIZED_CFLAGS_CFLAGS=	-O3
+
+TEST_MESON_TRUE=tests
 
 post-patch:
 	@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \
diff --git a/converters/fribidi/distinfo b/converters/fribidi/distinfo
index 64c713c4096a..e98932d2c513 100644
--- a/converters/fribidi/distinfo
+++ b/converters/fribidi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600950598
-SHA256 (fribidi-1.0.10.tar.xz) = 7f1c687c7831499bcacae5e8675945a39bacbad16ecaa945e9454a32df653c01
-SIZE (fribidi-1.0.10.tar.xz) = 1147588
+TIMESTAMP = 1634154952
+SHA256 (fribidi-1.0.11.tar.xz) = 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d
+SIZE (fribidi-1.0.11.tar.xz) = 1077004
diff --git a/converters/fribidi/files/patch-test_meson.build b/converters/fribidi/files/patch-test_meson.build
new file mode 100644
index 000000000000..763f4a7cbcf8
--- /dev/null
+++ b/converters/fribidi/files/patch-test_meson.build
@@ -0,0 +1,11 @@
+--- test/meson.build.orig	2021-10-13 20:07:06 UTC
++++ test/meson.build
+@@ -19,7 +19,7 @@ foreach t : tests
+ endforeach
+ 
+ if get_option('fuzzer_ldflags') != ''
+-  cases = run_command(import('python3').find_python(), '-c',
++  cases = run_command(import('python').find_installation(), '-c',
+     '''import os; print('\n'.join(os.listdir('@0@')))'''.format(join_paths(meson.current_source_dir(), 'fuzzing'))
+   ).stdout().strip().split('\n')
+   foreach case : cases



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110141023.19EANBlY078876>