From owner-svn-ports-head@freebsd.org Mon Jun 8 15:06:53 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A4AF332DC4; Mon, 8 Jun 2020 15:06:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49gc6P0Fytz3VH4; Mon, 8 Jun 2020 15:06:52 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC602263A3; Mon, 8 Jun 2020 15:06:52 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 058F6qA0043020; Mon, 8 Jun 2020 15:06:52 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 058F6qlb043019; Mon, 8 Jun 2020 15:06:52 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202006081506.058F6qlb043019@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 8 Jun 2020 15:06:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538221 - head/graphics/mesa-devel X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/graphics/mesa-devel X-SVN-Commit-Revision: 538221 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 15:06:53 -0000 Author: jbeich Date: Mon Jun 8 15:06:52 2020 New Revision: 538221 URL: https://svnweb.freebsd.org/changeset/ports/538221 Log: graphics/mesa-devel: enable NLS support WARNING: Gettext not found, all translation targets will be ignored. python3.7 src/util/xmlpool/gen_xmlpool.py --template src/util/xmlpool/t_options.h --output src/util/xmlpool/options.h --localedir _build/src/util/xmlpool --languages ca es de nl sv fr Warning: language 'ca' not found. Warning: language 'es' not found. Warning: language 'de' not found. Warning: language 'nl' not found. Warning: language 'sv' not found. Warning: language 'fr' not found. https://bugs.archlinux.org/task/66310 https://gitlab.freedesktop.org/mesa/mesa/commit/7834926a4f5c Modified: head/graphics/mesa-devel/Makefile (contents, props changed) Modified: head/graphics/mesa-devel/Makefile ============================================================================== --- head/graphics/mesa-devel/Makefile Mon Jun 8 15:06:42 2020 (r538220) +++ head/graphics/mesa-devel/Makefile Mon Jun 8 15:06:52 2020 (r538221) @@ -66,7 +66,7 @@ PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} PKGNAMESUFFIX=${PK LDFLAGS+= -fuse-ld=lld .endif -OPTIONS_DEFINE= ${OPTIONS_MULTI} LIBUNWIND LLVM VAAPI VDPAU WAYLAND X11 ZSTD +OPTIONS_DEFINE= ${OPTIONS_MULTI} LIBUNWIND LLVM NLS VAAPI VDPAU WAYLAND X11 ZSTD OPTIONS_DEFAULT= ${OPTIONS_MULTI} LIBUNWIND LLVM VAAPI VDPAU WAYLAND X11 ZSTD OPTIONS_MULTI= DRI GALLIUM VULKAN OPTIONS_MULTI_DRI= i965 @@ -106,6 +106,8 @@ LLVM_BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAU ${i}_IMPLIES+= LLVM .endfor +NLS_USES= gettext-tools + VAAPI_BUILD_DEPENDS= libva>0:multimedia/libva VAAPI_MESON_ENABLED= gallium-va @@ -139,6 +141,10 @@ post-patch: @${MV} ${WRKSRC}/src/util/00-${PORTNAME}-defaults.conf \ ${WRKSRC}/src/util/00-${PKGBASE}-defaults.conf .endif + +pre-build-NLS-on: +# Meson doesn't automatically generate translations + @${DO_MAKE_BUILD} -C ${BUILD_WRKSRC} xmlpool-gmo post-install: .if defined(PKGNAMESUFFIX)