From nobody Sun May 07 05:18:46 2023 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 4QDXlB42cPz49h6b; Sun, 7 May 2023 05:18:46 +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 4QDXlB3Tmrz3v8r; Sun, 7 May 2023 05:18:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683436726; 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=WMyrdWsvP8BW9D5Za2g3vvl0X42JeTI9lqAgHlEvAw0=; b=UPOYgIx2tJkdqS6Hk4n5DVhLOj2RdXy7v+3EJK55Pzof4jlb79+Q8w8k760jJL3n/Kx2+M Aq6ZFK8dHKYB09oAzNbafpSqDxmo37qND4Z9D41QgSQQlpMadBrzteM+S1re45AeHmoPna C7J4D7UbsrJWEE9+KhZAa+8REZf1qO7/XqmR8pY7ehVhHiYEChE+wukV1TtL4vRr+uxas1 nVmRDnnELIbXvujcFDQ1nZtPzauE/UlzRbI6iIg+wh1KqkGMYDyYtHYze5AGiAe76RMCHo nq+m3nH1+FAeD3ElqsmRsYth9/pKGOg4jorQWqRiagNQftVtWb6GI27cHzwYtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683436726; 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=WMyrdWsvP8BW9D5Za2g3vvl0X42JeTI9lqAgHlEvAw0=; b=QP+8Mn2Vm+vRF2ISxk/Mc/mTBu6Rpz3A9Rp2IFi9wx8i/ofltAkQ4uAsXrfWhht1yYiRtE K0Mc/1HyqaLqhB2bViqjiRedLuyhKoTQdtn1HlcgQDydsGBO6JVhi85NnhkJ7SJ+PtRpdN N69ZNx3EpZ+weEHm2j1cxzkW+Ty1UWkgAtRRwBnDdl5Q9asreQACnEIGjpkpytRLkpNM5U l1V9jvCjwL+itKjGhe6bK2jiVpU0yyOZxgXrdlsKQlXdBv4c+OfqW1RT14SasHkzwF6vEq p1lp4xLgM+8oM5nNREMIkeyH71ZNLlSsWS1SbYR0caqoCZs47N9/mr6OxRoRJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683436726; a=rsa-sha256; cv=none; b=kppYN6VwA36jWzA+HAY9Uw6NwdfW9Evo9r9GEAMtIIgtdgVhi1Qsz24nvNd9aEXexdX2dd DNcn9Lwb4SDPalxpqqUR0C7BH2ipE3nchyu7PaQyLEwEyNPOwvdWmuoWe34by3M2aSORgz h4vxZL6NDUVDE6kO0tk2uAxtQm8NCfomhFrpd1YB1+fl5CNXR97KFXlnUUF7k23q6gOLD2 38Ve5YeLr6YKrJ+mElKC00JQ2YvXlKj1xVYfsqddsS6K+ofmk7jx0PWj8xR6tHf8W5ONmc TNPnSlbJkqU70bqAFkL2Wqtt8LN6cWsC2RJHLKjpKksX9I5BcuHwsZ7YbDKsBw== 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 4QDXlB2Vtpz15wD; Sun, 7 May 2023 05:18:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3475Ikwm054805; Sun, 7 May 2023 05:18:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3475IkUt054804; Sun, 7 May 2023 05:18:46 GMT (envelope-from git) Date: Sun, 7 May 2023 05:18:46 GMT Message-Id: <202305070518.3475IkUt054804@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 78d127100976 - main - graphics/libyuv: track libjpeg dependency 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78d127100976a6e431088b58b887c297ccf87573 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=78d127100976a6e431088b58b887c297ccf87573 commit 78d127100976a6e431088b58b887c297ccf87573 Author: Jan Beich AuthorDate: 2023-05-07 05:10:21 +0000 Commit: Jan Beich CommitDate: 2023-05-07 05:18:26 +0000 graphics/libyuv: track libjpeg dependency -- Found JPEG: /usr/local/lib/libjpeg.so (found version "80") [...] Error: /usr/local/bin/yuvconvert is linked to /usr/local/lib/libjpeg.so.8 from graphics/jpeg-turbo but it is not declared as a dependency Warning: you need USES+=jpeg PR: 267163 --- graphics/libyuv/Makefile | 7 +++++++ graphics/libyuv/files/patch-CMakeLists.txt | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/graphics/libyuv/Makefile b/graphics/libyuv/Makefile index b9cd848610cb..50c7be667514 100644 --- a/graphics/libyuv/Makefile +++ b/graphics/libyuv/Makefile @@ -10,6 +10,7 @@ PORTNAME= libyuv DISTVERSION= 0.0.1789 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= LOCAL/mikael/libyuv/:libyuv \ LOCAL/tcberner/libyuv/:libyuv @@ -28,6 +29,12 @@ SUB_LIST= DISTVERSION=${DISTVERSION} LIBYUV_HASH= 0896c34873e83ca3d1690286a94e278a81d0a760 +OPTIONS_DEFINE= JPEG +OPTIONS_DEFAULT=JPEG + +JPEG_USES= jpeg +JPEG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_JPEG + # sha256 changes everytime you download the archive, need to host it on freefall # To download the distfile: as mikael: make MAINTAINER_MODE=yes fetch .if defined(MAINTAINER_MODE) diff --git a/graphics/libyuv/files/patch-CMakeLists.txt b/graphics/libyuv/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..f8bfd4ded342 --- /dev/null +++ b/graphics/libyuv/files/patch-CMakeLists.txt @@ -0,0 +1,18 @@ +https://chromium.googlesource.com/libyuv/libyuv.git/+/c365da9c6c3a%5E!/ +https://chromium.googlesource.com/libyuv/libyuv.git/+/f428a642e3d8%5E!/ + +--- CMakeLists.txt.orig 2021-10-26 08:34:37 UTC ++++ CMakeLists.txt +@@ -35,10 +35,10 @@ TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_static} ) + TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_static} ) + + +-INCLUDE ( FindJPEG ) ++find_package ( JPEG ) + if (JPEG_FOUND) + include_directories( ${JPEG_INCLUDE_DIR} ) +- target_link_libraries( yuvconvert ${JPEG_LIBRARY} ) ++ target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} ) + add_definitions( -DHAVE_JPEG ) + endif() +