From nobody Sat Jun 1 23:24:23 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VsGKM4mlrz5LX4y; Sat, 01 Jun 2024 23:24:23 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VsGKM4Czrz41q1; Sat, 1 Jun 2024 23:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717284263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dHiuz8qMJ8umvjbBRKmvHFlgUDbbxCX34AZnNRBYQ7U=; b=Yy5h0qjLkvDtKHP/zoiX0vPisKVNcbNFvbVdIQQGbj/+W9yQRCpBGghORiTNUgHnzCNVuV F2CXuAVfsz+CnN8RUPDGYXG5EJo96XTsO8m5rZ0ExM6U4AUlU2WIIMS6ZC2djrdHEuUZia bFdZ0vmyvHIBPxtrGmdbZ9QrV9K27IoS6EsaOQlNdG3OoL6pjMpN2oJ2O/dH9g1krPdHol FRet6E+Y0UGjYiQP+O9E1jJLGPoWieFU7F4ITnfFo0bQGHBF67TiOWt3lIPmoEB/EyLHbL gfIKTI0Lq3513vplqUBgtOMce5PMz/wmZht085+yZeqb9Y4JguED6ISaWgCdBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717284263; a=rsa-sha256; cv=none; b=flq8XPObnYCQDExpxLZQl8b4J0J21FlUIHD20fKM4OCOBm0/mM/1cMRePwWPjOhdJIZvq4 9UQD4T8AObo50cuXBuYsWAfJPNqH5XLyAulqJRJdKH+cSvrBMdKjSSDp+8uenic94IMc1z ax0VPonTWgxAVLMG8+tqiqUtpXrYVw66Ys0MVkg1QTD9+pDNXWShaFaCjiWsrcpYXe2smO vwAB/4HXFuILfoExTNtQwVNc6kbql1qLCLe5c7u+OViMAiwzIIt+/XkMN8J55BoL/OpBHf 6DHA1qeiiRsV/hAOJcE7OHxJ78eGx5I3FDGdRU2sjxh0LmHaGh8oBPMPUVpz0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717284263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dHiuz8qMJ8umvjbBRKmvHFlgUDbbxCX34AZnNRBYQ7U=; b=L/VUUw+P0fZjaYsn1ybuIqCeljTfvZpG+99aSqns8f6RnoPpfU1FSUKzd4yGEpVmoMu1JM 8Lj3GbzR36EZ4a+zTTlCRz4S5X9KYX6+qiHhOrCFYIf1zpo2tDXrv6QlSOvNrdD0oy6gsN D/L2BUqTWZfTXSrLWC2vAMQIxTo5jqzsMaxAkH+TiXtugjqkMGiQcOHopdUUVFD/DLNkwE bzoEQoXdAWxSZOo5iuampWz0fHhz5QJlLwZu9t75fLu4Vfo5U/E7vyNNIv3hzqs+fNHjj1 Ep2Kv79AjxNO1voKqawxmph13z8lpu2FDJZo4net6oX9bgwp775X+kkSvX8adA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VsGKM3qLczS6Y; Sat, 1 Jun 2024 23:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 451NONI6088483; Sat, 1 Jun 2024 23:24:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 451NON9R088480; Sat, 1 Jun 2024 23:24:23 GMT (envelope-from git) Date: Sat, 1 Jun 2024 23:24:23 GMT Message-Id: <202406012324.451NON9R088480@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: bb1c7512f9d1 - main - x11/babl: sort out Makefile and pet portclippy List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb1c7512f9d178ff5711bb2051006916482aa47a Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb1c7512f9d178ff5711bb2051006916482aa47a commit bb1c7512f9d178ff5711bb2051006916482aa47a Author: Vladimir Druzenko AuthorDate: 2024-06-01 20:20:01 +0000 Commit: Vladimir Druzenko CommitDate: 2024-06-01 23:16:56 +0000 x11/babl: sort out Makefile and pet portclippy Remove localbase. Limit SIMD to i386/amd64, default for i386 is none, for amd64 SSE2. But users can turn on or off all SIMD sets during build. PR: 279275 Approved by: fluffy (gnome, maintainer) --- x11/babl/Makefile | 45 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/x11/babl/Makefile b/x11/babl/Makefile index ef9efba55256..3310fde6f467 100644 --- a/x11/babl/Makefile +++ b/x11/babl/Makefile @@ -1,5 +1,6 @@ PORTNAME= babl PORTVERSION= 0.1.108 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= GIMP @@ -12,25 +13,49 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 -USES= gnome localbase meson pathfix pkgconfig tar:xz vala:build +USES= gnome meson pathfix pkgconfig tar:xz vala:build -USE_LDCONFIG= yes USE_GNOME= introspection:build +USE_LDCONFIG= yes MESON_ARGS= -Dgi-docgen=disabled -Dwith-docs=false -OPTIONS_DEFINE= SIMD -OPTIONS_DEFAULT_amd64=SIMD -OPTIONS_EXCLUDE_i386=SIMD - -SIMD_MESON_OFF= -Denable-mmx=false -Denable-sse=false \ - -Denable-sse2=false -Denable-sse4_1=false \ - -Denable-avx2=false -Denable-f16c=false - BABL_SHLIB= 0.207.1 BABL_VER= 0.1 PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER} +OPTIONS_DEFINE_amd64= AVX2 F16C MMX SSE2 SSE41 SSE +OPTIONS_DEFINE_i386= AVX2 F16C MMX SSE2 SSE41 SSE +OPTIONS_DEFAULT_amd64= MMX SSE2 SSE + +AVX2_DESC= Use AVX2 optimized routines +F16C_DESC= Use F16C optimized routines +SSE2_DESC= Use SSE2 optimized routines +SSE41_DESC= Use SSE4.1 optimized routines + +AVX2_IMPLIES= SSE41 +AVX2_MESON_ON= -Denable-avx2=true +AVX2_MESON_OFF= -Denable-avx2=false + +F16C_IMPLIES= MMX +F16C_MESON_ON= -Denable-f16c=true +F16C_MESON_OFF= -Denable-f16c=false + +MMX_MESON_ON= -Denable-mmx=true +MMX_MESON_OFF= -Denable-mmx=false + +SSE2_IMPLIES= SSE +SSE2_MESON_ON= -Denable-sse2=true +SSE2_MESON_OFF= -Denable-sse2=false + +SSE41_IMPLIES= SSE2 +SSE41_MESON_ON= -Denable-sse4_1=true +SSE41_MESON_OFF= -Denable-sse4_1=false + +SSE_IMPLIES= MMX +SSE_MESON_ON= -Denable-sse=true +SSE_MESON_OFF= -Denable-sse=false + .include .if ${ARCH} == powerpc